/* ============================================================
   ifty 加速 · 客户端 UI（Apple Glass 版）
   统一尺寸：iPhone 16 = 393 × 852 pt
   玻璃质感：半透明表面 + backdrop-filter 模糊 + 高光边
   ============================================================ */

:root {
  --c-primary: #0A84FF;
  --c-primary-dark: #0066CC;
  --c-primary-soft: rgba(10, 132, 255, .12);

  --c-success: #30D158;
  --c-success-soft: rgba(48, 209, 88, .16);
  --c-warning: #FF9F0A;
  --c-warning-soft: rgba(255, 159, 10, .18);
  --c-danger: #FF453A;
  --c-danger-soft: rgba(255, 69, 58, .16);

  --c-text: #0B1220;
  --c-text-2: #5A6472;
  --c-text-3: #8E97A4;

  /* 玻璃表面 */
  --glass: rgba(255, 255, 255, .62);
  --glass-strong: rgba(255, 255, 255, .78);
  --glass-weak: rgba(255, 255, 255, .42);
  --glass-line: rgba(255, 255, 255, .70);
  --glass-blur: saturate(180%) blur(24px);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;
  --r-full: 999px;

  --sh-glass: 0 1px 1px rgba(11,18,32,.04), 0 8px 24px rgba(11,18,32,.08);
  --sh-inset: inset 0 1px 0 rgba(255,255,255,.75);

  --w: 393px;
  --h: 852px;
  --safe-top: 54px;       /* 顶部安全区：内容从这里开始，避开灵动岛 */
  --island-w: 124px;
  --island-h: 35px;
  --safe-bottom: 34px;
}

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

