* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

html {
  background: #fbfbfd;
  color: #1d1d1f;
  scroll-behavior: auto;
}

body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfbfd 42%, #f7f8fa 100%);
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

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

.apple-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: none;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.apple-nav {
  display: flex;
  width: min(1180px, calc(100% - 28px));
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0 auto;
  overflow-x: auto;
  white-space: nowrap;
}

.apple-nav a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border-radius: 10px;
  color: #1d1d1f;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.apple-nav a:hover,
.apple-nav a.active {
  color: #1d1d1f;
  background: #f5f7fa;
}

.apple-nav .brand {
  min-height: 58px;
  margin-right: 12px;
  padding: 0 12px 0 0;
  border-radius: 0;
}

.apple-nav .brand img {
  width: 168px;
  max-height: 52px;
  object-fit: contain;
}

.apple-nav .brand:hover {
  background: transparent;
}

.nav-item::before {
  display: none;
}

.nav-icon {
  display: inline-grid;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  place-items: center;
  border-radius: 5px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

.nav-item.home .nav-icon { background: #6f9fd8; }
.nav-item.work .nav-icon { background: #79b88a; }
.nav-item.study .nav-icon { background: #d9ad67; }
.nav-item.digital .nav-icon { background: #7f86c9; }
.nav-item.ai .nav-icon { background: #9b85d6; font-size: 9px; }
.nav-item.life .nav-icon { background: #d98576; }
.nav-item.murmurs .nav-icon { background: #9b9da3; }
.nav-item.about .nav-icon { background: #b89a7a; }

.apple-main {
  padding: 60px 0 80px;
}

.apple-home-container {
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
}

.apple-hero {
  padding: 42px 0 58px;
  text-align: center;
}

.apple-main-title {
  margin: 0 0 12px;
  color: #1d1d1f;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: 0.02em;
}

.apple-sub-title {
  margin: 0 0 24px;
  color: #6e6e73;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
}

.apple-desc {
  color: #86868b;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.tag-item {
  display: inline-block;
  margin: 4px 3px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.7;
  color: #496b94;
  background: #f0f4f9;
}

.tag-item.work { color: #3f7651; background: #edf7ef; }
.tag-item.study { color: #896329; background: #fff5df; }
.tag-item.digital { color: #565c9a; background: #f0f1fb; }
.tag-item.ai { color: #7159a8; background: #f4effb; }
.tag-item.life { color: #946052; background: #fff0ec; }
.tag-item.murmurs { color: #666a72; background: #f2f3f5; }
.tag-item.about { color: #7a633f; background: #f6f0e7; }

.apple-divider {
  width: 100%;
  height: 1px;
  margin: 0 auto 40px;
  border: 0;
  background: #e5e5e7;
}

.apple-latest-title {
  margin: 0 0 20px;
  padding-left: 4px;
  color: #1d1d1f;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}

.apple-post-list {
  display: grid;
}

.apple-post-entry {
  position: relative;
  display: block;
  margin: 8px 0;
  padding: 18px 16px 18px 18px;
  overflow: hidden;
  border: 1px solid #f0f1f3;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    transform 0.16s ease;
}

.apple-post-entry:first-child {
  border-top: 1px solid #f0f1f3;
}

.apple-post-entry::before {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 0;
  width: 3px;
  border-radius: 0 99px 99px 0;
  background: #dce8f6;
  content: "";
}

.apple-post-entry.work::before { background: #d9efdf; }
.apple-post-entry.study::before { background: #f3dfb7; }
.apple-post-entry.digital::before { background: #dddff5; }
.apple-post-entry.ai::before { background: #e5dcf5; }
.apple-post-entry.life::before { background: #f2d6cf; }
.apple-post-entry.murmurs::before { background: #e2e3e7; }
.apple-post-entry.about::before { background: #eadfce; }

.apple-post-entry span {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  color: #496b94;
  background: #f0f4f9;
  font-size: 13px;
}

.apple-post-entry.work span { color: #3f7651; background: #edf7ef; }
.apple-post-entry.study span { color: #896329; background: #fff5df; }
.apple-post-entry.digital span { color: #565c9a; background: #f0f1fb; }
.apple-post-entry.ai span { color: #7159a8; background: #f4effb; }
.apple-post-entry.life span { color: #946052; background: #fff0ec; }
.apple-post-entry.murmurs span { color: #666a72; background: #f2f3f5; }
.apple-post-entry.about span { color: #7a633f; background: #f6f0e7; }

.apple-post-entry strong {
  display: block;
  margin-bottom: 8px;
  color: #1d1d1f;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
}

.apple-post-entry p {
  margin: 0;
  color: #6e6e73;
  font-size: 15px;
  line-height: 1.75;
}

.apple-post-entry:hover {
  border-color: #e5e8ee;
  background: #f7f8fa;
  transform: translateY(-1px);
}

.apple-post-entry:hover strong {
  color: #007aff;
}

.apple-section-page {
  padding-top: 20px;
}

.apple-tool-landing {
  padding-bottom: 34px;
}

.tool-entry {
  min-height: 148px;
}

.tool-entry::after {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: #007aff;
  font-size: 14px;
  font-weight: 500;
  content: "打开工具";
}

.apple-tool-page {
  width: min(1760px, calc(100% - 64px));
}

.apple-section-hero {
  padding: 34px 0 46px;
  text-align: center;
}

.apple-breadcrumb {
  margin-bottom: 18px;
  color: #86868b;
  font-size: 13px;
  line-height: 1.5;
}

.section-icon {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px;
  border: 1px solid #f0f1f3;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 28px rgba(20, 30, 45, 0.06);
}

.section-icon .nav-icon {
  width: 28px;
  height: 28px;
  margin-right: 0;
  border-radius: 9px;
  font-size: 15px;
}

.section-icon.ai .nav-icon {
  font-size: 12px;
}

.apple-section-desc {
  max-width: 640px;
  margin: 26px auto 0;
  color: #1d1d1f;
  font-size: 16px;
  line-height: 1.9;
  text-align: left;
}

.section-tag-row {
  margin-top: 26px;
  text-align: center;
}

.section-work .apple-divider { background: #d9efdf; }
.section-study .apple-divider { background: #f3dfb7; }
.section-digital .apple-divider { background: #dddff5; }
.section-ai .apple-divider { background: #e5dcf5; }
.section-life .apple-divider { background: #f2d6cf; }
.section-murmurs .apple-divider { background: #e2e3e7; }
.section-about .apple-divider { background: #eadfce; }

.embedded-tool {
  width: min(1760px, calc(100vw - 64px));
  margin: 44px 0 0 50%;
  transform: translateX(-50%);
}

.apple-tool-page .embedded-tool {
  width: 100%;
  margin: 0;
  transform: none;
}

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

.embedded-tool-head h2 {
  margin: 8px 0 8px;
  color: #1d1d1f;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
}

.embedded-tool-head h1 {
  margin: 8px 0 8px;
  color: #1d1d1f;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
}

.embedded-tool-head p {
  max-width: 680px;
  margin: 0;
  color: #6e6e73;
  font-size: 14px;
  line-height: 1.7;
}

.embedded-tool-head a {
  display: inline-flex;
  min-height: 34px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid #e5e8ee;
  border-radius: 999px;
  background: #fff;
  color: #007aff;
  font-size: 13px;
}

.embedded-tool iframe {
  display: block;
  width: 100%;
  height: min(840px, calc(100vh - 112px));
  min-height: 680px;
  border: 1px solid #e5e8ee;
  border-radius: 14px;
  background: #f4f7f6;
  box-shadow: 0 18px 45px rgba(24, 33, 31, 0.08);
}

.apple-footer {
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid #e5e5e7;
  color: #6e6e73;
  font-size: 13px;
  line-height: 1.8;
}

.apple-footer p + p {
  margin-top: 8px;
}

.apple-footer a {
  color: #6e6e73;
}

.apple-footer a:hover {
  color: #007aff;
}

.article-shell {
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
  padding: 60px 0 80px;
}

.back-home {
  display: inline-block;
  margin-bottom: 28px;
  color: #007aff;
  font-size: 14px;
}

.article-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.article-card .eyebrow {
  margin-bottom: 14px;
  color: #86868b;
  font-size: 13px;
}

.article-card h1 {
  margin-bottom: 26px;
  color: #1d1d1f;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.25;
}

.article-content {
  color: #1d1d1f;
  font-size: 16px;
  line-height: 1.9;
}

.article-member-panel {
  margin-top: 32px;
  padding: 18px 0;
  border-top: 1px solid #f2f2f7;
  border-bottom: 1px solid #f2f2f7;
  color: #6e6e73;
}

.article-member-panel p {
  margin-bottom: 12px;
}

.member-actions,
.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.member-actions a,
.auth-actions a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid #e5e5e7;
  border-radius: 999px;
  color: #007aff;
  font-size: 13px;
}

pre {
  overflow: auto;
  padding: 16px;
  border-radius: 8px;
  background: #f5f5f7;
}

@media (max-width: 768px) {
  .apple-main {
    padding-top: 36px;
  }

  .apple-nav {
    width: calc(100% - 20px);
    min-height: 56px;
    justify-content: flex-start;
    gap: 4px;
  }

  .apple-nav .brand img {
    width: 118px;
    max-height: 40px;
  }

  .apple-nav a {
    padding: 0 8px;
    font-size: 12px;
  }

  .nav-item::before {
    display: none;
  }

  .nav-icon {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    border-radius: 4px;
    font-size: 10px;
  }

  .apple-hero {
    padding: 34px 0 48px;
  }

  .apple-main-title {
    font-size: 26px;
  }

  .apple-sub-title {
    font-size: 17px;
  }

  .embedded-tool {
    width: calc(100vw - 20px);
    margin-top: 34px;
  }

  .embedded-tool-head {
    display: block;
  }

  .embedded-tool-head a {
    margin-top: 12px;
  }

  .embedded-tool iframe {
    height: 72vh;
    min-height: 520px;
    border-radius: 10px;
  }
}
