/* ==========================================================================
   云上枢纽 · CLOUD HUB —— 导航站样式
   设计基准：星空极光深色主题（1440 × 1080 稿），容器 1200px
   主题令牌集中在 :root 与 html[data-theme="light"]，改配色只改这两块。
   ========================================================================== */

/* ---------- 1. 令牌 ---------- */

:root {
  color-scheme: dark;

  --bg: #030014;
  --bg-soft: #070320;
  --panel: rgba(255, 255, 255, .04);
  --panel-2: rgba(255, 255, 255, .055);
  --panel-3: rgba(255, 255, 255, .025);
  --panel-solid: #0a0722;
  --border: rgba(255, 255, 255, .09);
  --border-2: rgba(255, 255, 255, .18);
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, .72);
  --text-3: rgba(255, 255, 255, .52);
  --text-4: rgba(255, 255, 255, .38);

  --blue: #2ea6ff;
  --blue-2: #5ca9ff;
  --blue-soft: #99d9ff;
  --cyan: #12dec4;
  --cyan-soft: #5fe0cb;
  --purple: #9482ff;
  --purple-soft: #b6adff;
  --green: #3ed499;
  --red: #ff4d6e;

  --glow-1: rgba(46, 166, 255, .42);
  --glow-2: rgba(18, 222, 196, .26);
  --glow-3: rgba(148, 130, 255, .24);
  --star: rgba(255, 255, 255, .6);

  --radius-s: 10px;
  --radius-m: 14px;
  --radius-l: 18px;
  --radius-xl: 24px;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow-2: 0 18px 40px -18px rgba(0, 0, 0, .75);
  --shadow-pop: 0 24px 60px -12px rgba(0, 0, 0, .8);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --topbar-h: 72px;
  --maxw: 1200px;
  --topbar-bg: rgba(3, 0, 20, .72);
}

html[data-theme="light"] {
  color-scheme: light;

  --bg: #f2f4fa;
  --bg-soft: #e9edf8;
  --panel: #ffffff;
  --panel-2: #ffffff;
  --panel-3: rgba(15, 23, 42, .03);
  --panel-solid: #ffffff;
  --border: rgba(15, 23, 42, .1);
  --border-2: rgba(15, 23, 42, .2);
  --text: #0d1330;
  --text-2: rgba(13, 19, 48, .72);
  --text-3: rgba(13, 19, 48, .56);
  --text-4: rgba(13, 19, 48, .42);

  --blue: #1667d6;
  --blue-2: #2568d8;
  --blue-soft: #2c5fa8;
  --cyan: #0b9c8a;
  --cyan-soft: #0c8d7d;
  --purple: #6a55e0;
  --purple-soft: #6a55e0;
  --green: #0f9a68;
  --red: #d8344f;

  --glow-1: rgba(46, 140, 255, .18);
  --glow-2: rgba(18, 200, 190, .14);
  --glow-3: rgba(148, 130, 255, .16);
  --star: rgba(60, 90, 160, .28);

  --shadow-1: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-2: 0 16px 34px -20px rgba(15, 23, 42, .3);
  --shadow-pop: 0 24px 56px -14px rgba(15, 23, 42, .28);
  --topbar-bg: rgba(242, 244, 250, .78);
}

/* ---------- 2. 基础 ---------- */

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

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

body {
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro SC", "PingFang SC",
    "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC",
    system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 6px;
}

.num { font-variant-numeric: tabular-nums; }

/* 这些元素在 HTML 里是 <span>（为了能安全地嵌进 <a>/<button>/<span> 里），
   但语义上各自占一行。漏掉 display:block 会让「数值 + 说明」挤成一坨。 */
.stat__v, .stat__l, .svc-label, .svc-sub,
.feed__title, .feed__meta, .evt__text, .evt__time,
.intro__title, .big-stat__v, .big-stat__l { display: block; }

.svc-name > span:last-child,
.feed > span:last-child,
.stat > span:last-child { min-width: 0; }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 3. 星空极光背景 ---------- */

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, var(--bg-soft) 0%, var(--bg) 60%),
    var(--bg);
}

