/* ============================================================
   酷班动漫 KUBAN — 深夜极光主题
   ============================================================ */
:root {
  --bg: #0b1020;
  --bg-2: #0e1428;
  --card: #141c33;
  --card-2: #182242;
  --line: rgba(140, 160, 220, .14);
  --text: #e8edf8;
  --muted: #97a3c2;
  --brand: #7c9bff;
  --brand-2: #b48cff;
  --warm: #ffb86b;
  --grad: linear-gradient(120deg, #7c9bff, #b48cff);
  --radius: 18px;
  --shadow: 0 20px 50px rgba(4, 8, 24, .55);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

::selection { background: #7c9bff; color: #0b1020; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a3560; border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #3b4a85; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* 背景极光 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(600px 400px at 12% -5%, rgba(124, 155, 255, .16), transparent 70%),
    radial-gradient(700px 500px at 90% 10%, rgba(180, 140, 255, .12), transparent 70%),
    radial-gradient(500px 400px at 70% 95%, rgba(255, 184, 107, .07), transparent 70%),
    var(--bg);
}
/* 细网格 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(140, 160, 220, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 160, 220, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 80%);
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input { font-family: inherit; }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn-primary { background: var(--grad); color: #0b1020; box-shadow: 0 10px 30px rgba(124, 155, 255, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(124, 155, 255, .45); }
.btn-outline { border-color: var(--line); color: var(--text); background: rgba(255, 255, 255, .03); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
}
.btn-ghost b {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--warm);
  color: #4a2c07;
  font-size: 13px;
  line-height: 22px;
  text-align: center;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 16, 32, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(4, 8, 24, .5); }
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: var(--grad);
  z-index: 2;
}

.nav-wrap { display: flex; align-items: center; gap: 28px; height: 68px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .35), transparent 45%),
    var(--grad);
  position: relative;
}
.logo-mark::after {
  content: "";
  position: absolute;
  left: 7px; right: 7px; bottom: 7px;
  height: 8px;
  border-radius: 999px 999px 4px 4px;
  background: rgba(11, 16, 32, .85);
}
.logo-text { font-size: 18px; font-weight: 800; letter-spacing: 1px; line-height: 1.1; }
.logo-text i { display: block; font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: 3px; color: var(--muted); }

.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { font-size: 15px; color: var(--muted); position: relative; padding: 4px 0; transition: color .2s; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transition: width .25s;
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-search { position: relative; }
.nav-search input {
  width: 210px;
  padding: 9px 34px 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  font-size: 13px;
  outline: none;
  transition: border-color .2s, width .25s;
}
.nav-search input::placeholder { color: #6b7899; }
.nav-search input:focus { border-color: var(--brand); width: 240px; }
.search-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }

.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 22px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { padding: 90px 0 0; position: relative; }

.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--brand);
  margin-bottom: 22px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warm); box-shadow: 0 0 12px var(--warm); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.hero h1 {
  font-size: clamp(38px, 5.2vw, 64px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 2px;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
.hero-sub { color: var(--muted); font-size: 16.5px; max-width: 540px; margin-bottom: 34px; }

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats { display: flex; flex-wrap: wrap; }
.hero-stats li { padding-right: 36px; }
.hero-stats li + li { border-left: 1px solid var(--line); padding-left: 36px; }
.hero-stats b { display: block; font-size: 28px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: 13px; color: var(--muted); }

/* Hero 视觉：封面叠层 */
.hero-visual { position: relative; height: 440px; }
.cover-card {
  position: absolute;
  width: 225px;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
}
.cover-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover-card span {
  position: relative;
  z-index: 1;
}
.cover-card i {
  position: absolute;
  top: -20px;
  right: -10px;
  font-style: normal;
  font-size: 150px;
  font-weight: 900;
  color: rgba(255, 255, 255, .14);
  line-height: 1;
}
.cover-card span { font-size: 17px; font-weight: 700; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.cover-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, transparent 30%, rgba(5, 8, 20, .85));
}
.c1 { left: 6%; top: 8%; background: linear-gradient(150deg, #2b4bff, #7c9bff); transform: rotate(-7deg); animation: float1 7s ease-in-out infinite; z-index: 1; }
.c2 { left: 38%; top: 0; background: linear-gradient(150deg, #8a4bd8, #d9a6ff); transform: rotate(4deg); animation: float2 8s ease-in-out infinite; z-index: 2; }
.c3 { left: 24%; top: 34%; background: linear-gradient(150deg, #ff8a4b, #ffd08a); transform: rotate(-2deg); animation: float3 9s ease-in-out infinite; z-index: 3; }
@keyframes float1 { 50% { transform: rotate(-7deg) translateY(-14px); } }
@keyframes float2 { 50% { transform: rotate(4deg) translateY(12px); } }
@keyframes float3 { 50% { transform: rotate(-2deg) translateY(-10px); } }

.hero-badge {
  position: absolute;
  right: 2%;
  bottom: 4%;
  z-index: 4;
  padding: 14px 20px;
  border-radius: 14px;
  background: rgba(17, 24, 46, .85);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  font-size: 14px;
  color: var(--muted);
}
.hero-badge b { font-size: 22px; color: var(--warm); margin: 0 4px; }

/* 跑马灯 */
.ticker {
  margin-top: 60px;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  overflow: hidden;
  padding: 13px 0;
}
.ticker-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 36s linear infinite;
  font-size: 14px;
  color: var(--muted);
}
.ticker-track span { display: flex; align-items: center; gap: 56px; white-space: nowrap; }
.ticker-track span::after { content: "◆"; font-size: 9px; color: var(--brand); }
@keyframes marquee { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- 通用 Section ---------- */
.section { padding: 88px 0 0; }

.section-head { margin-bottom: 40px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; letter-spacing: 1px; }
.section-head p { color: var(--muted); margin-top: 10px; }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

.section-tag {
  font-size: 12px;
  letter-spacing: 4px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 10px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.section-tag::before { content: "// "; color: var(--warm); }

.link-more { font-size: 14px; color: var(--muted); border-bottom: 1px dashed transparent; transition: color .2s, border-color .2s; }
.link-more:hover { color: var(--brand); border-color: var(--brand); }

/* ---------- 四大板块 ---------- */
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  transition: transform .25s, border-color .25s, box-shadow .25s;
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity .25s;
  mask-image: radial-gradient(240px 120px at 85% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(240px 120px at 85% 0%, #000, transparent 75%);
}
.pillar:hover { transform: translateY(-6px); border-color: rgba(124, 155, 255, .4); box-shadow: var(--shadow); }
.pillar:hover::before { opacity: .18; }
.pillar-no { font-family: ui-monospace, Menlo, monospace; font-size: 13px; color: var(--warm); letter-spacing: 2px; }
.pillar h3 { font-size: 19px; margin: 10px 0 8px; }
.pillar p { font-size: 14px; color: var(--muted); position: relative; }

/* ---------- 每周追更 ---------- */
.week-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.day {
  padding: 18px 14px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform .2s, border-color .2s;
}
.day:hover { transform: translateY(-4px); border-color: rgba(124, 155, 255, .35); }
.day h4 { font-size: 15px; margin-bottom: 10px; color: var(--muted); }
.day p { font-size: 12.5px; padding: 5px 0; border-top: 1px dashed rgba(140, 160, 220, .15); }
.day.today { background: linear-gradient(160deg, rgba(124, 155, 255, .18), var(--card)); border-color: rgba(124, 155, 255, .5); }
.day.today h4 { color: var(--brand); }
.day.today h4::after { content: " · 今天"; font-size: 11px; color: var(--warm); }

/* ---------- 资讯 ---------- */
.news-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; }

.news-feature {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
}
.news-feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(124, 155, 255, .35); }

.news-feature-body { padding: 24px; }
.news-meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); margin-bottom: 12px; flex-wrap: wrap; }
.chip {
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--grad);
  color: #0b1020;
  font-size: 12px;
  font-weight: 700;
}
.news-feature h3 { font-size: 21px; line-height: 1.5; margin-bottom: 10px; }
.news-excerpt { font-size: 14.5px; color: var(--muted); }

.news-list { display: flex; flex-direction: column; gap: 14px; }
.news-list li {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform .2s, border-color .2s;
}
.news-list li:hover { transform: translateX(6px); border-color: rgba(124, 155, 255, .4); }
.news-cat {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--brand);
  border: 1px solid rgba(124, 155, 255, .35);
  border-radius: 999px;
  padding: 3px 12px;
}
.news-list h4 { font-size: 15.5px; font-weight: 600; line-height: 1.5; }
.news-list time { font-size: 12.5px; color: var(--muted); }

/* ---------- 作品封面（通用） ---------- */
.cover {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% 0%, hsl(var(--h, 222) 85% 62% / .9), transparent 55%),
    linear-gradient(160deg, hsl(var(--h, 222) 60% 26%), hsl(var(--h, 222) 55% 14%));
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.2, .7, .3, 1);
}
.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 6px);
  pointer-events: none;
}
.work-card:hover .cover img,
.shop-card:hover .cover img { transform: scale(1.07); }
.h220 { height: 220px; }