body {
  margin: 0;
  padding: 44px 24px 72px;
  color: var(--c-text);
  font-family: "SF Pro Text", "Inter", "PingFang SC", "Microsoft YaHei",
               -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(900px 600px at 12% -4%, #CFE4FF 0%, transparent 58%),
    radial-gradient(760px 560px at 88% 8%, #E6D9FF 0%, transparent 60%),
    radial-gradient(700px 620px at 50% 108%, #CFF3E4 0%, transparent 58%),
    linear-gradient(160deg, #EEF3FA 0%, #E7EDF7 100%);
  background-attachment: fixed;
}

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: var(--c-primary); text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ============================================================
   页面头部
   ============================================================ */
.page-head { max-width: 1340px; margin: 0 auto 36px; }
.page-head h1 { font-size: 27px; margin-bottom: 10px; letter-spacing: -.02em; }
.page-head p { color: #47536B; max-width: 800px; }
.page-head .legend {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin-top: 18px; font-size: 13px; color: #47536B;
}
.page-head .legend b { color: var(--c-text); }

/* ============================================================
   屏幕网格
   ============================================================ */
.screen-grid {
  display: flex; flex-wrap: wrap; gap: 40px; justify-content: center;
  max-width: 1340px; margin: 0 auto;
}
.screen-wrap { width: var(--w); }
.screen-label {
  font-size: 13px; font-weight: 600; color: #2C3A55;
  margin-bottom: 10px; display: flex; align-items: baseline; gap: 8px;
}
.screen-label span { font-weight: 400; color: #6B7A93; font-size: 12px; }

/* ============================================================
   机身
   ============================================================ */
.win {
  width: var(--w); height: var(--h);
  border-radius: 46px;
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: 0 24px 60px rgba(11,18,32,.18), 0 2px 6px rgba(11,18,32,.08);
  background:
    radial-gradient(420px 320px at 18% 4%, rgba(10,132,255,.20), transparent 62%),
    radial-gradient(380px 300px at 92% 14%, rgba(120,90,255,.16), transparent 60%),
    radial-gradient(460px 360px at 62% 100%, rgba(48,209,88,.14), transparent 62%),
    linear-gradient(170deg, #F2F6FC 0%, #E9EFF8 52%, #EDF2F9 100%);
}

/* 灵动岛：真实位置，内容不得覆盖 */
.island {
  position: absolute;
  top: 11px; left: 50%; transform: translateX(-50%);
  width: var(--island-w); height: var(--island-h);
  background: #05070C; border-radius: var(--r-full);
  z-index: 60;
}
/* 状态栏：左右两侧文字，中间为灵动岛留空 */
.statusbar {
  position: absolute; top: 0; left: 0; right: 0;
  height: var(--safe-top);
  display: flex; align-items: center;
  padding: 0 30px;
  font-size: 14px; font-weight: 650;
  color: var(--c-text);
  z-index: 55; pointer-events: none;
}
.statusbar__time { width: calc(var(--island-w) / 2 + 8px); }
.statusbar__icons {
  margin-left: auto;
  display: flex; align-items: center; gap: 5px;
}

/* home 指示条 */
.home-indicator {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  width: 140px; height: 5px; border-radius: var(--r-full);
  background: rgba(11,18,32,.30); z-index: 60; pointer-events: none;
}

/* ---- 顶部栏：无窗口按钮，标题居中，返回键固定左上 ---- */
.topbar {
  flex-shrink: 0;
  margin-top: var(--safe-top);
  height: 52px;
  display: flex; align-items: center;
  padding: 0 16px;
  position: relative;
  z-index: 20;
}
.topbar__title {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-size: 16px; font-weight: 650; letter-spacing: -.01em;
  white-space: nowrap;
}
.topbar__back {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-full);
  background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  color: var(--c-primary);
  box-shadow: var(--sh-inset);
}
.topbar__right {
  margin-left: auto;
  display: flex; align-items: center; gap: 8px;
}
.topbar__btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-full);
  background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  color: var(--c-text-2); position: relative;
  box-shadow: var(--sh-inset);
}
.topbar__text { font-size: 14px; color: var(--c-primary); font-weight: 550; }
.badge-dot {
  position: absolute; top: 1px; right: 1px;
  min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: var(--r-full);
  /* ★ 与右上角铃铛同一套玻璃：半透明红 + 模糊 + 高光边 + 内高光
     红色保留告警语义，但质感从"实心贴纸"变成"玻璃珠" */
  background: rgba(255, 69, 58, .86);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  color: #fff;
  font-size: 10px; line-height: 17px; text-align: center; font-weight: 700;
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55),
              0 1px 4px rgba(255, 69, 58, .38);
  text-shadow: 0 1px 1px rgba(140, 20, 12, .30);
}

/* ---- 内容区 ---- */
.body { flex: 1; display: flex; flex-direction: column; overflow: hidden; position: relative; z-index: 10; }
.scroll { flex: 1; overflow: hidden; padding: 6px 18px 18px; }
.scroll--flush { padding: 0 0 18px; }

/* ============================================================
   玻璃组件
   ============================================================ */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-lg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--sh-glass), var(--sh-inset);
}
.glass--strong { background: var(--glass-strong); }

.panel { padding: 16px; }
.panel + .panel { margin-top: 14px; }

.group-title {
  font-size: 12.5px; font-weight: 650; color: #4B586E;
  letter-spacing: .02em; margin: 20px 4px 10px;
}
.group-title:first-child { margin-top: 6px; }

/* 列表分组 */
.glist {
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--sh-glass), var(--sh-inset);
}
.glist__item {
  display: flex; align-items: center; gap: 13px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(11,18,32,.055);
}
.glist__item:last-child { border-bottom: 0; }
.glist__icon {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.9);
  color: var(--c-primary);
  box-shadow: 0 1px 2px rgba(11,18,32,.06);
}
.glist__icon--green { color: #1A9E43; }
.glist__icon--amber { color: #C77700; }
.glist__icon--red   { color: #D0372C; }
.glist__icon--gray  { color: #5A6472; }
.glist__main { flex: 1; min-width: 0; }
.glist__title { font-size: 14.5px; font-weight: 500; }
.glist__sub { font-size: 12px; color: var(--c-text-2); margin-top: 2px; line-height: 1.5; }
.glist__chev { color: #A6AFBD; flex-shrink: 0; }
.glist__value { font-size: 13.5px; color: var(--c-text-2); }

/* 文字与徽标 */
.t { font-size: 14px; font-weight: 500; }
.t-sm { font-size: 12.5px; }
.t-xs { font-size: 11.5px; }
.muted { color: var(--c-text-2); }
.dim { color: var(--c-text-3); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.row { display: flex; align-items: center; gap: 10px; }
.row--between { justify-content: space-between; }
.spacer { flex: 1; }

.pill {
  display: inline-flex; align-items: center; gap: 5px;
  height: 23px; padding: 0 10px;
  border-radius: var(--r-full);
  font-size: 11.5px; font-weight: 600;
  border: 1px solid transparent;
}
.pill--smooth { background: var(--c-success-soft); color: #147A34; border-color: rgba(48,209,88,.28); }
.pill--busy   { background: var(--c-warning-soft); color: #9A5B00; border-color: rgba(255,159,10,.30); }
.pill--full   { background: var(--c-danger-soft);  color: #A82A22; border-color: rgba(255,69,58,.28); }
.pill--gray   { background: rgba(11,18,32,.06); color: var(--c-text-2); border-color: rgba(11,18,32,.06); }
.pill--blue   { background: var(--c-primary-soft); color: var(--c-primary-dark); border-color: rgba(10,132,255,.24); }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 44px; padding: 0 20px;
  border-radius: var(--r-md);
  font-size: 15px; font-weight: 600;
  transition: transform .12s, background .15s;
}
.btn--primary {
  background: linear-gradient(180deg, #3D9BFF, var(--c-primary));
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 6px 18px rgba(10,132,255,.32), inset 0 1px 0 rgba(255,255,255,.45);
}
.btn--glass {
  background: var(--glass-strong);
  border: 1px solid var(--glass-line);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--sh-inset);
  color: var(--c-text);
}
.btn--block { width: 100%; }
.btn--sm { height: 34px; padding: 0 14px; font-size: 13px; border-radius: var(--r-sm); }
.btn:active { transform: scale(.985); }

/* 开关 */
.switch {
  width: 46px; height: 28px; border-radius: var(--r-full);
  background: rgba(11,18,32,.16); position: relative; flex-shrink: 0;
  transition: background .2s;
  border: 1px solid rgba(255,255,255,.5);
}
.switch::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(11,18,32,.28);
  transition: transform .2s;
}
.switch.is-on { background: var(--c-success); }
.switch.is-on::after { transform: translateX(18px); }
.switch--blue.is-on { background: var(--c-primary); }

/* 提示条 */
.note {
  display: flex; gap: 10px; padding: 12px 14px;
  border-radius: var(--r-md); font-size: 12.5px; line-height: 1.6;
}
.note--info { background: rgba(10,132,255,.12); color: #0A4FA0; border: 1px solid rgba(10,132,255,.20); }

/* ============================================================
   ★ 首页各信息卡片的统一间距
   首页容器 .conn 是 flex 列 → **flex 项的 margin 不会塌陷，会叠加**。
   所以不能"一个设下边距、另一个设上边距"（会变成 24px），
   也不能只给某一块设（其余就成 0px）。
   统一规则：所有卡片只设 margin-bottom: 12px，上边距清零。
   ============================================================ */
.conn > .conn__dur,
.conn > .frow,
.conn > .speeds,
.conn > .quota,
.conn > .note {
  margin-top: 0;
  margin-bottom: 12px;
}
.note--warn { background: rgba(255,159,10,.16); color: #8A5200; border: 1px solid rgba(255,159,10,.26); }
.note--danger { background: rgba(255,69,58,.14); color: #9A2620; border: 1px solid rgba(255,69,58,.24); }
.note--success { background: rgba(48,209,88,.14); color: #14713A; border: 1px solid rgba(48,209,88,.24); }
.note svg { flex-shrink: 0; margin-top: 2px; }

/* 小件 */
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.dot--pulse      { box-shadow: 0 0 0 4px rgba(10,132,255,.20); }   /* 回落到主色蓝 */
@supports (color: color-mix(in srgb, red 20%, transparent)) {
  /* ★ 光晕跟随圆点自身颜色（.dot 用 currentColor），不再写死绿色 */
  .dot--pulse { box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent); }
}
.bar { height: 6px; border-radius: var(--r-full); background: rgba(11,18,32,.10); overflow: hidden; }
.bar__fill { height: 100%; border-radius: var(--r-full); }
.bar__fill--smooth { background: var(--c-success); }
.bar__fill--busy { background: var(--c-warning); }
.bar__fill--full { background: var(--c-danger); }
.bar__fill--blue { background: linear-gradient(90deg, #4AA3FF, var(--c-primary)); }

/* ============================================================
   标签栏
   ============================================================ */
/* ============================================================
   底部标签栏 · Apple Glass 浮动胶囊 + 四段分割
   改动要点：
     ① 从"贴边通栏"改为**浮起**的圆角胶囊（左右留边、底部留白）
     ② 四个标签各自成段（gap 分隔），而不是均分的一整条
     ③ 选中项再套一个玻璃小胶囊做高亮
   ============================================================ */
.tabbar {
  flex-shrink: 0;
  display: flex; gap: 6px;
  margin: 0 12px calc(6px + var(--safe-bottom));
  padding: 6px;
  border-radius: 26px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--sh-glass), var(--sh-inset);
}
.tabbar__item {
  flex: 1; min-width: 0;
  height: 50px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  border-radius: 20px;
  color: #8A94A6;
  font-size: 10.5px; font-weight: 550;
  transition: background .22s ease, color .22s ease, box-shadow .22s ease;
}
.tabbar__item.is-active {
  color: var(--c-primary);
  background: rgba(255, 255, 255, .80);
  box-shadow: var(--sh-inset), 0 1px 3px rgba(11, 18, 32, .07);
}

/* ============================================================
   首页
   ============================================================ */
.conn { display: flex; flex-direction: column; align-items: center; padding-top: 8px; }

.conn__badge {
  display: inline-flex; align-items: center; gap: 7px;
  height: 30px; padding: 0 14px;
  border-radius: var(--r-full);
  font-size: 13px; font-weight: 650;
  border: 1px solid transparent;
  box-shadow: var(--sh-inset);
}
.conn__badge--protected    { background: rgba(10,132,255,.16); color: #0066CC; border-color: rgba(10,132,255,.28); }
.conn__badge--protecting { background: rgba(255,159,10,.20); color: #8A5200; border-color: rgba(255,159,10,.32); }
.conn__badge--idle { background: rgba(11,18,32,.07); color: #46536A; border-color: rgba(11,18,32,.08); }

/* ============================================================
   连接大按钮：四态动画
   idle 呼吸 / arming 充能 / protected 能量脉冲 / protecting 警告心跳
   状态由 .orb 上的 orb--xxx 类驱动，颜色全部走 CSS 变量
   ============================================================ */
.orb {
  position: relative;
  width: 210px; height: 210px;
  margin: 18px 0 10px;
  display: flex; align-items: center; justify-content: center;
  /* 默认（未连接）：渐变灰 —— 未建立保护，不该用品牌色抢注意力 */
  --rip: rgba(120,134,154,.50);
  --glow: rgba(120,134,154,.42);
  --core1: #AFBBCC; --core2: #8C99AB; --core3: #6B7788;
  --ring: rgba(120,134,154,.42);
}
.orb--armed,
.orb--arming          {
  /* ★ 底色保持灰（继承 .orb）：涨水时未覆盖的部分要看得见灰 */
  /*   蓝色交给 .orb__water 那层水，涟漪/光晕仍用蓝表示"正在活动" */
  --rip: rgba(10,132,255,.62); --glow: rgba(10,132,255,.42); --ring: rgba(10,132,255,.50);
}
.orb--protected        { --rip: rgba(10,132,255,.62); --glow: rgba(10,132,255,.55); --core1: #6FB4FF; --core2: #0A84FF; --core3: #0052AE; --ring: rgba(10,132,255,.55); }
.orb--protecting {
  --rip: rgba(255,159,10,.62);
  --glow: rgba(255,159,10,.55);
  --core1: #FFCB66; --core2: #FF9F0A; --core3: #C97900;
  --ring: rgba(255,159,10,.55);
}

/* ---- 外层光晕（呼吸） ---- */
.orb__aura {
  position: absolute; inset: -22px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 66%);
  filter: blur(16px);
  animation: orb-breathe 3.6s ease-in-out infinite;
}
.orb--arming .orb__aura { animation-duration: 1.5s; }
.orb--protecting .orb__aura { animation-duration: 1.1s; }
@keyframes orb-breathe {
  0%, 100% { transform: scale(.94); opacity: .55; }
  50%      { transform: scale(1.06); opacity: .95; }
}

/* ---- 三重扩散涟漪（声纳） ---- */
.orb__ripple {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--rip);
  opacity: 0;
  animation: orb-ripple 3s cubic-bezier(.22,.61,.36,1) infinite;
}
.orb__ripple--2 { animation-delay: 1s; }
.orb__ripple--3 { animation-delay: 2s; }
.orb--idle .orb__ripple { animation-duration: 4.2s; }
.orb--idle .orb__ripple--2 { animation-delay: 1.4s; }
.orb--idle .orb__ripple--3 { animation-delay: 2.8s; }
.orb--protecting .orb__ripple { animation-duration: 1.5s; }
.orb--protecting .orb__ripple--2 { animation-delay: .5s; }
.orb--protecting .orb__ripple--3 { animation-delay: 1s; }
@keyframes orb-ripple {
  0%   { transform: scale(.70); opacity: .70; }
  70%  { opacity: .14; }
  100% { transform: scale(1.30); opacity: 0; }
}

/* ---- 旋转能量环（锥形渐变 + 环形遮罩，像彗尾） ---- */
.orb__spin {
  position: absolute; inset: 3px; border-radius: 50%;
  background: conic-gradient(from 0deg,
    transparent 0deg, transparent 190deg,
    var(--rip) 320deg, rgba(255,255,255,.95) 352deg, transparent 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  animation: orb-spin 3.4s linear infinite;
  opacity: 0;
  transition: opacity .5s;
}
.orb--protected .orb__spin,
.orb--protecting .orb__spin,
.orb--arming .orb__spin { opacity: 1; }
.orb--protecting .orb__spin { animation-duration: 1.1s; }
.orb--arming .orb__spin { animation-duration: 1.8s; }

/* ---- 旋转虚线环（反向，增加层次） ---- */
.orb__dash {
  position: absolute; inset: 16px; border-radius: 50%;
  border: 1.5px dashed var(--ring);
  opacity: 0;
  animation: orb-spin-rev 9s linear infinite;
  transition: opacity .5s;
}
.orb--protected .orb__dash,
.orb--protecting .orb__dash { opacity: .85; }
.orb--protecting .orb__dash { animation-duration: 3s; }

@keyframes orb-spin { to { transform: rotate(360deg); } }
@keyframes orb-spin-rev { to { transform: rotate(-360deg); } }

/* ---- 环绕粒子（三个不同速度与方向） ---- */
.orb__orbit {
  position: absolute; inset: -4px; border-radius: 50%;
  animation: orb-spin 8s linear infinite;
  opacity: 0; transition: opacity .6s;
  pointer-events: none;
}
.orb__orbit i {
  position: absolute; top: -3.5px; left: 50%; margin-left: -3.5px;
  width: 7px; height: 7px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px 2px var(--glow);
}
.orb__orbit--2 { inset: 8px; animation: orb-spin-rev 5.5s linear infinite; }
.orb__orbit--2 i { width: 5px; height: 5px; margin-left: -2.5px; top: -2.5px; opacity: .9; }
.orb__orbit--3 { inset: 20px; animation: orb-spin 12s linear infinite; }
.orb__orbit--3 i { width: 4px; height: 4px; margin-left: -2px; top: -2px; opacity: .75; }
.orb--protected .orb__orbit,
.orb--protecting .orb__orbit { opacity: 1; }

/* ---- 玻璃底 ---- */
.orb__glass {
  position: absolute; inset: 0; border-radius: 50%;
  background: rgba(255,255,255,.30);
  border: 1px solid rgba(255,255,255,.70);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 10px 30px rgba(11,18,32,.10);
}

/* ---- arming：充能进度环 ---- */
.orb__progress {
  position: absolute; inset: -6px;
  opacity: 0; transition: opacity .3s;
  animation: orb-spin 2.6s linear infinite;
}
.orb--arming .orb__progress { opacity: 1; }
.orb__progress .track { stroke: rgba(255,255,255,.22); }
.orb__progress .bar {
  stroke: #fff; stroke-dasharray: 295; stroke-dashoffset: 295;
  filter: drop-shadow(0 0 6px var(--glow));
}
.orb--arming .orb__progress .bar { animation: orb-charge 1.5s ease-in-out infinite; }
@keyframes orb-charge {
  0%   { stroke-dashoffset: 295; opacity: 1; }
  55%  { stroke-dashoffset: 74;  opacity: 1; }
  85%  { stroke-dashoffset: 20;  opacity: .85; }
  100% { stroke-dashoffset: 0;   opacity: 0; }
}

/* ---- 主按钮 ---- */
.orb__btn {
  position: relative;
  width: 150px; height: 150px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  color: #fff; font-size: 15px; font-weight: 650;
  border: 1px solid rgba(255,255,255,.42);
  overflow: hidden;
  background: linear-gradient(165deg, var(--core1), var(--core2) 58%, var(--core3));
  box-shadow:
    0 14px 34px rgba(11,18,32,.22),
    inset 0 1px 0 rgba(255,255,255,.55),
    inset 0 -10px 24px rgba(0,0,0,.12);
  animation: orb-float 4.5s ease-in-out infinite;
  transition: transform .12s, box-shadow .5s;
}
.orb--arming .orb__btn { animation-duration: 1.6s; }
.orb--protecting .orb__btn { animation-duration: 1.05s; }
.orb--protected .orb__btn { animation-duration: 3.4s; }
@keyframes orb-float {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.035); }
}
/* 内部能量核（呼吸光） */
.orb__btn::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 32%, rgba(255,255,255,.55), transparent 62%);
  animation: orb-core 2.8s ease-in-out infinite;
}
@keyframes orb-core {
  0%, 100% { opacity: .40; }
  50%      { opacity: .85; }
}
/* 玻璃斜向扫光 */
.orb__btn::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; width: 46%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.42), transparent);
  transform: translateX(-180%) rotate(12deg);
  animation: orb-sheen 4.6s ease-in-out infinite;
}
.orb--protecting .orb__btn::after { animation-duration: 1.6s; }
@keyframes orb-sheen {
  0%, 62%, 100% { transform: translateX(-190%) rotate(12deg); }
  78%           { transform: translateX(210%) rotate(12deg); }
}
.orb__btn > * { position: relative; z-index: 2; }
.orb__btn:active { transform: scale(.97); }

/* ---- 状态切换冲击波（由 JS 加 .is-burst 触发一次） ---- */
.orb__burst {
  position: absolute; inset: 0; border-radius: 50%;
  border: 4px solid #fff; opacity: 0; pointer-events: none;
}
.orb.is-burst .orb__burst { animation: orb-burst .75s cubic-bezier(.2,.7,.3,1); }
@keyframes orb-burst {
  0%   { transform: scale(.82); opacity: .95; border-width: 8px; }
  100% { transform: scale(1.85); opacity: 0;   border-width: 1px; }
}

/* ---- 尊重"减少动效"偏好 ---- */
@media (prefers-reduced-motion: reduce) {
  .orb__aura, .orb__ripple, .orb__spin, .orb__dash, .orb__orbit,
  .orb__progress, .orb__btn, .orb__btn::before, .orb__btn::after { animation: none !important; }
  .orb__ripple { opacity: .35; }
}

.conn__dur { font-size: 12.5px; color: var(--c-text-2); margin-bottom: 16px; text-align: center; }

.nodebar {
  width: 100%;
  display: flex; align-items: center; gap: 12px;
  padding: 13px 15px;
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--sh-glass), var(--sh-inset);
  margin-bottom: 12px;
}
.flag {
  width: 34px; height: 25px; border-radius: 7px; flex-shrink: 0;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.9);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.nodebar__name { font-size: 14px; font-weight: 600; }
.nodebar__meta { font-size: 11.5px; color: var(--c-text-2); margin-top: 2px; }

.speeds { display: flex; gap: 12px; width: 100%; margin-bottom: 12px; }
.speed {
  flex: 1; padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--sh-inset);
}
.speed__k { font-size: 11.5px; color: var(--c-text-2); display: flex; align-items: center; gap: 5px; }
.speed__v { font-size: 17px; font-weight: 700; margin-top: 3px; letter-spacing: -.01em; }
.speed__v small { font-size: 11.5px; font-weight: 500; color: var(--c-text-2); }

.quota {
  width: 100%; padding: 14px 15px;
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--sh-inset);
}
.quota__top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 9px; }
.quota__k { font-size: 12.5px; color: var(--c-text-2); }
.quota__v { font-size: 14px; font-weight: 700; }
.quota__foot { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--c-text-2); margin-top: 8px; }

/* ============================================================
   节点
   ============================================================ */
.node {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 15px;
  border-bottom: 1px solid rgba(11,18,32,.055);
}
.node:last-child { border-bottom: 0; }
.node.is-on { background: rgba(10,132,255,.08); }
.node__main { flex: 1; min-width: 0; }
.node__name { font-size: 14.5px; font-weight: 550; display: flex; align-items: center; gap: 7px; }
.node__meta { font-size: 11.5px; color: var(--c-text-2); margin-top: 4px; }
.node__right { flex-shrink: 0; text-align: right; }
.tick { color: var(--c-primary); }

/* ============================================================
   套餐（不含余额）
   ============================================================ */
.current-plan {
  padding: 16px;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(10,132,255,.20), rgba(120,90,255,.14));
  border: 1px solid rgba(255,255,255,.65);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--sh-glass), var(--sh-inset);
}

