/* ==========================================================
   汇易教程 HUIYI TUTORIAL - 官网全局样式
   深空科技风 · 玻璃拟态 · 渐变光效
   ========================================================== */

:root {
  --bg: #070b16;
  --bg-soft: #0b1224;
  --card: rgba(255, 255, 255, 0.045);
  --card-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e8ecf6;
  --text-dim: #9aa7c0;
  --text-faint: #66718c;
  --grad: linear-gradient(120deg, #22d3ee 0%, #6366f1 50%, #a855f7 100%);
  --grad-soft: linear-gradient(120deg, rgba(34, 211, 238, 0.16), rgba(168, 85, 247, 0.16));
  --cyan: #22d3ee;
  --violet: #a855f7;
  --indigo: #6366f1;
  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px rgba(2, 6, 23, 0.55);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "Cascadia Code", "JetBrains Mono", Consolas, "Courier New", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 背景光效 ---------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(34, 211, 238, 0.13), transparent 60%),
    radial-gradient(50% 45% at 90% 12%, rgba(168, 85, 247, 0.12), transparent 60%),
    radial-gradient(70% 60% at 50% 110%, rgba(99, 102, 241, 0.14), transparent 65%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  animation: float 14s ease-in-out infinite;
}
.orb-1 { width: 420px; height: 420px; background: rgba(34, 211, 238, 0.16); top: -120px; left: -80px; }
.orb-2 { width: 380px; height: 380px; background: rgba(168, 85, 247, 0.15); top: 30%; right: -120px; animation-delay: -5s; }
.orb-3 { width: 300px; height: 300px; background: rgba(99, 102, 241, 0.14); bottom: -100px; left: 35%; animation-delay: -9s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-34px) scale(1.06); }
}

/* ---------- 通用组件 ---------- */
.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

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

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(99, 102, 241, 0.55); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.11); transform: translateY(-2px); }
.btn-danger { background: rgba(248, 113, 113, 0.14); color: var(--danger); border-color: rgba(248, 113, 113, 0.35); }
.btn-danger:hover { background: rgba(248, 113, 113, 0.24); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }

.chip {
  display: inline-block;
  padding: 4px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  background: var(--grad-soft);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.28);
}

.glass {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: 0.5px;
}
.section-head p { color: var(--text-dim); margin-top: 6px; }

