/* ============================================================
   t10 - Aurora Gradient Style
   Colorful gradient backgrounds (green to blue to purple),
   modern glass cards, vibrant and playful, contemporary web design.
   ============================================================ */

/* --- Design Tokens --- */
:root {
  --xxf-primary: #7c3aed;
  --xxf-accent: #06b6d4;
  --xxf-surface: #f5f3ff;
  --xxf-ink: #1e1b4b;
  --xxf-muted: #6b7280;
  --xxf-line: rgba(124,58,237,.1);
  --xxf-card: rgba(255,255,255,.75);
  --xxf-radius: 20px;
  --xxf-shadow: 0 8px 32px rgba(124,58,237,.1);
  --xxf-max: 1200px;

  --xxf-gradient: linear-gradient(135deg, #7c3aed, #06b6d4);
  --xxf-gradient-aurora: linear-gradient(135deg, #10b981, #06b6d4, #7c3aed);
  --xxf-gradient-aurora-wide: linear-gradient(135deg, #10b981 0%, #06b6d4 35%, #7c3aed 70%, #ec4899 100%);
  --xxf-gradient-soft: linear-gradient(135deg, rgba(124,58,237,.08), rgba(6,182,212,.08));
  --xxf-gradient-glow: linear-gradient(135deg, rgba(16,185,129,.15), rgba(6,182,212,.15), rgba(124,58,237,.15));
  --xxf-shadow-hover: 0 12px 40px rgba(124,58,237,.18);
  --xxf-glass-blur: blur(20px);
  --xxf-glass-border: 1px solid rgba(255,255,255,.3);

  --xxf-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --xxf-mono: "SF Mono", "Fira Code", "Cascadia Code", monospace;

  --xxf-space-xs: 8px;
  --xxf-space-sm: 16px;
  --xxf-space-md: 24px;
  --xxf-space-lg: 32px;
  --xxf-space-xl: 48px;
  --xxf-space-2xl: 64px;

  --xxf-text-xs: 0.75rem;
  --xxf-text-sm: 0.875rem;
  --xxf-text-base: 1rem;
  --xxf-text-lg: 1.125rem;
  --xxf-text-xl: 1.25rem;
  --xxf-text-2xl: 1.5rem;
  --xxf-text-3xl: 2rem;
  --xxf-text-4xl: 2.75rem;

  --xxf-transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--xxf-font);
  color: var(--xxf-ink);
  background: var(--xxf-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  position: relative;
}

/* Aurora gradient background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--xxf-gradient-aurora-wide);
  opacity: .08;
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(16,185,129,.12), transparent),
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(6,182,212,.1), transparent),
    radial-gradient(ellipse 70% 40% at 60% 80%, rgba(124,58,237,.1), transparent);
  z-index: -1;
  pointer-events: none;
}

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

/* --- Utility --- */
.container {
  max-width: var(--xxf-max);
  margin-inline: auto;
  padding-inline: var(--xxf-space-md);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --- Glass Card Mixin --- */
.glass-card {
  background: var(--xxf-card);
  backdrop-filter: var(--xxf-glass-blur);
  -webkit-backdrop-filter: var(--xxf-glass-blur);
  border: var(--xxf-glass-border);
  border-radius: var(--xxf-radius);
  box-shadow: var(--xxf-shadow);
  transition: transform var(--xxf-transition), box-shadow var(--xxf-transition);
}

.glass-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--xxf-shadow-hover);
}

/* --- Section Header --- */
.section-header {
  display: flex;
  align-items: center;
  gap: var(--xxf-space-sm);
  margin-bottom: var(--xxf-space-md);
}

.section-title {
  font-size: var(--xxf-text-xl);
  font-weight: 700;
  color: var(--xxf-ink);
  white-space: nowrap;
}

.section-rule {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: var(--xxf-gradient-aurora);
  opacity: .5;
}

/* --- SEO Runtime Garbage Cleanup --- */
body[class*="template-"] :is(.container,.site-header,.header-inner,.header-top,.header-nav,.nav-list,.main-content,.content-grid,.hero-section,.hero-article,.hero-grid,.hero-body,.ranking-section,.ranking-list,.ranking-item,.keywords-section,.keyword-cloud,.category-section,.category-grid,.category-card,.latest-section,.article-grid,.article-card,.article-body,.sidebar,.sidebar-block,.sidebar-list,.list-section,.list-items,.list-item,.pagination,.show-article,.show-body,.prev-next,.site-footer,.footer-inner,.footer-links,.footer-col,.glass-card) > :where(font,ins,small,sup,time,tt,var,area,map,bdo,dfn):not([class]) { display: none !important; }
body[class*="template-"] :is(.brand,.brand-mark,.brand-name,.header-search,.section-header,.section-title,.section-rule,.hero-title,.hero-excerpt,.hero-label,.ranking-title,.ranking-num,.keyword-tag,.article-title,.article-excerpt,.sidebar-header,.sidebar-title,.sidebar-link,.list-item-title,.list-item-body,.show-title,.show-meta,.footer-heading,.footer-list) :where(font,ins,small,sup,time,tt,var,area,map,bdo,dfn):not([class]) { display: none !important; }

/* --- Site Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.8);
  backdrop-filter: var(--xxf-glass-blur);
  -webkit-backdrop-filter: var(--xxf-glass-blur);
  border: var(--xxf-glass-border);
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid rgba(124,58,237,.08);
}

.header-inner {
  max-width: var(--xxf-max);
  margin-inline: auto;
  padding: var(--xxf-space-sm) var(--xxf-space-md);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--xxf-space-md);
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--xxf-text-xl);
  font-weight: 700;
  color: var(--xxf-ink);
}

.brand-mark {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--xxf-gradient-aurora);
  box-shadow: 0 4px 12px rgba(124,58,237,.25);
}

.brand-name {
  background: var(--xxf-gradient-aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-search {
  position: relative;
  flex: 0 1 320px;
}

.header-search input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  border: 1px solid rgba(124,58,237,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(8px);
  font-size: var(--xxf-text-sm);
  color: var(--xxf-ink);
  font-family: inherit;
  transition: border-color var(--xxf-transition), box-shadow var(--xxf-transition);
}

.header-search input:focus {
  outline: none;
  border-color: var(--xxf-primary);
  box-shadow: 0 0 0 4px rgba(124,58,237,.12);
}

.header-search .search-btn {
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--xxf-muted);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-search .search-btn:hover {
  color: var(--xxf-primary);
}

/* --- Navigation --- */
.header-nav {
  margin-top: var(--xxf-space-sm);
  padding-top: var(--xxf-space-sm);
  border-top: 1px solid rgba(124,58,237,.06);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.nav-list::-webkit-scrollbar { display: none; }

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  font-size: var(--xxf-text-sm);
  font-weight: 500;
  color: var(--xxf-muted);
  white-space: nowrap;
  border-radius: 10px;
  transition: color var(--xxf-transition), background var(--xxf-transition);
}

.nav-link:hover {
  color: var(--xxf-primary);
  background: var(--xxf-gradient-soft);
}

.nav-home {
  background: var(--xxf-gradient-aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.nav-sitemap {
  margin-left: auto;
  font-size: var(--xxf-text-xs);
  color: var(--xxf-accent);
  background: var(--xxf-gradient-glow);
  border-radius: 10px;
  padding: 8px 14px;
}

.nav-sitemap:hover {
  background: var(--xxf-gradient);
  color: #fff;
}

.header-rule {
  height: 2px;
  background: var(--xxf-gradient-aurora);
  opacity: .3;
}

/* --- Main Content --- */
.main-content {
  max-width: var(--xxf-max);
  margin-inline: auto;
  padding: var(--xxf-space-lg) var(--xxf-space-md);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--xxf-space-lg);
}

/* --- Hero Section --- */
.hero-section {
  margin-bottom: var(--xxf-space-lg);
}

.hero-article {
  overflow: hidden;
  border-radius: var(--xxf-radius);
  background: var(--xxf-card);
  backdrop-filter: var(--xxf-glass-blur);
  -webkit-backdrop-filter: var(--xxf-glass-blur);
  border: var(--xxf-glass-border);
  box-shadow: var(--xxf-shadow);
  transition: transform var(--xxf-transition), box-shadow var(--xxf-transition);
}

.hero-article:hover {
  transform: translateY(-4px);
  box-shadow: var(--xxf-shadow-hover);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
}

.hero-image-wrap {
  overflow: hidden;
}

.hero-image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--xxf-transition);
}

.hero-article:hover .hero-image {
  transform: scale(1.04);
}

.hero-body {
  padding: var(--xxf-space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--xxf-space-sm);
}

.hero-label {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 14px;
  border-radius: 20px;
  background: var(--xxf-gradient-aurora);
  color: #fff;
  font-size: var(--xxf-text-xs);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hero-title {
  font-size: var(--xxf-text-3xl);
  font-weight: 700;
  line-height: 1.25;
}

.hero-title a {
  color: var(--xxf-ink);
  transition: color var(--xxf-transition);
}

.hero-title a:hover {
  background: var(--xxf-gradient-aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-excerpt {
  font-size: var(--xxf-text-base);
  color: var(--xxf-muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-date {
  font-size: var(--xxf-text-xs);
  color: var(--xxf-muted);
}

/* --- Ranking Section --- */
.ranking-section {
  margin-bottom: var(--xxf-space-lg);
}

.ranking-list {
  counter-reset: rank;
}

.ranking-item {
  counter-increment: rank;
  display: flex;
  align-items: flex-start;
  gap: var(--xxf-space-sm);
  padding: 14px var(--xxf-space-md);
  border-radius: 12px;
  margin-bottom: 4px;
  transition: background var(--xxf-transition);
}

.ranking-item:hover {
  background: var(--xxf-gradient-glow);
}

.ranking-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: var(--xxf-text-sm);
  font-weight: 700;
  background: var(--xxf-gradient-soft);
  color: var(--xxf-primary);
}

.ranking-item:nth-child(-n+3) .ranking-num {
  background: var(--xxf-gradient-aurora);
  color: #fff;
  box-shadow: 0 4px 12px rgba(124,58,237,.25);
}

.ranking-body {
  flex: 1;
  min-width: 0;
}

.ranking-title {
  font-size: var(--xxf-text-sm);
  font-weight: 500;
  line-height: 1.5;
}

.ranking-title a { color: var(--xxf-ink); }
.ranking-title a:hover { color: var(--xxf-primary); }

.ranking-date {
  font-size: var(--xxf-text-xs);
  color: var(--xxf-muted);
  margin-top: 4px;
  display: block;
}

/* --- Keywords / Tag Cloud --- */
.keywords-section {
  margin-bottom: var(--xxf-space-lg);
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: var(--xxf-space-xs);
}

.keyword-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 20px;
  background: var(--xxf-gradient-glow);
  color: var(--xxf-primary);
  font-size: var(--xxf-text-xs);
  font-weight: 500;
  border: 1px solid rgba(124,58,237,.08);
  transition: all var(--xxf-transition);
}

.keyword-tag:hover {
  background: var(--xxf-gradient-aurora);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124,58,237,.2);
}

/* --- Category Section --- */
.category-section {
  margin-bottom: var(--xxf-space-lg);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--xxf-space-sm);
}

.category-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--xxf-space-md);
  border-radius: 16px;
  background: var(--xxf-card);
  backdrop-filter: var(--xxf-glass-blur);
  -webkit-backdrop-filter: var(--xxf-glass-blur);
  border: var(--xxf-glass-border);
  color: var(--xxf-ink);
  font-size: var(--xxf-text-sm);
  font-weight: 500;
  transition: all var(--xxf-transition);
}

