/* =========================================================
   分享社区 · 编辑杂志风版式层
   加载顺序：bento.css → themes.css → editorial.css
   只接管布局与排版，颜色、圆角、阴影仍跟随 8 套风格变量
   ========================================================= */

:root {
  --ed-rule: color-mix(in srgb, var(--ink) 15%, transparent);
  --ed-rule-strong: color-mix(in srgb, var(--ink) 68%, transparent);
  --ed-soft: color-mix(in srgb, var(--ink) 6%, transparent);
  --ed-muted: color-mix(in srgb, var(--ink) 56%, transparent);
  --ed-rail: 326px;
  --ed-gutter: 52px;
}

::selection { background: var(--hl); color: var(--hl-ink); }

.ed-main { padding-top: 0; gap: 0; }

/* ---------- 报头 ---------- */
.ed-dateline {
  border-bottom: 1px solid var(--ed-rule);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ed-muted);
}
.ed-dateline-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.ed-dateline-in > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-dateline-mid { letter-spacing: .2em; }
.ed-dateline-right { text-align: right; }

.ed-topbar {
  position: static;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--ed-rule-strong);
}
.ed-masthead { padding-top: 16px; }
.ed-mast-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.ed-brand { gap: 12px; min-width: 0; }
.ed-brand .brand-logo { width: 50px; height: 50px; }
.ed-brand .brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 22px;
  display: grid;
  place-items: center;
}
.ed-brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.ed-brand .brand-name { font-size: 27px; font-weight: 800; letter-spacing: -.035em; }
.ed-brand-tag {
  margin-top: 5px;
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ed-muted);
}
.ed-topbar .top-actions { gap: 6px; }
.ed-topbar .pill-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: 0;
  border: 1px solid var(--ed-rule-strong);
  background: transparent;
  box-shadow: none;
  font-size: 12.5px;
  letter-spacing: .04em;
}
.ed-topbar .pill-btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ed-topbar .icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--ed-rule);
  background: transparent;
  box-shadow: none;
}
.ed-topbar .sound-btn[aria-pressed="true"] { background: var(--hl); color: var(--hl-ink); border-color: var(--hl); }
.ed-topbar .avatar-btn .avatar { width: 38px; height: 38px; font-size: 16px; }

.ed-mast-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 14px;
  padding: 10px 0 9px;
  border-top: 1px solid var(--ed-rule);
}
.ed-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.ed-nav .mainnav-a {
  padding: 2px 0;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  background: none;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--ed-muted);
}
.ed-nav .mainnav-a:hover { background: none; color: var(--ink); }
.ed-nav .mainnav-a.is-active {
  background: none;
  color: var(--ink);
  border-bottom-color: var(--ink);
  font-weight: 700;
}
.ed-search {
  flex: 0 1 320px;
  min-width: 160px;
  height: auto;
  padding: 0 0 7px;
  border: 0;
  border-bottom: 1px solid var(--ed-rule-strong);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.ed-search:focus-within { outline: 0; border-bottom-color: var(--ink); }
.ed-search input { font-size: 13.5px; }
.ed-search input::placeholder { color: var(--ed-muted); }

/* ---------- 首页封面 ---------- */
.ed-cover {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .8fr);
  gap: var(--ed-gutter);
  padding: 44px 0 40px;
  border-top: 6px solid var(--ink);
  border-bottom: 1px solid var(--ed-rule-strong);
}
.ed-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ed-muted);
}
.ed-kicker::before { content: ""; width: 30px; height: 1px; background: var(--ink); flex: none; }
.ed-cover-title {
  margin: 18px 0 0;
  font-family: var(--font-editorial, var(--font-display));
  font-size: clamp(42px, 6.2vw, 82px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.03em;
}
.ed-cover-title .hl {
  display: inline;
  padding: 0 .06em;
  background: var(--hl);
  color: var(--hl-ink);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.ed-cover-sub {
  max-width: 44ch;
  margin: 24px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ed-muted);
}
.ed-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  font-size: 13.5px;
  color: var(--ed-muted);
}
.ed-figures { display: flex; flex-wrap: wrap; gap: 0; margin-top: 30px; border-top: 1px solid var(--ed-rule); }
.ed-figure { padding: 14px 28px 0 0; margin-right: 28px; border-right: 1px solid var(--ed-rule); }
.ed-figure:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.ed-figure b {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
}
.ed-figure span { display: block; margin-top: 5px; font-size: 11.5px; letter-spacing: .12em; color: var(--ed-muted); }

