/* ============================================================
   深鲸插件港 · 深海科考档案美学
   Bathymetric survey archive — chart cream × abyss teal × phosphor
   ============================================================ */
:root {
  --abyss-0: #03121a;
  --abyss-1: #06202a;
  --abyss-2: #0a2c38;
  --panel: rgba(8, 33, 44, .55);
  --panel-hi: rgba(12, 44, 57, .85);
  --line: rgba(148, 196, 208, .14);
  --line-strong: rgba(148, 196, 208, .30);
  --text: #d8e8e4;
  --dim: #8fabb1;
  --faint: #567078;
  --phos: #57f0c4;
  --phos-dim: rgba(87, 240, 196, .12);
  --cream: #ecdfbe;
  --cream-dim: rgba(236, 223, 190, .55);
  --amber: #ffb454;
  --coral: #ff6d7e;
  --violet: #b3a3ff;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --sans: "Noto Sans SC", "PingFang SC", sans-serif;
  --serif: "Fraunces", "Noto Serif SC", serif;
  --serif-zh: "Noto Serif SC", "Fraunces", serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--sans);
  background: var(--abyss-0);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--phos); color: #03211c; }
a { color: var(--phos); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
code {
  font-family: var(--mono); font-size: .85em;
  background: rgba(87, 240, 196, .07);
  border: 1px solid rgba(87, 240, 196, .16);
  padding: 1px 6px; border-radius: 4px; color: #9df0d9;
}
b { color: #edf7f3; font-weight: 700; }

/* ---------- 海图底噪层 ---------- */
.survey-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(1100px 600px at 78% -8%, rgba(87, 240, 196, .06), transparent 60%),
    radial-gradient(900px 700px at 12% 30%, rgba(236, 223, 190, .035), transparent 55%),
    radial-gradient(1600px 1000px at 55% 115%, rgba(10, 60, 76, .5), transparent 60%),
    linear-gradient(175deg, #07222d 0%, var(--abyss-0) 40%, #020d13 100%);
}
.survey-bg::before { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(148, 196, 208, .10) 1px, transparent 1.4px);
  background-size: 34px 34px;
  mask-image: radial-gradient(1200px 800px at 50% 20%, #000 0%, transparent 85%);
}
.contours { position: absolute; inset: 0; width: 100%; height: 100%; }
.contours .ct { fill: none; stroke: var(--cream-dim); stroke-width: 1; opacity: .10;
  stroke-dasharray: 260 14 90 18; }
.contours .ct-dots circle { fill: var(--cream); opacity: .28; }
.snow { position: absolute; inset: 0; }
.flake { position: absolute; border-radius: 50%; background: #bfe8dd; filter: blur(.6px);
  box-shadow: 0 0 10px 2px rgba(87, 240, 196, .25); opacity: 0; animation: drift linear infinite; }
@keyframes drift {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: .5; }
  85% { opacity: .25; }
  100% { transform: translate(-3vw, -105vh); opacity: 0; }
}
.grain { position: absolute; inset: 0; opacity: .45; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .04 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- 角标十字（档案卡片四角） ---------- */
.corner { position: absolute; width: 14px; height: 14px; pointer-events: none; z-index: 1; }
.corner::before, .corner::after { content: ""; position: absolute; background: var(--cream-dim); transition: background .25s; }
.corner::before { width: 14px; height: 1px; }
.corner::after { width: 1px; height: 14px; }
.c1 { top: 6px; left: 6px; } .c1::before { top: 0; left: 0; } .c1::after { top: 0; left: 0; }
.c2 { top: 6px; right: 6px; } .c2::before { top: 0; right: 0; } .c2::after { top: 0; right: 0; }
.c3 { bottom: 6px; left: 6px; } .c3::before { bottom: 0; left: 0; } .c3::after { bottom: 0; left: 0; }
.c4 { bottom: 6px; right: 6px; } .c4::before { bottom: 0; right: 0; } .c4::after { bottom: 0; right: 0; }
.archive-card:hover .corner::before, .archive-card:hover .corner::after,
.modal:hover .corner::before, .modal:hover .corner::after { background: var(--phos); }

/* ---------- 顶栏 ---------- */
.topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 26px;
  padding: 13px 30px; background: rgba(3, 17, 24, .82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); }
.topbar::after { content: ""; position: absolute; left: 30px; right: 30px; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(236, 223, 190, .25), transparent); }
.brand { display: flex; align-items: center; gap: 13px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-whale { width: 46px; height: 29px; fill: none; stroke: var(--phos); stroke-width: 2.2;
  filter: drop-shadow(0 0 7px rgba(87, 240, 196, .45)); animation: bob 5.5s ease-in-out infinite; }
.brand-whale .eye { fill: var(--phos); stroke: none; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-4px) rotate(-2.5deg); } }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text b { font-family: var(--serif-zh); font-weight: 900; font-size: 19px; letter-spacing: .06em; color: var(--cream); }
.brand-text em { font-family: var(--mono); font-style: normal; font-size: 9.5px; letter-spacing: .24em; color: var(--faint); }
.topnav { display: flex; gap: 4px; margin-left: auto; }
.topnav a { display: flex; align-items: baseline; gap: 7px; color: var(--dim); font-size: 14px;
  padding: 6px 13px; border: 1px solid transparent; transition: all .2s; }