.category-card:hover {
  background: var(--xxf-gradient-aurora);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124,58,237,.2);
}

.category-arrow {
  font-size: var(--xxf-text-lg);
  opacity: .5;
  transition: transform var(--xxf-transition);
}

.category-card:hover .category-arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* --- Article Grid (Latest) --- */
.latest-section {
  margin-bottom: var(--xxf-space-lg);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--xxf-space-md);
}

.article-card {
  background: var(--xxf-card);
  backdrop-filter: var(--xxf-glass-blur);
  -webkit-backdrop-filter: var(--xxf-glass-blur);
  border: var(--xxf-glass-border);
  border-radius: var(--xxf-radius);
  box-shadow: var(--xxf-shadow);
  overflow: hidden;
  transition: transform var(--xxf-transition), box-shadow var(--xxf-transition);
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--xxf-shadow-hover);
}

.article-thumb {
  display: block;
  overflow: hidden;
}

.article-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform var(--xxf-transition);
}

.article-card:hover .article-thumb img {
  transform: scale(1.05);
}

.article-body {
  padding: var(--xxf-space-md);
}

.article-title {
  font-size: var(--xxf-text-base);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 8px;
}

.article-title a { color: var(--xxf-ink); }
.article-title a:hover { color: var(--xxf-primary); }