.bg__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
}

.bg__blob--a {
  width: 62vw; height: 46vw; min-width: 520px; min-height: 380px;
  top: -22vw; left: -14vw;
  background: radial-gradient(closest-side, var(--glow-1), transparent 100%);
  animation: drift-a 34s var(--ease) infinite alternate;
}

.bg__blob--b {
  width: 52vw; height: 40vw; min-width: 440px; min-height: 320px;
  top: -8vw; right: -16vw;
  background: radial-gradient(closest-side, var(--glow-2), transparent 100%);
  animation: drift-b 42s var(--ease) infinite alternate;
}

.bg__blob--c {
  width: 56vw; height: 42vw; min-width: 460px; min-height: 340px;
  bottom: -24vw; left: 6vw;
  background: radial-gradient(closest-side, var(--glow-3), transparent 100%);
  animation: drift-c 48s var(--ease) infinite alternate;
}

.bg__blob--d {
  width: 34vw; height: 28vw; min-width: 320px; min-height: 240px;
  bottom: -12vw; right: 2vw;
  background: radial-gradient(closest-side, var(--glow-2), transparent 100%);
  opacity: .8;
  animation: drift-a 38s var(--ease) infinite alternate-reverse;
}

/* 星点：三层不同密度/尺寸的径向点阵叠出「随机」感，比逐颗定位便宜得多 */
.bg__stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 18px 26px, var(--star), transparent 100%),
    radial-gradient(1px 1px at 132px 92px, var(--star), transparent 100%),
    radial-gradient(1.5px 1.5px at 74px 168px, var(--star), transparent 100%),
    radial-gradient(1px 1px at 208px 44px, var(--star), transparent 100%),
    radial-gradient(1px 1px at 246px 208px, var(--star), transparent 100%);
  background-size: 280px 280px, 340px 340px, 420px 420px, 300px 300px, 480px 480px;
  opacity: .85;
  animation: twinkle 6s ease-in-out infinite;
}

.bg__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(130% 100% at 50% 0%, transparent 40%, rgba(0, 0, 0, .5) 100%);
}

html[data-theme="light"] .bg__vignette {
  background: radial-gradient(130% 100% at 50% 0%, transparent 45%, rgba(120, 140, 190, .18) 100%);
}

@keyframes drift-a { to { transform: translate3d(6vw, 5vw, 0) scale(1.12); } }
@keyframes drift-b { to { transform: translate3d(-7vw, 6vw, 0) scale(1.08); } }
@keyframes drift-c { to { transform: translate3d(5vw, -6vw, 0) scale(1.14); } }
@keyframes twinkle { 0%, 100% { opacity: .85; } 50% { opacity: .45; } }

