/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&family=Nunito:ital,wght@0,700;0,800;0,900;1,700&display=swap');

/* ===== CSS 变量 ===== */
:root {
  --mint: #b4fde1;
  --sky: #add8e6;
  --dark: #172620;
  --mint-dark: #7de8c0;
  --sky-dark: #7bbcd6;
  --mint-light: #d6fff1;
  --sky-light: #d6eef7;
  --white: #ffffff;
  --off-white: #f4fdf9;
  --text: #172620;
  --text-mute: #3a5248;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --border: 3px solid var(--dark);
  --border-sm: 2px solid var(--dark);
  --shadow-clay: 4px 4px 0px var(--dark), inset -2px -2px 6px rgba(0,0,0,0.10);
  --shadow-card: 5px 5px 0px var(--dark), inset -1px -1px 4px rgba(0,0,0,0.08);
  --font-body: 'DM Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-head: 'Nunito', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --nav-h: 68px;
  --max-w: 1100px;
  --prose-w: 740px;
  --transition: 200ms ease-out;
}

/* ===== 基础重置 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--off-white);
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--dark); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }

/* ===== 工具 ===== */
.wrap {
  width: min(var(--max-w), 100% - 2rem);
  margin-inline: auto;
}

/* ===== 导航 aside ===== */
.site-aside {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--mint);
  border-bottom: var(--border);
  box-shadow: 0 3px 0 var(--dark);
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max-w), 100% - 2rem);
  margin-inline: auto;
  height: var(--nav-h);
  gap: 1rem;
}

.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}

.nav-right {
  justify-content: flex-end;
}

.top-nav ul li a {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.65rem;
  min-height: 40px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark);
  white-space: nowrap;
  transition: background var(--transition);
}

.top-nav ul li a:hover {
  background: rgba(23,38,32,0.08);
  text-decoration: none;
}

.brand-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1rem;
  color: var(--dark);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-cta {
  background: var(--dark) !important;
  color: var(--mint) !important;
  border-radius: var(--radius-sm) !important;
  border: var(--border-sm) !important;
  box-shadow: 2px 2px 0 var(--mint-dark) !important;
  font-weight: 700 !important;
  padding: 0.5rem 1rem !important;
  min-height: 40px;
  transition: transform var(--transition), box-shadow var(--transition) !important;
}

.nav-cta:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--mint-dark) !important;
  text-decoration: none !important;
}

/* ===== 泡泡卡片基础 ===== */
.clay-card {
  background: linear-gradient(135deg, var(--mint-light) 0%, var(--sky-light) 100%);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.clay-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0px var(--dark), inset -1px -1px 4px rgba(0,0,0,0.08);
  text-decoration: none;
}

.clay-card-sm {
  background: linear-gradient(135deg, var(--sky-light) 0%, var(--mint-light) 100%);
  border: var(--border-sm);
  border-radius: var(--radius-sm);
  box-shadow: 3px 3px 0 var(--dark), inset -1px -1px 3px rgba(0,0,0,0.07);
  padding: 1rem 1.25rem;
}

.clay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  min-height: 44px;
  background: var(--mint);
  border: var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-clay);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--dark);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.clay-btn:hover {
  transform: translate(-2px, -2px) scale(1.02);
  box-shadow: 6px 6px 0px var(--dark), inset -2px -2px 6px rgba(0,0,0,0.10);
  text-decoration: none;
}

.clay-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0px var(--dark), inset -1px -1px 3px rgba(0,0,0,0.08);
}

.clay-btn-sm {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  min-height: 40px;
  background: var(--sky-light);
  border: var(--border-sm);
  border-radius: var(--radius-sm);
  box-shadow: 2px 2px 0 var(--dark), inset -1px -1px 3px rgba(0,0,0,0.07);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
  transition: transform var(--transition);
}

.clay-btn-sm:hover {
  transform: translate(-1px, -1px);
  text-decoration: none;
}

/* ===== Hero ===== */
.hero-wrap {
  position: relative;
  min-height: 45vh;
  background: linear-gradient(135deg, var(--mint) 0%, var(--sky) 60%, var(--mint-dark) 100%);
  border-bottom: var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-inner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 3.5rem 1.5rem 5rem;
  position: relative;
  z-index: 2;
}

.hero-h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-mute);
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-btn {
  font-size: 1.05rem;
  padding: 0.8rem 2rem;
}