.article-excerpt {
  font-size: var(--xxf-text-sm);
  color: var(--xxf-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.article-date {
  font-size: var(--xxf-text-xs);
  color: var(--xxf-muted);
  display: block;
}

/* --- Sidebar --- */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--xxf-space-md);
}

.sidebar-block {
  background: var(--xxf-card);
  backdrop-filter: var(--xxf-glass-blur);
  -webkit-backdrop-filter: var(--xxf-glass-blur);
  border: var(--xxf-glass-border);
  border-radius: var(--xxf-radius);
  box-shadow: var(--xxf-shadow);
  overflow: hidden;
}

.sidebar-header {
  padding: var(--xxf-space-md) var(--xxf-space-md) var(--xxf-space-xs);
}

.sidebar-title {
  font-size: var(--xxf-text-base);
  font-weight: 700;
  color: var(--xxf-ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-title::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: var(--xxf-gradient-aurora);
  flex-shrink: 0;
}

.sidebar-list {
  padding: var(--xxf-space-xs) var(--xxf-space-md) var(--xxf-space-md);
}

.sidebar-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--xxf-line);
}

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

.sidebar-link {
  display: block;
  font-size: var(--xxf-text-sm);
  color: var(--xxf-ink);
  line-height: 1.5;
  transition: color var(--xxf-transition);
}