.topnav a i { font-family: var(--mono); font-style: normal; font-size: 10px; color: var(--faint); transition: color .2s; }
.topnav a:hover { color: var(--cream); text-decoration: none; border-color: var(--line-strong); background: rgba(8, 33, 44, .5); }
.topnav a:hover i { color: var(--phos); }
.top-gh { font-family: var(--mono); font-size: 12px; color: var(--dim); border: 1px solid var(--line-strong);
  padding: 7px 13px; white-space: nowrap; }
.top-gh:hover { color: var(--phos); border-color: var(--phos); text-decoration: none; }
@media (max-width: 960px) { .topnav { display: none; } }

/* ---------- HERO ---------- */
.hero { padding: 74px 30px 46px; position: relative; }
.hero-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.25fr .75fr; gap: 44px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.coords { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; color: var(--phos);
  margin-bottom: 24px; animation: rise .8s .05s both; }
.blink { animation: blink 1.6s steps(2) infinite; color: var(--coral); }
@keyframes blink { 50% { opacity: .15; } }
.hero h1 { font-family: var(--serif-zh); font-weight: 900; font-size: clamp(58px, 8.6vw, 108px);
  line-height: 1.02; letter-spacing: .02em; color: var(--cream); animation: rise .8s .15s both; }
.hero h1 em { font-style: normal; display: block; font-family: var(--mono); font-weight: 500;
  font-size: clamp(15px, 1.8vw, 21px); letter-spacing: .34em; color: var(--phos); margin-top: 14px;
  text-shadow: 0 0 28px rgba(87, 240, 196, .5), 0 0 80px rgba(87, 240, 196, .22); }
.hero-sub { margin-top: 26px; max-width: 560px; font-size: 16px; color: var(--dim); animation: rise .8s .28s both; }
.hero-sub b { color: var(--cream); }
.hero-cta { display: flex; gap: 15px; margin-top: 36px; flex-wrap: wrap; animation: rise .8s .4s both; }
.btn { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 700;
  padding: 14px 28px; cursor: pointer; border: 1px solid transparent; transition: all .22s; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--phos); color: #03211c; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  box-shadow: 0 6px 28px rgba(87, 240, 196, .28); }
.btn-primary span { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .1em;
  border: 1px solid rgba(3, 33, 28, .4); padding: 1px 7px; }
