/*
Theme Name: 80LM Community
Theme URI: https://www.80lm.com/
Author: 80LM
Description: 八零良木副业圈社区主题，面向项目库、圈子内容流、会员陪跑与资源运营。
Version: 1.1.1
Text Domain: lm80
*/

:root {
  --forest: #0d3325;
  --forest-2: #174a36;
  --leaf: #1f8e62;
  --gold: #d7ae61;
  --paper: #f4eedf;
  --cream: #fffaf4;
  --ink: #10281f;
  --muted: #66756d;
  --line: rgba(16, 40, 31, .12);
  --shadow: 0 18px 52px rgba(8, 37, 27, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(215, 174, 97, .20), transparent 30%),
    linear-gradient(180deg, #fbf6ea 0%, var(--paper) 100%);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  line-height: 1.65;
}
body.admin-bar .site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(255, 250, 243, .92);
  border-bottom: 1px solid rgba(16, 40, 31, .08);
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  margin-right: auto;
  min-width: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--forest), var(--forest-2));
  color: var(--gold);
  font-weight: 900;
}
.brand strong { display: block; font-size: 18px; }
.brand small { display: block; color: var(--muted); font-size: 12px; }
.top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 1 auto;
  min-width: 0;
}
.top-nav > ul,
.top-nav .menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.top-nav li {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  line-height: 1;
  white-space: nowrap;
}
.top-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #243b31;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.top-nav a:hover,
.top-nav .current-menu-item > a,
.top-nav .current_page_item > a { background: rgba(31, 142, 98, .10); color: var(--forest); }
.top-nav .menu-item-has-children > a::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .65;
}
.top-nav .sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 40;
  display: grid;
  min-width: 190px;
  gap: 4px;
  margin: 0;
  padding: 10px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 247, .98);
  box-shadow: 0 18px 46px rgba(8, 37, 27, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.top-nav .sub-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  right: 0;
  left: 0;
  height: 12px;
}
.top-nav li:hover > .sub-menu,
.top-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.top-nav .sub-menu li {
  display: block;
  width: 100%;
}
.top-nav .sub-menu a {
  justify-content: flex-start;
  width: 100%;
  min-height: 38px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.35;
}
.top-nav .sub-menu .menu-item-has-children > a::after {
  margin-left: auto;
  transform: rotate(-45deg);
}
.top-nav .sub-menu .sub-menu {
  top: -10px;
  left: calc(100% + 10px);
}
.top-nav > ul > li:nth-last-child(-n+2) > .sub-menu,
.top-nav .menu > li:nth-last-child(-n+2) > .sub-menu {
  right: 0;
  left: auto;
}
.top-nav > ul > li:nth-last-child(-n+2) .sub-menu .sub-menu,
.top-nav .menu > li:nth-last-child(-n+2) .sub-menu .sub-menu {
  right: calc(100% + 10px);
  left: auto;
}
.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
}
.nav-cta {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--forest), var(--forest-2));
  white-space: nowrap;
}
.menu-toggle {
  display: none;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: var(--forest);
  background: rgba(31, 142, 98, .10);
  font-weight: 900;
}