.sidebar-link:hover {
  color: var(--xxf-primary);
}

.sidebar-date {
  display: block;
  font-size: var(--xxf-text-xs);
  color: var(--xxf-muted);
  margin-top: 2px;
}

.sidebar-catelist {
  padding: var(--xxf-space-xs) var(--xxf-space-md) var(--xxf-space-md);
}

.sidebar-catelist li {
  padding: 8px 0;
  border-bottom: 1px solid var(--xxf-line);
}

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

.sidebar-catelist a {
  font-size: var(--xxf-text-sm);
  color: var(--xxf-ink);
  display: flex;
  align-items: center;
  gap: 6px;
}

.sidebar-catelist a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--xxf-gradient-aurora);
  flex-shrink: 0;
}

.sidebar-catelist a:hover { color: var(--xxf-primary); }

/* --- List Page --- */
.list-header {
  margin-bottom: var(--xxf-space-lg);
}

.breadcrumb {
  font-size: var(--xxf-text-sm);
  color: var(--xxf-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: var(--xxf-space-sm);
}

.breadcrumb a { color: var(--xxf-muted); }
.breadcrumb a:hover { color: var(--xxf-primary); }

.breadcrumb-sep { opacity: .4; }

.breadcrumb-current {
  color: var(--xxf-primary);
  font-weight: 500;
}

.list-title {
  font-size: var(--xxf-text-3xl);
  font-weight: 700;
  background: var(--xxf-gradient-aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--xxf-space-sm);
}

.list-section {
  margin-bottom: var(--xxf-space-lg);
}

.list-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--xxf-space-sm);
  padding: var(--xxf-space-md);
  border-radius: var(--xxf-radius);
  background: var(--xxf-card);
  backdrop-filter: var(--xxf-glass-blur);
  -webkit-backdrop-filter: var(--xxf-glass-blur);
  border: var(--xxf-glass-border);
  box-shadow: var(--xxf-shadow);
  transition: all var(--xxf-transition);
}