/* ---------- 4. 顶栏 ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--topbar-bg);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.topbar__inner {
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar__line {
  height: 1px;
  background: var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  border-radius: var(--radius-m);
}

.brand__mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(46, 166, 255, .9), rgba(18, 222, 196, .75) 55%, rgba(148, 130, 255, .85));
  box-shadow: 0 6px 18px -6px rgba(46, 166, 255, .8);
  color: #fff;
}

.brand__mark svg { width: 22px; height: 22px; display: block; }

.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text b { font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.brand__text i {
  font-style: normal; font-size: 9.5px; letter-spacing: .18em;
  color: var(--blue-soft); font-weight: 500; text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}

.nav a {
  position: relative;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--text-2);
  border-radius: var(--radius-s);
  transition: color .16s var(--ease), background-color .16s var(--ease);
}

.nav a:hover { color: var(--text); background: var(--panel); }

.nav a.is-active {
  color: var(--blue-soft);
  background: rgba(46, 166, 255, .1);
  font-weight: 600;
}

html[data-theme="light"] .nav a.is-active { background: rgba(22, 103, 214, .1); }

.actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.searchbtn {
  display: flex; align-items: center; gap: 8px;
  height: 36px;
  padding: 0 10px 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  background: var(--panel);
  color: var(--text-3);
  font-size: 12.5px;
  transition: border-color .16s var(--ease), color .16s var(--ease), background-color .16s var(--ease);
}

.searchbtn:hover { border-color: var(--border-2); color: var(--text-2); background: var(--panel-2); }
.searchbtn svg { width: 14px; height: 14px; }
.searchbtn span { min-width: 56px; text-align: left; }

.searchbtn kbd {
  font-family: inherit; font-size: 10px; line-height: 1;
  padding: 4px 5px;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--text-4);
  letter-spacing: .04em;
  background: var(--panel-3);
}

.iconbtn {
  position: relative;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  background: var(--panel);
  color: var(--text-2);
  transition: border-color .16s var(--ease), color .16s var(--ease), background-color .16s var(--ease);
}

.iconbtn:hover { border-color: var(--border-2); color: var(--text); background: var(--panel-2); }
.iconbtn svg { width: 17px; height: 17px; }

.iconbtn__dot {
  position: absolute; top: 7px; right: 7px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 2px var(--bg);
}

.userbtn {
  display: flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 8px 0 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  transition: border-color .16s var(--ease), background-color .16s var(--ease);
}

.userbtn:hover { border-color: var(--border-2); background: var(--panel-2); }
.userbtn__chev { width: 13px; height: 13px; color: var(--text-4); }

.avatar {
  position: relative;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--blue), var(--cyan));
  color: #fff;
  font-size: 12px; font-weight: 600;
  flex-shrink: 0;
}

.avatar--muted { background: var(--panel-2); color: var(--text-3); border: 1px solid var(--border); }

.avatar__on {
  position: absolute; right: -1px; bottom: -1px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 2px var(--bg);
}

.userbtn__name { font-size: 12.5px; font-weight: 500; max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 下拉气泡 */
.pop-wrap { position: relative; }

.pop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  min-width: 240px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  background: var(--panel-solid);
  box-shadow: var(--shadow-pop);
  animation: pop-in .16s var(--ease-out);
}

.pop[hidden] { display: none; }

@keyframes pop-in { from { opacity: 0; transform: translateY(-6px); } }

.pop__title {
  padding: 6px 10px 8px;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-4); font-weight: 600;
}

.pop__item {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border-radius: var(--radius-s);
  font-size: 13px;
  color: var(--text-2);
  text-align: left;
  transition: background-color .14s var(--ease), color .14s var(--ease);
}

.pop__item:hover { background: var(--panel-2); color: var(--text); }
.pop__item svg { width: 15px; height: 15px; flex-shrink: 0; }
.pop__sep { height: 1px; margin: 6px 4px; background: var(--border); }
.pop__meta { padding: 4px 10px 6px; font-size: 12px; color: var(--text-4); }

.pop__empty { padding: 14px 12px; font-size: 12.5px; color: var(--text-4); text-align: center; }

.evt { display: flex; gap: 10px; padding: 9px 10px; border-radius: var(--radius-s); }
.evt + .evt { border-top: 1px solid var(--border); border-radius: 0; }
.evt__dot { width: 6px; height: 6px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; background: var(--blue); }
.evt__dot--ok { background: var(--green); }
.evt__dot--warn { background: var(--red); }
.evt__dot--info { background: var(--blue); }
.evt__body { min-width: 0; }
.evt__text { font-size: 12.5px; color: var(--text-2); line-height: 1.45; word-break: break-word; }
.evt__time { font-size: 11px; color: var(--text-4); margin-top: 2px; }

/* ---------- 5. 主区通用 ---------- */

main.page {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  padding: 36px 0 8px;
}

.view { animation: view-in .34s var(--ease-out); }

@keyframes view-in { from { opacity: 0; transform: translateY(10px); } }

.sec + .sec { margin-top: 46px; }

.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 600;
}

.eyebrow--blue { color: var(--blue); }
.eyebrow--green { color: var(--cyan); }

.page-head { margin-bottom: 26px; }

.page-head__row { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; }