.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  border: 3px solid rgba(23,38,32,0.15);
}

.b1 {
  width: 180px; height: 180px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5), rgba(180,253,225,0.2));
  top: -40px; left: -50px;
  box-shadow: inset -4px -4px 12px rgba(23,38,32,0.08);
  animation: floatA 6s ease-in-out infinite;
}

.b2 {
  width: 120px; height: 120px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), rgba(173,216,230,0.2));
  bottom: 20px; right: 8%;
  box-shadow: inset -3px -3px 8px rgba(23,38,32,0.06);
  animation: floatB 8s ease-in-out infinite;
}

.b3 {
  width: 80px; height: 80px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5), rgba(180,253,225,0.15));
  top: 30%; left: 8%;
  box-shadow: inset -2px -2px 6px rgba(23,38,32,0.06);
  animation: floatA 7s ease-in-out infinite reverse;
}

@keyframes floatA {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(4deg); }
}

@keyframes floatB {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-3deg); }
}

.hero-band {
  position: absolute;
  bottom: -2px;
  left: -5%;
  width: 110%;
  height: 60px;
  background: var(--off-white);
  border-top: var(--border);
  transform: skewY(-2deg);
  z-index: 3;
}

/* ===== 区块标题 ===== */
.section-heading {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-heading span {
  display: inline-block;
  background: var(--mint);
  border: var(--border-sm);
  border-radius: var(--radius-sm);
  box-shadow: 2px 2px 0 var(--dark);
  padding: 0.15rem 0.75rem;
}

/* ===== 首页主体 ===== */
.home-main {
  padding-block: 3.5rem;
}

.home-content-section {
  margin-bottom: 3rem;
}

.home-article {
  max-width: var(--prose-w);
  margin-inline: auto;
}

.articles-section {
  margin-bottom: 3.5rem;
}

/* ===== 卡片网格 ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.article-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--dark);
  animation: fadeUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: calc(var(--stagger, 0) * 0.07s);
}

.article-card strong {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.3;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--text-mute);
  line-height: 1.5;
  flex: 1;
}

.card-date {
  font-size: 0.8rem;
  color: var(--text-mute);
  font-weight: 500;
}

.card-arrow {
  align-self: flex-end;
  font-size: 1.1rem;
  font-weight: 700;
}

.card-thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: var(--border-sm);
}

.card-thumb img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
}

/* ===== 导航块卡片 ===== */
.nav-cards-section {
  margin-bottom: 2rem;
}

.nav-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.nav-block-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--dark);
  background: linear-gradient(135deg, var(--sky-light) 0%, var(--mint-light) 100%);
}

.nav-block-card strong {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
}

.nav-block-card span {
  font-size: 0.82rem;
  color: var(--text-mute);
}

/* ===== 文章页布局 ===== */
.article-main {
  padding-block: 2.5rem;
}

.article-wrap {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 2rem;
  align-items: start;
}

/* aside 在左侧 via CSS order on small, grid column order on large */
.article-wrap .article-section {
  grid-column: 1;
  grid-row: 1;
}

.article-wrap .article-sidebar {
  grid-column: 2;
  grid-row: 1;
}

/* 结构抽签：aside 在内容左侧 */
@media (min-width: 900px) {
  .article-wrap {
    grid-template-columns: 240px 1fr;
  }
  .article-wrap .article-section {
    grid-column: 2;
    grid-row: 1;
  }
  .article-wrap .article-sidebar {
    grid-column: 1;
    grid-row: 1;
    position: sticky;
    top: calc(var(--nav-h) + 1.5rem);
    max-height: calc(100vh - var(--nav-h) - 3rem);
    overflow-y: auto;
  }
}

.clay-article {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 2rem 2.5rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.breadcrumb-link {
  font-size: 0.875rem;
  color: var(--text-mute);
  font-weight: 600;
}

.meta-dates {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.article-date, .article-mod {
  font-size: 0.8rem;
  color: var(--text-mute);
  background: var(--mint-light);
  border: var(--border-sm);
  border-radius: 8px;
  padding: 0.15rem 0.5rem;
}

.article-h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.article-hero-thumb {
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--border);
  margin-bottom: 1.75rem;
  box-shadow: 4px 4px 0 var(--dark);
}

.article-hero-img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 2/1;
}

