/* ===========================================================
   我的第一个服务器 — 全站样式
   =========================================================== */

/* ---------- 主题变量 ---------- */
:root {
  --bg: #f5f7fb;
  --bg-soft: #eef2f9;
  --surface: #ffffff;
  --border: #e5e9f2;
  --text: #1b2233;
  --text-strong: #0f1526;
  --muted: #6b7488;
  --brand: #4f46e5;
  --brand-2: #06b6d4;
  --brand-soft: rgba(79, 70, 229, 0.10);
  --shadow-sm: 0 2px 8px rgba(20, 25, 45, 0.06);
  --shadow: 0 12px 32px rgba(20, 25, 45, 0.10);
  --radius: 16px;
  --radius-sm: 10px;
  --nav-h: 62px;
  --maxw: 1180px;
}

[data-theme="dark"] {
  --bg: #0e1118;
  --bg-soft: #151a24;
  --surface: #171d28;
  --border: #252c3a;
  --text: #e4e8f2;
  --text-strong: #ffffff;
  --muted: #97a1b5;
  --brand: #8b85ff;
  --brand-2: #34d3e0;
  --brand-soft: rgba(139, 133, 255, 0.16);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

/* ---------- 基础重置 ---------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
    system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s ease, color .3s ease;
}

/* 页面顶部的柔和光晕 */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 420px;
  background: radial-gradient(60% 100% at 50% 0%, var(--brand-soft), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; }

a { color: var(--brand); }

h1, h2, h3 { color: var(--text-strong); line-height: 1.35; margin: 0 0 .5em; }

p { margin: 0 0 1em; }

::selection { background: var(--brand); color: #fff; }

/* ---------- 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

main { position: relative; z-index: 1; }

section { padding: 104px 0; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text-strong);
  text-decoration: none;
  margin-right: auto;
  letter-spacing: .2px;
}

.brand .dot {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 4px 12px var(--brand-soft);
  flex: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  transition: .2s ease;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--text-strong); background: var(--bg-soft); }

.nav-links a.active {
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 600;
}

.icon-btn {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: .2s ease;
}

.icon-btn:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.icon-btn svg { width: 18px; height: 18px; }

[data-theme="dark"] .icon-moon { display: none; }
.icon-sun { display: none; }
[data-theme="dark"] .icon-sun { display: block; }

/* ---------- Hero ---------- */
.hero {
  padding: 128px 0 88px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 30px;
}

.badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  font-size: clamp(16px, 2.4vw, 19px);
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 8px 20px var(--brand-soft);
}

.btn-primary:hover { box-shadow: 0 12px 26px var(--brand-soft); }

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- 卡片网格 ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand);
}

.card .ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 21px;
  margin-bottom: 18px;
}

.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.8; margin: 0; }

/* ---------- 区块标题 ---------- */
.section-head { margin-bottom: 48px; }
.section-head h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 700; margin-bottom: 10px; }
.section-head p { color: var(--muted); margin: 0; font-size: 16px; }

/* ---------- 服务器状态条 ---------- */
.status {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}

.status .item { text-align: center; }
.status .k { font-size: 12.5px; color: var(--muted); letter-spacing: .4px; }
.status .v { font-size: 21px; font-weight: 700; color: var(--text-strong); font-variant-numeric: tabular-nums; }

/* ---------- 内容页 ---------- */
.page-content { padding: 88px 0 72px; }

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 44px);
  text-align: center;
}

.panel h1 { font-size: clamp(24px, 4.4vw, 34px); font-weight: 800; }

.panel .sub {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 26px;
}

.lines {
  display: inline-block;
  text-align: left;
  font-size: clamp(15px, 2.4vw, 17px);
  line-height: 2.1;
  margin-bottom: 26px;
}

