/* ============================================================
   烛心 · 动画层
   所有入场/交互动效集中在这里，方便单独调或整层禁用
   关闭全部动画：给 <html> 加 class="no-anim"
   ============================================================ */

/* ---------- 缓动变量 ---------- */
:root {
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --dur-fast: .22s;
  --dur: .45s;
  --dur-slow: .8s;
}

/* ---------- 减少动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
html.no-anim *, html.no-anim *::before, html.no-anim *::after {
  animation: none !important;
  transition: none !important;
  opacity: 1 !important;
  transform: none !important;
}

/* ============================================================
   1. 背景：缓慢流动的光晕 + 细网格
   ============================================================ */
.bg-layer {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.bg-layer .orb {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: .5;
  will-change: transform;
}
.bg-layer .orb.o1 {
  width: 46vw; height: 46vw; top: -14vw; left: -8vw;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%);
  animation: drift1 26s var(--ease-soft) infinite alternate;
}
.bg-layer .orb.o2 {
  width: 38vw; height: 38vw; bottom: -12vw; right: -6vw;
  background: radial-gradient(circle, color-mix(in srgb, #4a8cff 26%, transparent), transparent 70%);
  animation: drift2 32s var(--ease-soft) infinite alternate;
}
@keyframes drift1 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(9vw, 7vh) scale(1.16); }
  100% { transform: translate(4vw, 15vh) scale(.94); }
}
@keyframes drift2 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-11vw, -6vh) scale(1.12); }
  100% { transform: translate(-5vw, -13vh) scale(1.04); }
}
/* 细网格，随光晕缓慢平移 */
.bg-layer .grid {
  position: absolute; inset: -50%;
  background-image:
    linear-gradient(color-mix(in srgb, var(--text) 3.5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--text) 3.5%, transparent) 1px, transparent 1px);
  background-size: 46px 46px;
  animation: gridMove 60s linear infinite;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 78%);
}
@keyframes gridMove {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(46px, 46px, 0); }
}
/* 顶层内容需要盖住背景层 */
.topbar, main, .footer { position: relative; z-index: 1; }

/* ============================================================
   2. 顶部栏 + 标签：下划线滑动、图标微动
   ============================================================ */
.topbar {
  animation: barDrop .6s var(--ease-out) both;
}
@keyframes barDrop {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.brand-avatar {
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur);
}
.brand:hover .brand-avatar {
  transform: rotate(-8deg) scale(1.1);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
}

/* 标签：依次浮现 */
.tab {
  animation: tabIn .5s var(--ease-out) both;
  position: relative;
  transition: color var(--dur-fast) var(--ease-soft);
}
.tab:nth-child(1) { animation-delay: .06s; }
.tab:nth-child(2) { animation-delay: .11s; }
.tab:nth-child(3) { animation-delay: .16s; }
.tab:nth-child(4) { animation-delay: .21s; }
.tab:nth-child(5) { animation-delay: .26s; }
.tab:nth-child(6) { animation-delay: .31s; }
.tab:nth-child(7) { animation-delay: .36s; }
.tab:nth-child(8) { animation-delay: .41s; }
@keyframes tabIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: none; }
}
/* 滑动下划线（独立元素，在标签之间平滑移动） */
/* 下划线：定位相对 .tabs-wrap（它本身不滚动），
   不放在滚动容器 .tabs 里，横向滚动时就不会跟着飘 */
.tab-underline {
  position: absolute; height: 2px; z-index: 60;
  left: 0; top: 0;               /* 用 translate 定位，不用 bottom */
  background: var(--accent); border-radius: 2px;
  box-shadow: 0 0 10px var(--accent);
  transition: transform var(--dur) var(--ease-out),
              width var(--dur) var(--ease-out),
              opacity .2s var(--ease-soft);
  will-change: transform, width;
  pointer-events: none;
}
.tab-underline.hide { opacity: 0; }
.tab .ti { display: inline-block; transition: transform var(--dur) var(--ease-spring); }
.tab:hover .ti { transform: translateY(-2px) scale(1.14); }
.tab.active .ti { animation: iconPop .5s var(--ease-spring); }
@keyframes iconPop {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.3) rotate(-6deg); }
  100% { transform: scale(1); }
}

