/* ============================================================
   加杰的站点 · 赛博朋克主题样式
   JIAJIE.SITE // CYBERPUNK THEME v1.0
   ------------------------------------------------------------
   主色：霓虹青 / 霓虹洋红 / 警示黄 / 电光紫
   ============================================================ */

:root {
  --bg0: #05050c;
  --bg1: #0a0a16;
  --bg2: #101024;
  --panel: rgba(14, 14, 30, .84);
  --cyan: #00e5ff;
  --magenta: #ff2ad4;
  --yellow: #ffe81a;
  --purple: #a06bff;
  --green: #3dff8b;
  --red: #ff3b6b;
  --txt: #e9e9ff;
  --dim: #9a9ac8;
  --faint: #6a6a96;
  --line: rgba(0, 229, 255, .22);
  --line-soft: rgba(255, 255, 255, .08);
  --font-main: "HarmonyOS Sans SC", -apple-system, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --font-tech: "Cascadia Code", "JetBrains Mono", Consolas, "Sarasa Mono SC", "Courier New", monospace;
  --font-serif: Georgia, "Songti SC", "SimSun", serif;
  --glow-cyan: 0 0 10px rgba(0, 229, 255, .55), 0 0 34px rgba(0, 229, 255, .22);
  --glow-magenta: 0 0 10px rgba(255, 42, 212, .55), 0 0 34px rgba(255, 42, 212, .22);
  --shadow-card: 0 18px 44px rgba(0, 0, 0, .5);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg0);
  color: var(--txt);
  font-family: var(--font-main);
  font-size: 15.5px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--cyan); color: #001218; }

a { color: var(--cyan); text-decoration: none; transition: color .2s, text-shadow .2s; }
a:hover { text-shadow: 0 0 12px rgba(0, 229, 255, .7); }

img { max-width: 100%; display: block; }

/* ---------------- 背景特效层 ---------------- */
#bg-canvas {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  opacity: .55; pointer-events: none;
}

body::before {
  content: ""; position: fixed; inset: -60px; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 229, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, .05) 1px, transparent 1px);
  background-size: 46px 46px;
  animation: gridPan 26s linear infinite;
}
@keyframes gridPan { from { transform: translate(0, 0); } to { transform: translate(46px, 46px); } }

body::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(760px 480px at 12% -6%, rgba(0, 229, 255, .12), transparent 62%),
    radial-gradient(700px 460px at 92% 4%, rgba(255, 42, 212, .11), transparent 62%),
    radial-gradient(900px 620px at 50% 108%, rgba(160, 107, 255, .10), transparent 60%);
}

.scanlines {
  position: fixed; inset: 0; z-index: 3; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}
.scanlines::after {
  content: ""; position: absolute; left: 0; right: 0; height: 90px;
  background: linear-gradient(180deg, transparent, rgba(0, 229, 255, .05), transparent);
  animation: scanSweep 7s linear infinite;
}
@keyframes scanSweep { from { top: -12%; } to { top: 108%; } }

#cursor-glow {
  position: fixed; z-index: 2; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, .09), rgba(255, 42, 212, .05) 42%, transparent 68%);
  pointer-events: none; transform: translate(-50%, -50%); left: -999px; top: -999px;
  transition: opacity .3s; opacity: 0;
}

#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 120;
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--yellow));
  box-shadow: 0 0 12px rgba(0, 229, 255, .8);
}

.wrap { position: relative; z-index: 4; max-width: 1200px; margin: 0 auto; padding: 0 22px; }

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

/* ---------------- 字体辅助类 ---------------- */
.font-default { font-family: var(--font-main); }
.font-tech { font-family: var(--font-tech); }
.font-round { font-family: "PingFang SC", "Microsoft YaHei", "HarmonyOS Sans SC", sans-serif; letter-spacing: .02em; }
.font-serif { font-family: var(--font-serif); }

/* ---------------- 通用组件 ---------------- */
.stamp {
  font-family: var(--font-tech); font-size: 12px; letter-spacing: .04em; color: var(--cyan);
  opacity: .92; white-space: nowrap;
}

.chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-tech); font-size: 11px; letter-spacing: .08em;
  border: 1px solid rgba(0, 229, 255, .35); color: var(--cyan);
  padding: 2px 9px; background: rgba(0, 229, 255, .06); white-space: nowrap;
}
.chip-tag { border-color: rgba(160, 107, 255, .45); color: var(--purple); background: rgba(160, 107, 255, .07); }
.chip-cat { border-color: rgba(255, 232, 26, .4); color: var(--yellow); background: rgba(255, 232, 26, .06); }
.chip-soon { border-color: rgba(154, 154, 200, .4); color: var(--faint); background: transparent; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-tech); font-size: 13px; letter-spacing: .1em;
  padding: 12px 24px; cursor: pointer; border: 1px solid var(--cyan); color: var(--cyan);
  background: linear-gradient(180deg, rgba(0, 229, 255, .13), rgba(0, 229, 255, .03));
  clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px);
  transition: all .22s ease; text-shadow: none;
}
.btn:hover {
  background: var(--cyan); color: #00161c; box-shadow: var(--glow-cyan);
  transform: translateY(-2px); text-shadow: none;
}
.btn-magenta { border-color: var(--magenta); color: var(--magenta); background: linear-gradient(180deg, rgba(255, 42, 212, .14), rgba(255, 42, 212, .03)); }
.btn-magenta:hover { background: var(--magenta); color: #1c0016; box-shadow: var(--glow-magenta); }
.btn-yellow { border-color: var(--yellow); color: var(--yellow); background: linear-gradient(180deg, rgba(255, 232, 26, .12), rgba(255, 232, 26, .03)); }
.btn-yellow:hover { background: var(--yellow); color: #1c1700; box-shadow: 0 0 12px rgba(255, 232, 26, .6); }
.btn-ghost { border-color: rgba(154, 154, 200, .45); color: var(--dim); background: transparent; }
.btn-ghost:hover { background: rgba(154, 154, 200, .12); color: var(--txt); box-shadow: none; }
.btn-mini { padding: 8px 15px; font-size: 12px; }

.inp, textarea.inp, select.inp {
  width: 100%; background: rgba(8, 10, 24, .78); border: 1px solid rgba(0, 229, 255, .28);
  color: var(--txt); padding: 12px 14px; font-family: var(--font-main); font-size: 14.5px;
  outline: none; transition: border-color .2s, box-shadow .2s, background .2s; border-radius: 0;
}
.inp:focus { border-color: var(--cyan); box-shadow: 0 0 0 1px rgba(0, 229, 255, .3), 0 0 20px rgba(0, 229, 255, .16); background: rgba(0, 229, 255, .045); }
.inp::placeholder { color: var(--faint); }
textarea.inp { resize: vertical; min-height: 90px; line-height: 1.7; }
select.inp option { background: var(--bg1); }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------------- 顶部导航 ---------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 5, 14, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 18px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo:hover { text-shadow: none; }
.logo-mark { color: var(--cyan); font-size: 20px; text-shadow: var(--glow-cyan); animation: markPulse 2.6s ease-in-out infinite; }
@keyframes markPulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.logo-wrap { display: flex; flex-direction: column; line-height: 1.2; }
.logo-title {
  font-size: 18px; font-weight: 800; letter-spacing: .06em; color: var(--txt);
  background: linear-gradient(92deg, var(--cyan), var(--purple) 55%, var(--magenta));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.logo-sub { font-family: var(--font-tech); font-size: 9.5px; letter-spacing: .22em; color: var(--faint); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 13px; font-size: 14px; color: var(--dim); position: relative;
  font-family: var(--font-main);
}
.nav-link i { font-style: normal; font-family: var(--font-tech); font-size: 10px; color: var(--faint); }
.nav-link em { font-style: normal; font-family: var(--font-tech); font-size: 9px; letter-spacing: .14em; color: var(--faint); display: none; }
.nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta)); opacity: 0; transition: opacity .2s;
}
.nav-link:hover { color: var(--txt); }
.nav-link:hover::after { opacity: 1; }
.nav-link.active { color: var(--cyan); text-shadow: 0 0 10px rgba(0, 229, 255, .5); }
.nav-link.active::after { opacity: 1; }

.nav-side { display: flex; align-items: center; gap: 12px; }
.nav-ghost { font-family: var(--font-tech); font-size: 12.5px; color: var(--dim); letter-spacing: .1em; }
.nav-ghost:hover { color: var(--magenta); text-shadow: 0 0 10px rgba(255, 42, 212, .6); }
.nav-burger {
  display: none; background: transparent; border: 1px solid var(--line); color: var(--cyan);
  font-size: 18px; width: 38px; height: 38px; cursor: pointer;
}

/* ---------------- Hero：大字标题模式 ---------------- */
.hero-big {
  min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 84px 0 54px; position: relative;
}
.hero-badge {
  font-family: var(--font-tech); font-size: 12px; letter-spacing: .3em; color: var(--yellow);
  border: 1px dashed rgba(255, 232, 26, .45); padding: 6px 16px; margin-bottom: 30px;
  animation: badgeBlink 3s steps(2) infinite; background: rgba(255, 232, 26, .04);
}
@keyframes badgeBlink { 0%, 92% { opacity: 1; } 94%, 100% { opacity: .55; } }

.hero-title {
  position: relative; font-size: clamp(46px, 9.2vw, 122px); font-weight: 900;
  letter-spacing: .05em; line-height: 1.1; color: #eafcff;
  text-shadow: 0 0 14px rgba(0, 229, 255, .55), 0 0 60px rgba(0, 229, 255, .28);
  animation: titleFlicker 6s linear infinite;
}
@keyframes titleFlicker { 0%, 96%, 100% { opacity: 1; } 97% { opacity: .82; } 98% { opacity: 1; } 99% { opacity: .88; } }

.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  overflow: hidden; pointer-events: none;
}
.glitch::before {
  color: var(--magenta); text-shadow: 2px 0 var(--magenta); z-index: -1;
  animation: glitchTop 4.2s infinite linear alternate-reverse;
}
.glitch::after {
  color: var(--cyan); text-shadow: -2px 0 var(--cyan); z-index: -2;
  animation: glitchBot 3.4s infinite linear alternate-reverse;
}
@keyframes glitchTop {
  0%, 84%, 100% { transform: translate(0, 0); clip-path: inset(0 0 58% 0); }
  86% { transform: translate(-5px, -3px); clip-path: inset(0 0 44% 0); }
  90% { transform: translate(4px, 1px); clip-path: inset(6% 0 62% 0); }
  94% { transform: translate(-3px, 0); clip-path: inset(0 0 70% 0); }
}
@keyframes glitchBot {
  0%, 80%, 100% { transform: translate(0, 0); clip-path: inset(46% 0 0 0); }
  83% { transform: translate(5px, 2px); clip-path: inset(60% 0 4% 0); }
  88% { transform: translate(-4px, -1px); clip-path: inset(38% 0 18% 0); }
  92% { transform: translate(3px, 1px); clip-path: inset(52% 0 0 0); }
}