/* ---------- 顶栏 ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(7, 11, 22, 0.72);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.nav-inner {
  width: min(1180px, 92%);
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 1px;
}
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
  flex: none;
}
.logo small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 3px;
}
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.nav-links a { color: var(--text-dim); transition: color 0.2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  cursor: pointer;
  position: relative;
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.nav-user .uname { font-size: 14px; font-weight: 600; }
.nav-user .caret { color: var(--text-faint); font-size: 11px; }
.user-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 190px;
  background: #101828;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease;
  z-index: 120;
}
.user-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.user-menu a, .user-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: none;
  color: var(--text-dim);
  font-size: 14px;
  border-radius: 9px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.user-menu a:hover, .user-menu button:hover { background: rgba(255, 255, 255, 0.07); color: var(--text); }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 150px 0 90px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.6px;
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 12px var(--ok);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 1px;
  margin-bottom: 22px;
}
.hero .sub {
  max-width: 620px;
  margin: 0 auto 38px;
  color: var(--text-dim);
  font-size: clamp(15px, 2vw, 18px);
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 6vw, 80px);
  margin-top: 64px;
  flex-wrap: wrap;
}
.hero-stats .num {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.hero-stats .lbl { color: var(--text-faint); font-size: 13px; letter-spacing: 1.5px; }

/* 首页 Hero 装饰窗口 */
.hero-stage {
  margin: 70px auto 0;
  max-width: 880px;
  perspective: 1200px;
}
.browser-card {
  border-radius: 20px;
  background: rgba(13, 20, 38, 0.85);
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  transform: rotateX(4deg);
  text-align: left;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.browser-bar i:nth-child(1) { background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-url {
  margin-left: 12px;
  flex: 1;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-faint);
  font-size: 12.5px;
  font-family: var(--mono);
}
.browser-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  padding: 22px;
}
.mock-article { display: flex; flex-direction: column; gap: 12px; }
.mock-title {
  width: 82%;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,0.16), rgba(255,255,255,0.05));
}
.mock-line { height: 11px; border-radius: 6px; background: rgba(255,255,255,0.06); }
.mock-line.w60 { width: 60%; }
.mock-line.w40 { width: 40%; }
.mock-cover {
  border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: 13px;
}
.mock-cards { display: flex; flex-direction: column; gap: 10px; }
.mock-card {
  border-radius: 11px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.mock-card .thumb { width: 42px; height: 42px; border-radius: 9px; background: var(--grad); opacity: 0.75; }
.mock-card div { flex: 1; }
.mock-card b { display: block; width: 80%; height: 9px; border-radius: 5px; background: rgba(255,255,255,0.2); }
.mock-card span { display: block; width: 55%; height: 7px; margin-top: 7px; border-radius: 5px; background: rgba(255,255,255,0.08); }

/* ---------- 特性区 ---------- */
.features {
  padding: 90px 0 30px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.feature {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature:hover { transform: translateY(-6px); background: var(--card-hover); border-color: var(--border-strong); }
.feature:hover::before { opacity: 1; }
.feature .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--text-dim); font-size: 14px; }

/* ---------- 教程模块 ---------- */
.tutorials { padding: 90px 0 40px; }
.tutorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
}
.t-card {
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.t-card:hover {
  transform: translateY(-8px);
  background: var(--card-hover);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.t-cover {
  position: relative;
  height: 185px;
  overflow: hidden;
  background: linear-gradient(135deg, #101c3a, #1b1240);
}
.t-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.t-card:hover .t-cover img { transform: scale(1.07); }
.t-cover .chip {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(7, 11, 22, 0.72);
  backdrop-filter: blur(8px);
}
.t-cover::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 70px;
  background: linear-gradient(transparent, rgba(7, 11, 22, 0.8));
}
.t-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.t-body h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.t-body p {
  color: var(--text-dim);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.t-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-faint);
  font-size: 12.5px;
  margin-top: 6px;
  border-top: 1px dashed var(--border);
  padding-top: 13px;
}
.t-meta span { display: inline-flex; align-items: center; gap: 5px; }
.t-meta .read-more { color: var(--cyan); font-weight: 600; }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 10px; margin: 46px 0 10px; flex-wrap: wrap; }
.pagination button {
  min-width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.pagination button:hover:not(:disabled) { border-color: var(--border-strong); color: var(--text); }
.pagination button.active {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  font-weight: 700;
}
.pagination button:disabled { opacity: 0.35; cursor: not-allowed; }

.empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-faint);
}
.empty .big { font-size: 46px; margin-bottom: 14px; }

