#page:has(.fc-page) > .page-title { display: none; }
#page:has(.fc-page) { background: transparent !important; border: 0 !important; box-shadow: none !important; }
/* Keep this page's layout intact when published independently of shared styles. */
#body-wrap #content-inner.layout:has(.fc-page) { max-width: calc(1180px + 2 * clamp(12px, 2vw, 24px)); width: 100%; margin-inline: auto; padding: 20px clamp(12px, 2vw, 24px) 40px; }
#body-wrap #content-inner.layout > #page:has(.fc-page) { box-sizing: border-box; width: 100% !important; min-width: 0; max-width: 1180px !important; margin: 0 auto !important; padding: 32px clamp(16px, 3vw, 36px) 40px !important; border: 1px solid transparent !important; }
.fc-page {
  --fc-ink: #363a40;
  --fc-muted: #686e76;
  --fc-accent: #4054ce;
  --fc-surface: #fff;
  --fc-line: #e6e8ed;
  --fc-tint: #eef2ff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--fc-ink);
}
[data-theme="dark"] .fc-page { --fc-ink: #e7e7ec; --fc-muted: #adb0ba; --fc-accent: #f2b94b; --fc-surface: #1d1e22; --fc-line: #34363e; --fc-tint: #332d22; }
.fc-page [hidden] { display: none !important; }
.fc-page :focus-visible { outline: 2px solid var(--fc-accent); outline-offset: 4px; }
.fc-header { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; padding-bottom: 26px; border-bottom: 1px solid var(--fc-line); }
.fc-heading { min-width: 0; }
.fc-header .pb-mh-title { margin: 0 0 10px !important; padding: 0 !important; border: none !important; font-family: "DingTalk-JinBuTi", "Penry-Latin", "MiSans", sans-serif !important; font-size: 30px !important; font-weight: normal !important; line-height: 1.2 !important; color: var(--fc-ink) !important; letter-spacing: .02em; }
.fc-header .pb-mh-title::before, .fc-header .pb-mh-title::after { content: none !important; }
.fc-intro { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--fc-muted); font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif; font-size: 14px; line-height: 1.8; letter-spacing: .12em; }
.fc-intro::before { content: ''; flex: 0 0 20px; height: 1px; background: var(--fc-accent); }
.fc-actions { display: flex; align-items: center; gap: 26px; flex-shrink: 0; padding-bottom: 1px; }
.fc-author-control { position: relative; display: flex; align-items: center; min-width: 0; color: var(--fc-muted); }
.fc-select-chevron { position: absolute; right: 14px; width: 12px; height: 12px; pointer-events: none; }
.fc-actions select { box-sizing: border-box; appearance: none; -webkit-appearance: none; width: 142px; min-width: 0; height: 42px; padding: 0 34px 0 16px; border: 1px solid var(--fc-line); border-radius: 6px; background: var(--fc-surface); color: var(--fc-ink); font: inherit; font-size: 13px; text-overflow: ellipsis; cursor: pointer; transition: border-color .2s ease; }
.fc-actions select option { background: var(--fc-surface); color: var(--fc-ink); }
.fc-actions select:disabled { cursor: wait; opacity: .55; }
.fc-author-control:hover select, .fc-author-control:focus-within select { border-color: var(--fc-accent); }
.fc-friends-link { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 2px; font-size: 13px; color: var(--fc-muted); text-decoration: none; white-space: nowrap; }
.fc-control-icon { width: 18px; height: 18px; flex-shrink: 0; }
.fc-friends-link::after { content: ''; position: absolute; right: 2px; bottom: 4px; left: 28px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.fc-friends-link:hover, .fc-friends-link:focus-visible { color: var(--fc-accent); }
.fc-friends-link:hover::after, .fc-friends-link:focus-visible::after { transform: scaleX(1); }
.fc-status { margin: 20px 0; color: var(--fc-muted); font-size: 14px; }
.fc-status:empty { display: none; }
.fc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fc-card { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 250px; padding: 26px 24px 20px; border: 1px solid var(--fc-line); border-radius: 18px; background: var(--fc-surface); box-shadow: 0 3px 8px rgba(30, 40, 65, .035); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.fc-card:focus-within { border-color: var(--fc-accent); }
.fc-card-title { margin: 0 0 16px; font-family: inherit; font-size: 17px; font-weight: 600; line-height: 1.65; overflow-wrap: anywhere; }
.fc-card-title a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: inherit; text-decoration: none; }
.fc-card-title a::after { content: ''; position: absolute; inset: 0; border-radius: 18px; }
.fc-card:hover .fc-card-title a { color: var(--fc-accent); }
.fc-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 0 0 24px; color: var(--fc-muted); font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; }
.fc-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--fc-line); font-size: 12px; color: var(--fc-muted); }
.fc-card-meta { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 4px 10px 4px 4px; border-radius: 20px; background: var(--fc-tint); color: var(--fc-ink); }
.fc-avatar { flex-shrink: 0; width: 28px; height: 28px; margin: 0; border-radius: 50%; object-fit: cover; }
.fc-author-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-date { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; padding: 5px 7px; border: 1px solid var(--fc-line); border-radius: 6px; font-size: 11px; line-height: 1.5; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fc-date svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.fc-more { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 28px 0 16px; }
.fc-more:has(button:not([hidden]))::before, .fc-more:has(button:not([hidden]))::after { content: ''; width: 64px; height: 1px; background: var(--fc-line); }
.fc-button { min-height: 44px; padding: 10px 28px; border: 1px solid var(--fc-line); border-radius: 8px; background: var(--fc-surface); color: var(--fc-muted); font: inherit; font-size: 13px; cursor: pointer; }
.fc-button:hover { color: var(--fc-accent); border-color: var(--fc-accent); }
.fc-footer { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 8px; color: var(--fc-muted); font-size: 11px; line-height: 1.7; text-align: center; }
.fc-sync { max-width: 100%; padding: 4px 0 2px; }
.fc-sync:has(.fc-updated:empty) { display: none; }
.fc-meta-icon { width: 14px; height: 14px; flex-shrink: 0; color: var(--fc-accent); }
.fc-updated { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.fc-sync-date { display: inline-flex; align-items: center; gap: 10px; }
.fc-sync-label { font-size: 11px; letter-spacing: .08em; }
.fc-sync-time { padding: 2px 8px; border-radius: 4px; background: var(--fc-tint); color: var(--fc-ink); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.fc-sync-note { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; }
.fc-sync-note::before { content: ''; width: 5px; height: 5px; border: 1px solid var(--fc-muted); border-radius: 50%; }
.fc-credit { display: inline-flex; align-items: stretch; max-width: 100%; overflow: hidden; border: 1px solid var(--fc-line); border-radius: 6px; font-size: 10px; }
.fc-credit-label { display: flex; align-items: center; padding: 5px 9px; background: var(--fc-surface); }
.fc-footer .fc-credit a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-left: 1px solid var(--fc-line); color: var(--fc-ink); background: var(--fc-tint); font-size: 11px; text-decoration: none; }
.fc-footer .fc-credit a:hover { color: var(--fc-accent); }
.fc-footer .fc-credit a:focus-visible { outline-offset: -2px; }
@media (hover: hover) {
  .fc-card:hover { border-color: color-mix(in srgb, var(--fc-accent) 40%, var(--fc-line)); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(30, 40, 65, .08); }
}
@media (max-width: 1000px) { .fc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .fc-header { align-items: flex-start; flex-direction: column; gap: 20px; } }
@media (max-width: 768px) {
  #body-wrap #content-inner.layout:has(.fc-page) { padding-block: 12px 24px; }
  #body-wrap #content-inner.layout > #page:has(.fc-page) { padding-block: 20px 28px !important; }
}
@media (max-width: 600px) {
  .fc-header { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 20px; }
  .fc-header .pb-mh-title { font-size: 28px !important; }
  .fc-actions { width: 100%; justify-content: space-between; }
  .fc-actions { gap: 20px; }
  .fc-author-control { max-width: calc(100% - 100px); }
  .fc-actions select { max-width: 100%; }
  .fc-grid { grid-template-columns: 1fr; gap: 16px; }
  .fc-card { min-height: 200px; padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { .fc-card, .fc-actions select, .fc-friends-link::after { transition: none; } .fc-card:hover { transform: none; } }