.ed-cover-aside {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  padding: 24px 26px 20px;
  background: var(--dark);
  color: var(--dark-ink);
}
.ed-aside-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 11px;
  border-bottom: 1px solid color-mix(in srgb, var(--dark-ink) 35%, transparent);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .75;
}
.ed-aside-title {
  margin: 16px 0 0;
  font-family: var(--font-editorial, var(--font-display));
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
}
.ed-aside-lede { margin: 7px 0 0; font-size: 12px; line-height: 1.7; opacity: .6; }
.ed-contents { list-style: none; margin: 10px 0 0; padding: 0; }
.ed-contents li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 14px;
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--dark-ink) 14%, transparent);
}
.ed-content-no { font-family: var(--font-mono); font-size: 11px; color: var(--hl); padding-top: 2px; }
.ed-content-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ed-content-body a { font-size: 15px; font-weight: 600; line-height: 1.45; }
.ed-content-body a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ed-content-body small { font-size: 11px; letter-spacing: .04em; opacity: .58; }
.ed-content-arrow { padding-top: 2px; font-size: 12px; opacity: .35; transition: transform .2s ease, opacity .2s ease; }
.ed-contents li:hover .ed-content-arrow { opacity: 1; transform: translate(2px, -2px); }
.ed-aside-more { margin: 10px 0 0; font-size: 11px; line-height: 1.6; opacity: .72; }
.ed-aside-more a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.ed-aside-note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed color-mix(in srgb, var(--dark-ink) 18%, transparent);
  font-family: var(--font-editorial, var(--font-display));
  font-size: 12.5px;
  line-height: 1.8;
  opacity: .48;
}
.ed-aside-empty { margin: 18px 0; font-size: 13.5px; line-height: 1.75; opacity: .72; }
.ed-aside-foot { display: flex; flex-direction: column; gap: 9px; padding-top: 20px; margin-top: auto; }
.ed-aside-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  background: var(--hl);
  color: var(--hl-ink);
  font-weight: 700;
  font-size: 14px;
  transition: transform .2s ease;
}
.ed-aside-cta:hover { transform: translateY(-2px); }
.ed-aside-cta span { font-size: 18px; line-height: 1; }
.ed-aside-link { font-size: 12px; letter-spacing: .06em; opacity: .68; text-align: center; }
.ed-aside-link:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 栏目索引 ---------- */
.ed-sections { padding: 34px 0 36px; }
.ed-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}
.ed-sec-head h2 {
  margin: 8px 0 0;
  font-family: var(--font-editorial, var(--font-display));
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
}
.ed-sec-note { font-size: 11.5px; letter-spacing: .12em; color: var(--ed-muted); padding-bottom: 3px; }
.ed-section-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-left: 1px solid var(--ed-rule);
}
.ed-cat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 158px;
  padding: 16px 16px 14px;
  border: 0;
  border-right: 1px solid var(--ed-rule);
  border-bottom: 1px solid var(--ed-rule);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  transition: background .2s ease, color .2s ease;
}
.ed-cat:hover { background: var(--tint, var(--hl)); color: var(--ink); }
.ed-cat.is-on { background: var(--ink); color: var(--bg); }
.ed-cat-no { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; opacity: .58; }
.ed-cat-name {
  font-family: var(--font-editorial, var(--font-display));
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.ed-cat-desc { font-size: 12.5px; line-height: 1.55; opacity: .68; }
.ed-cat-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  font-size: 11.5px;
  letter-spacing: .08em;
  opacity: .78;
}