.plan {
  padding: 15px 16px;
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--sh-glass), var(--sh-inset);
  display: flex; align-items: center; gap: 14px;
}
.plan + .plan { margin-top: 12px; }
.plan.is-current {
  background: linear-gradient(180deg, rgba(10,132,255,.16), rgba(10,132,255,.09));
  border-color: rgba(10,132,255,.34);
}
.plan__main { flex: 1; min-width: 0; }
.plan__name { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.plan__meta { font-size: 12px; color: var(--c-text-2); margin-top: 4px; }
.plan__right { text-align: right; flex-shrink: 0; }
.plan__price { font-size: 19px; font-weight: 700; color: var(--c-primary-dark); letter-spacing: -.02em; }
.plan__price small { font-size: 12px; font-weight: 600; }
.plan__tag { font-size: 11px; color: var(--c-text-2); margin-top: 3px; }

/* ============================================================
   「我的」
   ============================================================ */
.player {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 16px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(255,255,255,.46));
  border: 1px solid var(--glass-line);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--sh-glass), var(--sh-inset);
}
.avatar {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; color: #fff;
  background: linear-gradient(150deg, #5AA6FF, #0A84FF 55%, #6C5CE7);
  border: 2px solid rgba(255,255,255,.85);
  box-shadow: 0 6px 16px rgba(10,132,255,.28);
}
.player__name { font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.player__mail { font-size: 12.5px; color: var(--c-text-2); margin-top: 3px; }

.assets { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.asset {
  padding: 14px;
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--sh-inset);
}
.asset__k { font-size: 11.5px; color: var(--c-text-2); }
.asset__v { font-size: 21px; font-weight: 750; margin-top: 5px; letter-spacing: -.02em; }
.asset__v small { font-size: 12px; font-weight: 600; color: var(--c-text-2); }
.asset__sub { font-size: 11px; color: var(--c-text-2); margin-top: 3px; }

/* ============================================================
   系统设置
   ============================================================ */
.setrow {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(11,18,32,.055);
}
.setrow:last-child { border-bottom: 0; }
.setrow__main { flex: 1; min-width: 0; }
.setrow__title { font-size: 14.5px; font-weight: 500; }
.setrow__sub { font-size: 11.5px; color: var(--c-text-2); margin-top: 3px; line-height: 1.5; }

.seg { display: flex; padding: 3px; gap: 2px; border-radius: 11px; background: rgba(11,18,32,.08); }
.seg div { padding: 6px 13px; border-radius: 9px; font-size: 12.5px; font-weight: 550; color: var(--c-text-2); }
.seg .is-on { background: #fff; color: var(--c-text); box-shadow: 0 1px 3px rgba(11,18,32,.14); }

/* ============================================================
   说明区
   ============================================================ */
.notes {
  max-width: 1340px; margin: 64px auto 0;
  padding: 30px 34px;
  border-radius: var(--r-xl);
  background: var(--glass-strong);
  border: 1px solid var(--glass-line);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--sh-glass);
}
.notes h2 { font-size: 20px; margin-bottom: 16px; }
.notes h3 { font-size: 15px; margin: 22px 0 9px; }
.notes p, .notes li { color: #46536B; font-size: 14px; }
.notes ul { list-style: disc; padding-left: 20px; }
.notes li { margin-bottom: 6px; }
.notes table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 13.5px; }
.notes th, .notes td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(11,18,32,.08); }
.notes th { background: rgba(255,255,255,.55); font-weight: 650; }
.notes code {
  background: rgba(11,18,32,.06); padding: 1px 5px; border-radius: 5px;
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px;
}

/* ============================================================
   画廊分组标题
   ============================================================ */
.gallery-head {
  max-width: 1340px; margin: 64px auto 26px;
  display: flex; align-items: baseline; gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(11,18,32,.10);
}
.gallery-head h2 { font-size: 22px; letter-spacing: -.02em; }
.gallery-head p { color: #5A6472; font-size: 13.5px; }

/* ============================================================
   会员级别
   ============================================================ */
.lv {
  display: inline-flex; align-items: center; gap: 5px;
  height: 22px; padding: 0 9px;
  border-radius: var(--r-full);
  font-size: 11px; font-weight: 700; letter-spacing: .02em;
  border: 1px solid transparent;
}
.lv--1 { background: rgba(11,18,32,.07); color: #5A6472; border-color: rgba(11,18,32,.08); }
.lv--2 { background: rgba(10,132,255,.14); color: #0653B0; border-color: rgba(10,132,255,.26); }
.lv--3 { background: rgba(88,86,214,.16); color: #3B39A8; border-color: rgba(88,86,214,.28); }
.lv--4 { background: rgba(255,159,10,.18); color: #8A5200; border-color: rgba(255,159,10,.32); }
.lv--year {
  background: linear-gradient(135deg, #F6D77A, #E0A020);
  color: #5A3B00; border-color: rgba(255,255,255,.7);
  box-shadow: 0 2px 6px rgba(224,160,32,.32);
}
.lv--inf {
  background: linear-gradient(135deg, #C9A6FF, #7C5CFF 55%, #3B39A8);
  color: #fff; border-color: rgba(255,255,255,.5);
  box-shadow: 0 2px 8px rgba(124,92,255,.36);
}

/* 会员级别小标题 */
.tier-head {
  display: flex; align-items: center; gap: 8px;
  margin: 4px 4px 10px;
}
.tier-head__t { font-size: 13px; font-weight: 700; color: #33405A; }
.tier-head__d { font-size: 11.5px; color: #6B7A93; }

/* ============================================================
   套餐卡（月 / 年）
   ============================================================ */
.planv2 {
  padding: 15px 16px;
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--sh-glass), var(--sh-inset);
  display: flex; align-items: center; gap: 14px;
  position: relative;
}
.planv2 + .planv2 { margin-top: 12px; }
.planv2--month.is-current {
  background: linear-gradient(180deg, rgba(10,132,255,.18), rgba(10,132,255,.08));
  border-color: rgba(10,132,255,.36);
}
.planv2--year {
  background: linear-gradient(150deg, rgba(246,215,122,.30), rgba(224,160,32,.14) 60%, rgba(255,255,255,.62));
  border-color: rgba(224,160,32,.42);
}

/* ★ 年卡按档位区分底色（原来畅享/尊享共用 .planv2--year，看不出差别）
     畅享年卡（tier 3）= 浅金 · 尊享年卡（tier 4）= 深金
     无限年卡仍走 .planv2--inf（紫色），不在此列。
     必须写在 .planv2--year 之后：同特异性，靠源码顺序覆盖。 */
/* ★ 年卡三档配色 = 「我的」玩家卡三档配色（月卡蓝 / 年卡金 / 无限紫）
   同一套渐变配方，做成半透明以保证深色文字仍然可读。
   必须写在 .planv2--year 之后：同特异性，靠源码顺序覆盖。 */
/* ★ 年卡三档配色 = 「我的」玩家卡那套色系（蓝 / 金 / 紫），但各档做了强化。
   .planv2--year3 —— 畅享年卡（蓝）
   ★ 与「月卡」的淡蓝刻意拉开：月卡是 rgba(...,.26) 的白玻璃淡蓝，
     这里是饱和得多的实蓝渐变 + 深色下缘，避免被看成月卡。 */
.planv2--year3 {
  background: radial-gradient(240px 110px at 6% -14%, rgba(70,158,255,.62), transparent 62%),
              radial-gradient(210px 105px at 98% 116%, rgba(255,255,255,.78), transparent 62%),
              linear-gradient(135deg, #DCEBFF 0%, #A9CEFF 40%, #6FA8F0 74%, #3D7BD4 100%);
  border-color: rgba(61,123,212,.52);
}
.planv2--year4 {
  /* ★ 尊享年卡（金）—— 更饱和的琥珀金 + 暖橙 + 右下高光，
     比原来的 #FFEFC2→#C98F14 "死金" 活泼得多 */
  background: radial-gradient(240px 110px at 8% -14%, rgba(255,238,140,.88), transparent 60%),
              radial-gradient(210px 105px at 98% 116%, rgba(255,255,255,.62), transparent 62%),
              linear-gradient(135deg, #FFF6D6 0%, #FFDC7A 36%, #F7B833 70%, #E8940F 100%);
  border-color: rgba(224,150,10,.60);
}
.planv2--year.is-current {
  border-color: rgba(224,160,32,.75);
  box-shadow: 0 10px 28px rgba(224,160,32,.22), var(--sh-inset);
}
.planv2--inf {
  /* 紫 · 对应玩家卡「无限」 */
  background: radial-gradient(230px 120px at 12% -16%, rgba(224,196,255,.82), transparent 60%),
              radial-gradient(210px 110px at 96% 118%, rgba(255,214,110,.62), transparent 60%),
              linear-gradient(135deg, rgba(228,214,255,.94) 0%, rgba(183,156,255,.82) 40%, rgba(138,107,240,.66) 72%, rgba(108,75,216,.56) 100%);
  border-color: rgba(255,255,255,.66);
}
.planv2__main { flex: 1; min-width: 0; }
.planv2__name { font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; display: flex; align-items: center; gap: 7px; }
.planv2__quota { font-size: 13px; font-weight: 600; color: #33405A; margin-top: 5px; }
.planv2__meta { font-size: 11.5px; color: #5A6472; margin-top: 3px; line-height: 1.5; }
.planv2__right { text-align: right; flex-shrink: 0; }
.planv2__price { font-size: 20px; font-weight: 750; letter-spacing: -.02em; color: var(--c-primary-dark); }
.planv2--year .planv2__price { color: #8A5200; }
.planv2--inf .planv2__price { color: #3B39A8; }
.planv2__price small { font-size: 12px; font-weight: 650; }
.planv2__price s { font-size: 11.5px; font-weight: 500; color: #8E97A4; margin-left: 4px; }
.planv2__tag { font-size: 11px; font-weight: 650; margin-top: 4px; color: #5A6472; }
.planv2__tag--save { color: #14713A; }
.ribbon {
  position: absolute; top: -8px; left: 14px;
  height: 20px; padding: 0 9px;
  border-radius: var(--r-full);
  font-size: 10.5px; font-weight: 750; letter-spacing: .03em;
  display: inline-flex; align-items: center;
  background: linear-gradient(135deg, #FF9F0A, #E0690A);
  color: #fff; box-shadow: 0 3px 8px rgba(224,105,10,.30);
}

/* 会员权益对比 */
.benefits { border-radius: var(--r-lg); overflow: hidden;
  background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--sh-inset); }
.benefits__row { display: flex; align-items: center; gap: 10px; padding: 11px 14px;
  border-bottom: 1px solid rgba(11,18,32,.055); font-size: 13px; }
.benefits__row:last-child { border-bottom: 0; }
.benefits__k { flex: 1; color: #5A6472; }
.benefits__v { font-weight: 600; }

/* ============================================================
   表单
   ============================================================ */
.field { margin-bottom: 14px; }
.field__label { display: block; font-size: 12.5px; color: #5A6472; margin-bottom: 7px; font-weight: 550; }
.input {
  display: flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 15px;
  border-radius: var(--r-md);
  background: var(--glass-strong);
  border: 1px solid var(--glass-line);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--sh-inset);
  font-size: 15px;
}
.input--focus { border-color: rgba(10,132,255,.55); box-shadow: 0 0 0 3px rgba(10,132,255,.14), var(--sh-inset); }
.input--code { letter-spacing: .14em; font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 600; }
.input--err { border-color: rgba(255,69,58,.55); box-shadow: 0 0 0 3px rgba(255,69,58,.12); }
.input--ro { background: rgba(11,18,32,.05); color: #5A6472; }
.input__ph { color: #8E97A4; }
.input__hint { font-size: 11.5px; color: #6B7A93; margin-top: 7px; }
.input__hint--err { color: #B91C1C; }
.form-actions { margin-top: 22px; }
.form-actions .btn + .btn { margin-top: 10px; }

/* 大号头像（个人资料） */
.avatar-xl {
  width: 88px; height: 88px; border-radius: 50%;
  margin: 6px auto 10px; position: relative;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 700; color: #fff;
  background: linear-gradient(150deg, #5AA6FF, #0A84FF 55%, #6C5CE7);
  border: 3px solid rgba(255,255,255,.9);
  box-shadow: 0 10px 26px rgba(10,132,255,.30);
}
.avatar-xl__edit {
  position: absolute; right: -2px; bottom: -2px;
  width: 30px; height: 30px; border-radius: 50%;
  background: #fff; color: var(--c-primary);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--glass-line);
  box-shadow: 0 3px 8px rgba(11,18,32,.18);
}
.avatar-tip { text-align: center; font-size: 11.5px; color: #6B7A93; margin-bottom: 20px; }

/* ============================================================
   站内信 / 设备 / 流水
   ============================================================ */
.msg { display: flex; gap: 11px; padding: 13px 15px; border-bottom: 1px solid rgba(11,18,32,.055); }
.msg:last-child { border-bottom: 0; }
.msg.is-unread { background: rgba(10,132,255,.055); }
.msg__icon { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.9);
  color: var(--c-primary); box-shadow: 0 1px 2px rgba(11,18,32,.06); }
.msg__icon--warn { color: #C77700; }
.msg__icon--red { color: #D0372C; }
.msg__icon--green { color: #1A9E43; }
.msg__main { flex: 1; min-width: 0; }
.msg__top { display: flex; align-items: center; gap: 7px; }
.msg__title { font-size: 13.5px; font-weight: 650; flex: 1; }
.msg__time { font-size: 11px; color: #8E97A4; flex-shrink: 0; }
.msg__body { font-size: 12.5px; color: #5A6472; margin-top: 4px; line-height: 1.55; }
.msg__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-danger); flex-shrink: 0; }

.device { display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border-bottom: 1px solid rgba(11,18,32,.055); }
.device:last-child { border-bottom: 0; }
.device__icon { width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.9);
  color: #5A6472; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 2px rgba(11,18,32,.06); }
.device__main { flex: 1; min-width: 0; }
.device__name { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 7px; }
.device__meta { font-size: 11.5px; color: #5A6472; margin-top: 3px; }

.ledger { display: flex; align-items: center; gap: 12px; padding: 13px 16px;
  border-bottom: 1px solid rgba(11,18,32,.055); }
.ledger:last-child { border-bottom: 0; }
.ledger__main { flex: 1; min-width: 0; }
.ledger__title { font-size: 13.5px; font-weight: 550; }
.ledger__meta { font-size: 11px; color: #8E97A4; margin-top: 3px; }
.ledger__amt { font-size: 15px; font-weight: 700; text-align: right; flex-shrink: 0; }
.ledger__amt--in { color: #14713A; }
.ledger__amt--out { color: #9A2620; }
.ledger__bal { font-size: 10.5px; color: #8E97A4; text-align: right; margin-top: 2px; }

/* 兑换结果 */
.redeem-ok { text-align: center; padding: 6px 0; }
.redeem-ok__icon { width: 58px; height: 58px; border-radius: 50%;
  background: var(--c-success-soft); color: #14713A;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
  border: 1px solid rgba(48,209,88,.30); }

/* 空状态 */
.empty { text-align: center; padding: 44px 20px; color: #6B7A93; }
.empty svg { color: #C3CBD8; margin: 0 auto 12px; display: block; }

/* 居中正文（认证页） */
.authwrap { padding: 14px 22px 22px; display: flex; flex-direction: column; min-height: 100%; }
.authwrap__logo { width: 58px; height: 58px; border-radius: 17px; margin: 8px auto 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, #3D9BFF, #0A84FF 55%, #6C5CE7);
  box-shadow: 0 10px 24px rgba(10,132,255,.30); }
.authwrap__title { font-size: 20px; text-align: center; margin-bottom: 6px; letter-spacing: -.01em; }
.authwrap__sub { font-size: 12.5px; color: #5A6472; text-align: center; margin-bottom: 22px; }
.authwrap__foot { margin-top: auto; text-align: center; font-size: 11.5px; color: #6B7A93; padding-top: 18px; }
.ilink { color: var(--c-primary); font-weight: 550; }

/* 步骤提示 */
.steps-hint { display: flex; gap: 8px; align-items: flex-start; padding: 11px 13px;
  border-radius: var(--r-md); background: rgba(255,255,255,.55); border: 1px solid var(--glass-line); }
.steps-hint__n { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  background: var(--c-primary); color: #fff; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.steps-hint__t { font-size: 12.5px; color: #33405A; line-height: 1.6; }

/* ============================================================
   节点列表（无负载提示版本）
   ============================================================ */
.search {
  display: flex; align-items: center; gap: 9px;
  height: 42px; padding: 0 14px;
  border-radius: var(--r-md);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--sh-inset);
  color: #8E97A4; font-size: 14px;
}

.chips { display: flex; gap: 8px; overflow: hidden; padding: 2px 0; }
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  height: 30px; padding: 0 12px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.58);
  border: 1px solid var(--glass-line);
  font-size: 12.5px; font-weight: 550; color: #5A6472;
  white-space: nowrap;
}
.chip.is-on {
  background: linear-gradient(180deg, #3D9BFF, var(--c-primary));
  color: #fff; border-color: rgba(255,255,255,.40);
  box-shadow: 0 4px 12px rgba(10,132,255,.28);
}

.region { display: flex; align-items: baseline; gap: 8px; margin: 20px 4px 8px; }
.region__t { font-size: 12.5px; font-weight: 700; color: #4B586E; letter-spacing: .02em; }
.region__n { font-size: 11.5px; color: #8E97A4; }

.node-more {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; padding: 11px;
  font-size: 12.5px; font-weight: 600; color: var(--c-primary);
  background: rgba(255,255,255,.42);
  border-top: 1px solid rgba(11,18,32,.055);
}

/* 当前连接置顶卡 */
.nowbar {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 15px;
  border-radius: var(--r-lg);
  background: linear-gradient(140deg, rgba(48,209,88,.20), rgba(48,209,88,.09) 60%, rgba(255,255,255,.55));
  border: 1px solid rgba(48,209,88,.34);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: 0 6px 18px rgba(48,209,88,.14), var(--sh-inset);
}
.nowbar__label {
  font-size: 10.5px; font-weight: 750; letter-spacing: .04em;
  color: #14713A; display: flex; align-items: center; gap: 5px;
}

/* 节点行（无负载条） */
.node--tall { padding: 14px 15px; }
.node__badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; color: #14713A;
}
.lockchip {
  display: inline-flex; align-items: center; gap: 5px;
  height: 30px; padding: 0 11px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, rgba(201,166,255,.40), rgba(124,92,255,.24));
  border: 1px solid rgba(124,92,255,.40);
  font-size: 11.5px; font-weight: 700; color: #3B39A8;
}

/* 升级提示条（无限专用节点解锁） */
.upsell {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 15px;
  border-radius: var(--r-lg);
  background: linear-gradient(140deg, rgba(246,215,122,.34), rgba(124,92,255,.16) 70%, rgba(255,255,255,.5));
  border: 1px solid rgba(124,92,255,.32);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--sh-inset);
}

/* ============================================================
   玩家卡：月会员 / 年会员 / 无限年卡（三档明显区分）
   ============================================================ */
.player {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 16px;
  border-radius: var(--r-lg);
  border: 1px solid var(--glass-line);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--sh-glass), var(--sh-inset);
  position: relative; overflow: hidden;
}
/* 斜向光泽（玻璃高光），所有档位都有 */
.player::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg,
    rgba(255,255,255,.50) 0%, rgba(255,255,255,0) 40%,
    rgba(255,255,255,0) 60%, rgba(255,255,255,.26) 100%);
}
.player > * { position: relative; z-index: 1; }

/* 角标水印 */
.player__mark {
  position: absolute; right: 8px; bottom: -6px;
  font-size: 62px; line-height: 1; opacity: .10; pointer-events: none; z-index: 0;
}

/* ---- 月会员：蓝色冷调，克制 ---- */
.player--month {
  background:
    radial-gradient(340px 150px at 10% -12%, rgba(10,132,255,.26), transparent 62%),
    linear-gradient(135deg, rgba(255,255,255,.76), rgba(255,255,255,.48));
  border-color: rgba(10,132,255,.22);
}

/* ★ 玩家卡里「剩余 N 天」等文案中的数字：加粗，便于一眼读到 */
.player__num { font-weight: 800; letter-spacing: -.01em; }
.player--month .player__name { color: #0B1220; }
.player--month .player__mail { color: #5A6472; }

/* ---- 年会员：金色质感，明显更高级 ---- */
.player--year, .player--year4 {
  background:
    radial-gradient(320px 150px at 14% -14%, rgba(255,225,130,.70), transparent 60%),
    radial-gradient(260px 130px at 96% 116%, rgba(255,196,60,.55), transparent 62%),
    linear-gradient(135deg, #FFEFC2 0%, #F3D071 42%, #E0A82A 78%, #C98F14 100%);
  border-color: rgba(255,255,255,.62);
  box-shadow:
    0 10px 28px rgba(200,140,20,.30),
    0 1px 0 rgba(255,255,255,.85) inset,
    0 -1px 0 rgba(160,110,10,.18) inset;
}
.player--year .player__name, .player--year4 .player__name { color: #4A3200; text-shadow: 0 1px 0 rgba(255,255,255,.45); }
.player--year .player__mail, .player--year4 .player__mail { color: #7A5200; }
.player--year::after, .player--year4::after {
  background: linear-gradient(115deg,
    rgba(255,255,255,.72) 0%, rgba(255,255,255,0) 38%,
    rgba(255,255,255,0) 62%, rgba(255,255,255,.40) 100%);
}

/* ---- 无限年卡：紫金，顶级 ---- */
.player--inf {
  background:
    radial-gradient(300px 160px at 12% -16%, rgba(224,196,255,.85), transparent 60%),
    radial-gradient(280px 150px at 96% 118%, rgba(255,214,110,.65), transparent 60%),
    linear-gradient(135deg, #E4D6FF 0%, #B79CFF 40%, #8A6BF0 72%, #6C4BD8 100%);
  border-color: rgba(255,255,255,.66);
  box-shadow:
    0 12px 30px rgba(108,75,216,.34),
    0 1px 0 rgba(255,255,255,.85) inset,
    0 -1px 0 rgba(70,40,150,.22) inset;
}

/* ★ 畅享年卡的玩家卡：饱和实蓝，与「月卡」的淡蓝玻璃明显区分
   （月卡 = rgba(10,132,255,.26) + 白；这里 = 实蓝渐变 + 深色下缘） */
.player--year3 {
  background: radial-gradient(320px 150px at 8% -14%, rgba(70,158,255,.62), transparent 62%),
              radial-gradient(260px 130px at 97% 118%, rgba(255,255,255,.42), transparent 62%),
              linear-gradient(135deg, #DCEBFF 0%, #A9CEFF 40%, #6FA8F0 74%, #3D7BD4 100%);
  border-color: rgba(61,123,212,.52);
  box-shadow: 0 10px 28px rgba(61,123,212,.28), 0 1px 0 rgba(255,255,255,.85) inset;
}
.player--year3 .avatar {
  background: linear-gradient(150deg, #DCEBFF, #6FA8F0 55%, #3D7BD4);
  border-color: #EAF3FF;
  box-shadow: 0 0 0 2px rgba(255,255,255,.75), 0 6px 16px rgba(61,123,212,.42);
  color: #0A3D7A;
}
.player--year3 .player__name { color: #0A3D7A; }
.player--year3 .player__mail { color: #1B3A66; }
.tier-seal--year3 {
  background: linear-gradient(135deg, #0A3D7A, #3D7BD4);
  color: #EAF3FF; border: 1px solid rgba(255,255,255,.55);
}
.player--inf .player__name { color: #2A1357; text-shadow: 0 1px 0 rgba(255,255,255,.40); }
.player--inf .player__mail { color: #4B3391; }
.player--inf::after {
  background: linear-gradient(115deg,
    rgba(255,255,255,.62) 0%, rgba(255,255,255,0) 40%,
    rgba(255,255,255,0) 60%, rgba(255,255,255,.44) 100%);
}

/* 头像：随档位换描边 */
.player--year .avatar, .player--year4 .avatar {
  background: linear-gradient(150deg, #FFE9A8, #E8B93C 55%, #B8820A);
  border-color: #FFF6DC;
  box-shadow: 0 0 0 2px rgba(255,255,255,.75), 0 6px 16px rgba(184,130,10,.42);
  color: #5A3B00;
}
.player--inf .avatar {
  background: linear-gradient(150deg, #F6DE9A, #A98BFF 48%, #6236D6);
  border-color: #F2E9FF;
  box-shadow: 0 0 0 2px rgba(255,255,255,.72), 0 6px 18px rgba(98,54,214,.46);
  color: #3A1E7A;
}

/* 档位徽标（卡内右上） */
.tier-seal {
  display: inline-flex; align-items: center; gap: 5px;
  height: 24px; padding: 0 10px;
  border-radius: var(--r-full);
  font-size: 11px; font-weight: 800; letter-spacing: .04em;
}
.tier-seal--month {
  background: rgba(10,132,255,.14); color: #0653B0;
  border: 1px solid rgba(10,132,255,.28);
}
.tier-seal--year {
  background: linear-gradient(135deg, #6B4A00, #A67708);
  color: #FFEFC2; border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 2px 8px rgba(90,60,0,.34);
}
.tier-seal--inf {
  background: linear-gradient(135deg, #4A2A9E, #7C5CFF 60%, #C08A18);
  color: #FFF6DC; border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 2px 10px rgba(74,42,158,.40);
}

/* 卡片下方说明（用于对比演示） */
.tier-note {
  font-size: 11.5px; color: #5A6472;
  margin: 8px 4px 0; line-height: 1.6;
}

/* ============================================================
   品牌：iFTY — 让连接无限（iFinity）
   ============================================================ */
.brand { text-align: center; }
.brand__mark { display: flex; justify-content: center; }

.brand__word {
  font-size: 32px; font-weight: 800; letter-spacing: -.02em;
  margin-top: 14px; color: #0B1220;
}
.brand__word i { font-style: normal; color: var(--c-primary); }

.brand__slogan {
  margin-top: 9px;
  font-size: 13.5px; font-weight: 650; letter-spacing: .30em;
  color: #5A6472; text-indent: .30em;
}
.brand__rule {
  width: 36px; height: 2px; border-radius: 2px;
  margin: 15px auto 0;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
}

/* 品牌释义卡 */
.brand__etym {
  margin-top: 20px; padding: 15px 16px; text-align: left;
  border-radius: var(--r-md);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--sh-inset);
}
.brand__etym-row { display: flex; align-items: baseline; gap: 8px; }
.brand__etym-k { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.brand__etym-k span { color: var(--c-primary); }
.brand__etym-eq { color: #8E97A4; font-size: 13px; }
.brand__etym-v { font-size: 13px; color: #33405A; }
.brand__etym-d { font-size: 12px; color: #5A6472; margin-top: 8px; line-height: 1.65; }

/* 品牌横条（列表里的一行品牌信息） */
.brandbar {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(10,132,255,.14), rgba(6,182,212,.10) 60%, rgba(255,255,255,.5));
  border: 1px solid rgba(10,132,255,.20);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--sh-inset);
}
.brandbar__word { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.brandbar__word i { font-style: normal; color: var(--c-primary); }
.brandbar__slogan { font-size: 11.5px; color: #5A6472; letter-spacing: .14em; margin-top: 3px; }

/* 无限年卡徽标呼应品牌 ∞ */
.mark-inf { font-size: 15px; font-weight: 800; line-height: 1; }

/* ============================================================
   站内信 · 下拉加载下一屏
   ============================================================ */
.ptr {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 0 13px;
  font-size: 12.5px; font-weight: 550; color: #6B7A93;
  cursor: pointer; user-select: none;
  transition: color .18s;
}
.ptr:hover { color: var(--c-primary); }
.ptr__spin {
  display: flex; width: 15px; height: 15px;
  color: #8E97A4;
  animation: ptr-spin 1.1s linear infinite;
}
.ptr.is-loading { color: var(--c-primary); }
.ptr.is-loading .ptr__spin { color: var(--c-primary); }
.ptr.is-done .ptr__spin { animation: none; color: var(--c-success); }
@keyframes ptr-spin { to { transform: rotate(360deg); } }

/* 底部计数 */
.ptr-foot {
  text-align: center; padding: 16px 0 6px;
  font-size: 11.5px; color: #8E97A4;
}
.ptr-foot b { color: #5A6472; font-weight: 650; }

/* 尚未加载的消息 */
.msg.is-hidden { display: none; }

/* 新加载进来的一屏：轻微渐入，让「又出现一屏」有感知 */
@keyframes ptr-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
.msg.is-fresh { animation: ptr-in .38s cubic-bezier(.2,.7,.3,1) both; }

/* 分屏标记 */
.ptr-sep {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  color: #8E97A4;
}
.ptr-sep::before,
.ptr-sep::after {
  content: ""; flex: 1; height: 1px;
  background: rgba(11,18,32,.09);
}


/* ============================================================
   节点列表（改版）：独立卡片 + 着色按钮
   替代原「一大块玻璃容器 + 一排玻璃按钮」的做法
   ============================================================ */

/* ---- 区域标题 ---- */
.rg { display: flex; align-items: center; gap: 9px; margin: 22px 6px 11px; }
.rg:first-child { margin-top: 6px; }
.rg__t { font-size: 13.5px; font-weight: 750; color: #2C3A55; letter-spacing: -.01em; }
.rg__n {
  font-size: 11px; font-weight: 650; color: #5A6472;
  padding: 2px 9px; border-radius: var(--r-full);
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(11, 18, 32, .07);
}
.rg__line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(11, 18, 32, .11), rgba(11, 18, 32, 0));
}

/* ---- 节点卡片 ---- */
.ncard {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 14px;
  border-radius: var(--r-lg);
  position: relative;
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 1px 2px rgba(11, 18, 32, .05), inset 0 1px 0 rgba(255, 255, 255, .9);
  transition: transform .14s, box-shadow .18s, background .18s, border-color .18s;
}
.ncard + .ncard { margin-top: 10px; }
.ncard:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 20px rgba(11, 18, 32, .11), inset 0 1px 0 rgba(255, 255, 255, .95);
}
.ncard:active { transform: translateY(0); }

/* 当前连接：绿色调 + 左侧强调条 */
.ncard--on {
  background: linear-gradient(120deg, rgba(48, 209, 88, .22), rgba(48, 209, 88, .07) 52%, rgba(255, 255, 255, .74));
  border-color: rgba(48, 209, 88, .38);
  box-shadow: 0 7px 20px rgba(48, 209, 88, .17), inset 0 1px 0 rgba(255, 255, 255, .85);
}
.ncard--on::before {
  content: ""; position: absolute; left: 0; top: 13px; bottom: 13px; width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #5BDF86, #17913C);
}

/* 锁定（无限专用） */
.ncard--lock {
  background: linear-gradient(120deg, rgba(201, 166, 255, .26), rgba(124, 92, 255, .12) 55%, rgba(255, 255, 255, .70));
  border-color: rgba(124, 92, 255, .34);
}

/* 国旗：方形瓷片，比小矩形更精致 */
.nflag {
  width: 38px; height: 38px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; line-height: 1;
  background: linear-gradient(160deg, #FFFFFF, #EEF3F9);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 1px 3px rgba(11, 18, 32, .09);
}

.nmain { flex: 1; min-width: 0; }
.nname {
  font-size: 14.5px; font-weight: 650; color: #12203A;
  letter-spacing: -.005em;
  display: flex; align-items: center; gap: 7px;
}
.nmeta { font-size: 11.5px; color: #667389; margin-top: 3px; }
.nright { flex-shrink: 0; display: flex; align-items: center; gap: 8px; }

/* ---- 切换按钮：着色胶囊（替代原玻璃按钮） ---- */
.nact {
  display: inline-flex; align-items: center; gap: 5px;
  height: 32px; padding: 0 13px;
  border-radius: var(--r-full);
  font-size: 12.5px; font-weight: 700;
  color: #0653B0;
  background: linear-gradient(180deg, rgba(10, 132, 255, .17), rgba(10, 132, 255, .11));
  border: 1px solid rgba(10, 132, 255, .30);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
  transition: transform .12s, background .16s, box-shadow .16s;
}
.nact:hover {
  background: linear-gradient(180deg, #3D9BFF, var(--c-primary));
  color: #fff; border-color: rgba(255, 255, 255, .45);
  box-shadow: 0 5px 14px rgba(10, 132, 255, .34);
}
.nact:active { transform: scale(.96); }
.nact svg { flex-shrink: 0; }

/* ---- 当前状态徽标（不可点，替代按钮） ---- */
.ncur {
  display: inline-flex; align-items: center; gap: 5px;
  height: 30px; padding: 0 12px;
  border-radius: var(--r-full);
  font-size: 12px; font-weight: 750;
  color: #14713A;
  background: rgba(48, 209, 88, .18);
  border: 1px solid rgba(48, 209, 88, .34);
}

/* ---- 自动选择节点（单行卡） ---- */
.nauto {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 15px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 1px 2px rgba(11, 18, 32, .05), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.nauto__icon {
  width: 34px; height: 34px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, rgba(10, 132, 255, .18), rgba(10, 132, 255, .09));
  color: var(--c-primary);
  border: 1px solid rgba(10, 132, 255, .22);
}

/* ---- 分屏「展开更多」 ---- */
.nmore {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; margin-top: 10px; padding: 13px;
  border-radius: var(--r-lg);
  font-size: 13px; font-weight: 700; color: var(--c-primary);
  background: rgba(255, 255, 255, .58);
  border: 1px dashed rgba(10, 132, 255, .38);
  transition: background .16s, border-color .16s;
}
.nmore:hover { background: rgba(10, 132, 255, .09); border-color: rgba(10, 132, 255, .55); }


/* ============================================================
   节点页 v2：地区磁贴 + 当前连接大卡
   （替代原胶囊 chips 与原 nowbar）
   ============================================================ */

/* ---- 地区磁贴：横向滚动 ---- */
.rgtabs {
  display: flex; gap: 10px;
  overflow-x: auto;
  padding: 3px 18px 5px;
  margin: 0 -18px;
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;
}
.rgtabs::-webkit-scrollbar { display: none; }

.rgtab {
  flex: 0 0 auto;
  width: 104px;
  padding: 12px 13px 11px;
  border-radius: 17px;
  text-align: left;
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(255, 255, 255, .92);
  box-shadow: 0 1px 2px rgba(11, 18, 32, .05);
  transition: transform .16s, box-shadow .2s, background .2s, border-color .2s;
}
.rgtab:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(11, 18, 32, .10); }

.rgtab__flag { font-size: 21px; line-height: 1; }
.rgtab__name {
  font-size: 13.5px; font-weight: 750; color: #12203A;
  margin-top: 8px; letter-spacing: -.01em;
}
.rgtab__n { font-size: 10.5px; color: #6B7A93; margin-top: 3px; }

/* 选中：整块变成品牌蓝实心卡 */
.rgtab.is-on {
  background: linear-gradient(158deg, #4DA5FF 0%, #0A84FF 58%, #0063C8 100%);
  border-color: rgba(255, 255, 255, .55);
  box-shadow: 0 10px 24px rgba(10, 132, 255, .34), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.rgtab.is-on .rgtab__name { color: #fff; }
.rgtab.is-on .rgtab__n { color: rgba(255, 255, 255, .88); }
.rgtab__check {
  position: absolute;
  opacity: 0;
}
.rgtab { position: relative; }
.rgtab.is-on::after {
  content: ""; position: absolute; top: 11px; right: 12px;
  width: 7px; height: 7px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .35);
}

/* ---- 当前连接大卡 ---- */
.nowcard {
  padding: 14px 15px;
  border-radius: 20px;
  background: linear-gradient(140deg, rgba(48, 209, 88, .26), rgba(48, 209, 88, .09) 52%, rgba(255, 255, 255, .74));
  border: 1px solid rgba(48, 209, 88, .38);
  box-shadow: 0 9px 24px rgba(48, 209, 88, .19), inset 0 1px 0 rgba(255, 255, 255, .85);
}
.nowcard__top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 11px;
}
.nowcard__live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: .05em;
  color: #14713A;
}
.nowcard__live .dot { width: 7px; height: 7px; }
.nowcard__dur {
  font-size: 11.5px; font-weight: 650; color: #14713A;
  font-variant-numeric: tabular-nums;
}
.nowcard__body { display: flex; align-items: center; gap: 12px; }
.nowcard__name { font-size: 16px; font-weight: 750; color: #0E2E1B; letter-spacing: -.015em; }
.nowcard__meta { font-size: 11.5px; color: #2E6B44; margin-top: 3px; }

/* 断开按钮（绿色描边款，避免与蓝色"切换"抢视线） */
.nact--off {
  color: #146B37;
  background: rgba(255, 255, 255, .74);
  border-color: rgba(48, 209, 88, .42);
}
.nact--off:hover {
  background: linear-gradient(180deg, #5BDF86, #23A34C);
  color: #fff; border-color: rgba(255, 255, 255, .5);
  box-shadow: 0 5px 14px rgba(35, 163, 76, .32);
}

/* ---- 节点页的区块间距 ---- */
.nsec { padding: 0 18px 18px; }
.nsec + .nsec { padding-top: 2px; }


/* ============================================================
   验证码输入（6 位）· ★ 通道无关
   邮件通道：{mail} 图标 + 邮箱地址
   短信通道（未来）：{phone} 图标 + 手机号 —— 结构完全不变，只换通道行
   ============================================================ */

/* 验证码发往哪里 */
.vcode__to {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: -10px 0 22px;
  font-size: 13.5px; font-weight: 650; color: #16325A;
  font-variant-numeric: tabular-nums;
}
.vcode__ch { display: flex; color: var(--c-primary); }

/* 6 个独立输入格 */
.otp { display: flex; gap: 9px; justify-content: center; }
.otp__cell {
  flex: 1 1 0; min-width: 0; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-md);
  background: var(--glass-strong);
  border: 1px solid rgba(11, 18, 32, .10);
  box-shadow: var(--sh-inset);
  font-size: 22px; font-weight: 750;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  color: var(--c-text);
  font-variant-numeric: tabular-nums;
}
.otp__cell.is-filled { border-color: rgba(10, 132, 255, .40); }
.otp__cell.is-focus {
  border-color: rgba(10, 132, 255, .72);
  box-shadow: 0 0 0 3px rgba(10, 132, 255, .16), var(--sh-inset);
}
/* 错误态 */
.otp--err .otp__cell {
  border-color: rgba(255, 69, 58, .52);
  background: rgba(255, 69, 58, .05);
  color: var(--c-danger);
}
.otp--err .otp__cell.is-focus {
  box-shadow: 0 0 0 3px rgba(255, 69, 58, .16), var(--sh-inset);
}

/* 重发 + 倒计时 */
.vcode__meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 15px; font-size: 12.5px; color: #6B7A93;
}
.vcode__cd { color: #8E97A4; font-variant-numeric: tabular-nums; }

/* 通道说明（设计稿用，标注组件可复用） */
.vcode__chan {
  display: flex; gap: 9px; align-items: flex-start;
  margin-top: 18px; padding: 11px 13px;
  border-radius: var(--r-sm);
  background: rgba(10, 132, 255, .07);
  border: 1px solid rgba(10, 132, 255, .16);
  font-size: 11.5px; line-height: 1.65; color: #4A5A72;
}


/* ============================================================
   通用底部弹层（分享 / 选择器等）—— 放在 .body 内，盖住标签栏
   ============================================================ */
.sheet { position: absolute; inset: 0; z-index: 40; display: flex; flex-direction: column; justify-content: flex-end; }
.sheet__mask {
  position: absolute; inset: 0;
  background: rgba(11, 18, 32, .40);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.sheet__panel {
  position: relative;
  border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #FBFCFE 100%);
  box-shadow: 0 -18px 48px rgba(9, 16, 30, .26);
  padding: 0 20px calc(18px + var(--safe-bottom));
}
.sheet__grab {
  display: block; width: 38px; height: 4px; border-radius: 99px;
  background: rgba(11, 18, 32, .16); margin: 9px auto 0;
}
.sheet__title { font-size: 17px; font-weight: 750; text-align: center; margin-top: 14px; color: var(--c-text); }
.sheet__sub { font-size: 12px; color: #6B7A93; text-align: center; margin-top: 6px; line-height: 1.6; }

/* 邀请码 */
.invite {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 16px; padding: 13px 16px;
  border-radius: var(--r-md);
  background: rgba(10, 132, 255, .07);
  border: 1px solid rgba(10, 132, 255, .18);
}
.invite__k { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #7E8FA8; }
.invite__v {
  font-size: 21px; font-weight: 800; letter-spacing: .05em; color: #0B2A55;
  margin-top: 6px; font-family: ui-monospace, Menlo, Consolas, monospace;
}
.invite__btn {
  flex: 0 0 auto; height: 34px; padding: 0 15px; border: 0; border-radius: 99px;
  background: var(--c-primary); color: #fff;
  font-family: inherit; font-size: 12.5px; font-weight: 750;
}

/* 分享链接 */
.linkbox {
  display: flex; align-items: center; gap: 9px;
  margin-top: 10px; padding: 11px 14px;
  border-radius: var(--r-sm);
  background: rgba(11, 18, 32, .045);
  border: 1px solid rgba(11, 18, 32, .08);
  font-size: 12px; color: #4A5A72;
}
.linkbox__u { flex: 1; min-width: 0; word-break: break-all; line-height: 1.5; }

/* 分享目标 */
.shr { display: flex; gap: 4px; margin-top: 12px; }
.shr__i { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.shr__c {
  width: 50px; height: 50px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid rgba(11, 18, 32, .06);
  box-shadow: 0 2px 8px rgba(11, 18, 32, .10);
}
.shr__n { font-size: 10.5px; color: #6B7A93; }


/* ============================================================
   ★ 按钮「涨水」：正在连接时水位从底部上升，连接成功涨满
     未连接 → 灰按钮（无水）· 正在连接 → 水位上升 · 已连接 → 涨满变蓝
     刻意做成"简单涨水"：一条干净的水位线，没有波浪起伏
   ============================================================ */
.orb__water {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 0;
  z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, #7CBBFF 0%, #0A84FF 46%, #0052AE 100%);
  /* 水位线：一条极细的亮边，让"涨到哪了"一眼可读 */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55);
  transition: height .9s cubic-bezier(.22, .9, .25, 1);
}
/* 正在连接：水位持续上升（循环演示），直到连接成功 */
.orb--arming .orb__water { animation: orb-rise 2.4s ease-in-out infinite; }
@keyframes orb-rise {
  0%   { height: 8%; }
  100% { height: 100%; }
}
/* 已连接：涨满 */
.orb--protected .orb__water { height: 100%; animation: none; }

/* 按钮里的图标与文字必须浮在水面之上 */
.orb__btn > span:not(.orb__water) { position: relative; z-index: 2; }

/* 年卡各档的文字配色：与各自底色成套，对比更鲜明 */
.planv2--year3 .planv2__price { color: #0A3D7A; }
.planv2--year3 .planv2__tag--save { color: #0A3D7A; }
.planv2--year3 .planv2__quota,
.planv2--year3 .planv2__meta { color: #1B3A66; }
.planv2--year4 .planv2__price { color: #6B4700; }
.planv2--year4 .planv2__tag--save { color: #6B4700; }
.planv2--year4 .planv2__quota,
.planv2--year4 .planv2__meta { color: #5A3D00; }
.planv2--inf .planv2__price { color: #4A2A9E; }
.planv2--inf .planv2__tag--save { color: #4A2A9E; }
.planv2--inf .planv2__quota,
.planv2--inf .planv2__meta { color: #3E2A6E; }