.hero,
.section,
.circle-cover,
.archive-cover,
.post-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px 24px;
}
.ring-hero,
.circle-cover,
.archive-cover {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 380px;
  gap: 42px;
  align-items: center;
}
.hero-copy h1,
.circle-cover h1,
.archive-cover h1 {
  margin: 0 0 20px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.06;
  letter-spacing: -.03em;
  color: var(--ink);
}
.lead,
.circle-cover p,
.archive-cover p {
  max-width: 760px;
  margin: 0;
  color: #3c5148;
  font-size: 19px;
  line-height: 1.9;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 99px;
  background: var(--gold);
}
.hero-actions,
.circle-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { min-height: 52px; padding: 0 24px; }
.btn.primary { color: #08251b; background: linear-gradient(135deg, #f4d98f, var(--gold)); box-shadow: 0 16px 34px rgba(215, 174, 97, .24); }
.btn.ghost { border: 1px solid rgba(16, 40, 31, .18); color: var(--forest); background: rgba(255, 250, 244, .55); }

.hero-panel,
.side-panel,
.circle-profile,
.sidebar-card,
.project-post,
.circle-card,
.feed-item,
.content-card,
.comment-card,
.empty-card {
  background: rgba(255, 253, 247, .96);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.hero-panel {
  padding: 28px;
  background:
    radial-gradient(circle at 86% 18%, rgba(215, 174, 97, .18), transparent 34%),
    linear-gradient(135deg, var(--forest), #071b14);
  color: #fffaf0;
}
.panel-kicker { color: var(--gold); font-weight: 900; }
.metric-row { display: flex; align-items: baseline; gap: 12px; padding: 18px 0; border-bottom: 1px solid rgba(255, 250, 240, .12); }
.metric-row:last-child { border-bottom: 0; }
.metric-row strong { color: var(--gold); font-size: 42px; line-height: 1; }
.metric-row span { color: rgba(255, 250, 240, .78); }

.section-head { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head h2 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 52px); line-height: 1.16; }
.section-head p { margin: 0; color: var(--muted); font-size: 17px; }

.circle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.circle-card { display: block; min-height: 250px; padding: 24px; transition: transform .2s ease, box-shadow .2s ease; }
.circle-card:hover { transform: translateY(-4px); box-shadow: 0 24px 64px rgba(8, 37, 27, .14); }
.circle-card.featured { background: linear-gradient(135deg, var(--forest), var(--forest-2)); color: #fffaf0; }
.circle-card h3 { margin: 18px 0 10px; font-size: 25px; }
.circle-card p { margin: 0; color: #43564d; }
.circle-card.featured p { color: rgba(255, 250, 240, .78); }
.circle-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(215, 174, 97, .18);
  color: var(--forest);
  font-weight: 900;
}
.featured .circle-icon { color: var(--gold); background: rgba(255, 250, 240, .12); }
.circle-tag {
  float: right;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 250, 240, .10);
  font-size: 12px;
  font-weight: 900;
}
.card-stats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; color: var(--gold); font-weight: 900; font-size: 13px; }
.circle-card:not(.featured) .card-stats { color: var(--forest); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.tabs,
.circle-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.tab,
.circle-tabs a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 15px;
  background: rgba(255, 253, 247, .88);
  color: var(--forest);
  font-weight: 900;
  cursor: pointer;
}
.tab.active,
.circle-tabs .active { color: #fff; background: var(--forest); border-color: var(--forest); }
.feed-list { display: grid; gap: 14px; }
.feed-item { padding: 22px; }
.feed-item.is-hidden { display: none; }
.feed-badge,
.post-type {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(215, 174, 97, .18);
  color: #8c6728;
  font-size: 12px;
  font-weight: 900;
}
.feed-badge.warm { background: rgba(31, 142, 98, .12); color: var(--forest); }
.feed-item h3,
.project-post h2 { margin: 12px 0 8px; font-size: 22px; line-height: 1.35; }
.feed-item p,
.project-post p { margin: 0; color: #40534a; }
.feed-meta,
.post-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.side-panel { padding: 24px; position: sticky; top: 92px; }
.side-panel h2 { margin: 0 0 16px; }
.rank-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.rank-list li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 10px; color: #30473d; }
.rank-list span { color: var(--gold); font-weight: 900; }

.circle-cover,
.archive-cover.dark-cover {
  max-width: none;
  padding-left: clamp(24px, 6vw, 84px);
  padding-right: clamp(24px, 6vw, 84px);
  background:
    radial-gradient(circle at 78% 20%, rgba(215, 174, 97, .16), transparent 36%),
    linear-gradient(135deg, var(--forest), #071b14);
  color: #fffaf0;
}
.circle-cover h1,
.archive-cover.dark-cover h1 { color: #fff; }
.circle-cover p,
.archive-cover.dark-cover p { color: rgba(255, 250, 240, .78); }
.circle-profile { padding: 24px; background: rgba(255, 250, 240, .10); border-color: rgba(255, 250, 240, .18); box-shadow: none; }
.host { display: flex; gap: 14px; align-items: center; }
.host-avatar { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: linear-gradient(135deg, #f4d98f, var(--gold)); color: var(--forest); font-size: 28px; font-weight: 900; }
.host strong,
.host small { display: block; }
.host small { color: rgba(255, 250, 240, .70); margin-top: 4px; }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.profile-stats span { padding: 14px; border-radius: 18px; background: rgba(255, 250, 240, .10); text-align: center; color: rgba(255, 250, 240, .76); }
.profile-stats strong { display: block; color: var(--gold); font-size: 28px; }

.circle-layout,
.detail-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
.detail-layout { grid-template-columns: minmax(0, 1fr) 320px; }
.circle-stream-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}
.circle-sidebar,
.download-panel,
.circle-rightbar { display: grid; gap: 16px; position: sticky; top: 92px; }
.sidebar-card { padding: 22px; }
.sidebar-card h2 { margin: 0 0 10px; font-size: 20px; }
.sidebar-card p,
.sidebar-card li { color: #42554c; }
.project-post { padding: 26px; margin-bottom: 16px; }
.project-post.pinned { border-color: rgba(215, 174, 97, .50); background: linear-gradient(180deg, #fffdf8, #fff8e8); }
.circle-feed-top,
.circle-composer,
.ring-post-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 253, 247, .96);
  box-shadow: var(--shadow);
}
.zh-circle-composer {
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid rgba(16, 40, 31, .10);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(8, 37, 27, .06);
}
.zh-compose-input-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 22px 24px 16px;
}
.zh-compose-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  color: var(--gold);
  background: linear-gradient(135deg, var(--forest), var(--forest-2));
  font-weight: 900;
}
.zh-compose-placeholder {
  color: #30383c;
  font-size: 22px;
  line-height: 1.35;
}
.zh-compose-tool-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 10px 24px 18px 80px;
}
.zh-compose-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  color: #3f454a;
  font-size: 28px;
  line-height: 1;
}
.zh-compose-tools span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  font-weight: 700;
}
.zh-compose-sync {
  color: #8a93a0;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}
.zh-compose-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  color: #08251b;
  background: linear-gradient(135deg, #f4d98f, var(--gold));
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}
.zh-compose-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(16, 40, 31, .10);
}
.zh-compose-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 64px;
  color: #24323a;
  font-size: 18px;
  font-weight: 900;
}
.zh-compose-actions span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}
.zh-compose-actions .ask { background: #16c6a8; }
.zh-compose-actions .answer { background: #3478f6; }
.zh-compose-actions .article { background: #f3a32e; }
.zh-compose-actions .video { background: #f66ca7; }
.circle-feed-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  padding: clamp(28px, 4vw, 42px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 92% 18%, rgba(215, 174, 97, .16), transparent 36%),
    rgba(255, 253, 247, .98);
}
.circle-feed-top h2 {
  margin: 14px 0 8px;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.2;
  letter-spacing: -.03em;
}
.circle-feed-top p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}
.circle-post-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 56px;
  padding: 0 30px;
  border-radius: 999px;
  color: #08251b;
  background: linear-gradient(135deg, #f4d98f, var(--gold));
  box-shadow: 0 16px 34px rgba(215, 174, 97, .22);
  font-size: 18px;
  font-weight: 900;
}
.circle-composer {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 14px;
  padding: 18px;
}
.composer-avatar,
.ring-avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4d98f, var(--gold));
  color: var(--forest);
  font-weight: 900;
}
.composer-avatar {
  width: 48px;
  height: 48px;
}
.circle-composer strong {
  display: block;
  color: var(--forest);
  font-size: 17px;
}
.circle-composer p {
  margin: 4px 0 0;
  color: var(--muted);
}
.circle-tabs-sticky {
  position: sticky;
  top: 84px;
  z-index: 9;
  margin: 0 0 14px;
  padding: 10px;
  border: 1px solid rgba(16, 40, 31, .09);
  border-radius: 22px;
  background: rgba(244, 238, 223, .82);
  backdrop-filter: blur(14px);
}
.ring-post-card {
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 22px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ring-post-card:hover {
  transform: translateY(-2px);
  border-color: rgba(215, 174, 97, .42);
  box-shadow: 0 24px 64px rgba(8, 37, 27, .14);
}
.ring-post-card.pinned {
  border-color: rgba(215, 174, 97, .52);
  background: linear-gradient(180deg, #fffdf8, #fff8e8);
}
.ring-post-author {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 16px 18px 0;
}
.ring-avatar {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 250, 244, .88);
  box-shadow: 0 8px 18px rgba(215, 174, 97, .22);
  font-size: 15px;
}
.ring-post-author strong,
.ring-post-author span {
  display: block;
}
.ring-post-author strong {
  color: var(--forest);
  font-size: 14px;
}
.ring-post-author span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}
.ring-post-author em {
  padding: 5px 9px;
  border-radius: 999px;
  color: #8c6728;
  background: rgba(215, 174, 97, .18);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}