/* ---------- 内容区 ---------- */
.ed-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--ed-rail);
  gap: var(--ed-gutter);
  padding: 38px 0 24px;
  align-items: start;
}
.ed-feed { min-width: 0; }
.ed-feed-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}
.ed-feed-head h2 {
  margin: 8px 0 0;
  font-family: var(--font-editorial, var(--font-display));
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
}
.ed-tabs { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.ed-tab {
  padding: 2px 0 4px;
  border-bottom: 2px solid transparent;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--ed-muted);
}
.ed-tab:hover { color: var(--ink); }
.ed-tab.is-on { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- 文章列表 ---------- */
.ed-feed .post-card,
.ed-list .post-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 26px 0 24px;
  border: 0;
  border-top: 1px solid var(--ed-rule);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.ed-feed .post-card:first-of-type,
.ed-list .post-card:first-of-type { border-top: 0; }
.ed-feed .post-card.is-lead {
  grid-template-columns: 64px minmax(0, 1fr);
  padding: 30px 0 34px;
  border-top: 4px solid var(--ink);
  background: transparent;
}
.post-index {
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--ed-muted);
}
.post-body { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.post-meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: 12.5px; color: var(--ed-muted); }
.post-kicker {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.post-slash { color: var(--ed-rule-strong); }
.post-meta .meta-author { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--ink); }
.post-meta .meta-author .avatar { --size: 24px; border-radius: 50%; }
.post-read { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; letter-spacing: .06em; color: var(--ed-muted); }
.ed-feed .post-main,
.ed-list .post-main { display: flex; align-items: flex-start; gap: 34px; }
.post-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.ed-feed .post-title,
.ed-list .post-title {
  margin: 0;
  font-family: var(--font-editorial, var(--font-display));
  font-size: 26px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.02em;
}
.ed-feed .post-card.is-lead .post-title { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.15; }
.post-title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.post-excerpt { font-size: 14.5px; line-height: 1.8; color: var(--ed-muted); }
.ed-feed .post-card.is-lead .post-excerpt { max-width: 60ch; font-size: 16px; line-height: 1.85; }
.post-cover {
  flex: none;
  width: 190px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0;
  background: var(--ed-soft);
}
.ed-feed .post-card.is-lead .post-cover { width: 38%; max-width: 400px; aspect-ratio: 16 / 10; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-cover:hover img { transform: scale(1.03); }
.post-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 2px; }
.post-actions .act {
  height: 32px;
  padding: 0 11px;
  border: 1px solid var(--ed-rule);
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
  color: var(--ed-muted);
}
.post-actions .act:hover { color: var(--ink); border-color: var(--ed-rule-strong); }
.post-actions .tag {
  padding: 0;
  background: none;
  font-size: 12px;
  color: var(--ed-muted);
}
.post-actions .tag:hover { background: none; color: var(--ink); text-decoration: underline; }
.post-actions .like-btn.is-on { background: var(--like); color: var(--like-ink); border-color: var(--like); }
.post-actions .save-btn.is-on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.post-more { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; }
.post-more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 侧栏 ---------- */
.ed-rail { display: flex; flex-direction: column; gap: 38px; min-width: 0; border-top: 2px solid var(--ink); padding-top: 18px; }
.ed-rail-block h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ed-rule);
  font-family: var(--font-editorial, var(--font-display));
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.ed-rail-block h3 span { font-family: var(--font-mono); font-size: 9.5px; font-weight: 400; letter-spacing: .18em; color: var(--ed-muted); }
.ed-link-list { list-style: none; margin: 0; padding: 0; }
.ed-link-list li { border-bottom: 1px solid var(--ed-rule); }
.ed-link-list a {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: baseline;
  padding: 11px 0;
}
.ed-link-list a:hover .ed-link-name { text-decoration: underline; text-underline-offset: 4px; }
.ed-link-no { font-family: var(--font-mono); font-size: 10.5px; color: var(--ed-muted); }
.ed-link-name { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ed-link-host { font-size: 10.5px; color: var(--ed-muted); }
.ed-rail-empty { padding: 14px 0; font-size: 13px; color: var(--ed-muted); }
.ed-more { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--ed-muted); }
.ed-more:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.ed-tag-list { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; }
.ed-tag-list a {
  padding: 5px 0;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--ed-rule);
  margin-right: 6px;
}
.ed-tag-list a:hover { color: var(--hl-ink); background: var(--hl); padding-left: 6px; padding-right: 6px; }
.ed-rail-note blockquote {
  margin: 14px 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--hl);
  font-family: var(--font-editorial, var(--font-display));
  font-size: 16px;
  line-height: 1.85;
}
.ed-rail-sign { margin: 12px 0 0; font-size: 11.5px; letter-spacing: .1em; color: var(--ed-muted); text-align: right; }

/* ---------- 空状态 ---------- */
.ed-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 54px 0 46px;
  border-bottom: 1px solid var(--ed-rule);
}
.ed-empty-no { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; color: var(--ed-muted); }
.ed-empty h3 { margin: 0; font-family: var(--font-editorial, var(--font-display)); font-size: 28px; font-weight: 800; letter-spacing: -.01em; }
.ed-empty p { max-width: 42ch; margin: 0 0 8px; color: var(--ed-muted); }
.ed-pager { padding: 30px 0 6px; justify-content: flex-start; }

/* ---------- 列表 / 搜索页 ---------- */
.ed-list-head {
  padding: 40px 0 30px;
  border-top: 6px solid var(--ink);
  border-bottom: 1px solid var(--ed-rule-strong);
}
.ed-page-title {
  margin: 14px 0 0;
  font-family: var(--font-editorial, var(--font-display));
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
}
.ed-page-sub { max-width: 52ch; margin: 14px 0 0; font-size: 15px; line-height: 1.8; color: var(--ed-muted); }
.ed-search-lg {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 520px;
  margin-top: 24px;
  padding-bottom: 8px;
}
.ed-search-lg input { font-size: 16px; }
.ed-list { max-width: 900px; }
.ed-list .post-card:first-of-type { border-top: 1px solid var(--ed-rule); }