.page-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-top: 8px;
}

.page-desc { font-size: 13.5px; color: var(--text-3); margin-top: 8px; }

.sec-head { margin-bottom: 16px; }
.sec-title { font-size: 19px; font-weight: 600; letter-spacing: -.01em; margin-top: 6px; }
.sec-desc { font-size: 13px; color: var(--text-3); margin-top: 4px; }

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: var(--panel);
}

/* ---------- 6. 轮播 ---------- */

.hero {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #060320;
  aspect-ratio: 1400 / 573;
  min-height: 240px;
  box-shadow: var(--shadow-2);
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .55s var(--ease-out);
  pointer-events: none;
}

.hero__slide.is-on { opacity: 1; pointer-events: auto; }

.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 7s var(--ease-out);
}

.hero__slide.is-on .hero__img { transform: scale(1.09); }

.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 0, 20, .82) 0%, rgba(3, 0, 20, .45) 46%, rgba(3, 0, 20, .1) 72%),
    linear-gradient(0deg, rgba(3, 0, 20, .78) 0%, rgba(3, 0, 20, 0) 55%);
}

.hero__copy {
  position: absolute;
  left: clamp(24px, 4%, 44px);
  bottom: clamp(56px, 13%, 76px);
  max-width: min(560px, 62%);
}

.hero__eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-soft);
  margin-bottom: 12px;
}

.hero__title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.22;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .55);
}

.hero__desc {
  margin-top: 10px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .74);
  text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
}

.hero__btns { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 18px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  border: 1px solid transparent;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease),
    background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease);
}

.btn svg { width: 14px; height: 14px; }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: linear-gradient(120deg, var(--blue), #1f8bff 60%, var(--cyan));
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(46, 166, 255, .9);
}

.btn--primary:hover { box-shadow: 0 14px 30px -10px rgba(46, 166, 255, 1); transform: translateY(-1px); }

.btn--ghost {
  border-color: rgba(255, 255, 255, .26);
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .42); }

.btn--soft {
  border-color: var(--border);
  background: var(--panel);
  color: var(--text-2);
  font-weight: 500;
}

.btn--soft:hover { border-color: var(--border-2); color: var(--text); background: var(--panel-2); }

.btn--sm { height: 32px; padding: 0 14px; font-size: 12.5px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* 轮播右上缩略图 */
.hero__thumbs {
  position: absolute;
  right: clamp(16px, 3%, 40px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.thumb {
  position: relative;
  width: 132px; height: 74px;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  background: #0a0722;
  padding: 0;
  opacity: .62;
  transition: opacity .18s var(--ease), transform .18s var(--ease), border-color .18s var(--ease);
}

.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: .95; transform: translateX(-3px); }

.thumb.is-on {
  opacity: 1;
  border-color: rgba(46, 166, 255, .85);
  box-shadow: 0 0 0 2px rgba(46, 166, 255, .35);
}

.thumb__no {
  position: absolute; left: 8px; bottom: 6px;
  font-size: 10px; font-weight: 600; letter-spacing: .08em;
  color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .9);
}

/* 轮播底部控制条 */
.hero__bar {
  position: absolute;
  left: clamp(20px, 4%, 44px);
  right: clamp(16px, 3%, 40px);
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero__dots { display: flex; align-items: center; gap: 6px; }

.hero__dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: rgba(255, 255, 255, .35);
  transition: width .26s var(--ease), background-color .26s var(--ease);
  flex-shrink: 0;
}

.hero__dot.is-on { width: 22px; background: #fff; }

.hero__rule { width: 1px; height: 14px; background: rgba(255, 255, 255, .25); }

.hero__count { font-size: 11px; color: rgba(255, 255, 255, .8); letter-spacing: .06em; }

.hero__nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.hero__arrow {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  backdrop-filter: blur(8px);
  transition: background-color .16s var(--ease), transform .16s var(--ease);
}

.hero__arrow:hover { background: rgba(255, 255, 255, .26); }
.hero__arrow:active { transform: scale(.9); }
.hero__arrow svg { width: 15px; height: 15px; }

.hero__progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, .12);
}