.btn-primary:hover { box-shadow: 0 10px 38px rgba(87, 240, 196, .45); }
.btn-ghost { color: var(--cream); border-color: var(--line-strong); background: rgba(8, 33, 44, .4); }
.btn-ghost:hover { border-color: var(--cream); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* 声呐与深度标尺 */
.hero-gauge { display: flex; gap: 22px; align-items: stretch; animation: rise .8s .5s both; }
.sonar { position: relative; width: 168px; height: 168px; flex-shrink: 0; align-self: center; }
.sonar::before { content: ""; position: absolute; inset: 14px; border-radius: 50%;
  border: 1px dashed rgba(236, 223, 190, .22); }
.sonar::after { content: ""; position: absolute; inset: 44px; border-radius: 50%;
  border: 1px solid rgba(236, 223, 190, .14); }
.whale-line { position: absolute; inset: 22%; width: 56%; height: 40%; top: 30%;
  fill: none; stroke: var(--cream); stroke-width: 2; opacity: .9;
  filter: drop-shadow(0 0 8px rgba(87, 240, 196, .5)); }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--phos);
  opacity: 0; animation: ping 3.6s cubic-bezier(.2, .6, .4, 1) infinite; }
.r2 { animation-delay: 1.2s; } .r3 { animation-delay: 2.4s; }
@keyframes ping { 0% { transform: scale(.25); opacity: .8; } 100% { transform: scale(1.05); opacity: 0; } }
.gauge { flex: 1; border-left: 1px solid var(--line-strong); position: relative; padding-left: 4px; min-width: 210px; }
.g-row { position: relative; padding: 9px 0 9px 22px; display: flex; align-items: baseline; gap: 12px; }
.g-row::before { content: ""; position: absolute; left: -5px; top: 50%; width: 9px; height: 9px;
  transform: translateY(-50%) rotate(45deg); background: var(--abyss-1); border: 1px solid var(--cream-dim); }
.g-row:first-child::before, .g-row.g-hot::before { background: var(--phos); border-color: var(--phos);
  box-shadow: 0 0 10px rgba(87, 240, 196, .6); }
.g-depth { font-family: var(--mono); font-size: 10px; color: var(--faint); letter-spacing: .1em; width: 52px; }
.g-val { font-family: var(--serif); font-weight: 700; font-size: 24px; color: var(--cream); line-height: 1; }
.g-row.g-hot .g-val { color: var(--phos); }
.g-label { font-size: 12px; color: var(--dim); }
.g-note { font-family: var(--mono); font-size: 10px; color: var(--faint); padding: 6px 0 0 22px; letter-spacing: .12em; }

/* ---------- 声呐快报滚动条 ---------- */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(4, 20, 28, .6); overflow: hidden; padding: 9px 0; }
.ticker-track { display: inline-flex; white-space: nowrap; animation: scroll 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.tk { font-family: var(--mono); font-size: 12px; color: var(--dim); padding: 0 26px; }
.tk b { color: var(--cream); font-weight: 600; }
.tk::after { content: "◈"; color: var(--phos); margin-left: 52px; }

/* ---------- 区块骨架 ---------- */
.section { max-width: 1200px; margin: 0 auto; padding: 92px 30px 20px; }
.sec-head { display: flex; align-items: flex-end; gap: 22px; margin-bottom: 30px; }
.sec-idx { font-family: var(--serif); font-weight: 900; font-size: clamp(64px, 8vw, 96px); line-height: .8;
  color: transparent; -webkit-text-stroke: 1.5px var(--cream-dim); letter-spacing: .02em; flex-shrink: 0;
  text-shadow: 0 0 34px rgba(236, 223, 190, .08); }
.sec-title h2 { font-family: var(--serif-zh); font-weight: 900; font-size: clamp(26px, 3.4vw, 36px);
  color: var(--cream); letter-spacing: .03em; line-height: 1.2; }
.sec-en { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--faint);
  letter-spacing: .22em; margin-left: 14px; }
.depth-tag { font-family: var(--mono); font-size: 11px; color: var(--phos); letter-spacing: .16em; margin-bottom: 6px; }
.sec-rule { flex: 1; height: 14px; margin-bottom: 14px; min-width: 40px;
  background-image: linear-gradient(90deg, var(--line-strong) 1px, transparent 1px),
    linear-gradient(90deg, transparent calc(100% - 1px), var(--line-strong) 100%);
  background-size: 9px 1px, 100% 1px; background-repeat: repeat-x; background-position: 0 100%, 0 100%; opacity: .7; }