/* ---------- 正文页 ---------- */
.ed-crumbs { padding: 22px 0 0; font-size: 11.5px; letter-spacing: .1em; color: var(--ed-muted); }
.ed-post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: var(--ed-gutter);
  align-items: start;
  padding: 26px 0 20px;
}
.ed-article {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  gap: 0;
}
.ed-article .article-top { gap: 8px; margin-bottom: 14px; }
.ed-article .chip.tint { background: var(--hl); color: var(--hl-ink); }
.article-title {
  margin: 0;
  font-family: var(--font-editorial, var(--font-display));
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
}
.ed-article .article-meta {
  margin: 20px 0 26px;
  padding: 12px 0;
  border-top: 1px solid var(--ed-rule-strong);
  border-bottom: 1px solid var(--ed-rule);
  color: var(--ed-muted);
}
.ed-article .article-cover { margin: 0 0 28px; border-radius: 0; }
.ed-article .article-cover img { max-height: 560px; }
.ed-article .md {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.95;
  gap: 16px;
}
.ed-article .md > p:first-of-type::first-letter {
  float: left;
  margin: .06em .1em 0 0;
  font-family: var(--font-editorial, var(--font-display));
  font-size: 3.3em;
  font-weight: 800;
  line-height: .84;
}
.ed-article .md h3,
.ed-article .md h4,
.ed-article .md h5 { font-family: var(--font-editorial, var(--font-display)); letter-spacing: -.01em; }
.ed-article .md blockquote { border-left: 3px solid var(--hl); border-radius: 0; background: transparent; padding: 4px 0 4px 18px; }
.ed-article .article-actions { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--ed-rule-strong); }
.ed-article .btn { border-radius: 999px; }
.ed-article .mod-bar { border-radius: 0; background: var(--ed-soft); }

.ed-post-side { display: flex; flex-direction: column; gap: 30px; min-width: 0; }
.ed-side-block {
  padding: 20px 0 22px;
  border-top: 2px solid var(--ink);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.ed-side-block h3 {
  margin: 0 0 14px;
  font-family: var(--font-editorial, var(--font-display));
  font-size: 21px;
  font-weight: 800;
}
.ed-side-block .author-top { gap: 12px; margin-bottom: 12px; }
.ed-side-block .author-name { font-family: var(--font-editorial, var(--font-display)); font-size: 22px; font-weight: 800; }
.ed-side-block .mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ed-rule); }
.ed-side-block .mini-stats div { padding: 12px 8px 0 0; border-right: 1px solid var(--ed-rule); background: transparent; border-radius: 0; }
.ed-side-block .mini-stats div:last-child { border-right: 0; }
.ed-side-block .mini-stats b { font-family: var(--font-display); font-size: 24px; font-weight: 800; }
.ed-side-block .mini-stats span { font-size: 11px; color: var(--ed-muted); }
.ed-side-block .related {
  padding: 12px 0;
  border-bottom: 1px solid var(--ed-rule);
  border-radius: 0;
  background: transparent;
  font-weight: 600;
  font-size: 14.5px;
}
.ed-side-block .related:hover { text-decoration: underline; text-underline-offset: 4px; }
.ed-side-quote p { font-family: var(--font-editorial, var(--font-display)); font-size: 16px; line-height: 1.85; }

.ed-comments {
  margin-top: 46px;
  padding: 26px 0 6px;
  border: 0;
  border-top: 4px solid var(--ink);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.ed-comments .tile-head { padding-bottom: 10px; border-bottom: 1px solid var(--ed-rule); margin-bottom: 18px; }
.ed-comments h2 { font-family: var(--font-editorial, var(--font-display)); font-size: 28px; font-weight: 800; }
.ed-comments .seg { padding: 0; border-radius: 0; background: transparent; box-shadow: none; gap: 18px; }
.ed-comments .seg-a {
  height: auto;
  padding: 0 0 4px;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  background: none;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ed-muted);
}
.ed-comments .seg-a.is-on { background: none; color: var(--ink); border-bottom-color: var(--ink); }
.ed-comments .comment { border-top: 1px solid var(--ed-rule); }
.ed-comments .reply { background: var(--ed-soft); border-radius: 0; }