.ring-post-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 172px;
  gap: 18px;
  align-items: start;
  padding: 13px 18px 16px 67px;
}
.ring-post-body {
  padding: 0;
}
.ring-post-body h2 {
  margin: 9px 0 7px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.35;
}
.ring-post-body p {
  margin: 0;
  color: #40534a;
  font-size: 15px;
  line-height: 1.75;
}
.ring-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.ring-tags span {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--forest);
  background: rgba(31, 142, 98, .09);
  font-size: 11px;
  font-weight: 900;
}
.ring-thumb {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 118px;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 78% 12%, rgba(215, 174, 97, .32), transparent 34%),
    linear-gradient(135deg, rgba(13, 51, 37, .92), rgba(31, 142, 98, .64));
  color: #f4d98f;
  font-size: 18px;
  font-weight: 900;
}
.ring-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 42%, rgba(255, 250, 244, .12) 42% 43%, transparent 43%),
    radial-gradient(circle at 20% 80%, rgba(255, 250, 244, .14), transparent 30%);
  pointer-events: none;
}
.ring-thumb img {
  width: 100%;
  height: 100%;
  min-height: 118px;
  object-fit: cover;
  transition: transform .2s ease;
}
.ring-post-card:hover .ring-thumb img {
  transform: scale(1.04);
}
.ring-post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  padding: 11px 18px 13px 67px;
  border-top: 1px solid rgba(16, 40, 31, .08);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.ring-post-actions a {
  margin-left: auto;
  color: var(--forest);
  font-weight: 900;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(31, 142, 98, .09);
}
.circle-join-card {
  color: #fffaf0;
  background:
    radial-gradient(circle at 82% 14%, rgba(215, 174, 97, .18), transparent 36%),
    linear-gradient(135deg, var(--forest), var(--forest-2));
}
.circle-join-card p {
  color: rgba(255, 250, 240, .76);
}
.rank-list.compact {
  gap: 12px;
}
.rank-list.compact li {
  grid-template-columns: 34px minmax(0, 1fr);
  font-size: 14px;
  line-height: 1.45;
}