.sec-note { color: var(--dim); font-size: 14px; max-width: 820px; margin-bottom: 34px; }
.sec-note b { color: var(--cream); }
.sub-head { display: flex; align-items: center; gap: 14px; margin: 38px 0 18px;
  font-family: var(--serif-zh); font-weight: 700; font-size: 18px; color: var(--cream); }
.sub-head span { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--phos);
  letter-spacing: .18em; border: 1px solid rgba(87, 240, 196, .3); padding: 4px 12px; }
.sub-head::after { content: ""; flex: 1; height: 1px; background-image: linear-gradient(90deg, var(--line-strong) 33%, transparent 0);
  background-size: 9px 1px; }

/* ---------- 印章式徽章 ---------- */
.stamp { display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono);
  font-size: 10.5px; font-weight: 500; letter-spacing: .04em; padding: 2px 8px;
  border: 1px solid; border-radius: 2px; white-space: nowrap;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px); }
.st-ok { color: #6ff0d2; border-color: rgba(87, 240, 196, .45); background: rgba(87, 240, 196, .08); }
.st-bad { color: #ff9aa6; border-color: rgba(255, 109, 126, .45); background: rgba(255, 109, 126, .08); }
.st-wait { color: #ffdc9e; border-color: rgba(255, 180, 84, .45); background: rgba(255, 180, 84, .08); }
.st-none { color: var(--faint); border-color: rgba(140, 170, 180, .35); background: rgba(140, 170, 180, .06); }
.st-review { color: #cfc2ff; border-color: rgba(179, 163, 255, .5); background: rgba(179, 163, 255, .1); }
.st-pick { color: #ffdc9e; border-color: rgba(255, 180, 84, .5); background: rgba(255, 180, 84, .1); }
.st-npm { color: #9df0d9; border-color: rgba(87, 240, 196, .25); background: rgba(87, 240, 196, .05); }
.st-eco { color: #a9c6ce; border-color: rgba(140, 170, 180, .4); background: rgba(140, 170, 180, .07); }
.cat-tag { display: inline-block; font-size: 11px; color: var(--dim); border-bottom: 1px dashed var(--line-strong); }

/* ---------- 档案卡（认识 DSH） ---------- */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.archive-card { position: relative; background: var(--panel); border: 1px solid var(--line);
  padding: 30px 26px 24px; backdrop-filter: blur(8px); transition: border-color .25s, transform .25s; }
.archive-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.ac-main { grid-column: span 1; }
.ac-tab { position: absolute; top: -1px; right: 22px; font-family: var(--mono); font-size: 10px;
  letter-spacing: .18em; color: var(--abyss-0); background: var(--cream-dim); padding: 3px 10px 2px; }
.archive-card h3 { font-family: var(--serif-zh); font-size: 18.5px; font-weight: 700; color: var(--cream);
  margin-bottom: 13px; display: flex; align-items: center; gap: 10px; }
.ac-ico { font-size: 22px; font-weight: 400; }
.archive-card p { font-size: 13.5px; color: var(--dim); margin-bottom: 10px; }
.archive-card .hint { font-size: 12.5px; color: var(--faint); }
.warn { border-left: 2px solid var(--amber); background: rgba(255, 180, 84, .06);
  padding: 8px 12px; font-size: 12.5px !important; color: #ffd9a3 !important; }
.term { display: flex; align-items: center; gap: 10px; background: #02141c; border: 1px solid var(--line);
  border-left: 2px solid var(--phos); padding: 10px 14px; margin: 10px 0; overflow-x: auto; }
.term-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--phos); flex-shrink: 0;
  box-shadow: 0 0 8px rgba(87, 240, 196, .8); animation: blink 2.2s steps(2) infinite; }
.term code { background: none; border: none; padding: 0; font-size: 12.5px; color: #9df0d9; white-space: pre; }
.log-list { list-style: none; margin: 8px 0; }
.log-list li { position: relative; padding-left: 20px; font-size: 13.5px; color: var(--dim); margin-bottom: 7px; }
.log-list li i { font-family: var(--mono); font-style: normal; font-size: 10.5px; color: var(--phos);
  letter-spacing: .12em; border: 1px solid rgba(87, 240, 196, .3); padding: 1px 7px; margin-right: 8px; }
.log-list li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 8px; height: 1px; background: var(--cream-dim); }
.log-list.small li { font-size: 12.5px; margin-bottom: 5px; }

/* ---------- 潜航日志条 ---------- */
.log-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.log-card { position: relative; background: linear-gradient(165deg, rgba(179, 163, 255, .09), var(--panel) 55%);
  border: 1px solid rgba(179, 163, 255, .28); padding: 18px 18px 15px; cursor: pointer;
  transition: transform .2s, box-shadow .2s; }
.log-card:hover { transform: translateY(-3px); box-shadow: 0 12px 34px rgba(179, 163, 255, .12); }
.log-card .lg-meta { display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 10.5px; color: var(--violet); letter-spacing: .1em; margin-bottom: 9px; }
.log-card .lg-meta .lg-stars { color: var(--amber); }
.log-card h4 { font-family: var(--mono); font-size: 15px; font-weight: 600; color: #e9e3ff; word-break: break-all; }
.log-card p { font-size: 12.5px; color: var(--dim); margin-top: 7px; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 44px; }
.log-card .lg-foot { margin-top: 10px; font-family: var(--mono); font-size: 10.5px; color: var(--violet);
  border-top: 1px dashed rgba(179, 163, 255, .3); padding-top: 8px; }

/* ---------- 标本卡（插件卡） ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
.spec { position: relative; display: flex; flex-direction: column; gap: 9px;
  background: var(--panel); border: 1px solid var(--line); padding: 20px 20px 15px;
  cursor: pointer; transition: transform .2s, border-color .2s, background .2s; }
.spec:hover { transform: translateY(-3px); border-color: rgba(87, 240, 196, .4);
  background: var(--panel-hi); box-shadow: 0 16px 44px rgba(0, 0, 0, .4), 0 0 0 1px rgba(87, 240, 196, .08); }
.spec::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(340px 130px at 88% -14%, rgba(87, 240, 196, .10), transparent 70%); }
.spec:hover::after { opacity: 1; }
.spec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.spec-idx { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--faint); }
.spec-stars { font-family: var(--mono); font-size: 12.5px; color: var(--amber); white-space: nowrap; }
.spec-name { font-family: var(--mono); font-size: 17px; font-weight: 600; color: #eef7f3;
  word-break: break-all; line-height: 1.35; }
.spec-badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.spec-desc { font-size: 12.5px; color: var(--dim); display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; min-height: 42px;
  border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); padding: 8px 0; }
.spec-install { display: flex; align-items: stretch; gap: 0; margin-top: auto; }
.spec-install .pr { display: flex; align-items: center; padding: 0 9px; font-family: var(--mono);
  font-size: 12px; color: var(--phos); background: rgba(87, 240, 196, .07);
  border: 1px solid rgba(87, 240, 196, .16); border-right: none; }
.install-cmd { flex: 1; min-width: 0; font-family: var(--mono); font-size: 11px; color: #9df0d9;
  background: #02141c; border: 1px solid var(--line); padding: 8px 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.copy-btn { flex-shrink: 0; border: 1px solid var(--line-strong); background: rgba(8, 33, 44, .6);
  color: var(--dim); padding: 0 13px; font-size: 11.5px; cursor: pointer; font-family: var(--mono);
  letter-spacing: .08em; transition: all .18s; }
.copy-btn:hover { color: var(--phos); border-color: var(--phos); background: rgba(87, 240, 196, .06); }
.spec-meta { display: flex; gap: 14px; flex-wrap: wrap; font-family: var(--mono);
  font-size: 10.5px; color: var(--faint); }
.empty-tip { grid-column: 1/-1; text-align: center; color: var(--faint); padding: 70px 0; font-size: 14px; }

/* ---------- 今日动态 ---------- */
.section-tight { padding-top: 60px; }
.sec-idx-sm { font-size: 56px; }
.daily-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
@media (max-width: 960px) { .daily-grid { grid-template-columns: 1fr; } }
.daily-card { position: relative; background: var(--panel); border: 1px solid var(--line);
  padding: 20px 20px 16px; backdrop-filter: blur(8px); }
.daily-card h3 { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--phos);
  margin-bottom: 12px; display: flex; justify-content: space-between; }
.daily-card h3 .d-count { color: var(--cream); font-size: 18px; letter-spacing: 0; }
.daily-item { display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 5px 0; border-bottom: 1px dashed var(--line); cursor: pointer; }
.daily-item:last-child { border-bottom: none; }
.daily-item:hover .d-name { color: var(--phos); }
.d-name { font-family: var(--mono); font-size: 13px; color: #eef7f3; word-break: break-all; }
.d-sub { font-family: var(--mono); font-size: 11px; color: var(--faint); flex-shrink: 0; }
.d-up { color: var(--phos); }
.d-down { color: var(--coral); }
.d-delta { color: var(--amber); }
.daily-baseline { grid-column: 1/-1; color: var(--dim); font-size: 13.5px;
  border: 1px dashed var(--line-strong); padding: 18px 20px; }
.stamp.st-new { color: #9df0d9; border-color: rgba(87, 240, 196, .6); background: rgba(87, 240, 196, .16);
  font-weight: 600; }
.footer-status { max-width: 1200px; margin: 14px auto 0; text-align: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--faint); }
.footer-status .ok { color: var(--phos); }
.footer-status .bad { color: var(--coral); }

/* ---------- 声呐控制台（目录区） ---------- */
.console { position: relative; background: var(--panel); border: 1px solid var(--line);
  padding: 0 22px 26px; backdrop-filter: blur(8px); }
.console-top { display: flex; align-items: center; gap: 10px; padding: 15px 0 13px;
  border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.console-led { width: 8px; height: 8px; border-radius: 50%; background: var(--phos);
  box-shadow: 0 0 9px rgba(87, 240, 196, .9); animation: blink 2s steps(2) infinite; }
.console-label { font-family: var(--mono); font-size: 11px; letter-spacing: .26em; color: var(--cream); }
.console-count { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--phos);
  border: 1px solid rgba(87, 240, 196, .3); padding: 3px 12px; }
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 13px; }
.search-wrap { flex: 1; min-width: 260px; position: relative; }
.search-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--faint); }
#searchInput { width: 100%; background: #02141c; border: 1px solid var(--line-strong); color: var(--text);
  padding: 12px 15px 12px 41px; font-size: 14px; font-family: var(--sans); outline: none; transition: all .2s; }
#searchInput:focus { border-color: var(--phos); box-shadow: 0 0 0 3px rgba(87, 240, 196, .1), inset 0 0 24px rgba(87, 240, 196, .03); }
#searchInput::placeholder { color: var(--faint); }
.toolbar-right { display: flex; gap: 9px; }
select { background: #02141c; border: 1px solid var(--line-strong); color: var(--text);
  padding: 0 12px; font-size: 13px; font-family: var(--sans); cursor: pointer; outline: none; }
select:focus { border-color: var(--phos); }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line-strong);
  background: rgba(4, 20, 28, .5); color: var(--dim); padding: 6px 15px; font-size: 12.5px;
  cursor: pointer; font-family: var(--sans); transition: all .18s; }