/* ---------- 作品卡片 ---------- */
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.tab {
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  transition: all .2s;
}
.tab:hover { color: var(--text); border-color: rgba(124, 155, 255, .4); }
.tab.active { background: var(--grad); color: #0b1020; font-weight: 700; border-color: transparent; }

.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.work-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  animation: cardIn .4s both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } }
.work-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(124, 155, 255, .4); }
.work-card:hover .cover i { transform: scale(1.12) rotate(-4deg); }

.work-cover { aspect-ratio: 3 / 3.6; }

.work-tags { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; gap: 6px; }
.tag {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  background: rgba(11, 16, 32, .7);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(4px);
}
.tag.end { background: rgba(255, 184, 107, .9); color: #4a2c07; border-color: transparent; }

.work-body { padding: 16px 18px 18px; }
.work-body h3 { font-size: 17px; margin-bottom: 6px; }
.work-status { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.work-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 8px var(--brand); }
.work-status.finished::before { background: var(--warm); box-shadow: 0 0 8px var(--warm); }

/* 漫画区：整段纸感色带，与动画区形成节奏 */
.section.manga {
  padding: 64px 0 56px;
  margin-top: 24px;
  background:
    radial-gradient(600px 200px at 85% 0%, rgba(246, 239, 225, .05), transparent 70%),
    rgba(246, 239, 225, .03);
  border-block: 1px solid var(--line);
}
.manga .work-card { background: linear-gradient(170deg, var(--card-2), var(--card)); }

/* ---------- 商城 ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.shop-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.shop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(255, 184, 107, .4); }
.shop-cover { aspect-ratio: 1 / 1; }

.shop-body { padding: 16px 18px 18px; }
.shop-cat { font-size: 12px; color: var(--warm); letter-spacing: 1px; margin-bottom: 6px; }
.shop-body h3 { font-size: 15.5px; margin-bottom: 10px; line-height: 1.45; }
.shop-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-size: 20px; font-weight: 800; color: var(--warm); }
.price del { font-size: 12.5px; font-weight: 400; color: var(--muted); margin-left: 6px; }
.sold { font-size: 12px; color: var(--muted); }
.buy-btn {
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 184, 107, .4);
  background: rgba(255, 184, 107, .1);
  color: var(--warm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.buy-btn:hover { background: var(--warm); color: #4a2c07; }
.shop-note { margin-top: 18px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ---------- 投稿 ---------- */
.submit-card {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  padding: 52px;
  border-radius: 24px;
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(180, 140, 255, .18), transparent 70%),
    radial-gradient(400px 260px at 0% 100%, rgba(124, 155, 255, .16), transparent 70%),
    var(--card);
  border: 1px solid var(--line);
  margin-bottom: 20px;
}
.submit-copy h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; }
.submit-copy p { color: var(--muted); margin-bottom: 26px; max-width: 460px; }