/* ---------- 个人主页 ---------- */
.ed-profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 44px;
  align-items: start;
  padding: 34px 0 30px;
  border-top: 6px solid var(--ink);
  border-bottom: 1px solid var(--ed-rule-strong);
}
.ed-profile-main { display: flex; align-items: flex-start; gap: 26px; min-width: 0; }
.ed-profile-main .avatar.xl { --size: 116px; border-radius: 50%; }
.ed-profile-info { min-width: 0; }
.ed-profile-name {
  margin: 10px 0 0;
  font-family: var(--font-editorial, var(--font-display));
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
}
.ed-profile-bio { margin: 12px 0 0; font-size: 14.5px; color: var(--ed-muted); }
.ed-profile-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.ed-profile-meta .chip { background: transparent; border: 1px solid var(--ed-rule); border-radius: 0; font-size: 11.5px; }
.ed-profile-meta .chip-hl { background: var(--hl); color: var(--hl-ink); border-color: var(--hl); }
.ed-profile-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.ed-profile-acts .btn { border-radius: 0; }
.ed-profile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(92px, 1fr));
  border-left: 1px solid var(--ed-rule);
  border-top: 1px solid var(--ed-rule);
}
.ed-stat { padding: 16px 18px; border-right: 1px solid var(--ed-rule); border-bottom: 1px solid var(--ed-rule); }
.ed-stat b { display: block; font-family: var(--font-display); font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.ed-stat span { display: block; margin-top: 6px; font-size: 11px; letter-spacing: .1em; color: var(--ed-muted); }
.ed-profile-tabs { margin: 6px 0 0; padding: 14px 0; border-bottom: 1px solid var(--ed-rule); gap: 26px; }
.ed-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-left: 1px solid var(--ed-rule);
  margin-top: 0;
}
.ed-story {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 196px;
  padding: 22px 22px 18px;
  border-right: 1px solid var(--ed-rule);
  border-bottom: 1px solid var(--ed-rule);
  background: transparent;
  transition: background .2s ease, color .2s ease;
}
.ed-story:hover { background: var(--tint); color: var(--ink); }
.ed-story-no { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; opacity: .55; }
.ed-story-cat { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; }
.ed-story-title { font-family: var(--font-editorial, var(--font-display)); font-size: 24px; font-weight: 800; line-height: 1.3; letter-spacing: -.02em; }
.ed-story-meta { margin-top: auto; font-size: 11.5px; color: var(--ed-muted); }
.ed-story:hover .ed-story-meta { color: color-mix(in srgb, var(--ink) 62%, transparent); }
.ed-reply-list { max-width: 900px; }
.ed-reply { display: flex; flex-direction: column; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--ed-rule); }
.ed-reply-meta { font-size: 12px; letter-spacing: .04em; color: var(--ed-muted); }
.ed-reply-quote { font-family: var(--font-editorial, var(--font-display)); font-size: 19px; line-height: 1.7; }
.ed-reply:hover .ed-reply-quote { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 资源导航 ---------- */
.ed-nav-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .6fr);
  gap: var(--ed-gutter);
  align-items: start;
  padding: 40px 0 34px;
  border-top: 6px solid var(--ink);
  border-bottom: 1px solid var(--ed-rule-strong);
}
.ed-nav-intro { min-width: 0; }
.ed-suggest {
  padding: 22px 24px 24px;
  background: var(--surface);
  border-top: 3px solid var(--ink);
  box-shadow: var(--shadow);
}
.ed-suggest .ed-kicker { margin-bottom: 10px; }
.ed-suggest h2 { margin: 0 0 14px; font-family: var(--font-editorial, var(--font-display)); font-size: 26px; font-weight: 800; }
.ed-suggest .lbl { display: block; margin: 10px 0 5px; }
.ed-suggest .input { background: var(--surface-2); border-radius: 0; }
.ed-suggest .btn { margin-top: 14px; border-radius: 0; }
.ed-cat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-left: 1px solid var(--ed-rule);
  margin-top: 0;
}
.ed-cat-row .ed-cat { min-height: 136px; }
.ed-nav-list-head { margin-top: 34px; }
.ed-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 34px;
}
.ed-link-grid .link-tile {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 0;
  padding: 20px 0 18px;
  border-top: 1px solid var(--ed-rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
}
.ed-link-grid .link-tile:hover { transform: none; background: var(--ed-soft); }
.ed-link-grid .link-tile:hover .lt-name { text-decoration: underline; text-underline-offset: 4px; }
.lt-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lt-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tint);
  color: #121212;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
}
.lt-name { font-family: var(--font-editorial, var(--font-display)); font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.lt-desc { min-height: 0; font-size: 13px; line-height: 1.65; color: var(--ed-muted); }
.lt-foot { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 4px; }
.lt-foot .tag { background: none; padding: 0; font-size: 11.5px; color: var(--ed-muted); }
.lt-host { font-size: 10.5px; color: var(--ed-muted); }

/* ---------- 设置页 ---------- */
.ed-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0 22px;
  border-top: 6px solid var(--ink);
  border-bottom: 1px solid var(--ed-rule-strong);
}
.ed-page-head h1 {
  margin: 12px 0 0;
  font-family: var(--font-editorial, var(--font-display));
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
}
.ed-page-head .btn { border-radius: 0; }
.ed-settings { padding-top: 30px; }
.ed-settings.ed-columns { grid-template-columns: minmax(0, 1fr) 340px; }
.ed-panel {
  padding: 22px 24px 24px;
  border: 0;
  border-top: 2px solid var(--ink);
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
}
.ed-panel h2 { margin: 0 0 12px; font-family: var(--font-editorial, var(--font-display)); font-size: 25px; font-weight: 800; letter-spacing: -.01em; }
.ed-panel-no { margin: 0 0 6px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; color: var(--ed-muted); }
.ed-panel .input, .ed-panel .textarea { border-radius: 0; background: var(--surface-2); }
.ed-panel .btn { border-radius: 0; }
.ed-panel .theme-opt { border-radius: 0; }
.ed-panel .cpick .avatar { border-radius: 50%; }

/* ---------- 登录 / 注册 ---------- */
.auth {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
  gap: 0;
  align-items: stretch;
  border-top: 0;
  padding-top: 6px;
}
.auth::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--ink);
  z-index: 1;
  pointer-events: none;
}
.auth .auth-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-height: 480px;
  padding: 46px 44px 46px 0;
  border: 0;
  border-right: 1px solid var(--ed-rule-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}