.chip:hover { color: var(--cream); border-color: var(--cream-dim); }
.chip.active { background: var(--phos-dim); border-color: var(--phos); color: var(--phos); }
.chip-check { user-select: none; }
.chip-check input { accent-color: var(--phos); }
.led { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.led-ok { background: var(--phos); box-shadow: 0 0 7px rgba(87, 240, 196, .8); }
.led-wait { background: var(--amber); }
.led-none { background: var(--faint); }
.led-bad { background: var(--coral); }
.catalog-grid { margin-top: 4px; }
.load-more-wrap { text-align: center; margin-top: 32px; }

/* ---------- 作业手册（安装指南） ---------- */
.manual-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.manual { position: relative; background: var(--panel); border: 1px solid var(--line); padding: 30px 26px 22px; }
.manual-no { position: absolute; top: -13px; left: 20px; font-family: var(--serif-zh); font-weight: 900;
  font-size: 13.5px; letter-spacing: .2em; background: var(--cream); color: #06222c; padding: 4px 14px; }
.manual h3 { font-family: var(--serif-zh); font-size: 17.5px; color: var(--cream); margin: 8px 0 11px; }
.manual p { font-size: 13px; color: var(--dim); margin-bottom: 8px; }

/* ---------- 页脚 ---------- */
.footer { margin-top: 100px; border-top: 1px solid var(--line); background: rgba(2, 12, 18, .85); padding: 50px 30px 30px; }
.footer-cols { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 900px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
.footer h4 { font-family: var(--serif-zh); font-size: 14.5px; color: var(--cream); margin-bottom: 13px; }
.footer p { font-size: 12.5px; color: var(--dim); }
.footer a { color: var(--dim); font-size: 12.5px; }
.footer a:hover { color: var(--phos); }
.footer-note { max-width: 1200px; margin: 44px auto 0; text-align: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--faint); }

/* ---------- 档案弹窗 ---------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(1, 8, 12, .76);
  backdrop-filter: blur(7px); display: flex; align-items: flex-start; justify-content: center;
  padding: 6vh 18px; overflow-y: auto; }
.modal-backdrop[hidden] { display: none; }
.modal { position: relative; background: linear-gradient(168deg, #0a2e3c, #04161f 62%);
  border: 1px solid var(--line-strong); max-width: 740px; width: 100%;
  padding: 38px 36px 30px; animation: dossier .3s cubic-bezier(.2, .9, .3, 1.15); }
@keyframes dossier { from { opacity: 0; transform: translateY(26px) scale(.96); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 13px; right: 13px; z-index: 2; background: rgba(8, 33, 44, .7);
  border: 1px solid var(--line); color: var(--dim); width: 34px; height: 34px; cursor: pointer; font-size: 14px; }
.modal-close:hover { color: var(--coral); border-color: var(--coral); }
.modal h3 { font-family: var(--mono); font-size: 22px; font-weight: 600; color: var(--cream); word-break: break-all; padding-right: 44px; }
.m-badges { display: flex; flex-wrap: wrap; gap: 7px; margin: 13px 0 15px; align-items: center; }
.m-desc { font-size: 14px; color: var(--dim); margin-bottom: 16px; }
.m-stats { display: flex; gap: 22px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px;
  color: var(--dim); border-top: 1px dashed var(--line-strong); border-bottom: 1px dashed var(--line-strong);
  padding: 13px 2px; margin-bottom: 18px; }
.m-install-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; color: var(--phos); margin: 15px 0 7px; }
.m-install { display: flex; gap: 0; }
.m-install .install-cmd { font-size: 12px; padding: 11px 13px; white-space: normal; word-break: break-all; }
.m-links { display: flex; gap: 11px; margin-top: 18px; flex-wrap: wrap; }
.m-links a { font-family: var(--mono); font-size: 12px; border: 1px solid var(--line-strong);
  padding: 8px 15px; color: var(--dim); }
.m-links a:hover { color: var(--phos); border-color: var(--phos); text-decoration: none; }
.review-block { margin-top: 20px; background: rgba(179, 163, 255, .05); border: 1px solid rgba(179, 163, 255, .25); padding: 19px 21px; }
.review-block h4 { font-family: var(--mono); font-size: 12px; color: var(--violet); letter-spacing: .2em; margin-bottom: 11px; }
.review-block p { font-size: 13.5px; color: var(--dim); margin-bottom: 10px; }

/* ---------- toast ---------- */
.toast { position: fixed; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 200;
  background: var(--phos); color: #03211c; font-weight: 700; font-size: 13.5px; padding: 12px 26px;
  box-shadow: 0 10px 34px rgba(87, 240, 196, .4);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  animation: toast-in .25s ease; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translate(-50%, 0); } }

@media (max-width: 640px) {
  .section { padding: 66px 16px 16px; }
  .hero { padding: 48px 16px 34px; }
  .sec-head { flex-wrap: wrap; gap: 12px; }
  .sec-rule { display: none; }
  .modal { padding: 28px 18px; }
  .console { padding: 0 14px 20px; }
  .hero-gauge { flex-direction: column; }
  .sonar { align-self: flex-start; }
}

/* ---------- 场景导购 ---------- */
.scen-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.scen-card { position: relative; background: var(--panel); border: 1px solid var(--line);
  padding: 16px 16px 13px; cursor: pointer; transition: all .2s; text-align: left; font-family: var(--sans); }
.scen-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.scen-card.active { background: var(--phos-dim); border-color: var(--phos); }
.scen-ico { font-size: 22px; margin-bottom: 6px; }
.scen-title { font-family: var(--serif-zh); font-weight: 700; font-size: 15.5px; color: var(--cream); }
.scen-desc { font-size: 12px; color: var(--text-faint); margin-top: 3px; }
.scen-hint { margin-top: 12px; font-size: 12px; color: var(--text-faint); font-family: var(--mono); letter-spacing: .06em; }
.scen-clear { display: none; margin-left: 8px; color: var(--coral); border: 1px solid rgba(255,109,126,.4);
  padding: 2px 10px; cursor: pointer; font-family: var(--mono); font-size: 11px; }
.scen-clear.show { display: inline-block; }

/* ---------- 新手八件套 ---------- */
.starter-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; margin-bottom: 8px; }
.starter-item { display: flex; gap: 14px; align-items: flex-start; background: var(--panel);
  border: 1px solid var(--line); border-left: 2px solid var(--phos); padding: 14px 16px; cursor: pointer; transition: border-color .2s; }