/* ============================================================
   3. 页面切换：整块上浮 + 子元素级联浮现
   ============================================================ */
.page-head h1, .page-head p { animation: headIn .62s var(--ease-out) both; }
.page-head h1 { animation-delay: .04s; }
.page-head p  { animation-delay: .12s; }
@keyframes headIn {
  from { opacity: 0; transform: translateY(20px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

/* 区块级联：每个 .block 依次进入 */
#blocks > .block {
  animation: blockIn .68s var(--ease-out) both;
}
#blocks > .block:nth-child(1) { animation-delay: .10s; }
#blocks > .block:nth-child(2) { animation-delay: .20s; }
#blocks > .block:nth-child(3) { animation-delay: .30s; }
#blocks > .block:nth-child(4) { animation-delay: .40s; }
#blocks > .block:nth-child(5) { animation-delay: .50s; }
#blocks > .block:nth-child(6) { animation-delay: .60s; }
#blocks > .block:nth-child(7) { animation-delay: .70s; }
#blocks > .block:nth-child(8) { animation-delay: .80s; }
@keyframes blockIn {
  from { opacity: 0; transform: translateY(28px); filter: blur(4px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

/* ============================================================
   4. 卡片：进场 + 鼠标跟随光泽 + 悬停抬升
   ============================================================ */
.acard, .li, .stat, .litem, .gitem {
  position: relative; overflow: hidden;
  transition: transform var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-soft),
              background var(--dur) var(--ease-soft),
              box-shadow var(--dur) var(--ease-soft);
}
/* 鼠标位置光泽（--mx/--my 由 JS 写入） */
.acard::after, .li::after, .litem::after, .gitem::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit; opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%),
              color-mix(in srgb, var(--accent) 16%, transparent), transparent 62%);
  transition: opacity var(--dur) var(--ease-soft);
}
.acard:hover::after, .li:hover::after,
.litem:hover::after, .gitem:hover::after { opacity: 1; }

a.acard:hover, a.li:hover { box-shadow: 0 16px 40px -14px rgba(0,0,0,.6); }
.litem:hover { box-shadow: 0 14px 32px -14px rgba(0,0,0,.55); }
.gitem:hover { box-shadow: 0 16px 40px -14px rgba(0,0,0,.6); }

/* 卡片进场：交错 */
.cards .acard, .list .li, .stats .stat, .links .litem, .gallery .gitem {
  animation: cardIn .62s var(--ease-out) both;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(22px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.cards .acard:nth-child(1), .list .li:nth-child(1), .stats .stat:nth-child(1),
.links .litem:nth-child(1), .gallery .gitem:nth-child(1) { animation-delay: .30s; }
.cards .acard:nth-child(2), .list .li:nth-child(2), .stats .stat:nth-child(2),
.links .litem:nth-child(2), .gallery .gitem:nth-child(2) { animation-delay: .37s; }
.cards .acard:nth-child(3), .list .li:nth-child(3), .stats .stat:nth-child(3),
.links .litem:nth-child(3), .gallery .gitem:nth-child(3) { animation-delay: .44s; }
.cards .acard:nth-child(4), .list .li:nth-child(4), .stats .stat:nth-child(4),
.links .litem:nth-child(4), .gallery .gitem:nth-child(4) { animation-delay: .51s; }
.cards .acard:nth-child(5), .list .li:nth-child(5), .stats .stat:nth-child(5),
.links .litem:nth-child(5), .gallery .gitem:nth-child(5) { animation-delay: .58s; }
.cards .acard:nth-child(6), .list .li:nth-child(6), .stats .stat:nth-child(6),
.links .litem:nth-child(6), .gallery .gitem:nth-child(6) { animation-delay: .65s; }
.cards .acard:nth-child(7), .list .li:nth-child(7) { animation-delay: .72s; }
.cards .acard:nth-child(8), .list .li:nth-child(8) { animation-delay: .79s; }

/* 卡片图标 */
.acard .ic { transition: transform var(--dur) var(--ease-spring); }
a.acard:hover .ic { transform: translateY(-3px) scale(1.2) rotate(-5deg); }
.litem .ic { transition: transform var(--dur) var(--ease-spring); }
.litem:hover .ic { transform: scale(1.2) rotate(8deg); }

/* ============================================================
   5. 数字滚动 / 进度条 / 时间线
   ============================================================ */
.stat b {
  display: inline-block;
  transition: transform var(--dur) var(--ease-spring);
}
.stat:hover b { transform: scale(1.1); color: var(--accent); }
.stat { transition: transform var(--dur) var(--ease-out), border-color var(--dur); }
.stat:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }

.bar-track { position: relative; overflow: hidden; }
.bar-fill {
  position: relative; overflow: hidden;
  transition: width 1.15s var(--ease-out);
}
/* 进度条上的流光 */
.bar-fill::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  transform: translateX(-100%);
  animation: shimmer 2.4s var(--ease-soft) infinite;
}
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

/* 时间线：节点依次点亮 + 线生长 */
.timeline::before {
  transform-origin: top;
  animation: lineGrow .9s var(--ease-out) both;
  animation-delay: .32s;
}
@keyframes lineGrow {
  from { transform: scaleY(0); opacity: 0; }
  to   { transform: scaleY(1); opacity: 1; }
}
.tl-item { animation: tlIn .6s var(--ease-out) both; }
.tl-item:nth-child(1) { animation-delay: .42s; }
.tl-item:nth-child(2) { animation-delay: .54s; }
.tl-item:nth-child(3) { animation-delay: .66s; }
.tl-item:nth-child(4) { animation-delay: .78s; }
.tl-item:nth-child(5) { animation-delay: .90s; }
@keyframes tlIn {
  from { opacity: 0; transform: translateX(-14px); }
  to   { opacity: 1; transform: none; }
}
.tl-item::before {
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur);
}
.tl-item:hover::before {
  transform: scale(1.35);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 24%, transparent),
              0 0 16px var(--accent);
}
.tl-item:hover h4 { color: var(--accent); }
.tl-item h4 { transition: color var(--dur-fast) var(--ease-soft); }