.auth .auth-hero .chip-hl { background: var(--hl); color: var(--hl-ink); }
.auth .auth-hero .hero-title {
  font-family: var(--font-editorial, var(--font-display));
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
}
.auth .auth-hero .hero-sub { max-width: 34ch; color: var(--ed-muted); }
.auth .auth-form {
  max-width: none;
  justify-content: center;
  padding: 46px 0 46px 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.auth .auth-form h2 { margin-bottom: 6px; font-family: var(--font-editorial, var(--font-display)); font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.auth .auth-form .input { border-radius: 0; background: var(--surface-2); }
.auth .auth-form .btn { border-radius: 0; }

/* ---------- 发帖 / 编辑页 ---------- */
.compose .page-head { border-top: 6px solid var(--ink); padding: 26px 0 18px; align-items: flex-end; }
.compose .page-head h1 { font-family: var(--font-editorial, var(--font-display)); font-size: clamp(34px, 4.6vw, 52px); font-weight: 800; letter-spacing: -.03em; }
.compose .page-head .btn { border-radius: 0; }
.compose .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--ed-gutter);
  align-items: start;
  padding-top: 22px;
}
.compose .row > .col-main { padding-top: 18px; border-top: 2px solid var(--ink); }
.compose .tile { border-radius: 0; box-shadow: none; }
.compose .row > .col-main.tile { padding-left: 0; padding-right: 0; background: transparent; }
.compose .col-side > .tile {
  margin-bottom: 16px;
  padding: 16px 18px;
  border-top: 1px solid var(--ed-rule);
  background: var(--surface);
}
.compose .title-input { font-family: var(--font-editorial, var(--font-display)); font-size: clamp(30px, 3.6vw, 42px); }
.compose .editor textarea { min-height: 340px; }
.compose .preview {
  margin-top: 26px;
  padding: 22px 0 10px;
  border-top: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
}
.compose .preview .pv-title { font-family: var(--font-editorial, var(--font-display)); }

/* ---------- 通知 ---------- */
.notif-page {
  padding: 0;
  border: 0;
  border-top: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.notif-page .notif-item { padding: 14px 0; border-bottom: 1px solid var(--ed-rule); border-radius: 0; }
.notif-page .notif-item.is-unread { background: color-mix(in srgb, var(--hl) 20%, transparent); padding-left: 12px; padding-right: 12px; }

/* ---------- 私信 ---------- */
.dm-list, .dm-thread { border-top: 2px solid var(--ink); border-radius: 0; box-shadow: none; }
.dm-list .dm-list-head { border-radius: 0; }

/* ---------- 通知 / 404 ---------- */
.ed-main > .page-head {
  align-items: flex-end;
  padding: 26px 0 18px;
  border-top: 6px solid var(--ink);
}
.ed-main > .page-head h1 { font-family: var(--font-editorial, var(--font-display)); font-size: clamp(34px, 4.6vw, 52px); font-weight: 800; letter-spacing: -.03em; }
.ed-main > .page-head .btn { border-radius: 0; }
.not-found { border-top: 6px solid var(--ink); border-radius: 0; background: transparent; box-shadow: none; }

/* ---------- 页脚 ---------- */
.ed-footer {
  margin-top: 56px;
  border-top: 4px solid var(--ink);
  padding: 28px 0 34px;
}
.ed-footer-in {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1.2fr);
  gap: 30px;
  align-items: start;
}
.ed-footer-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ed-footer-brand .brand-mark { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; }
.ed-footer-brand b { display: block; font-size: 18px; letter-spacing: -.02em; }
.ed-footer-brand p { margin: 3px 0 0; font-size: 12px; color: var(--ed-muted); }
.ed-footer-nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: 12px; letter-spacing: .08em; color: var(--ed-muted); }
.ed-footer-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.ed-footer-meta { display: flex; flex-direction: column; gap: 5px; align-items: flex-end; text-align: right; font-size: 11.5px; color: var(--ed-muted); }
.ed-footer-meta a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1440px) {
  .ed-dateline { display: none; }
  .ed-masthead { padding-top: 8px; }
  .ed-brand .brand-mark,
  .ed-brand .brand-logo { width: 40px; height: 40px; }
  .ed-brand .brand-name { font-size: 22px; }
  .ed-mast-bot { margin-top: 8px; padding: 7px 0; }

  .ed-cover {
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
    gap: 30px;
    padding: 20px 0 18px;
  }
  .ed-cover-title { margin-top: 12px; font-size: clamp(36px, 4.8vw, 64px); }
  .ed-cover-sub { margin-top: 12px; font-size: 14.5px; line-height: 1.65; }
  .ed-figures { margin-top: 14px; }
  .ed-figure { padding-top: 8px; }
  .ed-figure b { font-size: 24px; }
  .ed-figure span { font-size: 10.5px; }

  .ed-cover-aside { padding: 16px 18px 14px; }
  .ed-aside-title { margin-top: 10px; font-size: 24px; }
  .ed-aside-lede { margin-top: 4px; font-size: 11.5px; }
  .ed-contents { margin-top: 4px; }
  .ed-contents li { padding: 8px 0; }
  .ed-content-body a { font-size: 14px; }
  .ed-content-body small { font-size: 10.5px; }
  .ed-aside-note { margin-top: 10px; padding-top: 9px; font-size: 12px; }
  .ed-aside-foot { padding-top: 10px; }
  .ed-aside-cta { padding: 10px 13px; font-size: 13px; }
  .ed-aside-link { font-size: 11px; }

  .ed-sections { padding: 16px 0 18px; }
  .ed-sec-head { padding-bottom: 8px; }
  .ed-sec-head h2 { font-size: 24px; }
  .ed-sec-head .ed-kicker { font-size: 9.5px; }
  .ed-sec-note { font-size: 10.5px; }
  .ed-cat { min-height: 100px; padding: 10px 12px; gap: 5px; }
  .ed-cat-name { font-size: 18px; }
  .ed-cat-desc { font-size: 11.5px; }
  .ed-cat-count { padding-top: 6px; font-size: 10.5px; }

  .ed-columns { padding-top: 18px; }
  .ed-feed-head { padding-bottom: 8px; }
  .ed-feed-head h2 { font-size: 24px; }
  .ed-feed-head .ed-kicker { font-size: 9.5px; }
  .ed-feed .post-card { padding: 18px 0 16px; }
  .ed-feed .post-card.is-lead { padding: 20px 0 22px; }
  .ed-feed .post-card.is-lead .post-title { font-size: clamp(26px, 3.2vw, 36px); }
}