.project-archive {
  background:
    linear-gradient(180deg, rgba(255, 250, 244, .86) 0 260px, rgba(232, 234, 229, .78) 260px 100%),
    radial-gradient(circle at 18% 0%, rgba(215, 174, 97, .16), transparent 34%);
}
.project-filter-bar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 24px 20px;
}
.filter-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 12px;
}
.filter-row strong {
  color: #586a62;
  font-size: 15px;
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.filter-chips a,
.filter-chips span {
  min-width: 82px;
  padding: 9px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .66);
  color: #617168;
  text-align: center;
  font-weight: 800;
}
.filter-chips .active,
.filter-chips a.active {
  color: var(--leaf);
  background: rgba(31, 142, 98, .11);
}
.project-board {
  max-width: 1180px;
  padding-top: 28px;
}
.project-board-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 20px;
}
.project-board-head h1 {
  margin: 6px 0 6px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}
.project-board-head p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}
.project-board-head > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-weight: 900;
}
.project-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.project-tabs a {
  padding: 10px 16px;
  border-radius: 10px;
  color: #617168;
  font-weight: 900;
}
.project-tabs a.active {
  color: #fff;
  background: var(--leaf);
}
.project-library-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 24px;
  align-items: start;
}
.project-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.library-card {
  overflow: hidden;
  border: 1px solid rgba(16, 40, 31, .08);
  border-radius: 18px;
  background: rgba(255, 253, 247, .98);
  box-shadow: 0 14px 34px rgba(8, 37, 27, .08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.library-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(8, 37, 27, .12);
}
.library-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 1.42 / 1;
  overflow: hidden;
  margin: 16px 16px 0;
  border-radius: 14px;
  background:
    radial-gradient(circle at 78% 18%, rgba(215, 174, 97, .28), transparent 36%),
    linear-gradient(135deg, var(--forest), var(--forest-2));
  color: var(--gold);
  font-size: 24px;
  font-weight: 900;
}
.library-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease;
}
.library-card:hover .library-thumb img {
  transform: scale(1.04);
}
.library-card-body {
  padding: 16px;
}
.library-labels {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
}
.library-labels span,
.library-labels em {
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(215, 174, 97, .16);
  color: #9a6c20;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}
.library-labels em {
  background: rgba(31, 142, 98, .10);
  color: var(--leaf);
}
.library-card h2 {
  margin: 10px 0 7px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.25;
}
.library-card p {
  min-height: 54px;
  margin: 0;
  color: #66756d;
  font-size: 14px;
  line-height: 1.65;
}
.library-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
}
.library-meta span,
.library-meta strong {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(16, 40, 31, .05);
  color: #51655b;
  font-size: 12px;
  font-weight: 900;
}
.library-meta strong {
  margin-left: auto;
  color: var(--leaf);
  background: rgba(31, 142, 98, .10);
}
.project-side {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 94px;
}
.ai-match-card {
  padding: 22px;
  border: 1px solid rgba(215, 174, 97, .36);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(215, 174, 97, .22), transparent 44%),
    linear-gradient(180deg, #fff6ea, #fffdf8);
  text-align: center;
  box-shadow: 0 14px 34px rgba(8, 37, 27, .08);
}
.ai-orb {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border-radius: 50%;
  color: var(--forest);
  background: linear-gradient(135deg, #f4d98f, var(--gold));
  font-weight: 900;
}
.ai-match-card h2,
.project-rank-card h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 20px;
}
.ai-match-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.ai-match-card a {
  display: inline-flex;
  margin-top: 16px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #08251b;
  background: linear-gradient(135deg, #f4d98f, var(--gold));
  font-weight: 900;
}
.project-rank-card {
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(8, 37, 27, .08);
}
.project-rank-card .rank-list span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: rgba(215, 174, 97, .18);
  color: #b67a14;
}