.article-content {
  margin-bottom: 2rem;
}

.article-footer-nav {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: var(--border-sm);
}

/* ===== 侧边栏 ===== */
.article-sidebar, .about-sidebar, .privacy-sidebar, .default-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-nav {
  background: linear-gradient(135deg, var(--mint-light) 0%, var(--sky-light) 100%);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-clay);
  padding: 1.25rem;
}

.sidebar-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.sidebar-title span {
  display: inline-block;
  background: var(--mint);
  border: 2px solid var(--dark);
  border-radius: 8px;
  padding: 0.1rem 0.5rem;
  box-shadow: 1px 1px 0 var(--dark);
}

.sidebar-nav ul li {
  border-bottom: 1px solid rgba(23,38,32,0.12);
}

.sidebar-nav ul li:last-child {
  border-bottom: none;
}

.sidebar-nav ul li a {
  display: block;
  padding: 0.5rem 0.25rem;
  font-size: 0.875rem;
  color: var(--dark);
  font-weight: 600;
  transition: color var(--transition);
  min-height: 40px;
  display: flex;
  align-items: center;
}

.sidebar-nav ul li a:hover {
  color: var(--text-mute);
  text-decoration: none;
}

.sidebar-cta {
  text-align: center;
}

.sidebar-cta p {
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  color: var(--text-mute);
}

/* ===== About 页 ===== */
.about-main {
  display: grid;
  grid-template-columns: 1fr;
  padding-block: 2.5rem;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1rem;
  gap: 2rem;
}

@media (min-width: 900px) {
  .about-main {
    grid-template-columns: 240px 1fr;
    align-items: start;
  }
  .about-wrap {
    grid-column: 2;
    grid-row: 1;
  }
  .about-sidebar {
    grid-column: 1;
    grid-row: 1;
    position: sticky;
    top: calc(var(--nav-h) + 1.5rem);
  }
}

.about-wrap {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.about-hero-card {
  text-align: center;
  padding: 2.5rem 2rem;
}

.about-h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 1rem;
  color: var(--dark);
}

.about-sub {
  color: var(--text-mute);
  max-width: 500px;
  margin-inline: auto;
}

.about-body {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 2rem 2.5rem;
}

.about-picks-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.pick-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--dark);
  animation: fadeUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: calc(var(--stagger, 0) * 0.08s);
}

.pick-card strong {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
}

.pick-card span {
  font-size: 0.825rem;
  color: var(--text-mute);
}

/* ===== Privacy 页 ===== */
.privacy-main {
  padding-block: 2.5rem;
}

.privacy-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 900px) {
  .privacy-wrap {
    grid-template-columns: 200px 1fr;
    align-items: start;
  }
  .privacy-section {
    grid-column: 2;
    grid-row: 1;
  }
  .privacy-sidebar {
    grid-column: 1;
    grid-row: 1;
    position: sticky;
    top: calc(var(--nav-h) + 1.5rem);
  }
}

.privacy-body {
  background: var(--white);
}

.privacy-h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin-bottom: 1rem;
  color: var(--dark);
}

.privacy-date {
  font-size: 0.875rem;
  color: var(--text-mute);
  margin-bottom: 1.5rem;
}

.privacy-nav-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: var(--border-sm);
}

/* ===== Default 页 ===== */
.default-main {
  padding-block: 2.5rem;
}

.default-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 900px) {
  .default-wrap {
    grid-template-columns: 220px 1fr;
    align-items: start;
  }
  .default-section {
    grid-column: 2;
    grid-row: 1;
  }
  .default-sidebar {
    grid-column: 1;
    grid-row: 1;
    position: sticky;
    top: calc(var(--nav-h) + 1.5rem);
  }
}

.default-body {
  background: var(--white);
}

.default-footer-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: var(--border-sm);
}

/* ===== 正文排版 ===== */
.prose {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}

.prose h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.prose h2 span {
  display: inline-block;
  background: var(--mint-light);
  border: 2px solid var(--dark);
  border-radius: 8px;
  padding: 0 0.4rem;
  box-shadow: 1px 1px 0 var(--dark);
}

.prose h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.prose h3 span {
  display: inline-block;
  background: var(--sky-light);
  border: 2px solid var(--dark);
  border-radius: 6px;
  padding: 0 0.35rem;
  box-shadow: 1px 1px 0 var(--dark);
}