.hero__progress i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

/* ---------- 7. 问候与统计 ---------- */

.greet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.greet__title { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }

.pills { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.pill {
  display: inline-flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  font-size: 12.5px;
  color: var(--text-2);
}

.pill svg { width: 14px; height: 14px; color: var(--blue); }
.pill .num { color: var(--text); font-weight: 600; }
.pill--live svg { color: var(--cyan); }
.pill--muted { color: var(--text-3); }

/* ---------- 8. 服务动态 ---------- */

.feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.feed {
  display: flex;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: var(--panel);
  transition: transform .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease);
}

.feed:hover { transform: translateY(-2px); border-color: var(--border-2); background: var(--panel-2); }

.feed__icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 12px;
  flex-shrink: 0;
}

.feed__icon svg { width: 18px; height: 18px; }

.feed__title { font-size: 14px; font-weight: 600; }
.feed__meta { font-size: 12px; color: var(--text-3); margin-top: 4px; line-height: 1.5; }

/* ---------- 9. 快捷启动坞 ---------- */

.dock-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--panel-2), var(--panel-3));
  padding: 26px 24px 22px;
}

.dock-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }

.dock {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.dock__item {
  width: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-m);
  padding: 6px 2px;
  transition: transform .18s var(--ease);
}

.dock__item:hover { transform: translateY(-4px); }

.dock__tile {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 16px;
  position: relative;
  font-size: 24px;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .24);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}

.dock__item:hover .dock__tile { transform: translateY(-2px) scale(1.04); }

.dock__label { font-size: 11.5px; color: var(--text-3); text-align: center; }
.dock__item:hover .dock__label { color: var(--text-2); }

.dock__sep { width: 1px; height: 52px; background: var(--border); margin: 6px 6px 0; }

.dock__tile--grid { background: var(--panel-2); color: var(--text-2); }
.dock__tile--grid svg { width: 22px; height: 22px; }

.dock__empty { font-size: 13px; color: var(--text-4); padding: 18px 0; }

/* ---------- 10. 应用中心 ---------- */

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }

.chip {
  height: 34px; padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  color: var(--text-3);
  font-size: 12.5px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all .16s var(--ease);
}

.chip:hover { border-color: var(--border-2); color: var(--text-2); }

.chip[aria-pressed="true"] {
  border-color: rgba(46, 166, 255, .55);
  background: rgba(46, 166, 255, .12);
  color: var(--blue-soft);
  font-weight: 600;
}

html[data-theme="light"] .chip[aria-pressed="true"] { color: var(--blue); }

.chip .num { opacity: .7; }

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.app {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: var(--panel);
  transition: transform .18s var(--ease), border-color .18s var(--ease),
    box-shadow .18s var(--ease), background-color .18s var(--ease);
}

.app:hover {
  transform: translateY(-3px);
  border-color: var(--border-2);
  background: var(--panel-2);
  box-shadow: var(--shadow-2);
}

.app__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 14px;
  font-size: 21px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
}

.app__body { min-width: 0; flex: 1; }
.app__name { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.app__desc { font-size: 13px; color: var(--text-3); margin-top: 3px; }

.tag-mini {
  font-size: 10px; font-weight: 600; letter-spacing: .04em;
  padding: 2px 7px; border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-4);
  flex-shrink: 0;
}

.app__go {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-4);
  flex-shrink: 0;
  transition: all .18s var(--ease);
}

.app:hover .app__go { color: var(--blue); border-color: rgba(46, 166, 255, .5); background: rgba(46, 166, 255, .1); transform: translate(2px, -2px); }
.app__go svg { width: 14px; height: 14px; }

/* ---------- 11. 服务状态 ---------- */

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.stat {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: var(--panel);
}

.stat__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 13px;
  flex-shrink: 0;
}