/* ============================================================
   6. 标签云 / 小标签
   ============================================================ */
.tagcloud span {
  animation: chipIn .5s var(--ease-spring) both;
  transition: transform var(--dur) var(--ease-spring),
              border-color var(--dur-fast), color var(--dur-fast),
              background var(--dur-fast);
}
@keyframes chipIn {
  from { opacity: 0; transform: scale(.8) translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.tagcloud span:nth-child(1) { animation-delay: .30s; }
.tagcloud span:nth-child(2) { animation-delay: .34s; }
.tagcloud span:nth-child(3) { animation-delay: .38s; }
.tagcloud span:nth-child(4) { animation-delay: .42s; }
.tagcloud span:nth-child(5) { animation-delay: .46s; }
.tagcloud span:nth-child(6) { animation-delay: .50s; }
.tagcloud span:nth-child(7) { animation-delay: .54s; }
.tagcloud span:nth-child(8) { animation-delay: .58s; }
.tagcloud span:nth-child(9) { animation-delay: .62s; }
.tagcloud span:nth-child(10) { animation-delay: .66s; }
.tagcloud span:nth-child(11) { animation-delay: .70s; }
.tagcloud span:nth-child(12) { animation-delay: .74s; }
.tagcloud span:nth-child(n+13) { animation-delay: .78s; }
.tagcloud span:hover {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  transform: translateY(-3px) scale(1.06);
}
.tag { transition: background var(--dur-fast), color var(--dur-fast); }
.acard:hover .tag, .li:hover .tag {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
}

/* ============================================================
   7. 滚动进场（IntersectionObserver 驱动）
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   8. 页面切换时的整体淡出遮罩
   ============================================================ */
.page-fade {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg); pointer-events: none;
  opacity: 0; transition: opacity .18s var(--ease-soft);
}
.page-fade.on { opacity: 1; }

/* ============================================================
   9. 回到顶部按钮
   ============================================================ */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-size: 18px;
  background: var(--card); color: var(--text);
  border: 1px solid var(--line); cursor: pointer;
  opacity: 0; transform: translateY(16px) scale(.85);
  pointer-events: none;
  transition: opacity var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-spring),
              border-color var(--dur-fast), color var(--dur-fast),
              box-shadow var(--dur-fast);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover {
  border-color: var(--accent); color: var(--accent);
  box-shadow: 0 8px 26px -8px color-mix(in srgb, var(--accent) 55%, transparent);
}
.to-top:active { transform: scale(.92); }