@media (max-width: 1100px) {
  .ed-topbar .theme-btn .hide-sm { display: none; }
  .ed-topbar .sound-btn { display: none; }
  .ed-aside-note { display: none; }
  .ed-cover { padding: 16px 0 14px; }
  .ed-cover-title { margin-top: 8px; }
  .ed-sections { padding: 12px 0 14px; }
  .ed-sec-head { padding-bottom: 6px; }
  .ed-columns { padding-top: 14px; }
}

@media (max-width: 1180px) {
  :root { --ed-gutter: 40px; --ed-rail: 300px; }
  .ed-cat-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ed-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  .ed-cover { grid-template-columns: minmax(0, 1.3fr) minmax(280px, .9fr); gap: 34px; }
  .ed-columns { grid-template-columns: minmax(0, 1fr) 280px; gap: 34px; }
  .ed-settings.ed-columns { grid-template-columns: minmax(0, 1fr) 300px; }
  .ed-post-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 34px; }
  .ed-profile-hero { grid-template-columns: 1fr; gap: 26px; }
  .ed-profile-stats { grid-template-columns: repeat(4, 1fr); border-left: 0; }
  .ed-profile-stats .ed-stat:first-child { border-left: 1px solid var(--ed-rule); }
  .ed-nav-hero { grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 34px; }
}

@media (max-width: 860px) {
  .ed-dateline { display: none; }
  .ed-masthead { padding-top: 12px; }
  .ed-brand .brand-mark { width: 42px; height: 42px; font-size: 19px; }
  .ed-brand .brand-logo { width: 42px; height: 42px; }
  .ed-brand .brand-name { font-size: 23px; }
  .ed-topbar .pill-btn { height: 36px; padding: 0 11px; }
  .ed-topbar .icon-btn { width: 36px; height: 36px; }
  .ed-mast-bot { flex-wrap: wrap; gap: 10px; margin-top: 10px; }
  .ed-nav { order: 1; flex: 1 0 100%; gap: 22px; overflow-x: auto; scrollbar-width: none; }
  .ed-nav::-webkit-scrollbar { display: none; }
  .ed-nav .mainnav-a { white-space: nowrap; }
  .ed-search { order: 2; flex: 1 0 100%; max-width: none; }

  .ed-cover { grid-template-columns: 1fr; gap: 30px; padding: 32px 0 30px; }
  .ed-cover-title { font-size: clamp(38px, 8vw, 58px); }
  .ed-cover-aside { padding: 22px 22px 18px; }
  .ed-aside-note { display: block; margin-top: 10px; padding-top: 9px; font-size: 12px; }

  .ed-section-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-section-grid .ed-cat:last-child:nth-child(odd) { grid-column: span 2; }
  .ed-cat { min-height: 140px; }
  .ed-cat-name { font-size: 20px; }

  .ed-columns { grid-template-columns: 1fr; gap: 36px; }
  .ed-rail { border-top-width: 1px; padding-top: 14px; }
  .ed-post-layout { grid-template-columns: 1fr; gap: 30px; }
  .ed-post-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .ed-post-side .ed-side-block:first-child { grid-column: span 2; }

  .ed-nav-hero { grid-template-columns: 1fr; gap: 26px; padding: 32px 0 28px; }
  .ed-cat-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ed-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .ed-settings.ed-columns { grid-template-columns: 1fr; }
  .ed-story-grid { grid-template-columns: 1fr; }
  .ed-footer-in { grid-template-columns: 1fr; gap: 18px; }
  .ed-footer-meta { align-items: flex-start; text-align: left; }

  .auth { grid-template-columns: 1fr; }
  .auth .auth-hero {
    min-height: 0;
    padding: 32px 0 26px;
    border-right: 0;
    border-bottom: 1px solid var(--ed-rule-strong);
  }
  .auth .auth-form { padding: 30px 0 34px; }
  .compose .row { grid-template-columns: 1fr; gap: 26px; }
  .compose .col-side > .tile { padding: 16px; }
}