.stat__icon svg { width: 19px; height: 19px; }
.stat__v { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.stat__l { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }

.svc-card { margin-top: 22px; overflow: hidden; }

.svc-head {
  display: grid;
  grid-template-columns: 1fr 110px 120px;
  gap: 12px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-4);
  font-weight: 600;
}

.svc-head span:nth-child(2),
.svc-head span:nth-child(3) { text-align: right; }

.svc-row {
  display: grid;
  grid-template-columns: 1fr 110px 120px;
  gap: 12px;
  align-items: center;
  padding: 15px 22px;
  transition: background-color .16s var(--ease);
}

.svc-row + .svc-row { border-top: 1px solid var(--border); }
.svc-row:hover { background: var(--panel-3); }

.svc-name { display: flex; align-items: center; gap: 10px; }
.svc-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: var(--green); box-shadow: 0 0 0 3px rgba(62, 212, 153, .16); }
.svc-dot--down { background: var(--red); box-shadow: 0 0 0 3px rgba(255, 77, 110, .16); }
.svc-dot--unknown { background: var(--text-4); box-shadow: 0 0 0 3px rgba(255, 255, 255, .08); }

.svc-label { font-size: 14px; font-weight: 500; }
.svc-sub { font-size: 12px; color: var(--text-4); margin-top: 2px; }

.svc-ms { text-align: right; font-size: 12.5px; color: var(--text-2); }
.svc-ms--muted { color: var(--text-4); }

.svc-tag {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 5px;
  height: 26px; padding: 0 11px;
  border-radius: 999px;
  font-size: 11.5px; font-weight: 600;
  background: rgba(62, 212, 153, .13);
  border: 1px solid rgba(62, 212, 153, .3);
  color: var(--green);
}

.svc-tag--down { background: rgba(255, 77, 110, .13); border-color: rgba(255, 77, 110, .32); color: var(--red); }
.svc-tag--unknown { background: var(--panel-2); border-color: var(--border); color: var(--text-4); }

.events-card { margin-top: 22px; padding: 20px 22px; }

.events-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 8px; }
.events-head h3 { font-size: 14px; font-weight: 600; }

.events-list { margin-top: 6px; }

.event {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 14px;
  padding: 11px 0;
  align-items: start;
}

.event + .event { border-top: 1px solid var(--border); }
.event__t { font-size: 11.5px; color: var(--text-4); padding-top: 2px; }
.event__b { display: flex; gap: 10px; align-items: flex-start; }
.event__d { width: 6px; height: 6px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; background: var(--blue); }
.event__d--ok { background: var(--green); }
.event__d--warn { background: var(--red); }
.event__d--info { background: var(--blue); }
.event__x { font-size: 12.5px; color: var(--text-2); line-height: 1.5; }

/* ---------- 12. 关于 ---------- */

.intro-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  align-items: flex-start;
}

.intro__mark {
  width: 76px; height: 76px;
  display: grid; place-items: center;
  border-radius: 22px;
  flex-shrink: 0;
  background: radial-gradient(120% 120% at 30% 20%, rgba(46, 166, 255, .95), rgba(148, 130, 255, .85) 60%, rgba(18, 222, 196, .8));
  color: #fff;
  box-shadow: 0 16px 34px -16px rgba(46, 166, 255, .95);
}

.intro__mark svg { width: 40px; height: 40px; }
.intro__title { font-size: 16px; font-weight: 600; letter-spacing: .01em; }
.intro__body { font-size: 13.5px; color: var(--text-2); margin-top: 8px; line-height: 1.7; }

.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

.tag {
  font-size: 11px; font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--text-2);
}

.tag--blue { color: var(--blue-soft); border-color: rgba(46, 166, 255, .3); background: rgba(46, 166, 255, .1); }
.tag--cyan { color: var(--cyan-soft); border-color: rgba(18, 222, 196, .3); background: rgba(18, 222, 196, .1); }
.tag--purple { color: var(--purple-soft); border-color: rgba(148, 130, 255, .3); background: rgba(148, 130, 255, .1); }

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.big-stat {
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: var(--panel);
}