/* ============================================================
   10. 滚动进度条（顶部细线）
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 70;
  height: 2px; width: 0;
  background: linear-gradient(90deg,
      color-mix(in srgb, var(--accent) 50%, transparent), var(--accent));
  box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 70%, transparent);
  transition: width .12s linear;
}

/* ============================================================
   11. 点击反馈（局部水波 + 按压回弹）
   ============================================================ */
/* 涟漪：固定小尺寸的局部水波，不铺满整块卡片 */
.ripple {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle,
      color-mix(in srgb, var(--accent) 50%, transparent) 0%,
      color-mix(in srgb, var(--accent) 22%, transparent) 42%,
      transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  opacity: .85;
  will-change: transform, opacity;
  animation: rippleOut .48s var(--ease-out) forwards;
}
@keyframes rippleOut {
  0%   { transform: translate(-50%, -50%) scale(.25); opacity: .8; }
  100% { transform: translate(-50%, -50%) scale(1);   opacity: 0; }
}

/* 按下去时轻微内缩，松手弹回 */
.tap-press {
  transform: scale(.985) !important;
  transition: transform .09s var(--ease-soft) !important;
}
.tap-release {
  transition: transform .34s var(--ease-spring) !important;
}

/* ============================================================
   12. 加载态：骨架微光
   ============================================================ */
.skeleton {
  background: linear-gradient(90deg,
      color-mix(in srgb, var(--text) 5%, transparent) 25%,
      color-mix(in srgb, var(--text) 10%, transparent) 37%,
      color-mix(in srgb, var(--text) 5%, transparent) 63%);
  background-size: 400% 100%;
  animation: skel 1.5s var(--ease-soft) infinite;
  border-radius: 10px; height: 16px;
}
@keyframes skel {
  from { background-position: 100% 50%; }
  to   { background-position: 0 50%; }
}
/* ============================================================
   13. 服务器监控面板
   ============================================================ */
.mon-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-bottom: 22px; flex-wrap: wrap;
}
.mon-live {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--muted);
  background: var(--card); border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 999px;
  flex: 0 1 auto; min-width: 0;
}
.mon-live #monTime {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mon-live .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 8px #4ade80;
  animation: pulse 2s var(--ease-soft) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(.82); }
}

/* 概览卡 */
.mon-grid {
  display: grid; gap: 14px; margin-bottom: 22px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.mon-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px;
  display: flex; flex-direction: column; gap: 7px;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur);
}
.mon-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 38%, transparent);
}
.mon-k { font-size: 12px; color: var(--muted); letter-spacing: .5px; }
.mon-v {
  font-size: 21px; font-weight: 700; line-height: 1.15;
  display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap;
}
.mon-v i {
  font-style: normal; font-size: 11.5px;
  color: var(--muted); font-weight: 400;
}