.submit-steps { display: flex; flex-direction: column; gap: 16px; }
.submit-steps li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-radius: 14px;
  background: rgba(11, 16, 32, .5);
  border: 1px solid var(--line);
}
.submit-steps b { font-family: ui-monospace, Menlo, monospace; font-size: 12px; letter-spacing: 2px; color: var(--warm); flex-shrink: 0; }
.submit-steps span { font-size: 14.5px; }

/* ---------- 页脚 ---------- */
.site-footer { margin-top: 100px; border-top: 1px solid var(--line); background: rgba(9, 13, 26, .8); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
.footer-brand p { margin-top: 16px; font-size: 13.5px; color: var(--muted); max-width: 300px; }
.footer-col h5 { font-size: 14px; letter-spacing: 2px; margin-bottom: 16px; color: var(--text); }
.footer-col a { display: block; font-size: 13.5px; color: var(--muted); padding: 5px 0; transition: color .2s, transform .2s; }
.footer-col a:hover { color: var(--brand); transform: translateX(4px); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: #6b7899;
  text-align: center;
}
.footer-legal-copy { display: grid; gap: 5px; }
.footer-legal-copy p { margin: 0; line-height: 1.7; }
.footer-license { display: flex; align-items: center; justify-content: center; gap: 7px; }
.footer-license img { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; }
.footer-bottom a { color: var(--brand); border-bottom: 1px solid rgba(124, 155, 255, .45); transition: color .2s, border-color .2s; }
.footer-bottom a:hover { color: #a3bcff; border-bottom-color: #a3bcff; }

/* ---------- 回顶 / Toast ---------- */
.back-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(20, 28, 51, .9);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all .3s;
  z-index: 90;
  backdrop-filter: blur(6px);
}
.back-top.show { opacity: 1; pointer-events: auto; transform: none; }
.back-top:hover { border-color: var(--brand); color: var(--brand); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 36px;
  transform: translate(-50%, 20px);
  padding: 12px 26px;
  border-radius: 999px;
  background: rgba(17, 24, 46, .95);
  border: 1px solid rgba(124, 155, 255, .4);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: all .3s;
  z-index: 99;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 滚动浮现 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 380px; max-width: 560px; }
  .pillar-grid, .work-grid, .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .week-grid { grid-template-columns: repeat(4, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .submit-card { grid-template-columns: 1fr; padding: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-search { display: none; }
  .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(11, 16, 32, .97);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 6%; }
  .main-nav a::after { display: none; }

  .nav-wrap { gap: 14px; }
  .hero { padding-top: 56px; }
  .hero-visual { height: 330px; margin: 0 auto; }
  .cover-card { width: 175px; height: 235px; }
  .cover-card i { font-size: 110px; }
  .hero-stats { gap: 24px; }
  .pillar-grid, .work-grid, .shop-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .week-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding-top: 64px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal-copy p:first-child { max-width: 240px; }
}

/* ---------- 自审自查（内容审查制度）页 ---------- */
.audit-hero { padding: 78px 0 36px; }
.audit-hero h1 {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: 1px;
  margin: 4px 0 14px;
}
.audit-hero p:not(.section-tag) { color: var(--muted); max-width: 760px; }

.audit-body { padding-bottom: 8px; }

.article-box {
  padding: 32px 36px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  margin-bottom: 20px;
}
.article-box > h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
}
.article-box > h2::before {
  content: "";
  flex-shrink: 0;
  width: 5px;
  height: 20px;
  border-radius: 3px;
  background: var(--grad);
}
.article-box h3 { font-size: 16px; color: var(--brand); margin: 16px 0 6px; }
.article-box p { font-size: 15px; color: var(--muted); margin-bottom: 8px; }
.article-box > :last-child { margin-bottom: 0; }

.table-wrap { overflow-x: auto; margin-top: 14px; }
.audit-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.audit-table th, .audit-table td { padding: 11px 16px; border: 1px solid var(--line); text-align: left; white-space: nowrap; }
.audit-table thead th { background: rgba(124, 155, 255, .14); }
.audit-table tbody td { color: var(--muted); }
.audit-table tbody td:first-child { color: var(--text); font-weight: 600; }

.article-list { counter-reset: audit-item; margin-top: 6px; }
.article-list li {
  counter-increment: audit-item;
  position: relative;
  padding: 6px 0 6px 46px;
  font-size: 15px;
  color: var(--muted);
}
.article-list li::before {
  content: "（" counter(audit-item, cjk-ideographic) "）";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 600;
}

.audit-note {
  margin-top: 16px;
  padding: 14px 18px;
  border-left: 3px solid var(--warm);
  border-radius: 8px;
  background: rgba(255, 184, 107, .08);
}

/* 导航当前页高亮 */
.main-nav a.active { color: var(--text); }
.main-nav a.active::after { width: 100%; }

@media (max-width: 640px) {
  .audit-hero { padding-top: 56px; }
  .article-box { padding: 24px 20px; }
  .article-list li { padding-left: 40px; }
}