.ring-feeds-page {
  background:
    radial-gradient(circle at 12% 2%, rgba(215, 174, 97, .16), transparent 34%),
    linear-gradient(180deg, #fffaf4 0%, #f4eedf 100%);
}
.ring-square-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 58px 24px 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: end;
}
.ring-square-hero h1 {
  margin: 8px 0 12px;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
}
.ring-square-hero p {
  max-width: 760px;
  margin: 0;
  color: #40534a;
  font-size: 18px;
}
.ring-square-panel {
  padding: 24px;
  border: 1px solid rgba(16, 40, 31, .10);
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 0%, rgba(215, 174, 97, .24), transparent 40%),
    linear-gradient(135deg, var(--forest), #071b14);
  color: #fffaf0;
  box-shadow: var(--shadow);
}
.ring-square-panel strong,
.ring-square-panel span {
  display: block;
}
.ring-square-panel strong {
  color: var(--gold);
  font-size: 44px;
  line-height: 1;
}
.ring-square-panel span {
  margin-top: 8px;
  color: rgba(255, 250, 240, .78);
}
.ring-square-panel a {
  display: inline-flex;
  margin-top: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #08251b;
  background: linear-gradient(135deg, #f4d98f, var(--gold));
  font-weight: 900;
}
.ring-square-tabs-wrap {
  position: sticky;
  top: 74px;
  z-index: 12;
  border-top: 1px solid rgba(16, 40, 31, .06);
  border-bottom: 1px solid rgba(16, 40, 31, .08);
  background: rgba(255, 250, 244, .90);
  backdrop-filter: blur(16px);
}
.ring-square-tabs {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
}
.ring-square-tabs a {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 999px;
  color: #617168;
  font-weight: 900;
}
.ring-square-tabs a.active,
.ring-square-tabs a:hover {
  color: var(--forest);
  background: rgba(31, 142, 98, .10);
}
.ring-square-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  align-items: start;
  padding-top: 30px;
}
.ring-square-section-head {
  margin-bottom: 16px;
}
.ring-square-section-head h2 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 30px;
}
.ring-square-section-head p {
  margin: 0;
  color: var(--muted);
}
.ring-card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.ring-square-card {
  padding: 20px;
  border: 1px solid rgba(16, 40, 31, .10);
  border-radius: 24px;
  background: rgba(255, 253, 247, .96);
  box-shadow: 0 14px 36px rgba(8, 37, 27, .08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ring-square-card:hover {
  transform: translateY(-3px);
  border-color: rgba(215, 174, 97, .42);
  box-shadow: 0 22px 54px rgba(8, 37, 27, .12);
}
.ring-square-card-top {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
}
.ring-square-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 19px;
  color: var(--gold);
  background:
    radial-gradient(circle at 72% 18%, rgba(215, 174, 97, .18), transparent 38%),
    linear-gradient(135deg, var(--forest), var(--forest-2));
  font-size: 22px;
  font-weight: 900;
}
.ring-square-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.25;
}
.ring-square-card-top p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.ring-join-btn {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--forest);
  background: rgba(31, 142, 98, .10);
  font-weight: 900;
}
.ring-square-desc {
  min-height: 78px;
  margin: 16px 0;
  color: #40534a;
  line-height: 1.75;
}
.ring-square-latest {
  display: grid;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(16, 40, 31, .08);
}
.ring-square-latest a,
.ring-square-latest span {
  color: #51655b;
  font-size: 13px;
  font-weight: 800;
}
.ring-square-side {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 136px;
}
.ring-create-card {
  color: #fffaf0;
  background:
    radial-gradient(circle at 82% 14%, rgba(215, 174, 97, .20), transparent 36%),
    linear-gradient(135deg, var(--forest), var(--forest-2));
}
.ring-create-card p {
  color: rgba(255, 250, 240, .76);
}
.ring-mini-feed {
  display: grid;
  gap: 12px;
}
.ring-mini-feed a {
  display: grid;
  gap: 3px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(16, 40, 31, .08);
}
.ring-mini-feed a:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.ring-mini-feed span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}
.ring-mini-feed strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}

