/* 风雪服务器官网 · DeepSeek 骨架 + 颜色 / 动画 / 特效 */

:root {
  --blue: #6b8ff5;
  --blue-deep: #3558c8;   /* 原来 #4f76e8 对白底只有 4.1:1；这个色专门给"蓝色文字/链接"用 */
  --violet: #9db6fb;
  --cyan: #86cbe6;
  --grad: linear-gradient(100deg, #5a80ea 0%, #7c9df6 34%, #a8c0fb 68%, #c6e2f6 100%);
  --ink: #1a1a1a;
  --ink-2: #4a4a4a;
  --muted: #6b7280;   /* 原来 #8a8f99 对白底只有 3.24:1，不到无障碍标准 4.5:1（手机上也不好读） */
  --line: #ececec;
  --pill: #e8e8e8;

  /* 每个玩法一个专属色 */
  --c-lobby: #6b8ff5;
  --c-survival: #6cc199;
  --c-tech: #e5b369;
  --c-norule: #e89a94;
  --c-creative: #ad9aeb;
  --c-minigame: #e9a1c3;
  --c-sky: #78c8dd;
  --c-modpack: #98a6ec;

  --c: var(--blue);
  --title-grad: linear-gradient(100deg, #3d5da8 6%, #5b84e8 44%, #93b4f4 76%, #a8cfee 100%);
}

/* ============ 深色模式 ============ */
html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e9edf7;
  --ink-2: #c6cddd;
  --muted: #8d97ae;
  --line: #262e3f;
  --soft: #161c2a;
  --pill: #2b3346;
  --blue: #7c9bf7;
  --blue-deep: #a8bfff;
  --grad: linear-gradient(100deg, #6b8ff5 0%, #8aa6f8 34%, #a9bdfb 68%, #8fd0e8 100%);
  --title-grad: linear-gradient(100deg, #d8e4ff 6%, #a9c0ff 44%, #c3b4ff 76%, #9ad8ef 100%);
}
html[data-theme="dark"] body { background: #0c1119; }
html[data-theme="dark"] .topnav.is-stuck { background: rgba(12, 17, 25, .86); }
html[data-theme="dark"] .topnav-links a.active { color: var(--ink); }
html[data-theme="dark"] .nav-toggle { background: #161d2b; border-color: var(--line); }
html[data-theme="dark"] .nav-toggle span { background: var(--ink-2); }
html[data-theme="dark"] .nav-more-panel { background: #141b28; border-color: var(--line); box-shadow: 0 18px 44px rgba(0, 0, 0, .5); }
html[data-theme="dark"] .nav-more-panel a:hover { background: #1c2434; }
/* 手机菜单在深色下的分隔线（底色那条写在手机媒体查询里了，
   放到这里会给桌面导航也铺一层底色，导航底下就出现一块浅色方块 = 色差） */
html[data-theme="dark"] .nav-more-panel a { border-bottom-color: #1e2635; }

/* 首屏云彩：深色下换成夜海微光 */
html[data-theme="dark"] .cloud-a {
  background:
    radial-gradient(46% 38% at 20% 30%, rgba(58, 92, 190, .5), transparent 66%),
    radial-gradient(44% 36% at 76% 20%, rgba(96, 78, 190, .38), transparent 64%),
    radial-gradient(50% 42% at 52% 60%, rgba(40, 90, 140, .4), transparent 70%);
}
html[data-theme="dark"] .cloud-b {
  background:
    radial-gradient(34% 30% at 86% 62%, rgba(60, 74, 140, .38), transparent 66%),
    radial-gradient(30% 26% at 10% 68%, rgba(38, 80, 130, .34), transparent 68%),
    radial-gradient(26% 24% at 44% 88%, rgba(90, 70, 150, .3), transparent 70%);
}

/* 各种"白面"统一换成深色 */
html[data-theme="dark"] .addr,
html[data-theme="dark"] .form-card,
html[data-theme="dark"] .mode,
html[data-theme="dark"] .feature,
html[data-theme="dark"] .link-card,
html[data-theme="dark"] .member,
html[data-theme="dark"] .friend,
html[data-theme="dark"] .board-item,
html[data-theme="dark"] .faq,
html[data-theme="dark"] .pill { background: #141b28; border-color: var(--line); }

html[data-theme="dark"] .mode:hover,
html[data-theme="dark"] .feature:hover,
html[data-theme="dark"] .link-card:hover,
html[data-theme="dark"] .member:hover,
html[data-theme="dark"] .friend:hover,
html[data-theme="dark"] .board-item:hover,
html[data-theme="dark"] .faq:hover,
html[data-theme="dark"] .faq[open],
html[data-theme="dark"] .pill:hover { background: #18202f; border-color: #33405c; }

html[data-theme="dark"] .addr { box-shadow: 0 14px 40px rgba(0, 0, 0, .45); }
html[data-theme="dark"] .chip,
html[data-theme="dark"] .copy-btn,
html[data-theme="dark"] .friend-copy { background: #1b2333; border-color: #2c3648; color: var(--blue); }
html[data-theme="dark"] .friend-addr { background: #10161f; border-color: var(--line); }
html[data-theme="dark"] .faq-answer { border-top-color: #1e2635; }
html[data-theme="dark"] .faq summary::after { border-color: #4a5670; }
html[data-theme="dark"] .shot,
html[data-theme="dark"] .shot-open,
html[data-theme="dark"] .shot.placeholder { background: #161d2a; border-color: var(--line); }
html[data-theme="dark"] .form-card input[type=text],
html[data-theme="dark"] .form-card textarea,
html[data-theme="dark"] .form-card select { background: #10161f; border-color: var(--line); color: var(--ink); }
html[data-theme="dark"] .form-card input[type=text]:focus,
html[data-theme="dark"] .form-card textarea:focus { background: #141b28; }
html[data-theme="dark"] .tip { background: linear-gradient(100deg, rgba(229, 179, 105, .13), rgba(229, 179, 105, .03)); }
html[data-theme="dark"] .site-footer { background: #10151f; border-top-color: var(--line); }
html[data-theme="dark"] .footer-bottom { border-top-color: var(--line); }
html[data-theme="dark"] .to-top { background: #161d2b; border-color: var(--line); color: var(--ink-2); }
/* 深色下原来是浅底的几处 */
html[data-theme="dark"] .group-pill { background: #141b28; border-color: var(--line); }
html[data-theme="dark"] .group-pill:hover { background: #18202f; border-color: #33405c; }
html[data-theme="dark"] .member-role,
html[data-theme="dark"] .friend-tag { background: #1b2a3d; color: #9fd0e8; }
html[data-theme="dark"] .form-ok { background: linear-gradient(100deg, rgba(108, 193, 153, .16), rgba(108, 193, 153, .05)); color: #8fd6b4; }
html[data-theme="dark"] .form-err { background: rgba(232, 154, 148, .12); color: #f0a8a2; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: .02em; line-height: 1.35; }
p { margin: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* ---------- 顶部进度条 ---------- */
.progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0;
  background: var(--grad);
  z-index: 80;
}

/* ---------- 导航 ---------- */
.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background .3s ease, backdrop-filter .3s ease;
}
.topnav.is-stuck { background: rgba(255, 255, 255, .82); backdrop-filter: blur(16px); }
.topnav-inner { display: flex; align-items: center; height: 68px; }
.logo { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 700; letter-spacing: .08em; }
.logo-mark {
  width: 22px; height: 22px; border-radius: 7px;
  background: var(--grad);
  display: grid; place-items: center;
  color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0;
  box-shadow: 0 4px 12px rgba(122, 156, 245, .34);
}
.topnav-links { margin-left: auto; display: flex; align-items: center; gap: 30px; font-size: 14.5px; color: var(--ink-2); }
.topnav-links a { position: relative; padding-bottom: 4px; transition: color .2s ease; }
.topnav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .32s cubic-bezier(.2,.7,.3,1);
}
.topnav-links a:hover { color: var(--blue); }
.topnav-links a:hover::after, .topnav-links a.active::after { transform: scaleX(1); }
.topnav-links a.active { color: var(--ink); font-weight: 600; }

/* 手机上的汉堡按钮（桌面端不显示） */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block; height: 1.8px; width: 100%;
  background: var(--ink-2); border-radius: 2px;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), opacity .18s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

/* 导航里的「更多」下拉 */
.nav-more { position: relative; display: inline-flex; }
.nav-more-btn {
  display: inline-block;
  background: none; border: 0;
  /* 跟旁边的链接保持一模一样的字号和内边距，否则文字会差 2px */
  padding: 0 0 4px;
  font: inherit;
  line-height: inherit;
  color: var(--ink-2);
  cursor: pointer;
  transition: color .2s ease;
}
.nav-more-btn:hover, .nav-more.open .nav-more-btn { color: var(--blue); }
.nav-more-btn .caret { display: inline-block; font-size: 11px; position: relative; top: -1px; transition: transform .25s ease; }
.nav-more.open .nav-more-btn .caret { transform: rotate(180deg); }
.nav-more-panel {
  position: absolute; top: 100%; right: 0; margin-top: 12px;
  min-width: 158px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 13px;
  box-shadow: 0 18px 44px rgba(30, 41, 80, .13);
  display: none; z-index: 70;
}
.nav-more.open .nav-more-panel { display: block; }
.nav-more-panel a {
  display: block; padding: 9px 12px; border-radius: 9px;
  font-size: 14.5px; color: var(--ink-2);
  transition: background .18s ease, color .18s ease;
}
.nav-more-panel a:hover { background: var(--soft); color: var(--blue); }
.nav-more-panel a.active { color: var(--blue); font-weight: 600; }

/* 深色 / 浅色切换按钮 */
/* 主题开关：滑动的 */
.theme-switch {
  position: relative;
  width: 56px; height: 30px; flex: none;
  margin-left: 16px; padding: 0;
  border: 1px solid var(--line); border-radius: 999px;
  background: #eef2f9; cursor: pointer;
  transition: background .25s ease, border-color .25s ease;
}
.theme-switch:hover { border-color: #c9d3ec; }
.ts-knob {
  position: absolute; top: 2px; left: 2px;
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; color: #e5a22b;
  box-shadow: 0 2px 6px rgba(30, 41, 80, .18);
  display: grid; place-items: center;
  font-size: 12px; line-height: 1;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), background .25s ease, color .25s ease;
}
.ts-moon { display: none; }
html[data-theme="dark"] .theme-switch { background: #1b2333; border-color: #2c3648; }
html[data-theme="dark"] .ts-knob { transform: translateX(26px); background: #2b3346; color: #cfe0ff; }
html[data-theme="dark"] .ts-sun { display: none; }
html[data-theme="dark"] .ts-moon { display: block; }

/* ---------- 首屏 ---------- */
.hero { position: relative; padding: 168px 0 118px; text-align: center; overflow: hidden; }
.cloud-wrap { position: absolute; inset: 0; pointer-events: none; }
.cloud { position: absolute; inset: -16% -6% auto; height: 124%; }
.cloud-a {
  background:
    radial-gradient(46% 38% at 20% 30%, rgba(196, 216, 252, .68), transparent 66%),
    radial-gradient(44% 36% at 76% 20%, rgba(210, 208, 253, .54), transparent 64%),
    radial-gradient(50% 42% at 52% 60%, rgba(205, 231, 252, .62), transparent 70%);
  filter: blur(42px);
  animation: drift-a 38s ease-in-out infinite alternate;
}
.cloud-b {
  background:
    radial-gradient(34% 30% at 86% 62%, rgba(216, 226, 252, .6), transparent 66%),
    radial-gradient(30% 26% at 10% 68%, rgba(210, 234, 252, .55), transparent 68%),
    radial-gradient(26% 24% at 44% 88%, rgba(226, 220, 252, .48), transparent 70%);
  filter: blur(46px);
  animation: drift-b 52s ease-in-out infinite alternate;
}
@keyframes drift-a {
  from { transform: translate3d(-18px, 0, 0) scale(1); }
  to { transform: translate3d(18px, 22px, 0) scale(1.06); }
}
@keyframes drift-b {
  from { transform: translate3d(14px, 14px, 0) scale(1.04); }
  to { transform: translate3d(-16px, -10px, 0) scale(1); }
}
.hero-inner { position: relative; z-index: 2; }

.release { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); transition: color .2s ease; max-width: min(760px, 100%); }
.release:hover { color: var(--ink-2); }
.release .spark {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-size: 15px;
}
.release .release-tag {
  flex: none;
  padding: 2px 9px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; line-height: 1.5;
  color: var(--blue-deep); background: rgba(107, 143, 245, .13);
}
html[data-theme="dark"] .release .release-tag { color: #a8bfff; background: rgba(124, 155, 247, .18); }
/* 公告标题可能很长：允许换行，别把整行撑出屏幕 */
/* 箭头放在标题里面跟着走（不然标题折行时箭头会孤零零掉到下一行） */
.release .release-title { min-width: 0; text-align: center; }
.release .release-title .arrow { margin-left: 7px; }
/* 窄屏：换回普通文字流，标签和标题连着排、一起折行。
   要是还保持 flex，标题放不下会被整体挤到下一行，标签孤零零占一行、标题再折两行，
   首屏那行会占掉三行，很占地方。 */
@media (max-width: 620px) {
  .release { display: block; font-size: 13.5px; }
  .release .spark { margin-right: 5px; }
  .release .release-tag { display: inline-block; margin-right: 6px; vertical-align: 1px; }
}
.release .arrow { transition: transform .25s ease; }
.release:hover .arrow { transform: translateX(4px); }

.hero h1 {
  margin: 34px 0 0;
  font-size: clamp(46px, 6.2vw, 78px);
  font-weight: 600;
  letter-spacing: .1em;
  text-indent: .1em;
  color: var(--ink);
}
.char { display: inline-block; opacity: 0; will-change: transform, opacity; }
.char.go { animation: char-in .78s cubic-bezier(.2,.78,.28,1) forwards; }
@keyframes char-in {
  from { opacity: 0; transform: translateY(34px) rotate(4deg) scale(.94); }
  to { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
}

/* ---------- 地址框 ---------- */
.addr {
  position: relative;
  max-width: 660px;
  margin: 30px auto 0;
  padding: 20px 20px 16px 26px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 34px rgba(30, 41, 80, .09), 0 1px 2px rgba(30, 41, 80, .04);
  text-align: left;
  overflow: hidden;
  transition: box-shadow .35s ease, transform .35s cubic-bezier(.2,.7,.3,1);
}
.addr::before {
  content: ""; position: absolute; inset: 0;
  border-radius: 24px; padding: 1px;
  background: var(--grad);
  opacity: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity .35s ease;
  pointer-events: none;
}
.addr::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(124, 157, 246, .1), transparent 62%);
  opacity: 0; transition: opacity .35s ease; pointer-events: none;
}
.addr:hover { transform: translateY(-3px); box-shadow: 0 22px 52px rgba(30, 41, 80, .14); }
.addr:hover::before, .addr:hover::after { opacity: 1; }
.addr-main { position: relative; z-index: 2; padding: 4px 4px 0; }
.addr-label { font-size: 13px; color: var(--muted); }
.addr-value { font-size: 26px; font-weight: 600; letter-spacing: .02em; margin-top: 4px; }
.addr-foot {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap;
  margin-top: 20px;
}
.addr-foot .chip { flex: none; white-space: nowrap; }

/* 地址 + QQ 群：两栏平级（都重要，都给大号数值和一键复制） */
.addr-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr 1fr; align-items: start; }
.addr-col { min-width: 0; padding-right: 20px; }
.addr-col + .addr-col { border-left: 1px solid var(--line); padding-left: 24px; padding-right: 0; }
.addr-value-row { display: flex; align-items: center; gap: 10px; margin-top: 5px; }
button.addr-value {
  padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 27px; font-weight: 600; letter-spacing: .02em;
  color: var(--ink); text-align: left;
  transition: color .2s ease;
}
button.addr-value:hover { color: var(--blue); }
.addr-copy {
  flex: none; width: 34px; height: 34px; padding: 0;
  display: grid; place-items: center;
  border: 1px solid var(--pill); border-radius: 50%;
  background: #fff; color: var(--ink-2); cursor: pointer;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}
.addr-copy svg { width: 17px; height: 17px; }
.addr-copy:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-1px); }
.addr-copy:active { transform: scale(.94); }
.addr-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; min-height: 42px; }
html[data-theme="dark"] .addr-copy { background: #1b2333; border-color: var(--line); }
.chip {
  height: 34px; padding: 0 15px;
  display: inline-flex; align-items: center; gap: 7px;
  border-radius: 999px; border: 1px solid var(--pill);
  background: #fff; color: var(--ink-2); font-size: 13.5px;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.chip:hover { border-color: #cfd6e6; color: var(--ink); transform: translateY(-1px); }
/* 群号那枚小标签本身是按钮（点一下复制），别带默认按钮样式 */
.chip-btn { font: inherit; font-size: 13.5px; cursor: pointer; }
.chip-btn b { font-weight: 600; color: var(--ink); }
.chip-btn:hover b { color: var(--blue); }

.send {
  position: relative;
  margin-left: auto;
  width: 50px; height: 50px; flex: none;
  border: 0; border-radius: 50%;
  background: var(--grad);
  background-size: 220% 100%;
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(124, 157, 246, .36);
  transition: transform .22s ease, box-shadow .28s ease, background-position .5s ease;
}
.send:hover { transform: translateY(-2px) scale(1.04); background-position: 100% 0; box-shadow: 0 14px 30px rgba(152, 178, 248, .45); }
.send:active { transform: scale(.94); }
.send.copied { animation: pop .5s ease; }
@keyframes pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.14); }
  100% { transform: scale(1); }
}

.hero-actions { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; }

/* 首屏的群号：一眼看得到，点一下就复制 */
.group-line { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.group-join {
  display: inline-flex; align-items: center; gap: 7px;
  height: 42px; padding: 0 22px;
  border-radius: 999px;
  background: var(--grad);
  background-size: 200% 100%;
  color: #fff; font-size: 14px; font-weight: 600;
  box-shadow: 0 8px 20px rgba(124, 157, 246, .3);
  transition: transform .22s ease, box-shadow .25s ease, background-position .5s ease;
}
.group-join:hover {
  transform: translateY(-2px);
  background-position: 100% 0;
  box-shadow: 0 14px 28px rgba(140, 168, 248, .42);
}
.group-join:active { transform: scale(.97); }
.group-pill {
  display: inline-flex; align-items: center; gap: 10px;
  height: 42px; padding: 0 14px 0 16px;
  border-radius: 999px;
  border: 1px solid #e6ecf9;
  background: #fff;
  font: inherit; font-size: 14px; color: var(--ink-2);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(30, 41, 80, .05);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, color .22s ease;
}
.group-pill .gp-label { font-size: 12.5px; color: var(--muted); }
.group-pill b { font-size: 15.5px; font-weight: 600; letter-spacing: .02em; color: var(--ink); transition: color .22s ease; }
.group-pill .gp-hint {
  font-size: 12px; color: #a3aabf;
  border-left: 1px solid #eef1f7; padding-left: 10px;
}
.group-pill:hover {
  transform: translateY(-2px);
  border-color: #c9d3ec;
  box-shadow: 0 10px 24px rgba(30, 41, 80, .09);
}
.group-pill:hover b, .group-pill:hover .gp-hint { color: var(--blue); }
.group-pill:active { transform: scale(.97); }
.pill {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 20px;
  border-radius: 999px; border: 1px solid var(--pill);
  background: #fff; font-size: 14.5px; color: var(--ink-2);
  overflow: hidden;
  transition: border-color .24s ease, color .24s ease, transform .24s ease, box-shadow .24s ease;
}
.pill::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(124, 157, 246, .09), rgba(168, 192, 251, .14));
  opacity: 0; transition: opacity .3s ease;
}
.pill:hover { border-color: #c9d3ec; color: var(--blue); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(30, 41, 80, .1); }
.pill:hover::before { opacity: 1; }
.pill > * { position: relative; z-index: 1; }

/* ---------- 区块 ---------- */
.section { padding: 104px 0; }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head h2 { font-size: 32px; letter-spacing: .04em; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 15px; }

/* 玩法：两列卡片式条目 —— 一眼看得出能点 */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.mode {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 15px 18px;
  border: 1px solid #eef2f9;
  border-radius: 14px;
  background: #fcfdff;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), border-color .25s ease,
              background .25s ease, box-shadow .25s ease;
}
.mode:hover {
  transform: translateX(4px);
  background: #fff;
  border-color: #dde6f7;
  box-shadow: 0 10px 26px rgba(30, 41, 80, .08);
}
.mode .dot {
  width: 8px; height: 8px; flex: none;
  border-radius: 50%;
  background: var(--c);
  transition: transform .25s ease, box-shadow .25s ease;
}
.mode:hover .dot { transform: scale(1.35); box-shadow: 0 0 0 5px rgba(30, 41, 80, .06); }
.mode h3 { font-size: 16.5px; font-weight: 600; flex: none; width: 88px; transition: color .2s ease; }
.mode:hover h3 { color: var(--c); }
.mode p { font-size: 14px; color: var(--muted); }
.mode .arrow {
  margin-left: auto; flex: none;
  color: #c5cddd; font-size: 15px;
  transition: transform .25s ease, color .25s ease;
}
.mode:hover .arrow { transform: translateX(4px); color: var(--blue); }
.modes-foot { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* 特色 */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.feature { position: relative; }
.feature .badge {
  width: 40px; height: 40px; margin: 0 auto 14px;
  border-radius: 13px;
  display: grid; place-items: center;
  font-size: 16px; font-weight: 700; color: #fff;
  background: linear-gradient(140deg, var(--c), color-mix(in srgb, var(--c) 55%, #ffffff));
  box-shadow: 0 10px 22px color-mix(in srgb, var(--c) 26%, transparent);
  transition: transform .35s cubic-bezier(.2,.7,.3,1);
}
.feature:hover .badge { transform: translateY(-4px) rotate(-6deg) scale(1.06); }
.feature b { display: block; font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.feature span { font-size: 13.5px; color: var(--muted); }

/* 公告 */
.news { max-width: 820px; margin: 0 auto; }
.news-item {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  padding: 15px 18px; margin-bottom: 10px;
  border: 1px solid var(--line); border-radius: 14px; background: #fcfdff;
  transition: transform .28s cubic-bezier(.2,.7,.3,1), border-color .25s ease,
              background .25s ease, box-shadow .28s ease;
}
html[data-theme="dark"] .news-item { background: #141b28; }
.news-item:hover {
  transform: translateX(4px);
  background: #fff; border-color: #dde6f7;
  box-shadow: 0 10px 26px rgba(30, 41, 80, .08);
}
html[data-theme="dark"] .news-item:hover { background: #18202f; border-color: #33405c; box-shadow: 0 10px 26px rgba(0, 0, 0, .4); }
.news-date { flex: none; width: 88px; color: var(--muted); font-size: 13px; transition: color .25s ease; }
.news-item h3 { flex: 1; min-width: 0; font-size: 15.5px; font-weight: 600; transition: color .25s ease; }
.news-item:hover h3 { color: var(--blue-deep); }
.news-item:hover .news-date { color: var(--ink-2); }
/* 右边这个「查看 →」是给人"这里能点"的提示 */
.news-go {
  flex: none; display: inline-flex; align-items: center; gap: 5px;
  font-size: 13.5px; font-weight: 600; color: var(--blue-deep);
  transition: transform .28s cubic-bezier(.2,.7,.3,1), color .25s ease;
}
.news-item:hover .news-go { transform: translateX(3px); color: var(--blue); }
/* 手机上：第一行放「日期 + 查看」，标题另起一行铺满，免得标题被挤成好几行 */
@media (max-width: 700px) {
  .news-item { flex-wrap: wrap; gap: 8px 12px; padding: 13px 15px; }
  .news-date { width: auto; }
  .news-go { margin-left: auto; }
  .news-item h3 { flex: 1 1 100%; order: 3; font-size: 15px; line-height: 1.5; }
}

.news-more { display: block; text-align: center; margin-top: 34px; font-size: 14.5px; color: var(--blue-deep); }
.news-more:hover { text-decoration: underline; }

/* 结尾 */
.join-line { text-align: center; }
.join-line p { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 24px; }
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand .meta { color: var(--muted); font-size: 13px; line-height: 2.1; }
.footer-brand .meta a { color: inherit; transition: color .2s ease; }
.footer-brand .meta a:hover { color: var(--blue); text-decoration: underline; }
.footer-col h4 { margin: 0 0 16px; font-size: 14px; font-weight: 600; color: var(--ink); }
.footer-col a { display: block; color: var(--muted); font-size: 13.5px; padding: 6px 0; transition: color .2s ease, transform .2s ease; }
.footer-col a:hover { color: var(--blue); transform: translateX(3px); }
.footer-bottom {
  margin-top: 46px; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px 26px;
  color: var(--muted); font-size: 12.5px;
}

/* ---------- 子服页 ---------- */
.sub-hero { position: relative; padding: 150px 0 74px; text-align: center; overflow: hidden; }
.sub-hero .cloud { opacity: .85; }
.crumb { position: relative; z-index: 2; font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.crumb a:hover { color: var(--blue); }
.sub-hero h1 { position: relative; z-index: 2; font-size: clamp(34px, 4.2vw, 50px); letter-spacing: .08em; }
.sub-hero h1 .bar {
  display: block; width: 44px; height: 4px; margin: 18px auto 0;
  border-radius: 4px; background: var(--c);
  transition: width .4s ease;
}
.sub-hero h1:hover .bar { width: 84px; }
/* 子页面标题下那条彩色短线：入场时从中间展开（以前是直接啪一下出现）。
   本会话第 2 页起（html.no-reveal）不重播，跟其他入场动画保持一致。 */
@media (prefers-reduced-motion: no-preference) {
  .sub-hero h1 .bar {
    transform: scaleX(0); transform-origin: center;
    animation: bar-in .72s cubic-bezier(.2, .78, .28, 1) .3s forwards;
  }
  @keyframes bar-in { to { transform: scaleX(1); } }
}
html.no-reveal .sub-hero h1 .bar { transform: none !important; animation: none !important; }
.sub-hero .lead { position: relative; z-index: 2; margin: 18px auto 0; max-width: 40em; color: var(--muted); font-size: 16px; }

.specs {
  position: relative; z-index: 2;
  max-width: 880px; margin: 44px auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.spec { position: relative; padding: 22px 12px; text-align: center; border-right: 1px solid var(--line); }
.spec:last-child { border-right: 0; }
.spec .k { font-size: 12.5px; color: var(--muted); }
.spec .v { font-size: 17px; font-weight: 600; margin-top: 6px; }
.spec::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px;
  background: var(--c); transform: scaleX(0); transition: transform .45s cubic-bezier(.2,.7,.3,1);
}
.spec:hover::after { transform: scaleX(1); }

.steps { max-width: 880px; margin: 0 auto; counter-reset: s; }
.step { position: relative; display: flex; gap: 22px; padding: 24px 4px; transition: padding-left .3s ease; }
.step::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--line); }
.step:hover { padding-left: 12px; }
.step::before {
  counter-increment: s; content: "0" counter(s);
  flex: none; font-size: 13px; font-weight: 700; padding-top: 4px;
  color: var(--c);
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--muted); }

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag {
  height: 34px; padding: 0 16px;
  display: inline-flex; align-items: center;
  border-radius: 999px; border: 1px solid var(--pill);
  font-size: 13.5px; color: var(--ink-2);
  transition: border-color .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.tag:hover {
  border-color: var(--c); color: var(--c); transform: translateY(-2px);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--c) 18%, transparent);
}

.shots { max-width: 940px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shot {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  background: linear-gradient(150deg, #f4f6fa, #eef1f8);
  display: grid; place-items: center;
  color: #a9b0c0; font-size: 13px;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s ease;
}
.shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .75) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s ease;
}
.shot:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(30, 41, 80, .12); }
.shot:hover::after { transform: translateX(120%); }

/* 有真图时的版式：图片 + 下面一行说明 */
figure.shot { display: flex; flex-direction: column; gap: 9px; aspect-ratio: auto; background: none; overflow: visible; }
figure.shot::after { content: none; }
figure.shot:hover { transform: none; box-shadow: none; }
.shot-open {
  display: block; width: 100%; aspect-ratio: 16 / 10;
  padding: 0; border: 1px solid #eef2f9; border-radius: 14px;
  overflow: hidden; background: #f3f5f9; cursor: zoom-in;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.shot-open img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s cubic-bezier(.2,.7,.3,1); }
.shot-open:hover { border-color: #dde6f7; box-shadow: 0 14px 34px rgba(30, 41, 80, .13); }
.shot-open:hover img { transform: scale(1.04); }
figure.shot figcaption { font-size: 13px; color: var(--muted); line-height: 1.65; }
.shot.placeholder { background: #f3f5f9; display: grid; place-items: center; }

/* 点开看大图 */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(12, 16, 28, .92);
  display: flex; align-items: center; justify-content: center;
  padding: 48px 24px;
  backdrop-filter: blur(6px);
}
.lightbox[hidden] { display: none; }
.lb-img { max-width: min(1120px, 92vw); max-height: 80vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.lb-cap {
  position: absolute; left: 0; right: 0; bottom: 22px;
  text-align: center; color: #e8edf9; font-size: 14px;
  padding: 0 60px; line-height: 1.7;
}
.lb-btn {
  position: absolute; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .14); color: #fff;
  font-size: 20px; line-height: 1; cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.lb-btn:hover { background: rgba(255, 255, 255, .26); transform: scale(1.06); }
.lb-close { top: 20px; right: 20px; font-size: 16px; }
.lb-prev { left: 22px; top: 50%; margin-top: -22px; }
.lb-next { right: 22px; top: 50%; margin-top: -22px; }
body.lb-open { overflow: hidden; }

.tip {
  max-width: 880px; margin: 0 auto;
  display: flex; gap: 14px;
  padding: 22px 24px;
  border-radius: 14px;
  background: linear-gradient(100deg, rgba(229, 179, 105, .12), rgba(229, 179, 105, .03));
  border-left: 3px solid #e5b369;
  color: var(--ink-2);
}
.tip b { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.tip p { font-size: 14px; color: var(--muted); }

/* 子服页：「这个服适合谁」的要点列表 */
.point-list { max-width: 820px; margin: 0 auto; padding-left: 22px; display: grid; gap: 12px; text-align: left; }
.point-list li { font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.point-list li b { color: var(--ink); }

/* 子服页：「规则和注意事项」那张卡（左边那条用每个服的专属色） */
.server-chart { max-width: 880px; margin: 0 auto; }

/* ---- 状态页底部的「把这里分享出去」：活的签名图 + 二维码 ---- */
.share-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px;
  /* 左边（按钮 + 网址 + 说明）跟着右边那张高一点的二维码卡片垂直居中，别顶在上面留一大块空的 */
  align-items: center; max-width: 880px; margin: 0 auto;
}
.share-btn { cursor: pointer; }
.share-url {
  display: block; margin-top: 10px; padding: 8px 11px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; color: var(--muted);
  overflow-wrap: anywhere;
}
html[data-theme="dark"] .share-url { background: #141b28; }
.share-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.share-hint { margin-top: 10px; font-size: 12.5px; line-height: 1.75; color: var(--muted); }
.share-qr { text-align: center; }
/*
 * 二维码卡片：图是服务器生成的（竖版 720×880，见 app/qrcard.php），这里只管显示尺寸。
 * 桌面上限制宽度，手机上跟着容器缩；高度自动，别把比例压扁。
 */
.qr-img {
  display: block; margin: 0 auto; width: 240px; max-width: 100%; height: auto;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  box-shadow: 0 6px 20px rgba(60, 90, 170, .1);
  /* 拖出去的时候给个"抓起来"的手指，暗示这图能拖 */
  cursor: grab;
}
.qr-img:active { cursor: grabbing; }
.share-qr-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.share-save { cursor: pointer; }
/* 只给手机 / 只给电脑的提示：电脑能拖图，手机只能长按保存 */
.only-mobile { display: none; }
@media (max-width: 700px) {
  .only-desktop { display: none; }
  .only-mobile { display: inline; }
}
@media (max-width: 700px) {
  .share-grid { grid-template-columns: 1fr; }
  /* 手机上卡片跟着容器走满，扫码更清楚（桌面上是固定的 240px） */
  .qr-img { width: min(300px, 100%); }
}
.rule-card {
  max-width: 820px; margin: 0 auto;
  padding: 26px 30px; border-radius: 16px;
  border: 1px solid var(--line); border-left: 3px solid var(--c);
  background: color-mix(in srgb, var(--c) 7%, transparent);
}
.rule-card ul { margin: 0; padding-left: 20px; display: grid; gap: 11px; text-align: left; }
.rule-card li { font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.rule-card li b { color: var(--ink); }
html[data-theme="dark"] .rule-card { background: color-mix(in srgb, var(--c) 13%, transparent); }

.pager {
  max-width: 880px; margin: 34px auto 0;
  display: flex; justify-content: space-between;
  padding-top: 30px; border-top: 1px solid var(--line);
  font-size: 14.5px;
}
.pager a { color: var(--blue-deep); transition: transform .25s ease; display: inline-block; }
.pager a:hover { text-decoration: underline; transform: translateX(3px); }
.pager a:first-child:hover { transform: translateX(-3px); }

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--pill);
  background: #fff; color: var(--ink-2);
  font-size: 16px; cursor: pointer;
  box-shadow: 0 10px 26px rgba(30, 41, 80, .12);
  opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none;
  transition: opacity .3s ease, transform .3s cubic-bezier(.2,.7,.3,1), background .25s ease, color .25s ease;
  z-index: 70;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--grad); color: #fff; border-color: transparent; }
/* 小鲸鱼停在右下角时，把「回到顶部」抬到它上面，别叠在一起 */
html.whale-br .to-top { bottom: calc(28px + var(--whale-h, 96px) + 16px); }
/* 访客把小鲸鱼关掉了：那就别再留那块空，按钮回到原位
   （这条必须写在上一条后面，两条优先级一样，靠顺序生效） */
html.no-whale .to-top,
html.no-whale .to-top.show { bottom: 26px; }

/* ---------- 小鲸鱼挂件 ---------- */
.whale {
  position: fixed; right: 26px; bottom: 26px; z-index: 80;
  --whale-size: var(--whale-size-set, 96px);
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}
.whale-btn {
  display: block; width: var(--whale-size); height: var(--whale-size);
  padding: 0; border: 0; background: none; cursor: grab;
  touch-action: none;
  transition: transform .16s cubic-bezier(.34,1.56,.64,1);
}
.whale-btn:active { transform: scale(.92); }
.whale.dragging .whale-btn { cursor: grabbing; transform: scale(.96); }
.whale-bob {
  display: block; width: 100%; height: 100%;
  animation: whale-bob 4.4s ease-in-out infinite;
  transform-origin: 50% 88%;
}
.whale-bob img {
  display: block; width: 100%; height: 100%;
  object-fit: contain;
  user-select: none; -webkit-user-drag: none;
  filter: drop-shadow(0 12px 20px rgba(30, 41, 80, .22));
  /* 素材是半身像，底下是平切的 —— 给它一点点渐隐，过渡自然些 */
  -webkit-mask-image: linear-gradient(to bottom, #000 88%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, #000 88%, rgba(0, 0, 0, 0) 100%);
}
html[data-theme="dark"] .whale-bob img { filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .55)); }
@keyframes whale-bob {
  0%, 100% { transform: translateY(0) rotate(-1.6deg); }
  50% { transform: translateY(-9px) rotate(1.6deg); }
}

.whale-bubble {
  position: absolute; right: 0; bottom: calc(100% + 12px);
  max-width: 250px; width: max-content;
  padding: 11px 15px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(30, 41, 80, .16);
  font-size: 14px; line-height: 1.65; color: var(--ink);
  opacity: 0; transform: translateY(8px) scale(.9);
  transform-origin: 100% 100%;
  transition: opacity .18s ease, transform .24s cubic-bezier(.2,.9,.3,1.15);
  pointer-events: none;
}
.whale-bubble.show { opacity: 1; transform: none; }
/* 气泡下面的小尖角 */
.whale-bubble::after {
  content: ""; position: absolute; right: 26px; bottom: -6px;
  width: 12px; height: 12px; background: inherit;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  border-bottom-right-radius: 3px;
  transform: rotate(45deg);
}
.whale.below .whale-bubble { top: calc(100% + 12px); bottom: auto; transform-origin: 100% 0; }
.whale.below .whale-bubble::after {
  top: -6px; bottom: auto;
  border: 0; border-left: 1px solid var(--line); border-top: 1px solid var(--line);
  border-bottom-right-radius: 0; border-top-left-radius: 3px;
}
/* 鲸鱼在左半边时，气泡改成往右展开，免得飘出屏幕 */
.whale.left .whale-bubble { right: auto; left: 0; transform-origin: 0 100%; }
.whale.left .whale-bubble::after { right: auto; left: 26px; }
html[data-theme="dark"] .whale-bubble {
  background: #141b28; border-color: var(--line); box-shadow: 0 14px 34px rgba(0, 0, 0, .5);
}

/* 小鲸鱼的「设置」按钮：平时藏起来，指到鲸鱼才露出来（手机上一直露着） */
.whale-gear {
  position: absolute; left: -6px; top: -6px; z-index: 2;
  width: 30px; height: 30px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%;
  background: #fff; color: var(--ink-2);
  font-size: 14px; line-height: 1; cursor: pointer;
  box-shadow: 0 8px 18px rgba(30, 41, 80, .18);
  opacity: 0; transform: scale(.85); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, background .2s ease, color .2s ease;
}
.whale:hover .whale-gear,
.whale:focus-within .whale-gear { opacity: 1; transform: none; pointer-events: auto; }
.whale-gear:hover { background: var(--grad); color: #fff; border-color: transparent; }
@media (hover: none) { .whale-gear { opacity: .95; transform: none; pointer-events: auto; } }
html[data-theme="dark"] .whale-gear { background: #1b2333; border-color: var(--line); color: var(--ink-2); }

/* ---------- 访客自己那套面板（小鲸鱼设置 / 音乐 / 显示设置） ---------- */
.wpanel {
  position: fixed; left: 0; top: 0; z-index: 90;
  padding: 14px 15px 12px;
  border: 1px solid var(--line); border-radius: 16px;
  background: #fff; color: var(--ink);
  box-shadow: 0 18px 44px rgba(30, 41, 80, .18);
  font-size: 13.5px; line-height: 1.5; text-align: left;
  opacity: 0; transform: translateY(8px) scale(.96); transform-origin: 100% 100%;
  transition: opacity .18s ease, transform .22s cubic-bezier(.2,.9,.3,1.15);
  pointer-events: none;
  touch-action: auto;   /* 面板里的滑块要能正常拖 */
}
.wpanel.show { opacity: 1; transform: none; pointer-events: auto; }
html[data-theme="dark"] .wpanel { background: #141b28; box-shadow: 0 18px 44px rgba(0, 0, 0, .55); }
.wpanel-title { margin-bottom: 10px; font-size: 13.5px; font-weight: 700; }
.wrow { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.wrow > span { flex: 0 0 66px; font-size: 12.5px; color: var(--muted); }
.wrow input[type=range] { flex: 1; min-width: 0; accent-color: var(--blue); }
.wrow b { flex: 0 0 40px; font-size: 12.5px; font-weight: 600; text-align: right; color: var(--ink-2); }
.wrow select {
  flex: 1; min-width: 0; height: 30px; padding: 0 8px;
  border: 1px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--ink); font: inherit; font-size: 13px;
}
html[data-theme="dark"] .wrow select { background: #10161f; }
.wrow input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--blue); }
.wactions { display: flex; gap: 8px; margin-top: 12px; }
.wactions button,
.wclose {
  flex: 1; height: 32px; border: 1px solid var(--line); border-radius: 9px;
  background: var(--soft, #f4f6fa); color: var(--ink-2);
  font: inherit; font-size: 13px; cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.wactions button:hover,
.wclose:hover { border-color: var(--blue); color: var(--blue); }
.wclose { display: block; width: 100%; margin-top: 8px; }

/* 小鲸鱼自己的面板：挂在小人旁边，位置由 JS 按屏幕算 */
.whale-panel { width: 240px; }

/* 左下角那两块面板（音乐 / 显示设置）：贴着左下角往上展开 */
.dock-panel, .music-panel { left: 16px; bottom: 84px; top: auto; right: auto; transform-origin: 0 100%; }
.music-panel { width: min(392px, calc(100vw - 20px)); max-height: min(76vh, 620px); overflow-y: auto; }
.dock-panel { width: 230px; }
@media (max-width: 900px) {
  .dock-panel, .music-panel { left: 8px; bottom: 76px; }
  .music-panel { width: calc(100vw - 16px); padding: 12px 9px 10px; }
}

/* 鲸鱼跑到屏幕左半边就水平翻转（脸朝外） */
.whale.left .whale-bob img { transform: scaleX(-1); }

/* 左下角两个小按钮：♪ 音乐、⚙ 显示设置 */
.dock {
  position: fixed; left: 16px; bottom: 16px; z-index: 85;
  display: flex; align-items: center; gap: 10px;
}
.dock-btn {
  position: relative;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%;
  background: #fff; color: var(--ink-2);
  font-size: 18px; line-height: 1; cursor: pointer;
  box-shadow: 0 10px 26px rgba(30, 41, 80, .16);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.dock-btn:hover, .dock-btn.on { background: var(--grad); color: #fff; border-color: transparent; }
.dock-btn.playing::after {
  content: ""; position: absolute; right: 1px; top: 1px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 0 2px #fff;
}
html[data-theme="dark"] .dock-btn.playing::after { box-shadow: 0 0 0 2px #1b2333; }
.dock-btn:active { transform: scale(.94); }
html[data-theme="dark"] .dock-btn { background: #1b2333; border-color: var(--line); color: var(--ink-2); }
@media (max-width: 900px) {
  .dock { left: 10px; bottom: 12px; gap: 8px; }
  .dock-btn { width: 40px; height: 40px; font-size: 17px; }
}

/* 访客自己把某个挂件关掉了 */
html.no-whale .whale { display: none; }
html.no-music .dock-music { display: none; }

/* 音乐播放器（歌都是网易云在放，我们不存音频） */
.music-title { font-weight: 700; font-size: 13.5px; }
.music-note { margin: 4px 0 10px; font-size: 11.5px; color: var(--muted); }
.music-list { display: grid; gap: 6px; }
.music-item {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 8px 10px; text-align: left;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--soft, #f7f9fd); color: var(--ink);
  font: inherit; font-size: 13px; cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.music-item:hover { border-color: var(--blue); color: var(--blue); }
.music-item.on { border-color: var(--blue); background: rgba(107, 143, 245, .12); color: var(--blue); }
.music-idx { flex: 0 0 16px; font-size: 11.5px; color: var(--muted); }
.music-item.on .music-idx { color: var(--blue); }
.music-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.music-artist {
  flex: 0 1 auto; max-width: 42%;
  font-size: 11.5px; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.music-frame { margin-top: 10px; }
.music-frame iframe { display: block; width: 100%; border: 0; border-radius: 10px; background: transparent; }
html[data-theme="dark"] .music-frame iframe { background: #10161f; }
/* 网易云那条播放条四周有 10px 透明边距，裁掉它，卡片就能和歌曲列表左右对齐 */
.music-frame.crop { position: relative; overflow: hidden; border-radius: 10px; background: transparent; }
.music-frame.crop iframe {
  position: absolute; left: -10px; top: -10px;
  width: calc(100% + 20px); height: 140px;
  border-radius: 0; background: transparent;
}
html[data-theme="dark"] .music-frame.crop iframe { background: transparent; }

/* 我们自己的播放控制：上一曲 / 播放暂停 / 下一曲 */
.music-tip { margin: 10px 0 -4px; font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.music-ctrl { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.mc-btn {
  width: 38px; height: 34px; padding: 0;
  border: 1px solid var(--line); border-radius: 9px;
  background: var(--soft, #f4f6fa); color: var(--ink-2);
  font-size: 14px; line-height: 1; cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.mc-btn:hover { border-color: var(--blue); color: var(--blue); }
.mc-btn.mc-play { width: 48px; }
.mc-now { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }

@media print { .whale { display: none; } }

/* ---------- 动效 ---------- */
/* 统一节奏：想整体调快/调慢，改这两个变量和 --dur-page-* 就行 */
:root {
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --dur-page-out: .34s;
  --dur-page-in: .62s;
}
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* 本次会话已经看过一页了：内容直接出现，不再重播入场动画（切页才不显得一顿一顿的） */
html.no-reveal .reveal {
  opacity: 1 !important; transform: none !important;
  transition: none !important; animation: none !important;
}
/* 标题逐字入场也一样：第 2 页起直接显示 */
html.no-reveal .char { opacity: 1 !important; animation: none !important; }

/* ---------- 切换页面时的过渡（浏览器支持 View Transition 才生效，不支持就是普通跳转） ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }

  /* 切页：旧页面轻轻往上退、新页面从下面柔和地升上来（慢一点，看着舒服） */
  ::view-transition-old(root) { animation: vt-out var(--dur-page-out) var(--ease-soft) both; }
  ::view-transition-new(root) { animation: vt-in var(--dur-page-in) var(--ease-out) both; }
  @keyframes vt-out { to { opacity: 0; transform: translateY(-8px) scale(.994); } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(20px) scale(.986); } }

  /* 切页时这些"一直是它"的东西保持不动，只让正文淡入淡出 */
  .topnav { view-transition-name: fx-nav; }
  .site-footer { view-transition-name: fx-footer; }
  .whale { view-transition-name: fx-whale; }
  .dock { view-transition-name: fx-dock; }

  /* 这几块在切页时内容基本不变：旧快照直接撤掉、新快照原地显示就行。
     别让浏览器给它们套叠加混合（UA 默认 plus-lighter：新旧亮度相加，浅↔深切换会亮一下），
     也别让两个快照叠着显示（导航是半透明的，会看到两条下划线）。 */
  ::view-transition-old(fx-nav), ::view-transition-old(fx-footer),
  ::view-transition-old(fx-whale), ::view-transition-old(fx-dock) {
    animation: none; opacity: 0; mix-blend-mode: normal;
  }
  ::view-transition-new(fx-nav), ::view-transition-new(fx-footer),
  ::view-transition-new(fx-whale), ::view-transition-new(fx-dock) {
    animation: none; mix-blend-mode: normal;
  }

  /* 深浅色切换走的是"同一页内"的过渡：旧画面先淡出、新画面紧接着淡入，两段不重叠。
     注意方向不能写反、也不要让两段叠在一起（叠一起会因为叠加混合亮一下）。 */
  html.theme-switching::view-transition-old(root) { animation: vt-fade-out .17s var(--ease-soft) both; }
  html.theme-switching::view-transition-new(root) { animation: vt-fade-in .26s var(--ease-soft) .15s both; }
  @keyframes vt-fade-out { to { opacity: 0; } }
  @keyframes vt-fade-in { from { opacity: 0; } }

  /* 换主题时这几块跟着一起淡，不用单独命名（避免又走回叠加混合那条路） */
  html.theme-switching .topnav,
  html.theme-switching .site-footer,
  html.theme-switching .whale,
  html.theme-switching .dock { view-transition-name: none; }
}

.toast {
  position: fixed; left: 50%; bottom: 40px;
  transform: translate(-50%, 14px);
  padding: 11px 20px; border-radius: 999px;
  background: rgba(20, 20, 20, .9); color: #fff; font-size: 13.5px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 90;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  /* ---------- 手机上的"轻量模式" ---------- */
  /* 不做跨页快照过渡：整页截两张图再合成在小屏上很亏（实测约 100ms），
     手机上直接换页更快，那点淡入淡出在小屏上也看不明显 */
  @view-transition { navigation: none; }
  /* 滚动时不做毛玻璃（手机 GPU 上这是滚动卡顿的常见来源） */
  .topnav.is-stuck { background: rgba(255, 255, 255, .94); backdrop-filter: none; }
  html[data-theme="dark"] .topnav.is-stuck { background: rgba(12, 17, 25, .94); }
  /* 首屏那两团"云彩"是整屏大小的模糊层：手机上把模糊降下来（42px→16px）并停下漂移，
     既省一截出图时间，看着也还是柔的（完全不模糊会露出硬边色块） */
  .cloud { filter: blur(16px); animation: none; }

  /* 菜单展开时，顶栏和菜单用同一个底色 —— 不然顶部（透出首屏蓝色光晕）
     和菜单（纯底色）之间会横着一条分界线，看着就是色差 */
  .topnav:has(.topnav-links.open) { background: #fff; }
  html[data-theme="dark"] .topnav:has(.topnav-links.open) { background: #0c1119; }
  /* 手机上把导航收进汉堡菜单 */
  .topnav-links {
    /* 手机上收进汉堡菜单：默认"隐身"但保留在 DOM 里，这样能做出下滑展开的动画 */
    display: flex;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .26s var(--ease-soft), transform .4s var(--ease-out), visibility .4s;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 6px 24px 14px;
    background: #fff;                 /* 跟浅色模式的页面底色一致，菜单才不像一块板子 */
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(30, 41, 80, .1);
    backdrop-filter: blur(14px);
  }
  .topnav-links.open {
    opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  }
  .topnav-links a { padding: 13px 2px; border-bottom: 1px solid #f2f5fa; font-size: 15.5px; }
  .topnav-links a:last-child { border-bottom: 0; }
  .topnav-links a::after { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  /* 手机上「更多」直接铺开成普通行 */
  .nav-more { display: block; width: 100%; }
  .nav-more-btn { display: none; }
  .nav-more-panel {
    position: static; display: block; margin: 0; padding: 0;
    border: 0; box-shadow: none; min-width: 0;
    background: transparent;   /* 手机上它只是普通几行，不能再画一个底色框 */
  }
  /* 深色下这几条必须写全：上面 html[data-theme="dark"] .nav-more-panel 的优先级更高，
     只写 background 的话，那圈黑色阴影（44px 模糊）会留在手机上，看起来就是一块暗方块 */
  html[data-theme="dark"] .nav-more-panel {
    background: transparent; box-shadow: none; border: 0; border-radius: 0;
  }
  .nav-more-panel a { padding: 13px 2px; border-bottom: 1px solid #f2f5fa; border-radius: 0; font-size: 15.5px; }
  /* 深色下手机菜单的底色和分隔线（只在手机上生效） */
  html[data-theme="dark"] .topnav-links {
    background: #0c1119;              /* = 深色页面底色，白对白 / 深对深，才不会出现色差 */
    border-bottom-color: var(--line);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  }
  html[data-theme="dark"] .topnav-links a { border-bottom-color: #1e2635; }
  /* 开关挪到汉堡旁边，别飘在 logo 后面 */
  .theme-switch { margin-left: auto; margin-right: 10px; }
  .nav-toggle { margin-left: 0; }
  /* 手机上小鲸鱼小一点、离边角近一点 */
  .whale { right: 14px; bottom: 16px; --whale-size: var(--whale-size-set, 76px); }
  .whale-bubble { max-width: 210px; font-size: 13.5px; }
  .modes { grid-template-columns: 1fr; gap: 10px; }
  .features { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .specs { grid-template-columns: 1fr 1fr; }
  .spec { border-bottom: 1px solid var(--line); }
  .spec:nth-child(2n) { border-right: 0; }
  .shots { grid-template-columns: 1fr; }
  .hero { padding: 132px 0 84px; }
  .section { padding: 72px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cloud-a, .cloud-b { animation: none; }
  .whale-bob { animation: none; }
  .char { opacity: 1; animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .mode::after { transform: scaleX(1); }
}

/* ---------- 正文（公告、关于我们） ---------- */
.article {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  color: var(--ink-2);
}
.article p { margin-bottom: 20px; }
.article p:last-child { margin-bottom: 0; }

/* ---------- 常见问题 ---------- */
.faq {
  display: block;
  position: relative;
  margin-bottom: 10px;
  border: 1px solid #eef2f9;
  border-radius: 14px;
  background: #fcfdff;
  overflow: hidden;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.faq:hover {
  background: #fff;
  border-color: #dde6f7;
  box-shadow: 0 10px 26px rgba(30, 41, 80, .07);
}
.faq[open] { background: #fff; border-color: #dbe4f7; }
.faq summary {
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  transition: color .25s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "";
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
  transition: background .25s ease, transform .25s ease;
}
.faq summary::after {
  content: "";
  margin-left: auto;
  flex: none;
  width: 9px; height: 9px;
  border-right: 1.6px solid #c5cddd;
  border-bottom: 1.6px solid #c5cddd;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .28s cubic-bezier(.2,.7,.3,1), border-color .25s ease;
}
.faq[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
  border-color: var(--blue);
}
.faq:hover summary { color: var(--blue-deep); }
.faq:hover summary::before { background: var(--blue); transform: scale(1.3); }
.faq:hover summary::after { border-color: var(--blue); }
.faq[open] summary { color: var(--blue-deep); font-weight: 600; }
.faq[open] summary::before { background: var(--grad); transform: scale(1.3); }
.faq-answer {
  padding: 0 20px 18px 38px;
  color: var(--muted);
  font-size: 14.5px;
  border-top: 1px solid #f2f5fa;
  padding-top: 14px;
  animation: faq-in .35s cubic-bezier(.2,.7,.3,1);
}
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 截图 ---------- */
img.shot { width: 100%; height: 100%; object-fit: cover; display: block; }
.sub-hero .hero-actions { position: relative; z-index: 2; }

/* 404 页的自动回首页提示 */
.cd-line {
  position: relative;
  z-index: 2;
  margin-top: 26px;
  font-size: 14px;
  color: var(--muted);
}
.cd-line b { color: var(--blue); font-weight: 600; }
.cd-cancel {
  border: 0;
  background: none;
  padding: 2px 4px;
  font: inherit;
  color: var(--blue);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cd-cancel:hover { color: var(--blue-deep); }

/* ---------- 子服页的相关链接（白名单问卷、网页地图等） ---------- */
.link-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
}
.link-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 20px 52px 20px 22px;
  border: 1px solid #eef2f9;
  border-radius: 16px;
  background: #fcfdff;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), border-color .25s ease,
              background .25s ease, box-shadow .25s ease;
}
.link-card:hover {
  transform: translateY(-3px);
  background: #fff;
  border-color: #dde6f7;
  box-shadow: 0 12px 28px rgba(30, 41, 80, .09);
}
.link-card b { font-size: 16px; font-weight: 600; }
.link-card span { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.link-card .go {
  position: absolute; right: 20px; top: 50%; margin-top: -10px;
  font-style: normal; font-size: 16px; color: #c5cddd;
  transition: transform .25s ease, color .25s ease;
}
.link-card:hover .go { transform: translateX(4px); color: var(--blue); }

/* ---------- 留言表单 ---------- */
.form-card {
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 34px 34px;
  box-shadow: 0 16px 44px rgba(30, 41, 80, .07);
}
.form-card label.field { display: block; margin-bottom: 18px; }
.form-card label.field > span { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 7px; }
.form-card input[type=text], .form-card textarea, .form-card select {
  width: 100%;
  border: 1px solid #e3e9f4;
  border-radius: 12px;
  padding: 11px 14px;
  font: inherit;
  font-size: 15px;
  background: #fcfdff;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-card input[type=text]:focus, .form-card textarea:focus {
  outline: none;
  background: #fff;
  border-color: #9db6f7;
  box-shadow: 0 0 0 4px rgba(157, 182, 247, .16);
}
.form-card textarea { min-height: 160px; resize: vertical; line-height: 1.75; }
.btn-send {
  height: 46px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--grad);
  background-size: 200% 100%;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(124, 157, 246, .32);
  transition: transform .2s ease, box-shadow .28s ease, background-position .5s ease;
}
.btn-send:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 16px 32px rgba(152, 178, 248, .42); }
.form-hint { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* 留言页的"愿意公开"勾选项 */
.check-line { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; cursor: pointer; }
.check-line input { margin-top: 3px; width: 16px; height: 16px; flex: none; accent-color: var(--blue); }

/* ---------- 生电服白名单申请（/whitelist） ---------- */
.wl-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 860px; margin: 0 auto 22px; }
.wl-intro-col { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.wl-intro-col h2 { font-size: 16px; margin: 0 0 10px; }
.wl-steps, .wl-rules { margin: 0; padding-left: 20px; color: var(--ink-2); font-size: 14.5px; line-height: 1.95; }
.wl-form {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 28px 30px;
  box-shadow: 0 16px 44px rgba(30, 41, 80, .07);
}
.wl-block { margin-bottom: 32px; }
.wl-block h2 { font-size: 19px; margin: 0 0 14px; }
.wl-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.wl-form label.field { display: block; margin-bottom: 18px; }
.wl-form label.field > span { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 7px; }
.wl-form input[type=text], .wl-form select {
  width: 100%;
  border: 1px solid #e3e9f4;
  border-radius: 12px;
  padding: 11px 14px;
  font: inherit;
  font-size: 15px;
  background: #fcfdff;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.wl-form input[type=text]:focus, .wl-form select:focus {
  outline: none;
  background: #fff;
  border-color: #9db6f7;
  box-shadow: 0 0 0 4px rgba(157, 182, 247, .16);
}
/* 常在时段 / 方向选择：把原生勾选藏起来，用整块当按钮（键盘 Tab 一样能选中，焦点有描边） */
.wl-times { margin: 2px 0 4px; }
.wl-times-label { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.wl-time-opts { display: flex; gap: 10px; flex-wrap: wrap; }
.wl-chip { position: relative; cursor: pointer; }
.wl-chip input, .wl-dir input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wl-chip > span {
  display: inline-block; padding: 7px 16px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; color: var(--ink-2); background: #fcfdff;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.wl-chip input:checked + span { border-color: var(--blue); color: var(--blue-deep); background: rgba(107, 143, 245, .1); font-weight: 600; }
.wl-chip input:focus-visible + span, .wl-dir input:focus-visible + .wl-dir-box { outline: 2px solid var(--blue-deep); outline-offset: 2px; }
.wl-dirs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.wl-dir { position: relative; cursor: pointer; }
.wl-dir-box {
  display: block; height: 100%;
  border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px; background: #fcfdff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.wl-dir-box b { display: block; font-size: 15.5px; margin-bottom: 6px; }
.wl-dir-box span { font-size: 13px; color: var(--muted); line-height: 1.7; }
.wl-dir input:checked + .wl-dir-box { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(107, 143, 245, .18); }
.wl-qs { display: grid; gap: 14px; }
.wl-q { border: 1px solid var(--line); border-radius: 14px; padding: 15px 18px; background: #fcfdff; }
.wl-q-head { display: flex; gap: 10px; align-items: baseline; }
.wl-no { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--pill); color: var(--ink-2); font-size: 12.5px; text-align: center; line-height: 22px; }
.wl-text { flex: 1; font-size: 15px; line-height: 1.7; }
.wl-type { flex: none; font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }
.wl-opts { margin-top: 10px; display: grid; gap: 4px; }
.wl-opt { display: flex; gap: 9px; align-items: flex-start; cursor: pointer; padding: 6px 8px; border-radius: 10px; }
.wl-opt:hover { background: rgba(107, 143, 245, .07); }
.wl-opt input { margin-top: 4px; width: 16px; height: 16px; flex: none; accent-color: var(--blue); }
.wl-letter { flex: none; font-weight: 600; color: var(--blue-deep); }
.wl-otext { font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }
.wl-submit { margin-top: 6px; }
.wl-note { color: var(--ink-2); font-size: 14.5px; line-height: 1.9; margin: 10px 0 0; }
/* 通过之后那张「凭证图」：电脑上固定 360px，手机跟着容器走满 */
.wl-pass { display: flex; justify-content: center; margin: 18px 0 6px; }
.wl-pass-img {
  display: block;
  width: 360px;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(30, 41, 80, .1);
}
.wl-pass-acts { margin-top: 16px; }
@media (max-width: 760px) {
  .wl-pass-img { width: 100%; }
}
html[data-theme="dark"] .wl-intro-col,
html[data-theme="dark"] .wl-form,
html[data-theme="dark"] .wl-q,
html[data-theme="dark"] .wl-dir-box,
html[data-theme="dark"] .wl-chip > span { background: #141b28; border-color: var(--line); }
html[data-theme="dark"] .wl-form input[type=text],
html[data-theme="dark"] .wl-form select { background: #10161f; border-color: var(--line); color: var(--ink); }
html[data-theme="dark"] .wl-form input[type=text]:focus,
html[data-theme="dark"] .wl-form select:focus { background: #141b28; }
html[data-theme="dark"] .wl-opt:hover { background: rgba(124, 155, 247, .12); }
@media (max-width: 760px) {
  .wl-intro, .wl-fields, .wl-dirs { grid-template-columns: 1fr; }
  .wl-form { padding: 20px 18px 24px; }
  .wl-block { margin-bottom: 26px; }
}
.check-line span { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.check-line span b { color: var(--ink-2); font-weight: 600; }

/* 截图投稿的选图区（/shots 页）：点选 / 拖进来 / Ctrl+V 粘贴 */
.up-field { margin-bottom: 18px; }
.up-field > .up-label { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 7px; }
.upzone {
  display: block; width: 100%;
  border: 1.5px dashed #d7e0f0; border-radius: 14px; padding: 20px 16px;
  text-align: center; background: #fbfcff; cursor: pointer;
  font: inherit; color: inherit;
  transition: border-color .2s ease, background .2s ease;
}
.upzone:hover { border-color: #b9c9ee; background: #f7faff; }
.upzone:focus-visible { outline: none; border-color: #8fabf5; box-shadow: 0 0 0 4px rgba(157, 182, 247, .16); }
.upzone.over { border-color: #8fabf5; background: #f0f5ff; }
.upzone .up-big { display: block; font-size: 15px; font-weight: 600; color: var(--ink-2); margin-bottom: 5px; }
.upzone .up-small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.upzone .up-count { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--blue); }
.up-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 12px; }
.up-grid:empty { display: none; }
.up-item { position: relative; width: 110px; height: 82px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.up-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.up-del {
  position: absolute; right: 4px; top: 4px; width: 20px; height: 20px;
  border: 0; padding: 0; border-radius: 50%; line-height: 20px;
  background: rgba(20, 20, 20, .62); color: #fff; font-size: 12px; cursor: pointer;
}
.up-del:hover { background: #d14343; }
html[data-theme="dark"] .upzone { background: #10161f; border-color: #2a3448; }
html[data-theme="dark"] .upzone:hover { background: #141b28; border-color: #3a4763; }
html[data-theme="dark"] .upzone.over { background: #16202f; border-color: #5a80ea; }
html[data-theme="dark"] .up-item { background: #141b28; }

/* 公开的留言 */
.board { max-width: 720px; margin: 0 auto; display: grid; gap: 14px; }
.board-item {
  border: 1px solid #eef2f9; border-radius: 14px; padding: 16px 20px;
  background: #fcfdff; transition: border-color .25s ease, background .25s ease;
}
.board-item:hover { background: #fff; border-color: #dde6f7; }
.board-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.board-head b { font-size: 15px; font-weight: 600; }
.board-head span { font-size: 12.5px; color: var(--muted); }
.board-item p { font-size: 14.5px; color: var(--ink-2); line-height: 1.8; }

/* 团队成员卡片（关于我们页） */
.members { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.member {
  display: flex; gap: 18px; align-items: flex-start;
  border: 1px solid #eef2f9; border-radius: 16px;
  padding: 20px 22px; background: #fcfdff;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.member:hover { background: #fff; border-color: #dde6f7; box-shadow: 0 12px 30px rgba(30, 41, 80, .08); }
.member-avatar {
  width: 64px; height: 64px; flex: none;
  border-radius: 18px; overflow: hidden;
  display: grid; place-items: center;
  background: var(--grad);
  color: #fff; font-size: 24px; font-weight: 700;
}
.member-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.member-body { flex: 1; min-width: 0; }
.member-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 7px; }
.member-head b { font-size: 17px; font-weight: 700; }
.member-role {
  font-size: 12.5px; font-weight: 600;
  color: #0e7490; background: #e0f2fe;
  border-radius: 999px; padding: 4px 11px;
}
.member-body p { font-size: 14.5px; color: var(--muted); line-height: 1.75; }
.member-link {
  display: inline-block; margin-top: 10px;
  font-size: 14px; font-weight: 600; color: var(--blue-deep);
  transition: transform .2s ease, color .2s ease;
}
.member-link:hover { color: var(--blue-deep); transform: translateX(3px); }

/* 其他服务器（友链） */
.friends { max-width: 760px; margin: 0 auto; display: grid; gap: 16px; }
.friend {
  display: flex; gap: 18px; align-items: flex-start;
  border: 1px solid #eef2f9; border-radius: 16px;
  padding: 20px 22px; background: #fcfdff;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.friend:hover { background: #fff; border-color: #dde6f7; box-shadow: 0 12px 30px rgba(30, 41, 80, .08); }
.friend-icon {
  width: 60px; height: 60px; flex: none;
  border-radius: 18px; overflow: hidden;
  display: grid; place-items: center;
  background: var(--grad);
  color: #fff; font-size: 24px; font-weight: 700;
}
.friend-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.friend-body { flex: 1; min-width: 0; }
.friend-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 7px; }
.friend-head b { font-size: 17px; font-weight: 700; }
.friend-tag {
  font-size: 12.5px; font-weight: 600;
  color: #0e7490; background: #e0f2fe;
  border-radius: 999px; padding: 4px 11px;
}
.friend-body p { font-size: 14.5px; color: var(--muted); line-height: 1.75; }
.friend-meta { display: grid; gap: 8px; margin-top: 12px; }
.friend-meta .friend-addr { margin-top: 0; }
.friend-addr {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 12px; padding: 10px 13px;
  border: 1px solid #eef2f9; border-radius: 12px; background: #fff;
}
.friend-addr span { font-size: 12.5px; color: var(--muted); }
.friend-addr .friend-kind {
  display: inline-flex; align-items: center;
  padding: 2px 9px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  color: var(--blue-deep); background: rgba(107, 143, 245, .12);
}
html[data-theme="dark"] .friend-addr .friend-kind { background: rgba(124, 155, 247, .16); color: var(--blue); }
.friend-addr code { font-size: 14.5px; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.friend-copy {
  margin-left: auto; height: 30px; padding: 0 13px;
  border: 1px solid #d9e1f5; border-radius: 9px;
  background: #fff; color: var(--blue-deep);
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.friend-copy:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.friend-link {
  display: inline-block; margin-top: 10px;
  font-size: 14px; font-weight: 600; color: var(--blue);
  transition: transform .2s ease, color .2s ease;
}
.friend-link:hover { color: var(--blue-deep); transform: translateX(3px); }
.form-ok {
  padding: 18px 20px;
  border-radius: 14px;
  background: linear-gradient(100deg, rgba(108, 193, 153, .14), rgba(108, 193, 153, .04));
  border-left: 3px solid #6cc199;
  color: #2b6f4f;
  margin-bottom: 22px;
}
.form-err {
  padding: 14px 18px;
  border-radius: 14px;
  background: #fff6f6;
  border-left: 3px solid #e89a94;
  color: #a04a44;
  font-size: 14px;
  margin-bottom: 22px;
}

/* ---------- 服务器状态页 ---------- */
/* 在线状态小标签（首页玩法卡片 / 玩法页 / 友链卡片共用） */
.st-badge {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; white-space: nowrap;
  color: #2f7d57;
}
.st-badge i { width: 7px; height: 7px; border-radius: 50%; display: block; }
.st-badge.on i { background: #6cc199; box-shadow: 0 0 0 3px rgba(108, 193, 153, .18); }
.st-badge.off { color: var(--muted); }
.st-badge.off i { background: #c9d0dd; }
html[data-theme="dark"] .st-badge.on { color: #8fd6b4; }
/* 玩法卡片里：标签靠右排成一列，别跟在简介后面乱跑 */
.mode .st-badge { margin-left: auto; margin-right: 12px; }
/* 有状态标签时，箭头让它挨着标签、别再抢自动外边距（否则标签被挤到中间） */
.mode .st-badge + .arrow { margin-left: 0; }
.friend-head .st-badge { margin-left: auto; }

.game-card {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 26px;
  align-items: center;
  max-width: 980px; margin: 0 auto;
  border: 1px solid var(--line); border-radius: 20px; background: #fcfdff;
  padding: 18px;
}
html[data-theme="dark"] .game-card { background: #141b28; }
.game-shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.game-shot img { display: block; width: 100%; height: auto; }
.game-info h2 { margin: 0 0 12px; font-size: 20px; }
.game-points { margin: 0 0 18px; padding-left: 20px; display: grid; gap: 9px; }
.game-points li { font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.game-points b { color: var(--ink); margin-right: 2px; }
.game-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.game-hint { font-size: 12.5px; color: var(--muted); }
/* 小游戏页的作者卡片 */
.game-author {
  display: flex; align-items: center; gap: 16px;
  max-width: 980px; margin: 18px auto 0;
  border: 1px solid var(--line); border-radius: 18px; background: #fcfdff;
  padding: 16px 20px;
}
html[data-theme="dark"] .game-author { background: #141b28; }
.ga-avatar { width: 64px; height: 64px; flex: none; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.ga-name { font-size: 15.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ga-role {
  font-size: 12px; font-weight: 600; color: var(--blue-deep);
  background: rgba(107, 143, 245, .12); border-radius: 999px; padding: 3px 10px;
}
html[data-theme="dark"] .ga-role { color: var(--blue); background: rgba(124, 155, 247, .16); }
.ga-body p { margin: 6px 0 0; font-size: 14px; line-height: 1.7; color: var(--muted); }
.ga-link { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--blue-deep); }
.ga-link:hover { text-decoration: underline; }
html[data-theme="dark"] .ga-link { color: var(--blue); }
@media (max-width: 900px) {
  .game-card { grid-template-columns: 1fr; gap: 18px; padding: 14px; }
  .game-author { padding: 14px 16px; gap: 12px; }
  .ga-avatar { width: 52px; height: 52px; }
}

.stat-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  max-width: 920px; margin: 0 auto 26px;
}
.stat-card {
  border: 1px solid var(--line); border-radius: 16px; background: #fcfdff;
  padding: 18px 16px; text-align: center;
}
.stat-card b {
  display: block; font-size: 30px; line-height: 1.1; font-weight: 700;
  background: var(--title-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-card b em { font-size: 17px; font-style: normal; }
.stat-card b.stat-time { font-size: 19px; }
.stat-card > span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
html[data-theme="dark"] .stat-card { background: #141b28; }

.status-block {
  max-width: 920px; margin: 0 auto 30px;
  border: 1px solid var(--line); border-radius: 18px; background: #fcfdff;
  padding: 18px 20px 20px;
}
html[data-theme="dark"] .status-block { background: #141b28; }
.status-h2 { margin: 0 0 14px; font-size: 16px; font-weight: 700; }
.status-h2 span { margin-left: 8px; font-size: 12.5px; font-weight: 400; color: var(--muted); }

.chart { display: block; width: 100%; height: 200px; }
/* 每个服一张小曲线 */
.per-server { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ps-card { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px 6px; background: #fff; }
html[data-theme="dark"] .ps-card { background: #10161f; }
.ps-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.ps-name { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; }
.ps-name .status-dot { width: 8px; height: 8px; }
.ps-peak { margin-left: auto; font-size: 12px; color: var(--muted); }
.ps-card .chart { height: 110px; }
@media (max-width: 900px) {
  .per-server { grid-template-columns: 1fr; }
}
.chart-empty {
  padding: 26px; border: 1px dashed var(--line); border-radius: 14px;
  text-align: center; color: var(--muted); font-size: 13.5px;
}

/* 状态页的几处小动画：曲线画出来、柱子长出来、数字跳上去 */
@media (prefers-reduced-motion: no-preference) {
  .chart .chart-line {
    stroke-dasharray: 2400; stroke-dashoffset: 2400;
    animation: chart-draw 1.3s var(--ease-out) .12s forwards;
  }
  .chart .chart-area { animation: chart-fade .9s var(--ease-out) .3s both; }
  @keyframes chart-draw { to { stroke-dashoffset: 0; } }
  @keyframes chart-fade { from { opacity: 0; } }

  .day-bar i {
    animation: bar-grow .8s var(--ease-out) both;
    animation-delay: calc(var(--i, 0) * 70ms + 120ms);
    transform-origin: bottom;
  }
  @keyframes bar-grow {
    from { height: 0; opacity: .3; }
  }

  /* 各服那一列：一条条滑进来（用 backwards，动画结束后悬停效果不受影响） */
  .srv-row {
    animation: row-in .6s var(--ease-out) backwards;
    animation-delay: calc(var(--i, 0) * 55ms + 80ms);
  }
  @keyframes row-in {
    from { opacity: 0; transform: translateY(12px); }
  }
}

/* minmax(0,1fr) 不能省：只写 display:grid 的话列宽按"内容最大宽度"算，
   行里那行不换行的小字（版本 · 延迟 · …）会把整页撑出横向滚动 */
.status-list { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
.status-dot {
  flex: 0 0 9px; width: 9px; height: 9px; border-radius: 50%;
  background: #c9d0dd;
}
.status-dot.on { background: #6cc199; box-shadow: 0 0 0 3px rgba(108, 193, 153, .22); }

/* ---- 各服那一条：照游戏里「多人游戏」列表的版式做（2026-09-16 服主要求）----
   左边 64×64 图标、中间服名 + 两行 MOTD、右边人数 + 延迟格子。
   底色用深灰：一是像游戏，二是 MOTD 的颜色本来就只能在深色底上看。 */
.srv-row {
  display: flex; align-items: center; gap: 14px;
  padding: 8px 12px; border-radius: 8px;
  /* 浅色底就是网站默认那种白卡片；深色模式换成深色卡片。
     MOTD 的颜色会跟着主题在"压暗版 / 游戏原色"之间切（见 .mc-motd 那段）。 */
  background: #fff; border: 1px solid var(--line);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
html[data-theme="dark"] .srv-row { background: #141b28; }
/* 离线的服：**不要用 opacity 把整行压暗** —— 那会把文字和底色一起稀释，
   对比度直接不达标（axe 会报 serious）。改成只把文字调灰一点、图标去色。 */
.srv-row:hover { border-color: var(--c, var(--blue)); }
html[data-theme="dark"] .srv-row:hover { background: #18202f; }
.srv-row.is-off { background: #fafbfe; }
html[data-theme="dark"] .srv-row.is-off { background: #11161f; }
.srv-row.is-off .srv-name, .srv-row.is-off .srv-right b { color: var(--muted); }
.srv-row.is-off .srv-icon { filter: grayscale(1); }
.srv-icon {
  flex: 0 0 64px; width: 64px; height: 64px;
  border-radius: 4px; overflow: hidden; background: #f2f5fa;
  display: flex; align-items: center; justify-content: center;
}
html[data-theme="dark"] .srv-icon { background: #0f141d; }
.srv-icon img { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.srv-glyph { font-size: 22px; font-weight: 700; color: var(--muted); }
.srv-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.srv-name { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.srv-meta {
  font-size: 11.5px; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.srv-right { flex: 0 0 auto; text-align: right; display: flex; flex-direction: column; gap: 1px; }
/* 人数那一行：绿点在最前面（服主说绿点是"灵魂"，要放人数前面） */
.srv-line { display: inline-flex; align-items: center; gap: 6px; justify-content: flex-end; }
.srv-right b { font-size: 17px; font-weight: 700; color: var(--ink); }
.srv-right em { font-style: normal; font-size: 13px; color: var(--muted); }
.srv-off { font-size: 13.5px; color: var(--ink-2); }
.srv-peak { font-size: 11.5px; color: var(--muted); }
/* 右边那五格就是延迟（游戏里也在这）：越卡亮得越少 */
.srv-bars { flex: 0 0 auto; display: flex; align-items: flex-end; gap: 2px; height: 18px; }
.srv-bars i { width: 3px; border-radius: 1px; background: #dfe5f0; }
html[data-theme="dark"] .srv-bars i { background: #2c3648; }
.srv-bars i:nth-child(1) { height: 5px; }
.srv-bars i:nth-child(2) { height: 8px; }
.srv-bars i:nth-child(3) { height: 11px; }
.srv-bars i:nth-child(4) { height: 14px; }
.srv-bars i:nth-child(5) { height: 17px; }
.srv-bars.lv1 i:nth-child(-n+1),
.srv-bars.lv2 i:nth-child(-n+2),
.srv-bars.lv3 i:nth-child(-n+3),
.srv-bars.lv4 i:nth-child(-n+4),
.srv-bars.lv5 i:nth-child(-n+5) { background: #6cc199; }

/* ---- 状态页拓展（2026-09-16）：图标 / 第二行小字 / 30 天与活跃时段 ---- */
.status-icon { flex: 0 0 20px; width: 20px; height: 20px; border-radius: 5px; display: block; }
.status-row.is-off .status-icon { filter: grayscale(1); opacity: .45; }
.status-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.status-main .status-name { flex: none; }
.status-sub {
  font-size: 12px; color: var(--muted); line-height: 1.5;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/*
 * MOTD：按游戏里服务器列表那个样子显示 —— 最多两行、带颜色。
 * 颜色分深浅两套（每个 span 上带 --cl / --cd 两个变量）：
 *   浅色底用 --cl（把游戏色保持色相压暗到白底上能看清），深色底用 --cd（游戏原色）。
 * 单用一种颜色是不行的 —— 游戏色是给黑底设计的，白底上会糊；浅色版摆在深色底上又会太暗。
 */
.mc-motd {
  /* inline-block + align-self：让它贴着文字宽，别在列方向被拉成一整条 */
  display: inline-block; align-self: flex-start; margin-top: 5px; padding: 3px 9px; border-radius: 5px;
  background: none; max-width: 100%;
  font-family: ui-monospace, Consolas, "Courier New", monospace;
  font-size: 12.5px; line-height: 1.45; letter-spacing: .01em;
  padding-left: 0;
}
.mc-motd .mc-line { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-motd span { color: var(--cl, inherit); }
/* 深色底才用游戏原色，并且把那道"游戏味"的阴影加回来 */
html[data-theme="dark"] .mc-motd span { color: var(--cd, inherit); }
html[data-theme="dark"] .mc-motd { text-shadow: 1px 1px 0 rgba(0, 0, 0, .65); }
.ps-sub { margin: -4px 0 8px; font-size: 12px; color: var(--muted); }
/* 格子多的柱状图（30 天 / 24 小时）：柱子细一点、字小一点，不然挤成一团 */
.day-bars.many { gap: 4px; }
.day-bars.many .day-bar i { max-width: 22px; border-radius: 5px 5px 2px 2px; }
.day-bars.many .day-bar b { font-size: 10.5px; margin: 4px 0 1px; }
.day-bars.many .day-bar span { font-size: 10px; }
.day-bars.hour-bars .day-bar i { background: linear-gradient(180deg, #a8c0fb, #7c9df6); }
/* 手机上：图标缩小、延迟格子藏掉（太挤），其余保留 */
@media (max-width: 560px) {
  .srv-row { gap: 10px; padding: 8px 10px; }
  .srv-icon { flex: 0 0 44px; width: 44px; height: 44px; }
  .srv-name { font-size: 14.5px; }
  .srv-bars { display: none; }
}
/* 手机上 30 天 / 24 小时太密：数字全藏、日期只留每 5 个一个，不然一排字又撑破 */
@media (max-width: 560px) {
  .day-bars.many { gap: 2px; }
  .day-bars.many .day-bar b { display: none; }
  .day-bars.many .day-bar span { display: none; }
  .day-bars.many .day-bar:nth-child(5n) span { display: block; font-size: 9px; }
  .day-bars.hour-bars .day-bar:nth-child(3n) span { display: block; font-size: 9px; }
}
.status-now { font-size: 13.5px; color: var(--muted); }
.status-now b { font-size: 17px; color: var(--ink); margin-right: 2px; }
.status-now em { font-style: normal; }
.status-peak {
  flex: 0 0 auto; font-size: 12.5px; color: var(--muted);
  padding-left: 12px; border-left: 1px solid var(--line);
}

.day-bars { display: flex; align-items: flex-end; gap: 10px; height: 130px; padding-top: 8px; }
.day-bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.day-bar i {
  display: block; width: 100%; max-width: 46px; min-height: 3px;
  border-radius: 8px 8px 3px 3px; background: var(--grad);
}
.day-bar b { margin: 6px 0 2px; font-size: 12.5px; color: var(--ink-2); }
.day-bar span { font-size: 11.5px; color: var(--muted); }
.status-foot {
  max-width: 920px; margin: 0 auto; text-align: center;
  font-size: 12.5px; line-height: 1.8; color: var(--muted);
}

/* 首页那行「现在多少人」：做成一行小字，别像第三个按钮 */
.live-text {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 16px;
  font-size: 13px; color: var(--muted);
  transition: color .2s ease;
}
.live-text:hover { color: var(--blue); }
.live-text .dot { width: 7px; height: 7px; border-radius: 50%; background: #6cc199; box-shadow: 0 0 0 3px rgba(108, 193, 153, .18); }
/* 连不上的服：点变灰（子服页面用） */
.live-text.off .dot { background: #c9d0dd; box-shadow: none; }
html[data-theme="dark"] .live-text.off .dot { background: #4d5670; }
.live-text b { font-weight: 700; color: var(--ink-2); }
.live-text:hover b { color: var(--blue); }
.live-text .go { font-size: 12px; opacity: .45; transition: transform .2s ease, opacity .2s ease; }
.live-text:hover .go { opacity: 1; transform: translateX(2px); }

/* 旧版那种胶囊样式的入口（留着备用，别再往首页塞了） */
.live-line {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; padding: 7px 16px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 13.5px; color: var(--ink-2); background: rgba(255, 255, 255, .6);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.live-line:hover { border-color: var(--blue); color: var(--blue); }
html[data-theme="dark"] .live-line { background: rgba(20, 27, 40, .6); }
.live-line .dot { width: 8px; height: 8px; border-radius: 50%; background: #6cc199; box-shadow: 0 0 0 3px rgba(108, 193, 153, .2); }
.live-line b { font-weight: 700; }

@media (max-width: 900px) {
  /* 手机上两栏竖着排，中间加一条横线 */
  .addr-grid { grid-template-columns: 1fr; }
  .addr-col { padding-right: 0; }
  .addr-col + .addr-col {
    margin-top: 16px; padding-top: 16px; padding-left: 0;
    border-left: 0; border-top: 1px solid var(--line);
  }
  button.addr-value { font-size: 24px; }
  .stat-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 14px 12px; }
  .stat-card b { font-size: 24px; }
  .status-block { padding: 14px 14px 16px; }
  .status-row { flex-wrap: wrap; gap: 8px 10px; }
  .status-peak { border-left: 0; padding-left: 0; }
  .day-bars { height: 110px; gap: 6px; }
}