.hero-sub {
  margin-top: 30px; font-family: var(--font-tech); font-size: clamp(15px, 2vw, 19px);
  color: var(--dim); letter-spacing: .12em;
}
.hero-sub .typed { color: var(--magenta); text-shadow: var(--glow-magenta); }
.caret { display: inline-block; width: 10px; color: var(--cyan); animation: caretBlink 1s steps(2) infinite; }
@keyframes caretBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.hero-desc { margin-top: 16px; color: var(--dim); font-size: 15px; letter-spacing: .16em; }
.hero-btns { margin-top: 42px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-hud {
  margin-top: 56px; display: flex; gap: 26px; flex-wrap: wrap; justify-content: center;
  font-family: var(--font-tech); font-size: 11px; letter-spacing: .2em; color: var(--faint);
}
.hero-hud i { font-style: normal; color: var(--cyan); }

/* ---------------- Hero：头版头条模式 ---------------- */
.hero-hl { padding: 52px 0 8px; }
.hb {
  position: relative; border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(165deg, rgba(0, 229, 255, .07), rgba(255, 42, 212, .05) 55%, transparent), rgba(10, 10, 22, .88);
  box-shadow: var(--shadow-card);
  padding: 30px 32px 32px;
}
.hb::before {
  content: ""; position: absolute; top: 0; left: -35%; width: 35%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: hbScan 4.5s linear infinite;
}
@keyframes hbScan { from { left: -35%; } to { left: 100%; } }
.hb-tag {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  font-family: var(--font-tech); font-size: 12px; letter-spacing: .26em; color: var(--magenta);
}
.hb-tag .dot { width: 8px; height: 8px; background: var(--magenta); border-radius: 50%; box-shadow: var(--glow-magenta); animation: caretBlink 1.3s steps(2) infinite; }
.hb-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 30px; align-items: center; }
.hb-cat { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.hb-title { font-size: clamp(24px, 3.4vw, 40px); font-weight: 800; line-height: 1.28; letter-spacing: .02em; }
.hb-title a { color: var(--txt); }
.hb-title a:hover { color: var(--cyan); text-shadow: var(--glow-cyan); }
.hb-sum { margin-top: 16px; color: var(--dim); font-size: 15px; line-height: 1.9; }
.hb-btns { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.hb-visual {
  position: relative; min-height: 250px; border: 1px solid rgba(0, 229, 255, .3); overflow: hidden;
  background: rgba(6, 6, 16, .8);
}
.hb-visual img { width: 100%; height: 100%; min-height: 250px; max-height: 360px; object-fit: cover; }
.hb-visual .art { position: absolute; inset: 0; }
.hb-visual .hud-tag {
  position: absolute; left: 0; bottom: 0; right: 0; z-index: 2;
  display: flex; justify-content: space-between; gap: 10px;
  font-family: var(--font-tech); font-size: 10.5px; letter-spacing: .18em; color: #dffaff;
  background: linear-gradient(90deg, rgba(5, 5, 14, .92), rgba(5, 5, 14, .55));
  padding: 7px 12px; border-top: 1px solid rgba(0, 229, 255, .3);
}
.hb-visual .hud-tag b { color: var(--cyan); font-weight: 600; }

/* ---------------- 滚动快讯 ---------------- */
.ticker {
  margin-top: 34px; overflow: hidden; position: relative;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(0, 229, 255, .03);
}
.ticker-track {
  display: inline-flex; gap: 42px; white-space: nowrap; padding: 11px 0;
  animation: tickMove 42s linear infinite; will-change: transform;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tickMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item { font-family: var(--font-tech); font-size: 12.5px; letter-spacing: .05em; color: var(--dim); display: inline-flex; align-items: center; gap: 8px; }
.ticker-item .dia { color: var(--magenta); font-size: 9px; }
.ticker-item b { color: var(--cyan); font-weight: 600; }

/* ---------------- 区块标题 ---------------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 68px 0 26px; flex-wrap: wrap; }
.sec-head h2 {
  position: relative; padding-left: 18px; font-size: 25px; letter-spacing: .05em;
  display: flex; align-items: baseline; gap: 10px;
}
.sec-head h2::before {
  content: ""; position: absolute; left: 0; top: 7px; bottom: 5px; width: 4px;
  background: linear-gradient(180deg, var(--cyan), var(--magenta));
  box-shadow: 0 0 14px rgba(0, 229, 255, .65);
}
.sec-res h2::before { background: linear-gradient(180deg, var(--magenta), var(--purple)); box-shadow: 0 0 14px rgba(255, 42, 212, .65); }
.sec-tools h2::before { background: linear-gradient(180deg, var(--yellow), var(--magenta)); box-shadow: 0 0 14px rgba(255, 232, 26, .6); }
.sec-about h2::before { background: linear-gradient(180deg, var(--purple), var(--cyan)); box-shadow: 0 0 14px rgba(160, 107, 255, .65); }
.sec-guest h2::before { background: linear-gradient(180deg, var(--yellow), var(--cyan)); box-shadow: 0 0 14px rgba(255, 232, 26, .6); }
.sec-idx { font-family: var(--font-tech); font-size: 13px; color: var(--yellow); letter-spacing: .1em; }
.sec-head h2 em { font-style: normal; font-family: var(--font-tech); font-size: 12.5px; letter-spacing: .28em; color: var(--faint); }
.sec-more { font-family: var(--font-tech); font-size: 13px; color: var(--cyan); letter-spacing: .06em; white-space: nowrap; }
.sec-more:hover { text-shadow: var(--glow-cyan); }

/* ---------------- 卡片：通用 ---------------- */
.card-grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: linear-gradient(170deg, rgba(20, 20, 40, .92), rgba(9, 9, 20, .92));
  border: 1px solid var(--line-soft); position: relative; overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.card:hover {
  transform: translateY(-5px); border-color: rgba(0, 229, 255, .55);
  box-shadow: 0 0 26px rgba(0, 229, 255, .18), var(--shadow-card);
}
.card-link { display: block; color: inherit; }
.card-link:hover { text-shadow: none; }
.card .cover { height: 186px; overflow: hidden; position: relative; border-bottom: 1px solid var(--line-soft); }
.card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .cover img { transform: scale(1.06); }
.card-body { padding: 18px 20px 20px; }
.card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.card-title { font-size: 18.5px; font-weight: 700; line-height: 1.5; margin-bottom: 8px; }
.card:hover .card-title { color: var(--cyan); }
.card-desc { color: var(--dim); font-size: 13.8px; line-height: 1.8; margin-bottom: 14px; }
.card-more { font-family: var(--font-tech); font-size: 12px; color: var(--magenta); letter-spacing: .08em; }

/* 渐变艺术占位 */
.art { display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; background: #0c0c1e; width: 100%; height: 100%; }
.art span { font-family: var(--font-tech); font-weight: 900; font-size: 58px; color: rgba(255, 255, 255, .92); text-shadow: 0 0 26px rgba(0, 229, 255, .9); z-index: 1; }
.art::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 9px); }
.art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(320px 200px at 70% 20%, rgba(255, 255, 255, .16), transparent 60%); }
.art-0 { background: linear-gradient(135deg, #062a38, #3a0b3d); }
.art-1 { background: linear-gradient(135deg, #2c0a3e, #003a4d); }
.art-2 { background: linear-gradient(135deg, #3c3106, #3d0b34); }
.art-3 { background: linear-gradient(135deg, #101c4a, #36063a); }

/* ---------------- 资源卡片图片轮播（多图） ---------------- */
.rcarousel .rslide { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity .55s ease; }
.rcarousel .rslide.on { opacity: 1; z-index: 1; }
.rcarousel .rslide img { width: 100%; height: 100%; object-fit: cover; }
.rc-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 26px; height: 30px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .2s, background .2s;
  background: rgba(5, 5, 14, .74); border: 1px solid rgba(0, 229, 255, .35); color: var(--cyan); font-size: 15px;
}
.rcarousel:hover .rc-nav { opacity: 1; }
.rc-nav:hover { background: rgba(0, 229, 255, .85); color: #00161c; }
.rc-prev { left: 5px; } .rc-next { right: 5px; }
.rc-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 7px; z-index: 4; display: inline-flex; gap: 5px; padding: 3px 8px; background: rgba(5, 5, 14, .62); border-radius: 10px; }
.rc-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .34); cursor: pointer; transition: all .25s; }
.rc-dots i:hover { background: var(--magenta); }
.rc-dots i.on { width: 15px; border-radius: 3px; background: var(--cyan); box-shadow: 0 0 9px var(--cyan); }
.rc-count {
  position: absolute; top: 6px; right: 6px; z-index: 4; font-family: var(--font-tech); font-size: 10px;
  letter-spacing: .1em; color: #dffaff; background: rgba(5, 5, 14, .72); padding: 2px 7px; border: 1px solid rgba(0, 229, 255, .28);
}

/* ---------------- 资源详情页 ---------------- */
.rdetail { max-width: 900px; margin: 0 auto; padding: 46px 0 20px; }
.rd-crumb { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; font-size: 13.5px; }
.rd-crumb .sep { color: var(--faint); font-family: var(--font-tech); }
.rd-title { font-size: clamp(26px, 4vw, 40px); line-height: 1.35; margin-bottom: 16px; }
.rd-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line-soft); }
.rd-gallery-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.rd-gallery-label { font-family: var(--font-tech); font-size: 11.5px; letter-spacing: .12em; color: var(--faint); margin-right: 4px; }
.btn.on { border-color: var(--cyan); color: var(--cyan); background: rgba(0, 229, 255, .12); box-shadow: 0 0 12px rgba(0, 229, 255, .2); }
.rd-carousel { position: relative; border: 1px solid var(--line); background: #08080f; height: 470px; overflow: hidden; }
.rd-carousel .rslide img { width: 100%; height: 100%; object-fit: cover; }
.rd-single { border: 1px solid var(--line); overflow: hidden; background: #08080f; }
.rd-single img { width: 100%; max-height: 520px; object-fit: cover; }
.rd-grid { max-width: none; margin: 0; }
.rd-desc {
  margin: 26px 0; padding: 16px 20px; font-size: 16px; color: #dcdcf6;
  border-left: 3px solid var(--cyan); background: rgba(0, 229, 255, .05);
}
.rd-body { font-size: 16px; line-height: 1.95; color: #dcdcf6; }
.rd-body h2 { font-size: 22px; margin: 32px 0 12px; padding-left: 12px; position: relative; }
.rd-body h2::before { content: ""; position: absolute; left: 0; top: 5px; bottom: 4px; width: 3px; background: linear-gradient(180deg, var(--magenta), var(--purple)); }
.rd-body h3 { font-size: 18px; margin: 24px 0 10px; color: var(--txt); }
.rd-body blockquote { border-left: 3px solid var(--magenta); background: rgba(255, 42, 212, .06); padding: 12px 18px; margin: 18px 0; }
.rd-body ul { list-style: none; margin: 14px 0; }
.rd-body ul li { padding-left: 22px; position: relative; margin: 8px 0; }
.rd-body ul li::before { content: "▸"; position: absolute; left: 2px; color: var(--magenta); }
.rd-body code { font-family: var(--font-tech); font-size: .88em; color: var(--yellow); background: rgba(255, 232, 26, .08); border: 1px solid rgba(255, 232, 26, .18); padding: 1px 7px; }
.rd-acts { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line-soft); }
.rcard .r-acts { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
@media (max-width: 760px) { .rdetail { padding-top: 30px; } .rd-carousel { height: 240px; } }

/* ---------------- 资源卡片（横排） ---------------- */
.rcard {
  display: flex; gap: 0; position: relative; overflow: hidden;
  background: linear-gradient(170deg, rgba(18, 18, 38, .92), rgba(9, 9, 20, .92));
  border: 1px solid var(--line-soft); margin-bottom: 20px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.rcard:hover { transform: translateY(-4px); border-color: rgba(255, 42, 212, .5); box-shadow: 0 0 26px rgba(255, 42, 212, .14), var(--shadow-card); }
.rcard .rmedia { width: 250px; flex: 0 0 250px; min-height: 175px; position: relative; overflow: hidden; border-right: 1px solid var(--line-soft); }
.rcard .rmedia img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.rcard .rmedia .art { position: absolute; inset: 0; }
.rcard.layout-right { flex-direction: row-reverse; }
.rcard.layout-right .rmedia { border-right: none; border-left: 1px solid var(--line-soft); }
.rcard.layout-top { flex-direction: column; }
.rcard.layout-top .rmedia { width: 100%; flex: none; height: 220px; min-height: 220px; border-right: none; border-bottom: 1px solid var(--line-soft); }
.rcard.layout-none .rbody { width: 100%; }
.rcard .rbody { padding: 20px 24px; flex: 1; align-self: center; }
.rcard .rmeta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.rcard .rtitle { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.rcard:hover .rtitle { color: var(--magenta); }
.rcard .rdesc { color: var(--dim); font-size: 14px; margin-bottom: 16px; }

/* ---------------- 工具卡片 ---------------- */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tool-card {
  display: flex; gap: 15px; padding: 20px; color: inherit; position: relative;
  background: linear-gradient(170deg, rgba(18, 18, 38, .9), rgba(9, 9, 20, .9));
  border: 1px solid var(--line-soft);
  transition: transform .22s, border-color .22s, box-shadow .22s;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.tool-card:hover { transform: translateY(-4px); border-color: rgba(255, 232, 26, .55); box-shadow: 0 0 24px rgba(255, 232, 26, .14); text-shadow: none; }
.tool-ico {
  width: 52px; height: 52px; flex: 0 0 52px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 232, 26, .4); background: rgba(255, 232, 26, .07); overflow: hidden;
}
.tool-ico img { width: 100%; height: 100%; object-fit: cover; }
.tool-ico span { font-family: var(--font-tech); font-size: 22px; font-weight: 800; color: var(--yellow); text-shadow: 0 0 14px rgba(255, 232, 26, .7); }
.tool-body { flex: 1; min-width: 0; }
.tool-body h3 { font-size: 16.5px; margin-bottom: 5px; }
.tool-card:hover .tool-body h3 { color: var(--yellow); }
.tool-body p { color: var(--dim); font-size: 13px; line-height: 1.7; margin-bottom: 12px; }
.tool-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tool-open { font-family: var(--font-tech); font-size: 12px; color: var(--yellow); }

.tool-search-bar { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
.tool-search-bar .inp { max-width: 330px; }
.cat-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.cat-chip {
  font-family: var(--font-tech); font-size: 12px; letter-spacing: .08em; padding: 7px 15px; cursor: pointer;
  border: 1px solid var(--line-soft); color: var(--dim); background: transparent; transition: all .2s;
}
.cat-chip:hover { border-color: var(--cyan); color: var(--cyan); }
.cat-chip.on { border-color: var(--yellow); color: var(--yellow); background: rgba(255, 232, 26, .07); box-shadow: 0 0 14px rgba(255, 232, 26, .15); }
.tools-empty { display: none; text-align: center; color: var(--faint); font-family: var(--font-tech); padding: 60px 0; letter-spacing: .1em; }

/* ---------------- 页面通用头部 ---------------- */
.page-head { padding: 58px 0 8px; text-align: center; }
.page-head .crumb { font-family: var(--font-tech); font-size: 12px; letter-spacing: .3em; color: var(--faint); margin-bottom: 16px; }
.page-head h1 { font-size: clamp(30px, 4.6vw, 48px); letter-spacing: .04em; }
.page-head h1 em { font-style: normal; font-family: var(--font-tech); font-size: .5em; color: var(--faint); letter-spacing: .3em; display: block; margin-top: 10px; }
.page-head p { color: var(--dim); margin-top: 14px; }

/* ---------------- 文章图集（多图） ---------------- */
.gallery { max-width: 980px; margin: 22px auto 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery .g-item { display: block; border: 1px solid var(--line); overflow: hidden; background: #0a0a16; }
.gallery .g-item img { width: 100%; height: 180px; object-fit: cover; transition: transform .4s; }
.gallery .g-item:hover { border-color: var(--cyan); box-shadow: 0 0 20px rgba(0, 229, 255, .2); }
.gallery .g-item:hover img { transform: scale(1.04); }

/* 图片灯箱 */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(3, 3, 10, .94); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.on { display: flex; }
.lightbox img { max-width: 94vw; max-height: 88vh; border: 1px solid var(--line); box-shadow: 0 0 40px rgba(0, 229, 255, .25); }
.lightbox .lb-close { position: absolute; top: 18px; right: 22px; width: 42px; height: 42px; background: transparent; border: 1px solid var(--line); color: var(--cyan); font-size: 18px; cursor: pointer; }
.lightbox .lb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 52px; background: rgba(8, 8, 22, .8); border: 1px solid var(--line); color: var(--cyan); font-size: 22px; cursor: pointer; }
.lightbox .lb-btn:hover { background: rgba(0, 229, 255, .85); color: #00161c; }
.lightbox .lb-prev { left: 20px; }
.lightbox .lb-next { right: 20px; }
.lightbox .lb-count { position: absolute; top: 24px; left: 26px; font-family: var(--font-tech); font-size: 13px; color: var(--cyan); letter-spacing: .14em; }
.lightbox .lb-tip { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-family: var(--font-tech); font-size: 12px; color: var(--faint); letter-spacing: .1em; }

/* ---------------- 文章页 ---------------- */
.post-hero { padding: 54px 0 6px; text-align: center; }
.post-title { font-size: clamp(26px, 4.4vw, 44px); line-height: 1.35; letter-spacing: .02em; max-width: 900px; margin: 0 auto; }
.post-meta {
  display: flex; justify-content: center; gap: 8px 20px; flex-wrap: wrap; align-items: center;
  margin-top: 20px; font-family: var(--font-tech); font-size: 12.5px; color: var(--dim);
}
.post-meta b { color: var(--cyan); font-weight: 600; }
.post-meta .sep { color: var(--faint); }
.post-banner { max-width: 980px; margin: 34px auto 0; border: 1px solid var(--line); }
.post-banner img { width: 100%; max-height: 430px; object-fit: cover; }

.post-content {
  max-width: 860px; margin: 40px auto; font-size: 17px; line-height: 2; color: #dcdcf6;
}
.post-content h2, .post-content h3, .post-content h4 { color: var(--txt); margin: 38px 0 14px; padding-left: 14px; position: relative; letter-spacing: .03em; }
.post-content h2::before, .post-content h3::before, .post-content h4::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 4px; width: 3px;
  background: linear-gradient(180deg, var(--cyan), var(--magenta));
}
.post-content h2 { font-size: 26px; }
.post-content h3 { font-size: 22px; }
.post-content h4 { font-size: 19px; }
.post-content p { margin: 14px 0; }
.post-content a { border-bottom: 1px dashed rgba(0, 229, 255, .5); }
.post-content blockquote {
  margin: 22px 0; padding: 14px 20px; color: #c8c8ea; font-style: normal;
  border-left: 3px solid var(--magenta); background: rgba(255, 42, 212, .06);
  box-shadow: inset 0 0 24px rgba(255, 42, 212, .05);
}
.post-content ul { margin: 16px 0; padding-left: 6px; list-style: none; }
.post-content ul li { margin: 9px 0; padding-left: 22px; position: relative; }
.post-content ul li::before { content: "▸"; position: absolute; left: 2px; color: var(--cyan); }
.post-content code {
  font-family: var(--font-tech); font-size: .88em; color: var(--yellow);
  background: rgba(255, 232, 26, .08); border: 1px solid rgba(255, 232, 26, .18);
  padding: 1px 7px;
}
.post-content pre.codeblock {
  background: #07070f; border: 1px solid rgba(0, 229, 255, .28); padding: 18px 20px;
  overflow: auto; margin: 22px 0; font-size: 14px; line-height: 1.7;
  box-shadow: inset 0 0 30px rgba(0, 229, 255, .04);
}
.post-content pre.codeblock code { background: none; border: none; color: #bdf; padding: 0; }
.post-content strong { color: #fff; }

/* ---------------- 评论区 ---------------- */
.cmt-section { max-width: 860px; margin: 64px auto 20px; }
.cmt-section .sec-head { margin-top: 0; }
.cmt-count { font-family: var(--font-tech); color: var(--yellow); }

.cmt-form {
  border: 1px solid var(--line); background: rgba(10, 10, 24, .8); padding: 20px 22px; margin-bottom: 30px;
  position: relative;
}
.cmt-form::before {
  content: "// LEAVE A MESSAGE"; position: absolute; top: -10px; left: 14px;
  font-family: var(--font-tech); font-size: 10.5px; letter-spacing: .22em; color: var(--cyan);
  background: var(--bg0); padding: 0 8px;
}
.cmt-form-row { margin-bottom: 12px; }
.cmt-form-actions { display: flex; align-items: center; gap: 14px; margin-bottom: 0; flex-wrap: wrap; }
.cmt-hint { font-family: var(--font-tech); font-size: 11px; color: var(--faint); letter-spacing: .04em; }

.cmt {
  position: relative; border: 1px solid var(--line-soft); background: rgba(12, 12, 26, .62);
  padding: 16px 18px 14px; margin-bottom: 16px;
}
.cmt::before {
  content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px;
  background: linear-gradient(180deg, var(--cyan), rgba(0, 229, 255, .05));
}
.cmt.cmt-admin::before { background: linear-gradient(180deg, var(--magenta), rgba(255, 42, 212, .05)); }
.cmt-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.cmt-nick { font-weight: 700; color: var(--yellow); font-size: 14.5px; }
.cmt-admin .cmt-nick { color: var(--magenta); }
.tag-admin {
  font-family: var(--font-tech); font-size: 10px; letter-spacing: .12em; color: var(--magenta);
  border: 1px solid rgba(255, 42, 212, .5); padding: 1px 7px; background: rgba(255, 42, 212, .08);
}
.cmt-time { font-family: var(--font-tech); font-size: 11.5px; color: var(--faint); }
.cmt-ip { font-family: var(--font-tech); font-size: 11.5px; color: var(--faint); }
.cmt-ip::before { content: "◈"; margin-right: 4px; color: rgba(160, 107, 255, .7); font-size: 10px; }
.cmt-reply-btn {
  margin-left: auto; background: transparent; border: 1px solid var(--line-soft); color: var(--dim);
  font-family: var(--font-tech); font-size: 11.5px; padding: 3px 11px; cursor: pointer; transition: all .2s;
}
.cmt-reply-btn:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 10px rgba(0, 229, 255, .2); }
.cmt-text { color: #d5d5f0; font-size: 14.5px; word-break: break-word; }
.cmt-replies { margin-top: 14px; padding-left: 16px; border-left: 1px dashed rgba(0, 229, 255, .22); }
.cmt-replies:empty { display: none; }
.cmt-reply { background: rgba(16, 16, 34, .6); margin-bottom: 12px; padding: 12px 15px 10px; }
.cmt-reply:last-child { margin-bottom: 0; }
.cmt-reply .cmt-text { font-size: 14px; }
.reply-holder { margin-top: 12px; }
.reply-holder .cmt-form { margin-bottom: 0; padding: 14px 16px; }
.cmt-empty { color: var(--faint); font-family: var(--font-tech); font-size: 13px; text-align: center; padding: 30px 0; letter-spacing: .08em; }

/* ---------------- 关于页 ---------------- */
.about-hero { text-align: center; padding: 64px 0 10px; }
.about-avatar {
  width: 108px; height: 108px; margin: 0 auto 24px; border-radius: 50%; position: relative;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0, 229, 255, .22), rgba(255, 42, 212, .22));
  border: 2px solid rgba(0, 229, 255, .5);
  box-shadow: 0 0 34px rgba(0, 229, 255, .3);
  font-size: 44px; font-weight: 900; font-family: var(--font-tech);
  color: #fff; text-shadow: 0 0 22px rgba(0, 229, 255, .9);
}
.about-avatar::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 1px dashed rgba(255, 42, 212, .5); animation: spinSlow 16s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.about-name { font-size: 34px; letter-spacing: .08em; }
.about-role { font-family: var(--font-tech); color: var(--dim); letter-spacing: .22em; font-size: 13px; margin-top: 10px; }
.about-email { margin-top: 22px; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 880px; margin: 46px auto 0; }
.about-stat {
  border: 1px solid var(--line-soft); background: rgba(12, 12, 28, .7); padding: 22px 10px; text-align: center;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.about-stat b { display: block; font-family: var(--font-tech); font-size: 30px; color: var(--cyan); text-shadow: var(--glow-cyan); }
.about-stat span { font-size: 12.5px; color: var(--dim); letter-spacing: .12em; }
.about-body { max-width: 820px; margin: 50px auto 0; font-size: 16px; line-height: 2; color: #dcdcf6; }
.about-body h2 { font-size: 24px; margin: 34px 0 12px; padding-left: 14px; position: relative; }
.about-body h2::before { content: ""; position: absolute; left: 0; top: 5px; bottom: 4px; width: 3px; background: linear-gradient(180deg, var(--purple), var(--cyan)); }
.about-body h3 { font-size: 19.5px; margin: 24px 0 10px; color: var(--txt); }
.about-body h4 { font-size: 17px; margin: 20px 0 8px; color: var(--txt); }
.about-body ul { list-style: none; margin: 14px 0; }
.about-body ul li { padding-left: 22px; position: relative; margin: 8px 0; }
.about-body ul li::before { content: "▸"; position: absolute; left: 2px; color: var(--purple); }
.about-body blockquote { border-left: 3px solid var(--magenta); background: rgba(255, 42, 212, .06); padding: 12px 18px; margin: 20px 0; }
.about-body a { border-bottom: 1px dashed rgba(0, 229, 255, .5); }

/* ---------------- 页脚 ---------------- */
.foot { margin-top: 90px; border-top: 1px solid var(--line); background: rgba(5, 5, 14, .72); position: relative; z-index: 4; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 34px; padding: 46px 0 30px; }
.foot-logo { font-size: 19px; font-weight: 800; letter-spacing: .05em; color: var(--cyan); margin-bottom: 12px; }
.foot-desc { color: var(--dim); font-size: 13.5px; max-width: 340px; }
.foot-col h4 { font-family: var(--font-tech); font-size: 12px; letter-spacing: .2em; color: var(--faint); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--dim); font-size: 14px; margin-bottom: 9px; }
.foot-col a:hover { color: var(--cyan); }
.foot-bar {
  border-top: 1px solid var(--line-soft); padding: 16px 0 20px;
  font-family: var(--font-tech); font-size: 11.5px; color: var(--faint); letter-spacing: .06em;
  text-align: center; line-height: 2;
}
.foot-bar b { color: var(--cyan); font-weight: 600; }
.foot-bar .sep { margin: 0 8px; color: rgba(255, 255, 255, .16); }
/* 插件输出条（footer 钩子） */
.plugin-note { text-align: center; font-family: var(--font-tech); font-size: 12px; color: var(--faint); letter-spacing: .06em; padding: 13px 16px 0; }
.plugin-note b { color: var(--cyan); font-weight: 600; }

.sys-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); margin-right: 5px; animation: caretBlink 1.6s steps(2) infinite; }

/* 页脚隐蔽登录入口（一个小点） */
.login-dot { color: rgba(255, 255, 255, .14); text-decoration: none; padding: 0 4px; font-size: 14px; }
.login-dot:hover { color: var(--magenta); text-shadow: 0 0 10px rgba(255, 42, 212, .7); }

/* ---------------- 浮动按钮 / 提示 ---------------- */
#to-top, #sound-toggle {
  position: fixed; right: 20px; z-index: 90; width: 42px; height: 42px; cursor: pointer;
  background: rgba(8, 8, 20, .85); border: 1px solid var(--line); color: var(--cyan);
  font-size: 15px; font-family: var(--font-tech); transition: all .2s;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
#to-top { bottom: 76px; opacity: 0; pointer-events: none; }
#to-top.show { opacity: 1; pointer-events: auto; }
#sound-toggle { bottom: 24px; font-size: 11px; letter-spacing: .05em; }
#to-top:hover, #sound-toggle:hover { border-color: var(--cyan); box-shadow: 0 0 16px rgba(0, 229, 255, .35); }
#sound-toggle.on { color: var(--yellow); border-color: rgba(255, 232, 26, .5); }

.toast {
  position: fixed; top: 84px; left: 50%; transform: translateX(-50%); z-index: 130;
  font-family: var(--font-tech); font-size: 13px; letter-spacing: .05em;
  padding: 11px 22px; background: rgba(8, 8, 22, .95); border: 1px solid var(--cyan);
  color: var(--cyan); box-shadow: var(--glow-cyan); animation: toastIn .35s ease;
}
.toast-err { border-color: var(--red); color: var(--red); box-shadow: 0 0 14px rgba(255, 59, 107, .5); }
.toast-ok { border-color: var(--green); color: var(--green); box-shadow: 0 0 14px rgba(61, 255, 139, .45); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, -14px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------------- 滚动入场动画 ---------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s cubic-bezier(.2, .8, .2, 1), transform .65s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  #bg-canvas, .scanlines, #cursor-glow { display: none; }
  .ticker-track, .glitch::before, .glitch::after { animation: none; }
}

/* ---------------- 登录页 ---------------- */
.login-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; position: relative; z-index: 4; }
.login-card {
  width: 100%; max-width: 430px; border: 1px solid var(--line); position: relative;
  background: linear-gradient(168deg, rgba(0, 229, 255, .07), rgba(255, 42, 212, .05) 60%, transparent), rgba(9, 9, 20, .92);
  padding: 40px 38px 34px; box-shadow: var(--shadow-card);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}
.login-card::before {
  content: ""; position: absolute; top: 0; left: -35%; width: 35%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--magenta), transparent);
  animation: hbScan 3.6s linear infinite;
}
.login-head { text-align: center; margin-bottom: 30px; }
.login-logo { font-family: var(--font-tech); font-size: 12px; letter-spacing: .34em; color: var(--cyan); margin-bottom: 14px; }
.login-title { font-size: 27px; letter-spacing: .08em; }
.login-sub { font-family: var(--font-tech); font-size: 11.5px; color: var(--faint); letter-spacing: .18em; margin-top: 10px; }
.login-form .cmt-form-row { margin-bottom: 16px; }
.login-form label { display: block; font-family: var(--font-tech); font-size: 11.5px; letter-spacing: .16em; color: var(--dim); margin-bottom: 7px; }
.login-btn { width: 100%; justify-content: center; padding: 13px; font-size: 14px; }
.login-err {
  border: 1px solid rgba(255, 59, 107, .6); background: rgba(255, 59, 107, .08); color: var(--red);
  font-family: var(--font-tech); font-size: 12.5px; padding: 10px 14px; margin-bottom: 18px; letter-spacing: .04em;
}
.login-foot { margin-top: 24px; text-align: center; font-family: var(--font-tech); font-size: 11px; color: var(--faint); letter-spacing: .1em; line-height: 2; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .hb-grid { grid-template-columns: 1fr; }
  .hb-visual { min-height: 200px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-inner { height: 60px; }
  .logo-sub { display: none; }
  .nav-links {
    position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: rgba(5, 5, 14, .97); border-bottom: 1px solid var(--line);
    padding: 10px 18px 18px; display: none; backdrop-filter: blur(18px);
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 13px 6px; border-bottom: 1px dashed rgba(255, 255, 255, .07); }
  .nav-link em { display: inline; margin-left: auto; }
  .nav-burger { display: block; }
  .grid-3, .grid-4, .grid-2, .tools-grid { grid-template-columns: 1fr; }
  .rcard, .rcard.layout-right { flex-direction: column; }
  .rcard .rmedia { width: 100%; flex: none; height: 190px; border-right: none; border-bottom: 1px solid var(--line-soft); }
  .rcard.layout-top .rmedia { height: 190px; min-height: 190px; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-title { letter-spacing: .02em; }
  .hb { padding: 22px 18px; }
  .sec-head { margin-top: 52px; }
  .post-content, .about-body { font-size: 16px; }
  .tool-search-bar .inp { max-width: none; }
  #cursor-glow { display: none; }
}