.big-stat__v { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.big-stat__l { font-size: 12.5px; color: var(--text-3); margin-top: 6px; }

/* ---------- 13. 页脚 ---------- */

.foot {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  margin-top: 50px;
  padding: 26px 24px 34px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.foot__copy { font-size: 12px; color: var(--text-3); }

.icp {
  font-size: 12px;
  color: var(--text-2);
  padding: 0 8px;
  border-radius: 6px;
  transition: color .16s var(--ease);
}

.icp:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.foot__note { font-size: 11.5px; color: var(--text-4); }

/* ---------- 14. 命令面板 ---------- */

.palette {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding-top: 12vh;
  background: rgba(2, 1, 12, .6);
  backdrop-filter: blur(4px);
  animation: fade-in .14s var(--ease);
}

@keyframes fade-in { from { opacity: 0; } }

.palette[hidden] { display: none; }

.palette__box {
  width: min(560px, calc(100% - 32px));
  max-height: 62dvh;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-l);
  background: var(--panel-solid);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
  animation: panel-in .2s var(--ease-out);
  align-self: flex-start;
}

@keyframes panel-in { from { opacity: 0; transform: translateY(-10px) scale(.98); } }

.palette__input {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 15px;
  outline: none;
}

.palette__input::placeholder { color: var(--text-4); }

.palette__list { overflow-y: auto; padding: 8px; }

.palette__row {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-s);
  color: var(--text-2);
  text-align: left;
  font-size: 13.5px;
}

.palette__row:hover,
.palette__row.is-sel { background: var(--panel-2); color: var(--text); }

.palette__row .ic {
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center; font-size: 15px; flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, .12);
}

.palette__row .sub { font-size: 11.5px; color: var(--text-4); }
.palette__row .k { margin-left: auto; font-size: 11px; color: var(--text-4); }

/* ---------- 15. 坞编辑器 ---------- */

.sheet {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2, 1, 12, .62);
  backdrop-filter: blur(4px);
  animation: fade-in .14s var(--ease);
}

.sheet[hidden] { display: none; }

.sheet__box {
  width: min(720px, 100%);
  max-height: min(84dvh, 760px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-l);
  background: var(--panel-solid);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
  animation: panel-in .22s var(--ease-out);
}

.sheet__head {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}

.sheet__head h2 { font-size: 16px; font-weight: 600; }
.sheet__head p { font-size: 12px; color: var(--text-4); margin-top: 3px; }
.sheet__x { margin-left: auto; }

.sheet__body { padding: 20px 22px; overflow-y: auto; }
.sheet__foot {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 22px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.sheet__foot .grow { flex: 1; }

.editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }

.editor-col h3 {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-4); font-weight: 600; margin-bottom: 12px;
}

.pick {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border-radius: var(--radius-s);
  border: 1px solid transparent;
  color: var(--text-2);
  font-size: 13px;
  text-align: left;
  transition: background-color .14s var(--ease), border-color .14s var(--ease);
}

.pick:hover { background: var(--panel-2); }
.pick.is-on { border-color: rgba(46, 166, 255, .35); background: rgba(46, 166, 255, .1); color: var(--text); }

.pick__box {
  width: 18px; height: 18px; border-radius: 5px;
  border: 1px solid var(--border-2);
  display: grid; place-items: center;
  flex-shrink: 0;
}

.pick.is-on .pick__box { background: var(--blue); border-color: var(--blue); color: #fff; }
.pick__box svg { width: 11px; height: 11px; }

.pick__ic {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center; font-size: 15px;
  background: var(--panel-3); flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, .1);
}

.order-list { display: flex; flex-direction: column; gap: 8px; }

.order {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  background: var(--panel-3);
  font-size: 13px;
  color: var(--text-2);
}

.order.is-drag { opacity: .4; }
.order.is-over { border-color: var(--blue); }
.order__handle { color: var(--text-4); cursor: grab; display: grid; place-items: center; }
.order__handle svg { width: 14px; height: 14px; }
.order__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order__btns { display: flex; gap: 2px; }