.answer-page {
  background:
    radial-gradient(circle at 10% 0%, rgba(215, 174, 97, .14), transparent 32%),
    linear-gradient(180deg, #fffaf4 0%, #f4eedf 100%);
}
.answer-question-card {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 24px 26px;
}
.answer-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}
.answer-breadcrumb a {
  color: var(--forest);
}
.answer-question-card h1 {
  max-width: 920px;
  margin: 16px 0 12px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.16;
  letter-spacing: -.03em;
}
.answer-question-card p {
  max-width: 820px;
  margin: 0;
  color: #40534a;
  font-size: 18px;
  line-height: 1.8;
}
.answer-topic-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.answer-topic-row span {
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--forest);
  background: rgba(31, 142, 98, .10);
  font-size: 13px;
  font-weight: 900;
}
.answer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  align-items: start;
  padding-top: 12px;
}
.answer-main-card,
.answer-sidebar .sidebar-card {
  border: 1px solid rgba(16, 40, 31, .10);
  background: rgba(255, 253, 247, .98);
  box-shadow: 0 14px 38px rgba(8, 37, 27, .08);
}
.answer-main-card {
  overflow: hidden;
  border-radius: 24px;
}
.answer-author {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 22px 28px 18px;
  border-bottom: 1px solid rgba(16, 40, 31, .08);
}
.answer-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--forest);
  background: linear-gradient(135deg, #f4d98f, var(--gold));
  font-weight: 900;
}
.answer-avatar.large {
  width: 66px;
  height: 66px;
  margin: 0 auto 12px;
  font-size: 24px;
}
.answer-author strong,
.answer-author span {
  display: block;
}
.answer-author strong {
  color: var(--forest);
  font-size: 17px;
}
.answer-author span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}
.answer-author a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--forest);
  background: rgba(31, 142, 98, .10);
  font-weight: 900;
}
.answer-cover {
  margin: 24px 28px 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--forest);
}
.answer-cover img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}
.answer-summary {
  margin: 24px 28px 0;
  padding: 18px 20px;
  border-left: 5px solid var(--gold);
  border-radius: 18px;
  background: #fff8e8;
}
.answer-summary strong {
  display: block;
  color: var(--forest);
  font-size: 18px;
}
.answer-summary p {
  margin: 6px 0 0;
  color: #40534a;
}
.answer-content {
  padding: 26px 28px 34px;
  color: #243b31;
  font-size: 17px;
  line-height: 1.95;
}
.answer-content h2,
.answer-content h3 {
  margin-top: 32px;
  color: var(--ink);
}
.answer-content p {
  color: #344b40;
}
.answer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 16px 28px;
  border-top: 1px solid rgba(16, 40, 31, .08);
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}
.answer-actions a,
.answer-actions span {
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(31, 142, 98, .09);
  color: var(--forest);
}
.answer-sidebar {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 94px;
}
.answer-side-author {
  text-align: center;
}
.answer-side-author h2 {
  margin: 0 0 8px;
}
.answer-side-author p {
  margin: 0;
}
.answer-related {
  display: grid;
  gap: 12px;
}
.answer-related a {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(16, 40, 31, .08);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.5;
}
.answer-related a:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.post-interaction-panel {
  border-top: 1px solid rgba(16, 40, 31, .08);
  background: #fff;
}
.post-reward-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 34px 24px;
}
.reward-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 54px;
  border: 2px solid rgba(13, 51, 37, .18);
  border-radius: 10px;
  color: var(--forest);
  background: #fff;
  font-size: 24px;
  font-weight: 900;
}
.reward-btn.like {
  border-color: var(--leaf);
  color: var(--leaf);
}
.reward-btn.tip {
  border-color: var(--gold);
  color: #9a6c20;
}
.post-share-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 28px;
  border-top: 1px solid rgba(16, 40, 31, .08);
  border-bottom: 1px solid rgba(16, 40, 31, .08);
  color: var(--muted);
  font-weight: 800;
}
.share-left,
.share-right {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.share-left a,
.share-right span {
  color: #68766f;
}
.post-comment-box {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  padding: 24px 28px 30px;
  background: rgba(255, 250, 244, .55);
}
.comment-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  color: var(--gold);
  background: linear-gradient(135deg, var(--forest), var(--forest-2));
  font-weight: 900;
}
.comment-compose {
  overflow: hidden;
  border: 1px solid rgba(16, 40, 31, .12);
  border-radius: 14px;
  background: #fff;
}
.comment-compose textarea {
  display: block;
  width: 100%;
  min-height: 86px;
  padding: 18px;
  border: 0;
  outline: 0;
  resize: vertical;
  color: var(--ink);
  font: inherit;
}
.comment-compose textarea::placeholder {
  color: #9aa39e;
}
.comment-compose > div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  padding: 12px 14px;
  border-top: 1px solid rgba(16, 40, 31, .08);
  color: var(--muted);
  font-weight: 800;
}
.comment-compose button {
  margin-left: auto;
  border: 0;
  border-radius: 10px;
  padding: 10px 22px;
  color: #08251b;
  background: linear-gradient(135deg, #f4d98f, var(--gold));
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.answer-prev-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px 28px 0;
}
.answer-prev-next a {
  display: block;
  min-height: 96px;
  padding: 18px;
  border: 1px solid rgba(16, 40, 31, .10);
  border-radius: 18px;
  background: rgba(244, 238, 223, .45);
}
.answer-prev-next span,
.answer-prev-next strong {
  display: block;
}
.answer-prev-next span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}
.answer-prev-next strong {
  margin-top: 8px;
  color: var(--ink);
  line-height: 1.45;
}
.answer-related-bottom {
  padding: 26px 28px 32px;
}
.answer-related-bottom h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 24px;
}
.answer-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.answer-related-grid a {
  padding: 18px;
  border: 1px solid rgba(16, 40, 31, .10);
  border-radius: 18px;
  background: rgba(255, 253, 247, .96);
}
.answer-related-grid span,
.answer-related-grid strong,
.answer-related-grid em {
  display: block;
}
.answer-related-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}
.answer-related-grid strong {
  margin-top: 8px;
  color: var(--ink);
  line-height: 1.4;
}
.answer-related-grid em {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.55;
}