/* 进度条组 */
.mon-bars { display: grid; gap: 20px; margin-bottom: 26px; }
.mon-bar-row { display: grid; gap: 8px; }
.mon-bar-top {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 14.5px; gap: 12px;
}
.mon-bar-label { white-space: nowrap; }
.mon-bar-right {
  display: flex; align-items: baseline; gap: 10px;
  min-width: 0; justify-content: flex-end; flex-wrap: wrap;
}
.mon-sub { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.mon-bar-track {
  height: 9px; border-radius: 999px; overflow: hidden;
  background: color-mix(in srgb, var(--text) 8%, transparent);
}
.mon-bar-fill {
  height: 100%; border-radius: 999px; position: relative;
  transition: width .8s var(--ease-out), background .5s;
}
.mon-bar-fill::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  transform: translateX(-100%);
  animation: shimmer 2.6s var(--ease-soft) infinite;
}
.mon-pct {
  font-size: 14px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* 磁盘 */
.mon-disk {
  display: grid; gap: 16px; margin-bottom: 26px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.mon-disk-item {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 9px;
}
.mon-disk-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px;
}
.mon-mount {
  font-size: 15px; font-weight: 700; font-family: ui-monospace, monospace;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mon-disk-sub { font-size: 12.5px; color: var(--muted); }

/* 服务 / 容器 */
.mon-svc { display: grid; gap: 14px; }
.mon-svc-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mon-svc-label {
  font-size: 13px; color: var(--muted); min-width: 76px;
}
.mon-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.mon-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; padding: 5px 13px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  transition: transform var(--dur-fast) var(--ease-spring);
}
.mon-pill:hover { transform: translateY(-2px); }
.mon-pill .pd {
  width: 6px; height: 6px; border-radius: 50%;
}
.mon-pill.ok  { border-color: color-mix(in srgb, #4ade80 32%, transparent); }
.mon-pill.ok .pd  { background: #4ade80; box-shadow: 0 0 7px #4ade80; }
.mon-pill.bad { border-color: color-mix(in srgb, #ff5d5d 32%, transparent); }
.mon-pill.bad .pd { background: #ff5d5d; box-shadow: 0 0 7px #ff5d5d; }

/* ============================================================
   14. 推广横幅
   ============================================================ */
.adban {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 26px;
  padding: 30px 34px; border-radius: 20px;
  background: linear-gradient(135deg,
      color-mix(in srgb, var(--accent) 12%, var(--card)),
      var(--card) 55%);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  box-shadow: 0 14px 40px -18px color-mix(in srgb, var(--accent) 45%, transparent);
}
.adban-glow {
  position: absolute; top: -60%; right: -12%;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle,
      color-mix(in srgb, var(--accent) 34%, transparent), transparent 68%);
  filter: blur(30px); pointer-events: none;
  animation: adGlow 7s var(--ease-soft) infinite alternate;
}
@keyframes adGlow {
  from { transform: translate(0, 0) scale(1); opacity: .7; }
  to   { transform: translate(-26px, 22px) scale(1.18); opacity: 1; }
}
.adban-body { flex: 1; position: relative; z-index: 1; min-width: 0; }
.adban-top { display: flex; align-items: center; gap: 11px; margin-bottom: 9px; }
.adban-ic { font-size: 23px; }
.adban-body h3 { font-size: 19px; font-weight: 700; }
.adban-body p { color: var(--muted); font-size: 14.5px; margin-bottom: 8px; }
.adban-sub {
  font-size: 12.5px; color: var(--accent);
  letter-spacing: .4px; font-family: ui-monospace, monospace;
}
.adban-btn {
  position: relative; z-index: 1; flex: 0 0 auto;
  padding: 12px 26px; border-radius: 999px;
  background: var(--accent); color: #16100a;
  text-decoration: none; font-weight: 700; font-size: 14.5px;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur);
}
.adban-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 30px -8px color-mix(in srgb, var(--accent) 65%, transparent);
}
.adban-btn:active { transform: scale(.97); }

@media (max-width: 700px) {
  .adban { flex-direction: column; align-items: stretch; padding: 24px 22px; gap: 18px; }
  .adban-btn { text-align: center; }
  .mon-grid { grid-template-columns: repeat(2, 1fr); }
  .mon-v { font-size: 18px; }
  .mon-svc-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  /* 窄屏：负载信息换行显示，避免和百分比挤在一起 */
  .mon-bar-top { flex-direction: column; align-items: flex-start; gap: 3px; }
  .mon-bar-right { justify-content: flex-start; width: 100%; }
  .mon-head { align-items: flex-start; }
  .mon-live { max-width: 100%; }
}