.mini {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 6px;
  color: var(--text-4);
  transition: background-color .14s var(--ease), color .14s var(--ease);
}

.mini:hover { background: var(--panel-2); color: var(--text); }
.mini svg { width: 13px; height: 13px; }
.mini--danger:hover { color: var(--red); }

.field { margin-top: 10px; }
.field label { display: block; font-size: 11.5px; color: var(--text-4); margin-bottom: 5px; }

.field input {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  background: var(--panel-3);
  color: var(--text);
  font-size: 13px;
  outline: none;
  transition: border-color .16s var(--ease);
}

.field input:focus { border-color: var(--blue); }
.field input::placeholder { color: var(--text-4); }

.hint { font-size: 11.5px; color: var(--text-4); margin-top: 10px; line-height: 1.6; }

/* ---------- 16. 状态块 ---------- */

.state {
  padding: 46px 24px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: var(--panel);
}

.state__icon {
  width: 46px; height: 46px; margin: 0 auto 14px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--panel-2);
  color: var(--text-4);
}

.state__icon svg { width: 22px; height: 22px; }
.state h3 { font-size: 15px; font-weight: 600; }
.state p { font-size: 13px; color: var(--text-3); margin-top: 6px; }
.state .btn { margin-top: 18px; }

.skeleton {
  height: 84px;
  border-radius: var(--radius-l);
  border: 1px solid var(--border);
  background: linear-gradient(100deg, var(--panel) 30%, var(--panel-2) 50%, var(--panel) 70%);
  background-size: 220% 100%;
  animation: shimmer 1.3s linear infinite;
}

@keyframes shimmer { to { background-position: -220% 0; } }

.sk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }

/* ---------- 17. 提示条 ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 120;
  transform: translate(-50%, 20px);
  padding: 12px 20px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: var(--panel-solid);
  box-shadow: var(--shadow-pop);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}

.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast--err { border-color: rgba(255, 77, 110, .5); color: var(--red); }

/* ---------- 18. 响应式 ---------- */

@media (max-width: 1080px) {
  .hero__thumbs { display: none; }
  .hero__copy { max-width: 82%; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .searchbtn span { display: none; }
  .searchbtn { width: 36px; justify-content: center; padding: 0; }
  .searchbtn kbd { display: none; }
  .topbar__inner { gap: 10px; }
  .editor-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 680px) {
  body { font-size: 14.5px; }
  .container { padding: 0 16px; }
  main.page { padding-top: 24px; }
  .hero { aspect-ratio: 3 / 2; border-radius: var(--radius-l); }
  .hero__copy { left: 18px; right: 18px; bottom: 62px; max-width: none; }
  .hero__bar { left: 16px; right: 16px; bottom: 14px; gap: 10px; }
  .hero__arrow { width: 30px; height: 30px; }
  .greet { margin-top: 24px; }
  .greet__title { font-size: 19px; }
  .sec + .sec { margin-top: 34px; }
  .apps-grid, .feed-grid { grid-template-columns: 1fr; }
  .svc-head { display: none; }
  .svc-row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "name tag" "ms tag";
    row-gap: 4px;
    padding: 14px 18px;
  }
  .svc-name { grid-area: name; }
  .svc-ms { grid-area: ms; text-align: left; }
  .svc-tag { grid-area: tag; align-self: center; }
  .intro-card { flex-direction: column; }
  .dock { gap: 12px; }
  .dock__sep { display: none; }
  .sheet { padding: 0; align-items: flex-end; }
  .sheet__box { max-height: 92dvh; border-radius: var(--radius-l) var(--radius-l) 0 0; }
  .foot { margin-top: 34px; }
}

@media (max-width: 420px) {
  .brand__text i { display: none; }
  .userbtn__name { display: none; }
  .userbtn { padding-right: 6px; }
}

/* ---------- 19. 动效降级 ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .bg__blob { animation: none !important; }
  .bg__stars { animation: none !important; }
}

@media print {
  .topbar, .bg, .hero__bar, .hero__thumbs { display: none !important; }
}