.list-item:hover {
  transform: translateX(4px);
  box-shadow: var(--xxf-shadow-hover);
  background: rgba(255,255,255,.9);
}

.list-item-index {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: var(--xxf-text-sm);
  font-weight: 700;
  background: var(--xxf-gradient-soft);
  color: var(--xxf-primary);
}

.list-item:nth-child(-n+3) .list-item-index {
  background: var(--xxf-gradient-aurora);
  color: #fff;
}

.list-item-body {
  flex: 1;
  min-width: 0;
}

.list-item-title {
  font-size: var(--xxf-text-base);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 4px;
}

.list-item-title a { color: var(--xxf-ink); }
.list-item-title a:hover { color: var(--xxf-primary); }

.list-item-meta {
  font-size: var(--xxf-text-xs);
  color: var(--xxf-muted);
  margin-bottom: 6px;
}

.list-item-excerpt {
  font-size: var(--xxf-text-sm);
  color: var(--xxf-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.list-item-thumb {
  flex-shrink: 0;
  width: 120px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  align-self: center;
}

.list-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Pagination --- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: var(--xxf-space-lg) 0;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: var(--xxf-text-sm);
  font-weight: 500;
  background: var(--xxf-card);
  backdrop-filter: var(--xxf-glass-blur);
  -webkit-backdrop-filter: var(--xxf-glass-blur);
  border: var(--xxf-glass-border);
  color: var(--xxf-ink);
  transition: all var(--xxf-transition);
}

.page-link:hover {
  background: var(--xxf-gradient-aurora);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(124,58,237,.25);
}

/* --- Show Page --- */
.show-article {
  background: var(--xxf-card);
  backdrop-filter: var(--xxf-glass-blur);
  -webkit-backdrop-filter: var(--xxf-glass-blur);
  border: var(--xxf-glass-border);
  border-radius: var(--xxf-radius);
  box-shadow: var(--xxf-shadow);
  padding: var(--xxf-space-xl);
}

.show-header {
  margin-bottom: var(--xxf-space-lg);
}

.show-title {
  font-size: var(--xxf-text-3xl);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--xxf-space-md);
  background: var(--xxf-gradient-aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.show-meta {
  display: flex;
  align-items: center;
  gap: var(--xxf-space-sm);
  font-size: var(--xxf-text-sm);
  color: var(--xxf-muted);
}

.show-category {
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--xxf-gradient-glow);
  color: var(--xxf-primary);
  font-weight: 500;
  font-size: var(--xxf-text-xs);
}

.show-date {
  font-size: var(--xxf-text-xs);
  color: var(--xxf-muted);
}

.meta-sep { opacity: .3; }

.show-body {
  font-size: var(--xxf-text-base);
  line-height: 1.9;
  color: var(--xxf-ink);
  word-break: break-word;
}

.show-body p {
  margin-bottom: var(--xxf-space-md);
}

.show-body img {
  border-radius: 16px;
  margin: var(--xxf-space-md) 0;
  box-shadow: var(--xxf-shadow);
}

.show-body h2,
.show-body h3,
.show-body h4 {
  margin: var(--xxf-space-lg) 0 var(--xxf-space-sm);
  font-weight: 700;
}

.show-body ul,
.show-body ol {
  padding-left: var(--xxf-space-lg);
  margin-bottom: var(--xxf-space-md);
}

.show-body li {
  margin-bottom: var(--xxf-space-xs);
  list-style: disc;
}

.show-body ol li { list-style: decimal; }

.show-body a {
  color: var(--xxf-primary);
  text-decoration: underline;
  text-decoration-color: rgba(124,58,237,.3);
  text-underline-offset: 2px;
}

.show-body a:hover {
  text-decoration-color: var(--xxf-primary);
}

.show-body blockquote {
  border-left: 4px solid var(--xxf-primary);
  padding: var(--xxf-space-sm) var(--xxf-space-md);
  margin: var(--xxf-space-md) 0;
  background: var(--xxf-gradient-glow);
  border-radius: 0 16px 16px 0;
  color: var(--xxf-muted);
  font-style: italic;
}

/* Show Keywords */
.show-keywords {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--xxf-space-xs);
  margin-top: var(--xxf-space-lg);
  padding-top: var(--xxf-space-lg);
  border-top: 1px solid var(--xxf-line);
}