.post-hero { padding-top: 52px; padding-bottom: 34px; }
.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--forest);
  font-weight: 900;
}
.post-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: stretch;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 94% 0%, rgba(215, 174, 97, .18), transparent 34%),
    rgba(255, 253, 247, .84);
  box-shadow: var(--shadow);
}
.post-hero h1 {
  max-width: 780px;
  margin: 18px 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -.03em;
}
.post-labels { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-panel.compact { padding: 24px; }
.hero-panel.compact .metric-row strong { font-size: 32px; }
.content-card { padding: clamp(24px, 4vw, 42px); }
.content-card h2,
.entry-content h2 { margin: 34px 0 12px; font-size: 28px; }
.content-card h2:first-child,
.entry-content h2:first-child { margin-top: 0; }
.entry-content p,
.content-card p { color: #40534a; }
.entry-content a { color: var(--leaf); font-weight: 800; }
.entry-content blockquote {
  margin: 18px 0 0;
  padding: 22px;
  border-left: 5px solid var(--gold);
  border-radius: 18px;
  background: #fff8e8;
  color: #3b4f45;
  font-weight: 800;
}
.download-panel .sidebar-card.highlight,
.sidebar-card.highlight {
  color: #fffaf0;
  background: linear-gradient(135deg, var(--forest), var(--forest-2));
}
.sidebar-card.highlight p { color: rgba(255, 250, 240, .76); }
.download-btn {
  display: flex;
  justify-content: center;
  margin-top: 18px;
  padding: 13px 16px;
  border-radius: 999px;
  color: #08251b;
  background: linear-gradient(135deg, #f4d98f, var(--gold));
  font-weight: 900;
}
.post-navigation { display: flex; justify-content: space-between; gap: 16px; margin-top: 24px; }
.post-navigation a { color: var(--forest); font-weight: 900; }

.site-footer {
  margin-top: 54px;
  padding: 34px clamp(20px, 5vw, 64px);
  color: rgba(255, 250, 240, .76);
  background: linear-gradient(135deg, var(--forest), #071b14);
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer-inner strong { color: var(--gold); }
.empty-card { padding: 28px; color: var(--muted); }

@media (max-width: 1120px) {
  .site-header { gap: 16px; padding-left: 22px; padding-right: 22px; }
  .top-nav > ul,
  .top-nav .menu { gap: 4px; }
  .top-nav a { padding-left: 11px; padding-right: 11px; font-size: 13px; }
  .brand small { display: none; }
}
@media (max-width: 980px) {
  body.admin-bar .site-header { top: 46px; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .top-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 18px;
    left: 18px;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 250, 243, .98);
    box-shadow: var(--shadow);
    flex: none;
  }
  .top-nav.is-open { display: block; }
  .top-nav > ul,
  .top-nav .menu { flex-direction: column; align-items: stretch; }
  .top-nav li { width: 100%; }
  .top-nav a { justify-content: center; }
  .top-nav .sub-menu {
    position: static;
    display: grid;
    min-width: 0;
    margin: 4px 0 8px;
    padding: 8px;
    border-radius: 16px;
    background: rgba(31, 142, 98, .07);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .top-nav .sub-menu::before { display: none; }
  .top-nav .sub-menu .sub-menu {
    margin-left: 12px;
    background: rgba(215, 174, 97, .10);
  }
  .top-nav .sub-menu a { justify-content: center; }
  .top-nav .menu-item-has-children > a::after,
  .top-nav .sub-menu .menu-item-has-children > a::after {
    transform: rotate(45deg) translateY(-2px);
  }
  .ring-hero,
  .circle-cover,
  .archive-cover,
  .split,
  .circle-stream-layout,
  .project-library-layout,
  .ring-square-hero,
  .ring-square-layout,
  .answer-layout,
  .circle-layout,
  .post-hero-grid,
  .detail-layout { grid-template-columns: 1fr; }
  .project-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .circle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-panel,
  .circle-sidebar,
  .circle-rightbar,
  .project-side,
  .ring-square-side,
  .answer-sidebar,
  .download-panel { position: static; }
  .circle-tabs-sticky { position: static; }
}
@media (max-width: 640px) {
  .site-header { padding: 12px 16px; }
  .brand small,
  .nav-cta { display: none; }
  .hero,
  .section,
  .circle-cover,
  .archive-cover,
  .post-hero { padding: 54px 18px; }
  .circle-grid { grid-template-columns: 1fr; }
  .hero-copy h1,
  .circle-cover h1,
  .archive-cover h1 { font-size: 40px; }
  .ring-square-hero { padding-top: 42px; }
  .ring-card-list { grid-template-columns: 1fr; }
  .ring-square-card-top { grid-template-columns: 52px minmax(0, 1fr); }
  .ring-join-btn { grid-column: 1 / -1; text-align: center; }
  .answer-author { grid-template-columns: 42px minmax(0, 1fr); }
  .answer-author a { grid-column: 1 / -1; text-align: center; }
  .answer-cover,
  .answer-summary { margin-left: 18px; margin-right: 18px; }
  .answer-content,
  .answer-actions,
  .answer-author { padding-left: 18px; padding-right: 18px; }
  .post-reward-row,
  .post-share-row { flex-direction: column; align-items: stretch; }
  .reward-btn { width: 100%; }
  .post-comment-box { grid-template-columns: 1fr; padding-left: 18px; padding-right: 18px; }
  .answer-prev-next,
  .answer-related-grid { grid-template-columns: 1fr; }
  .answer-prev-next,
  .answer-related-bottom { padding-left: 18px; padding-right: 18px; }
  .filter-row { grid-template-columns: 1fr; gap: 8px; }
  .filter-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .filter-chips a,
  .filter-chips span { flex: 0 0 auto; min-width: 92px; }
  .project-board-head { display: block; }
  .project-card-grid { grid-template-columns: 1fr; }
  .post-hero-grid { padding: 24px; }
  .post-navigation { flex-direction: column; }
  .circle-feed-top { align-items: stretch; flex-direction: column; }
  .circle-post-btn { width: 100%; }
  .ring-post-author { grid-template-columns: 42px minmax(0, 1fr); }
  .ring-post-author em { grid-column: 1 / -1; justify-self: start; }
  .ring-post-content { grid-template-columns: 1fr; padding-left: 18px; }
  .ring-thumb { min-height: 160px; }
  .ring-post-body,
  .ring-post-actions { padding-left: 18px; padding-right: 18px; }
  .ring-post-actions a { width: 100%; margin-left: 0; }
}