.prose p {
  margin-bottom: 1rem;
}

.prose ul, .prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 0.35rem;
}

.prose a {
  color: var(--dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--mint-dark);
  text-underline-offset: 3px;
}

.prose a:hover {
  background: var(--mint-light);
  border-radius: 3px;
}

.prose blockquote {
  border-left: 4px solid var(--mint-dark);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--mint-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
}

.prose strong {
  font-weight: 700;
}

.prose img {
  border-radius: var(--radius-sm);
  border: var(--border-sm);
  box-shadow: 3px 3px 0 var(--dark);
  margin-block: 1.25rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 1.25rem;
  font-size: 0.9rem;
}

.prose th {
  background: var(--mint);
  border: var(--border-sm);
  padding: 0.5rem 0.75rem;
  text-align: left;
  font-weight: 700;
}

.prose td {
  border: 1px solid rgba(23,38,32,0.2);
  padding: 0.45rem 0.75rem;
}

.prose tr:nth-child(even) td {
  background: var(--mint-light);
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--dark);
  color: var(--mint-light);
  border-top: var(--border);
  margin-top: 3rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  width: min(var(--max-w), 100% - 2rem);
  margin-inline: auto;
  padding-block: 2.5rem;
}

.footer-col-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: var(--mint);
}

.footer-col-title span {
  display: inline-block;
  background: rgba(180,253,225,0.15);
  border: 1px solid rgba(180,253,225,0.3);
  border-radius: 6px;
  padding: 0.05rem 0.5rem;
}

.footer-col ul li a {
  display: block;
  color: rgba(180,253,225,0.75);
  font-size: 0.875rem;
  padding: 0.3rem 0;
  min-height: 36px;
  display: flex;
  align-items: center;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--mint);
  text-decoration: none;
}

.footer-address {
  font-style: normal;
  color: rgba(180,253,225,0.8);
  line-height: 1.6;
}

.footer-address strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--mint);
  margin-bottom: 0.4rem;
}

.footer-address span {
  font-size: 0.85rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: min(var(--max-w), 100% - 2rem);
  margin-inline: auto;
  padding-block: 1.25rem;
  border-top: 1px solid rgba(180,253,225,0.15);
  font-size: 0.8rem;
  color: rgba(180,253,225,0.55);
}

.footer-bottom a {
  color: rgba(180,253,225,0.7);
  font-weight: 600;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.25rem;
}

.footer-bottom a:hover {
  color: var(--mint);
  text-decoration: none;
}

/* ===== 动画 ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.stagger-list > * {
  animation: fadeUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* ===== prefers-reduced-motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .bubble {
    animation: none !important;
  }
}

/* ===== 移动端响应式 ===== */
@media (max-width: 899px) {
  .top-nav {
    flex-wrap: wrap;
    height: auto;
    padding-block: 0.75rem;
    gap: 0.5rem;
  }

  .nav-left, .nav-right {
    flex: none;
    flex-wrap: wrap;
    font-size: 0.8rem;
    order: 2;
    width: 100%;
    justify-content: center;
    gap: 0.2rem;
  }

  .nav-right {
    order: 3;
  }

  .brand-center {
    order: 1;
    width: 100%;
    text-align: center;
    flex-direction: row;
    justify-content: center;
  }

  .top-nav ul li a {
    font-size: 0.78rem;
    padding: 0.4rem 0.5rem;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .article-wrap {
    grid-template-columns: 1fr;
  }

  .article-wrap .article-sidebar {
    grid-column: 1;
    grid-row: 2;
  }

  .article-wrap .article-section {
    grid-column: 1;
    grid-row: 1;
  }

  .clay-article {
    padding: 1.25rem;
  }

  .about-body {
    padding: 1.25rem;
  }
}

@media (max-width: 599px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 2.5rem 1rem 5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .nav-cards-row {
    grid-template-columns: 1fr;
  }

  .about-picks-row {
    grid-template-columns: 1fr;
  }
}

/* ===== 滚动条装饰 ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--mint-light);
}
::-webkit-scrollbar-thumb {
  background: var(--dark);
  border-radius: 8px;
  border: 2px solid var(--mint-light);
}

/* ===== 焦点可访问 ===== */
:focus-visible {
  outline: 3px solid var(--dark);
  outline-offset: 2px;
  border-radius: 4px;
}