.lines span { display: block; font-weight: 600; }
.lines .l-green { color: #16a34a; }
.lines .l-blue { color: #0284c7; }
.lines .l-red { color: #e11d48; }

[data-theme="dark"] .lines .l-green { color: #4ade80; }
[data-theme="dark"] .lines .l-blue { color: #38bdf8; }
[data-theme="dark"] .lines .l-red { color: #fb7185; }

figure { margin: 0; }

.shot {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: block;
  margin: 0 auto;
  max-height: 460px;
  width: auto;
  transition: transform .25s ease;
}

.shot:hover { transform: scale(1.01); }

figcaption { color: var(--muted); font-size: 13px; margin-top: 10px; }

.page-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ---------- 登录 / 注册 ---------- */
.auth-page { padding: 76px 0 60px; display: grid; place-items: center; }

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 36px);
}

.auth-card h1 { font-size: 25px; font-weight: 800; text-align: center; }
.auth-card .sub { text-align: center; color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }

.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: .18s ease;
}

.field input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
  background: var(--surface);
}

.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }

.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.alert {
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 16px;
  display: none;
}

.alert.show { display: block; }
.alert-err { background: rgba(239, 68, 68, .10); color: #dc2626; border: 1px solid rgba(239, 68, 68, .25); }
.alert-ok { background: rgba(34, 197, 94, .10); color: #16a34a; border: 1px solid rgba(34, 197, 94, .25); }

[data-theme="dark"] .alert-err { color: #fca5a5; }
[data-theme="dark"] .alert-ok { color: #86efac; }

.auth-foot { text-align: center; font-size: 14px; color: var(--muted); margin-top: 18px; }

/* ---------- 导航右侧账号区 ---------- */
.nav-auth { display: flex; align-items: center; gap: 6px; }
.nav-auth .user { font-size: 14px; font-weight: 600; color: var(--text-strong); }
.btn-sm { padding: 7px 14px; font-size: 14px; }

.link-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  padding: 7px 10px;
  border-radius: 999px;
}

.link-btn:hover { color: var(--brand); background: var(--bg-soft); }

/* ---------- 会员页 ---------- */
.member-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.avatar {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.member-head .meta h1 { font-size: 22px; margin: 0; }
.member-head .meta p { margin: 0; color: var(--muted); font-size: 13.5px; }

.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; color: var(--text-strong); }

.lock-note { font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 26px 0;
  color: var(--muted);
  font-size: 13.5px;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* ---------- 滚动淡入 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 640px) {
  .nav { height: auto; padding: 10px 0; }
  .nav .wrap { flex-wrap: wrap; gap: 10px; }
  .nav-links { order: 3; width: 100%; overflow-x: auto; }
  section { padding: 64px 0; }
  .hero { padding: 72px 0 48px; }
  .status { gap: 22px; padding: 26px 20px; }
  .section-head { margin-bottom: 32px; }
}

/* ---------- 降低动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ===========================================================
   皮肤系统：modern 现代简约 / ancient 古风水墨 / tech 科技霓虹
   切换器由 fx.js 动态插入，皮肤记忆在 localStorage
   =========================================================== */

/* ---------- 切换器 ---------- */
.skin-switch {
  display: flex;
  gap: 2px;
  padding: 2px;
  flex: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}

.skin-switch button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 12.5px;
  color: var(--muted);
  padding: 5px 10px;
  border-radius: 999px;
  transition: .18s ease;
  white-space: nowrap;
}

.skin-switch button:hover { color: var(--text-strong); }
.skin-switch button[aria-pressed="true"] { background: var(--brand); color: #fff; }

/* ================= 古风皮肤 ================= */
[data-skin="ancient"] {
  --bg: #efe6d5;
  --bg-soft: #e5dac4;
  --surface: #f8f2e6;
  --border: #cbbd9d;
  --text: #3b3326;
  --text-strong: #241f16;
  --muted: #7b6c52;
  --brand: #9c2b26;
  --brand-2: #5f7a52;
  --brand-soft: rgba(156, 43, 38, .12);
  --shadow-sm: 0 2px 8px rgba(60, 45, 20, .10);
  --shadow: 0 10px 28px rgba(60, 45, 20, .18);
  --radius: 4px;
  --radius-sm: 3px;
}

[data-skin="ancient"] body {
  font-family: "STKaiti", "KaiTi", "楷体", "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  letter-spacing: .5px;
}

[data-skin="ancient"] body::before {
  background:
    radial-gradient(50% 60% at 18% 0%, rgba(156, 43, 38, .12), transparent 62%),
    radial-gradient(45% 55% at 85% 8%, rgba(95, 122, 82, .12), transparent 62%);
}

[data-skin="ancient"] h1,
[data-skin="ancient"] h2,
[data-skin="ancient"] h3,
[data-skin="ancient"] .brand { letter-spacing: 2px; }

[data-skin="ancient"] .card,
[data-skin="ancient"] .panel,
[data-skin="ancient"] .auth-card,
[data-skin="ancient"] .status {
  position: relative;
  box-shadow: 0 0 0 1px var(--border), var(--shadow-sm);
}

[data-skin="ancient"] .panel::before,
[data-skin="ancient"] .card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(203, 189, 157, .5);
  border-radius: 2px;
  pointer-events: none;
}

[data-skin="ancient"] .btn,
[data-skin="ancient"] .icon-btn,
[data-skin="ancient"] .dot { border-radius: 2px; }

[data-skin="ancient"] .btn-primary { letter-spacing: 2px; }
[data-skin="ancient"] .nav { border-bottom: 2px solid var(--border); }
[data-skin="ancient"] .card:hover { border-color: var(--brand); }
[data-skin="ancient"] .card:hover::before { border-color: rgba(156, 43, 38, .4); }

/* ---------- 古风页专属 ---------- */
.vertical {
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 8px;
}

.seal {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 5px;
  background: #a8322d;
  color: #fff;
  font-size: 15px;
  line-height: 1.15;
  border-radius: 3px;
  transform: rotate(-4deg);
  box-shadow: 0 3px 8px rgba(120, 30, 25, .35);
  writing-mode: vertical-rl;
  letter-spacing: 0;
}

.poem {
  font-size: clamp(17px, 3vw, 22px);
  line-height: 2.5;
  letter-spacing: 3px;
  min-height: 11em;
  display: grid;
  align-content: center;
}

.poem span { display: block; opacity: 0; }
.poem span.show { animation: inkIn .55s ease forwards; }

@keyframes inkIn {
  from { opacity: 0; filter: blur(5px); transform: translateY(8px); }
  to { opacity: 1; filter: blur(0); transform: none; }
}

.fortune {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: clamp(20px, 4vw, 30px);
  position: relative;
}

.fortune .rank {
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 5px;
  margin-bottom: 8px;
}

.fortune .text { font-size: 16px; line-height: 2.1; margin-bottom: 10px; }
.fortune .note { color: var(--muted); font-size: 13.5px; margin: 0; }
.fortune .idx { position: absolute; top: 12px; right: 14px; color: var(--muted); font-size: 13px; }

.shake { animation: roll .55s ease; }

@keyframes roll {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-6deg) translateX(-4px); }
  50% { transform: rotate(6deg) translateX(4px); }
  80% { transform: rotate(-3deg); }
}

/* ================= 科技皮肤 ================= */
[data-skin="tech"] {
  --bg: #05070e;
  --bg-soft: #0a0f1a;
  --surface: rgba(11, 17, 30, .78);
  --border: rgba(0, 229, 255, .22);
  --text: #b9cadd;
  --text-strong: #e8f6ff;
  --muted: #6d8299;
  --brand: #00e5ff;
  --brand-2: #ff2ea6;
  --brand-soft: rgba(0, 229, 255, .16);
  --shadow-sm: 0 0 0 1px rgba(0, 229, 255, .10), 0 6px 18px rgba(0, 0, 0, .5);
  --shadow: 0 0 0 1px rgba(0, 229, 255, .18), 0 14px 40px rgba(0, 0, 0, .6);
  --radius: 10px;
}

[data-skin="tech"] body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(0, 229, 255, .05) 1px, transparent 1px) 0 0 / 100% 40px,
    linear-gradient(90deg, rgba(0, 229, 255, .05) 1px, transparent 1px) 0 0 / 40px 100%;
}