.starter-item:hover { border-color: var(--line-strong); }
.starter-no { font-family: var(--serif); font-weight: 900; font-size: 20px; color: var(--cream-dim); flex-shrink: 0; line-height: 1.2; }
.starter-body { min-width: 0; }
.starter-name { font-family: var(--mono); font-size: 14px; font-weight: 600; color: #eef7f3; }
.starter-reason { font-size: 12.5px; color: var(--dim); margin-top: 3px; line-height: 1.6; }
.starter-cmd { font-family: var(--mono); font-size: 10.5px; color: #9df0d9; margin-top: 7px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 弹窗原文折叠 ---------- */
.m-en-toggle { margin-top: 10px; }
.m-en-toggle summary { cursor: pointer; font-family: var(--mono); font-size: 11px; color: var(--text-faint);
  letter-spacing: .14em; user-select: none; }
.m-en-toggle summary:hover { color: var(--phos); }
.m-en-body { font-size: 12.5px; color: var(--text-faint); margin-top: 8px; border-left: 2px dashed var(--line-strong); padding-left: 12px; }

/* ===== 常见问题（SEO 长尾内容） ===== */
.faq-list { max-width: 860px; }
.faq-item { border-bottom: 1px dashed var(--line-strong); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; align-items: baseline; gap: 12px;
  padding: 18px 4px; font-family: var(--mono); font-size: 14.5px; font-weight: 600; color: var(--cream);
  transition: color .2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "◈"; color: var(--phos); font-size: 12px; }
.faq-item summary:hover { color: var(--phos); }
.faq-item[open] summary { color: var(--phos); }
.faq-body { padding: 0 4px 20px 26px; color: var(--dim); font-size: 14.5px; line-height: 1.85; }
.faq-body code { color: #9df0d9; }
.faq-body a { border-bottom: 1px dotted rgba(87, 240, 196, .4); }