/* ---------- CTA 区 ---------- */
.cta {
  margin: 80px auto 40px;
  padding: 60px 40px;
  border-radius: 24px;
  background:
    radial-gradient(80% 120% at 20% 0%, rgba(34, 211, 238, 0.18), transparent 55%),
    radial-gradient(80% 120% at 90% 100%, rgba(168, 85, 247, 0.18), transparent 55%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  text-align: center;
}
.cta h2 { font-size: clamp(24px, 3.6vw, 38px); font-weight: 800; margin-bottom: 14px; }
.cta p { color: var(--text-dim); max-width: 520px; margin: 0 auto 30px; }

/* ---------- 页脚 ---------- */
.footer {
  margin-top: 90px;
  border-top: 1px solid var(--border);
  padding: 44px 0 34px;
  background: rgba(4, 7, 15, 0.6);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer .logo { font-size: 17px; }
.footer-links { display: flex; gap: 26px; color: var(--text-dim); font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.footer-copy {
  margin-top: 26px;
  color: var(--text-faint);
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}

/* ---------- 表单 ---------- */
.auth-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 110px 18px 50px;
}
.auth-card {
  width: min(430px, 100%);
  padding: 42px 38px;
  border-radius: 22px;
  background: rgba(13, 20, 38, 0.8);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.auth-card .logo { justify-content: center; margin-bottom: 8px; }
.auth-card h1 { text-align: center; font-size: 26px; font-weight: 800; margin: 18px 0 6px; }
.auth-card .sub { text-align: center; color: var(--text-dim); font-size: 14px; margin-bottom: 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; color: var(--text-dim); margin-bottom: 8px; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: all 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
  background: rgba(255, 255, 255, 0.07);
}
.field select option { background: #101828; }
.field .hint { font-size: 12px; color: var(--text-faint); margin-top: 6px; }
.auth-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.auth-switch { text-align: center; margin-top: 22px; color: var(--text-dim); font-size: 14px; }
.auth-switch a { color: var(--cyan); font-weight: 600; }
.form-msg {
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 13.5px;
  margin-bottom: 16px;
  display: none;
}
.form-msg.error { display: block; background: rgba(248, 113, 113, 0.12); border: 1px solid rgba(248, 113, 113, 0.3); color: var(--danger); }
.form-msg.success { display: block; background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.3); color: var(--ok); }

/* ---------- 教程详情 ---------- */
.detail-hero { padding: 130px 0 30px; text-align: center; }
.detail-hero .meta-row {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--text-faint);
  font-size: 13.5px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.detail-cover {
  max-width: 900px;
  margin: 36px auto 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.detail-cover img { width: 100%; display: block; max-height: 460px; object-fit: cover; }

.detail-layout {
  width: min(880px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 50px 0 30px;
}
.markdown-body {
  background: rgba(13, 20, 38, 0.65);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: clamp(26px, 5vw, 52px);
  font-size: 16px;
  line-height: 1.95;
}
.markdown-body h1 { font-size: 28px; font-weight: 800; margin: 8px 0 22px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.markdown-body h2 { font-size: 22px; font-weight: 800; margin: 38px 0 14px; }
.markdown-body h3 { font-size: 18px; font-weight: 700; margin: 28px 0 12px; }
.markdown-body p { margin: 14px 0; color: #c9d4e8; }
.markdown-body strong { color: #fff; }
.markdown-body ul, .markdown-body ol { margin: 14px 0 14px 8px; padding-left: 26px; color: #c9d4e8; }
.markdown-body li { margin: 7px 0; }
.markdown-body blockquote {
  margin: 20px 0;
  padding: 14px 20px;
  border-left: 3px solid var(--indigo);
  background: rgba(99, 102, 241, 0.1);
  border-radius: 0 12px 12px 0;
  color: var(--text-dim);
}
.markdown-body code {
  font-family: var(--mono);
  background: rgba(255, 255, 255, 0.09);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.9em;
  color: #7dd3fc;
}
.markdown-body pre {
  background: #0a1020;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  overflow-x: auto;
  margin: 20px 0;
}
.markdown-body pre code { background: none; padding: 0; color: #a5f3fc; }
.markdown-body img {
  max-width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  margin: 22px 0;
  display: block;
}
.markdown-body a { color: var(--cyan); border-bottom: 1px dashed rgba(34, 211, 238, 0.5); }
.markdown-body hr { border: none; border-top: 1px solid var(--border); margin: 30px 0; }

.like-bar {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 40px 0 20px;
}
.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 34px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
}
.like-btn:hover { transform: translateY(-2px); }
.like-btn.liked { background: rgba(248, 113, 113, 0.16); border-color: rgba(248, 113, 113, 0.45); color: #fca5a5; }
.share-btn { padding: 13px 26px; }

/* ---------- 通用响应式 ---------- */
@media (max-width: 860px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-actions { gap: 8px; }
  .burger { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: rgba(7, 11, 22, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    gap: 18px;
    align-items: flex-start;
  }
  .browser-body { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease both; }
.fade-up.d1 { animation-delay: 0.08s; }
.fade-up.d2 { animation-delay: 0.16s; }
.fade-up.d3 { animation-delay: 0.24s; }

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #101828;
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 13px 26px;
  border-radius: 12px;
  font-size: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.toast.ok { border-color: rgba(52, 211, 153, 0.5); }
.toast.err { border-color: rgba(248, 113, 113, 0.5); }