@media (max-width: 720px) {
  .ed-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}

@media (max-width: 620px) {
  .ed-mast-top { gap: 10px; }
  .ed-brand .brand-mark { width: 38px; height: 38px; }
  .ed-brand .brand-logo { width: 38px; height: 38px; }
  .ed-brand .brand-name { font-size: 21px; }
  .ed-brand-tag { display: none; }
  .ed-topbar .sound-btn { display: none; }
  .ed-topbar .pill-btn { font-size: 12px; }

  .ed-cover { padding: 26px 0 26px; }
  .ed-cover-title { font-size: clamp(34px, 9.4vw, 48px); }
  .ed-cover-sub { font-size: 14.5px; margin-top: 18px; }
  .ed-figures { margin-top: 22px; }
  .ed-figure { padding-right: 18px; margin-right: 18px; }
  .ed-figure b { font-size: 28px; }
  .ed-figure span { font-size: 10.5px; }
  .ed-contents li { padding: 12px 0; }
  .ed-content-body a { font-size: 14.5px; }

  .ed-sec-head h2, .ed-feed-head h2 { font-size: 27px; }
  .ed-section-grid { grid-template-columns: 1fr 1fr; }
  .ed-cat { min-height: 128px; padding: 14px 13px 12px; }
  .ed-cat-name { font-size: 18px; }
  .ed-cat-desc { font-size: 11.5px; }
  .ed-cat-count { font-size: 10.5px; }

  .ed-feed-head { flex-wrap: wrap; gap: 12px; }
  .ed-tabs { gap: 16px; }
  .ed-feed .post-card,
  .ed-list .post-card,
  .ed-feed .post-card.is-lead { grid-template-columns: 1fr; gap: 0; padding: 22px 0; border-top-width: 1px; }
  .post-index { display: none; }
  .ed-feed .post-card.is-lead .post-title { font-size: 27px; }
  .ed-feed .post-title, .ed-list .post-title { font-size: 21px; }
  .post-excerpt { font-size: 13.5px; }
  .ed-feed .post-card.is-lead .post-excerpt { font-size: 14.5px; }
  .ed-feed .post-main, .ed-list .post-main { gap: 16px; }
  .ed-feed .post-card.is-lead .post-cover,
  .post-cover { width: 100%; max-width: none; aspect-ratio: 16 / 9; }
  .post-more { display: none; }
  .post-actions .tag { display: none; }

  .ed-page-title { font-size: 36px; }
  .ed-list-head { padding: 28px 0 24px; }
  .ed-search-lg { margin-top: 18px; }
  .ed-search-lg .btn { min-height: 40px; padding: 0 14px; }

  .article-title { font-size: 34px; }
  .ed-article .md { font-size: 16px; line-height: 1.9; }
  .ed-article .article-actions .btn { min-height: 40px; }
  .ed-comments { margin-top: 34px; }
  .ed-post-side { grid-template-columns: 1fr; }
  .ed-post-side .ed-side-block:first-child { grid-column: auto; }

  .ed-profile-main { flex-direction: column; gap: 16px; }
  .ed-profile-main .avatar.xl { --size: 92px; }
  .ed-profile-name { font-size: 44px; }
  .ed-profile-stats { grid-template-columns: 1fr 1fr; }
  .ed-profile-stats .ed-stat:nth-child(odd) { border-left: 1px solid var(--ed-rule); }
  .ed-story { min-height: 0; padding: 18px 16px; }
  .ed-story-title { font-size: 21px; }

  .ed-cat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-cat-row .ed-cat { min-height: 118px; }
  .ed-nav-list-head { margin-top: 26px; }
  .ed-link-grid { grid-template-columns: 1fr; gap: 0; }
  .ed-link-grid .link-tile { padding: 18px 0; }
  .ed-suggest { padding: 18px; }

  .ed-page-head { flex-direction: column; align-items: flex-start; gap: 14px; padding: 26px 0 18px; }
  .ed-panel { padding: 18px 16px 20px; }
  .ed-footer { margin-top: 40px; }
  .ed-footer-nav { gap: 14px; }
}