.keywords-label {
  font-size: var(--xxf-text-sm);
  color: var(--xxf-muted);
  font-weight: 500;
}

/* Prev / Next Navigation */
.prev-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--xxf-space-md);
  margin-top: var(--xxf-space-lg);
  padding-top: var(--xxf-space-lg);
  border-top: 1px solid var(--xxf-line);
}

.prev-next-item {
  padding: var(--xxf-space-md);
  border-radius: 16px;
  background: var(--xxf-card);
  border: var(--xxf-glass-border);
  transition: all var(--xxf-transition);
}

.prev-next-prev {
  text-align: left;
}

.prev-next-next {
  text-align: right;
}

.prev-next-item:hover {
  background: var(--xxf-gradient-glow);
}

.prev-next-item a {
  font-size: var(--xxf-text-sm);
  color: var(--xxf-ink);
  display: block;
  line-height: 1.5;
}

.prev-next-item a:hover {
  color: var(--xxf-primary);
}

/* --- Site Footer --- */
.site-footer {
  margin-top: var(--xxf-space-2xl);
  background: var(--xxf-ink);
  color: rgba(255,255,255,.7);
  position: relative;
}

.site-footer::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--xxf-gradient-aurora);
}

.footer-rule {
  height: 2px;
  background: var(--xxf-gradient-aurora);
  opacity: .3;
  margin-bottom: var(--xxf-space-md);
}

.footer-inner {
  max-width: var(--xxf-max);
  margin-inline: auto;
  padding: var(--xxf-space-xl) var(--xxf-space-md) var(--xxf-space-lg);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--xxf-space-lg);
  margin-bottom: var(--xxf-space-lg);
  padding-bottom: var(--xxf-space-lg);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--xxf-space-xs);
}

.footer-heading {
  font-size: var(--xxf-text-sm);
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--xxf-space-xs);
  padding-bottom: var(--xxf-space-xs);
  border-bottom: 2px solid transparent;
  border-image: var(--xxf-gradient-aurora) 1;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-list a {
  font-size: var(--xxf-text-sm);
  color: rgba(255,255,255,.6);
  transition: color var(--xxf-transition);
}

.footer-list a:hover {
  color: var(--xxf-accent);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--xxf-space-md);
}

.copyright {
  font-size: var(--xxf-text-xs);
  color: rgba(255,255,255,.4);
  margin-bottom: 4px;
}

.copyright a {
  color: rgba(255,255,255,.5);
}

.copyright a:hover {
  color: var(--xxf-accent);
}

.beian {
  font-size: var(--xxf-text-xs);
  color: rgba(255,255,255,.3);
}

.beian a {
  color: rgba(255,255,255,.3);
}

.beian a:hover {
  color: var(--xxf-accent);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-image-wrap {
    height: 240px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --xxf-radius: 16px;
  }

  .header-top {
    flex-direction: column;
    align-items: stretch;
  }

  .header-search {
    flex: 1 1 auto;
  }

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

  .hero-title {
    font-size: var(--xxf-text-2xl);
  }

  .hero-body {
    padding: var(--xxf-space-md);
  }

  .show-article {
    padding: var(--xxf-space-md);
  }

  .show-title {
    font-size: var(--xxf-text-2xl);
  }

  .prev-next {
    grid-template-columns: 1fr;
  }

  .list-item-thumb {
    width: 80px;
    height: 60px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: var(--xxf-space-md);
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .pagination {
    flex-wrap: wrap;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-image-wrap {
    height: 200px;
  }

  .list-item-thumb {
    display: none;
  }

  .show-body {
    font-size: var(--xxf-text-sm);
  }
}