[data-skin="tech"] .card,
[data-skin="tech"] .panel,
[data-skin="tech"] .auth-card,
[data-skin="tech"] .status {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

[data-skin="tech"] .card:hover {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), 0 0 26px rgba(0, 229, 255, .25);
}

[data-skin="tech"] .btn-primary {
  background: linear-gradient(135deg, #00e5ff, #7c4dff);
  color: #041018;
  box-shadow: 0 0 18px rgba(0, 229, 255, .35);
}

[data-skin="tech"] .gradient-text {
  background: linear-gradient(120deg, #00e5ff, #ff2ea6 60%, #7c4dff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[data-skin="tech"] .nav { border-bottom-color: rgba(0, 229, 255, .22); }
[data-skin="tech"] h1, [data-skin="tech"] h2, [data-skin="tech"] .brand { letter-spacing: 1px; }

/* ---------- 科技页专属 ---------- */
.terminal {
  background: #04070d;
  border: 1px solid rgba(0, 229, 255, .3);
  border-radius: 8px;
  padding: 18px 20px;
  text-align: left;
  min-height: 260px;
  font-family: "JetBrains Mono", Consolas, "Courier New", monospace;
  font-size: 13.5px;
  line-height: 1.95;
  color: #7ef0d0;
  box-shadow: inset 0 0 50px rgba(0, 229, 255, .07);
  position: relative;
  overflow: hidden;
}

.terminal::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(rgba(0, 0, 0, 0) 0 2px, rgba(0, 229, 255, .035) 2px 4px);
}

.terminal .line { white-space: pre-wrap; word-break: break-all; }
.terminal .ok { color: #22e39a; }
.terminal .warn { color: #ffd166; }
.terminal .dim { color: #4c6076; }
.terminal .err { color: #ff5f7e; }

.caret::after {
  content: "\2588";
  margin-left: 2px;
  animation: blink 1s steps(2) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.glitch { position: relative; display: inline-block; }

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}

.glitch::before {
  color: #ff2ea6;
  clip-path: inset(0 0 55% 0);
  opacity: .75;
  animation: gl1 2.8s infinite;
}

.glitch::after {
  color: #00e5ff;
  clip-path: inset(55% 0 0 0);
  opacity: .75;
  animation: gl2 3.4s infinite;
}

@keyframes gl1 {
  0%, 92%, 100% { transform: translate(-2px, 0); }
  94% { transform: translate(-7px, 0); }
  96% { transform: translate(4px, 0); }
}

@keyframes gl2 {
  0%, 90%, 100% { transform: translate(2px, 0); }
  93% { transform: translate(7px, -1px); }
  97% { transform: translate(-4px, 1px); }
}

.metric { text-align: left; }
.metric .row { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 6px; }
.metric .num { font-family: "JetBrains Mono", Consolas, monospace; font-variant-numeric: tabular-nums; color: var(--text-strong); }
.metric .bar { height: 6px; border-radius: 99px; background: rgba(0, 229, 255, .14); overflow: hidden; margin-bottom: 14px; }
.metric .bar i { display: block; height: 100%; background: linear-gradient(90deg, #00e5ff, #ff2ea6); transition: width .7s ease; }

@media (max-width: 640px) {
  .skin-switch { order: 4; }
}

/* ---------- 打印 ---------- */
@media print {
  .nav, .icon-btn, .hero-actions { display: none; }
  body::before { display: none; }
}
