/* ============================================================================
   /fp/fp.css —— 「爱心捐赠」自己的样式（墨绿 / 青 深色系）
   ⚠️ 这份 css **不引用主站任何 css 变量/文件**：这个项目与主站零耦合，
      而且是"一眼看出是另一个东西"的刻意设计（运营者口径）。
   ========================================================================== */
:root {
  --bg: #06120f;
  --bg-2: #0a1a16;
  --card: #0b1f1a;
  --line: #143b32;
  --line-2: #1c4d41;
  --teal: #2ee6b0;
  --teal-dim: #1d9c78;
  --cyan: #3ad3dc;
  --text: #e7f6f0;
  --muted: #7ea89b;
  --warn: #ffb454;
  --danger: #ff6b6b;
  --radius: 14px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(46, 230, 176, .13), transparent 65%),
    radial-gradient(700px 380px at 92% 6%, rgba(58, 211, 220, .10), transparent 62%),
    var(--bg);
}

a { color: var(--teal); text-decoration: none; }
a:active { opacity: .75; }

/* 底部留出固定 tab 栏的高度 + iPhone 底部安全区（内容绝不被遮住） */
.wrap {
  max-width: 520px; margin: 0 auto;
  padding: 18px 16px calc(96px + env(safe-area-inset-bottom, 0px));
}

/* ---------- 顶部 ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 2px 0 14px;
}
.brand { display: flex; align-items: center; gap: 9px; min-width: 0; }
.brand > div { min-width: 0; }
/* Logo：透明底 PNG（深棕线条）⇒ 衬一块浅底，深色页面上才看得清；尺寸/圆角与旧字母块一致 */
.logo {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: #f3efe8;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: 0 2px 8px -5px rgba(0, 0, 0, .95);
}
.logo img { width: 100%; height: 100%; display: block; object-fit: contain; }
/* 下载页上的大号 logo（同一张图，只是容器更大） */
.logo-lg { width: 76px; height: 76px; border-radius: 20px; }
.brand b { font-size: 15px; letter-spacing: .3px; }
.brand span { color: var(--muted); font-size: 11px; display: block; line-height: 1.25; }

/* ---------- 卡片 ---------- */
.card {
  background: linear-gradient(180deg, rgba(11, 31, 26, .96), rgba(8, 24, 20, .96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .9);
}
.card-title {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--muted); margin-bottom: 12px; letter-spacing: .4px;
}
.card-title i { font-style: normal; color: var(--teal-dim); }

/* ---------- 项目 ---------- */
.proj-name { font-size: 21px; font-weight: 700; letter-spacing: .2px; margin: 0 0 4px; }
.proj-desc { color: var(--muted); font-size: 13.5px; margin: 0 0 14px; }
.price-row { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 4px; }
.price {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 40px; font-weight: 700; line-height: 1;
  color: var(--teal); letter-spacing: -1px;
}
.price-cur { font-size: 15px; color: var(--teal-dim); margin-bottom: 5px; }
.price-note { color: var(--muted); font-size: 12px; }
.price-note b { color: var(--text); }

/* ---------- 按钮 ---------- */
.btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1px solid transparent; font-size: 16px; font-weight: 700;
  cursor: pointer; font-family: inherit; margin-top: 10px;
  transition: transform .08s ease, filter .15s ease;
}
.btn:active { transform: scale(.985); }
.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  color: #04201a; box-shadow: 0 8px 22px -12px rgba(46, 230, 176, .8);
}
.btn-ghost {
  background: transparent; color: var(--teal);
  border-color: var(--line-2);
}
.btn-ghost:active { background: rgba(46, 230, 176, .07); }
.btn:disabled { opacity: .5; filter: grayscale(.4); }
.btn-row { display: flex; gap: 10px; }
.btn-row .btn { margin-top: 10px; }

/* ---------- 数字三连 ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat {
  background: rgba(46, 230, 176, .05);
  border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 10px; text-align: center;
}
.stat .k { font-size: 11px; color: var(--muted); letter-spacing: .5px; }
.stat .v {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 20px; font-weight: 700; color: var(--teal); margin-top: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.stat .u { font-size: 11px; color: var(--teal-dim); }
.stat.today .v { color: var(--cyan); font-size: 23px; }

/* ---------- 30 天柱状 ---------- */
.chart {
  display: flex; align-items: flex-end; gap: 3px;
  height: 96px; padding: 6px 2px 0;
  border-bottom: 1px solid var(--line);
}
.bar {
  flex: 1 1 0; min-width: 0;
  background: linear-gradient(180deg, var(--teal), var(--teal-dim));
  border-radius: 2px 2px 0 0; min-height: 3px; opacity: .85;
  position: relative;
}
.bar.zero { background: var(--line-2); opacity: .5; min-height: 3px; }
.bar.hi { background: linear-gradient(180deg, var(--cyan), var(--teal)); opacity: 1; }
.chart-x { display: flex; justify-content: space-between; color: var(--muted); font-size: 10.5px; margin-top: 6px; }

/* ---------- 邀请链接 ---------- */
.linkbox {
  display: flex; align-items: center; gap: 8px;
  background: rgba(0, 0, 0, .35); border: 1px dashed var(--line-2);
  border-radius: 10px; padding: 10px 12px;
}
.linkbox code {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px; color: var(--cyan);
}
.copy-btn {
  flex: none; padding: 7px 12px; border-radius: 8px; font-size: 12.5px;
  background: rgba(46, 230, 176, .14); color: var(--teal);
  border: 1px solid var(--line-2); cursor: pointer; font-family: inherit;
}

/* ---------- 列表 ---------- */
.list { display: flex; flex-direction: column; }
.row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 0; border-bottom: 1px solid rgba(20, 59, 50, .7);
}
.row:last-child { border-bottom: none; }
.row .main { min-width: 0; }
.row .t1 { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .t2 { font-size: 11.5px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.row .amt {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px; font-weight: 700; color: var(--teal); white-space: nowrap;
}
.empty { color: var(--muted); font-size: 13px; text-align: center; padding: 18px 0; }

/* ---------- 提现记录里的「运营者转账截图」（第十二期：点开看大图）---------- */
.wdproof { margin-top: 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wdproof.none { color: var(--muted); font-size: 11.5px; }
.wdproof-k { font-size: 11.5px; color: var(--muted); }
.wdproof-img {
  display: block; width: 64px; height: 64px; object-fit: cover;
  border-radius: 8px; border: 1px solid var(--line-2); background: #fff;
}
.wdproof-t { font-size: 11px; color: var(--muted); }

.tag {
  display: inline-block; padding: 2px 7px; border-radius: 6px; font-size: 10.5px;
  border: 1px solid var(--line-2); color: var(--muted); margin-left: 6px;
  vertical-align: 1px;
}
.tag.on { color: var(--teal); border-color: var(--teal-dim); background: rgba(46, 230, 176, .08); }
.tag.off { color: var(--warn); border-color: #5a4520; background: rgba(255, 180, 84, .08); }

/* ---------- 表单 ---------- */
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.input {
  width: 100%; padding: 13px 13px; border-radius: 11px;
  background: rgba(0, 0, 0, .32); border: 1px solid var(--line);
  color: var(--text); font-size: 16px; font-family: inherit; outline: none;
}
.input:focus { border-color: var(--teal-dim); box-shadow: 0 0 0 3px rgba(46, 230, 176, .1); }
.input::placeholder { color: #4c6e63; }

.tabs { display: flex; gap: 6px; background: rgba(0, 0, 0, .3); padding: 4px; border-radius: 11px; margin-bottom: 16px; }
.tabs button {
  flex: 1; padding: 10px; border-radius: 8px; border: none; cursor: pointer;
  background: transparent; color: var(--muted); font-size: 14.5px; font-weight: 600; font-family: inherit;
}
.tabs button.on { background: rgba(46, 230, 176, .14); color: var(--teal); }

.hint { color: var(--muted); font-size: 11.5px; margin-top: 6px; }
.msg { font-size: 13px; padding: 10px 12px; border-radius: 10px; margin-top: 10px; display: none; }
.msg.err { display: block; color: #ffc9c9; background: rgba(255, 107, 107, .1); border: 1px solid rgba(255, 107, 107, .35); }
.msg.ok { display: block; color: #b9ffe4; background: rgba(46, 230, 176, .1); border: 1px solid rgba(46, 230, 176, .35); }

/* ---------- 规则 ---------- */
.rules { font-size: 12.5px; color: var(--muted); }
.rules li { margin: 5px 0; }
.rules b { color: var(--text); }

.footer { text-align: center; color: #4c6e63; font-size: 11px; margin-top: 22px; line-height: 1.9; }

/* ---------- 成功态 ---------- */
.done { text-align: center; padding: 8px 0 4px; }
.done .icon {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 12px;
  background: rgba(46, 230, 176, .14); border: 1px solid var(--teal-dim);
  color: var(--teal); font-size: 26px; display: flex; align-items: center; justify-content: center;
}
.done h3 { margin: 0 0 6px; font-size: 18px; }
.done p { margin: 0 0 4px; color: var(--muted); font-size: 13px; }

.hide { display: none !important; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* ============================================================================
   第二期（余额 / 充值 / 提现 / 项目卡片）新增的一小组样式。
   仍然只用本文件里的变量，不引任何外部 css / 图表库。
   ========================================================================== */

/* ---------- 顶栏右侧：链接 + 余额小胶囊 ---------- */
.topbar-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
/* 「📱 下载 App」小入口（落地页 / 登录页 / 我的页顶部） */
.app-link {
  flex: none; font-size: 11.5px; color: var(--teal); line-height: 1.6;
  border: 1px solid var(--line-2); background: rgba(46, 230, 176, .08);
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.bal-chip {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px; color: var(--teal);
  border: 1px solid var(--line-2); background: rgba(46, 230, 176, .08);
  padding: 3px 8px; border-radius: 999px; white-space: nowrap;
}

/* ---------- 项目卡片列表（落地页） ---------- */
.plist { display: flex; flex-direction: column; gap: 10px; }
.pcard {
  display: block; color: inherit; text-decoration: none;
  background: rgba(46, 230, 176, .04);
  border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 14px;
  transition: transform .08s ease, border-color .15s ease;
}
.pcard:active { transform: scale(.99); border-color: var(--teal-dim); }
.pcard-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pcard-name { font-size: 16px; font-weight: 700; }
.pcard-id { font-size: 11px; color: var(--muted); font-family: ui-monospace, Menlo, monospace; }
.pcard-desc { color: var(--muted); font-size: 12.5px; margin: 5px 0 9px; line-height: 1.5; }
.pcard-bottom { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pcard-price {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 20px; font-weight: 700; color: var(--teal);
}
.pcard-cms { font-size: 11.5px; color: var(--teal-dim); }
.pcard-go { margin-left: auto; font-size: 12.5px; color: var(--cyan); }

/* ---------- 余额块 / 收款码预览 ---------- */
.balbox {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(0, 0, 0, .28); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; margin-bottom: 12px;
}
.balbox .k { font-size: 11.5px; color: var(--muted); }
.balbox .v {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 24px; font-weight: 700; color: var(--teal); line-height: 1.25;
}
.mini-btn {
  flex: none; padding: 8px 14px; border-radius: 9px; font-size: 12.5px; font-weight: 600;
  background: rgba(46, 230, 176, .14); color: var(--teal);
  border: 1px solid var(--line-2); text-decoration: none;
}

.feebox {
  background: rgba(0, 0, 0, .28); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 13px; margin-bottom: 10px;
}
.feerow {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--muted); padding: 4px 0;
}
.feerow b {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--text); font-weight: 700;
}
.feerow b.teal { color: var(--teal); }

/* ---------- 微信收款码预览（提现页：上传后原样显示，可删除重传） ---------- */
.qrpreview {
  display: none; margin: 8px 0 4px; padding: 8px;
  background: #fff; border-radius: 12px; max-width: 220px;
}
.qrpreview img { display: block; width: 100%; height: auto; border-radius: 8px; }

/* ---------- 扫码充值（充值页：收款码 + 三步口诀，扫码在上、对公转账在下） ---------- */
.qrpay {
  text-align: center; padding: 6px 0 2px;
}
.qrpay .payqr {
  display: block; margin: 0 auto; width: 240px; max-width: 72vw; height: auto;
  background: #fff; border-radius: 12px; padding: 6px;
}
.qrpay-step {
  margin: 10px 0 2px; text-align: center; font-size: 13px; font-weight: 600;
  color: var(--teal); line-height: 1.5;
}

/* ---------- 收款信息（充值页：原样显示 + 复制） ---------- */
.bankbox {
  background: rgba(0, 0, 0, .3); border: 1px dashed var(--line-2);
  border-radius: 12px; padding: 4px 13px; margin-bottom: 10px;
}
.bankrow {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid rgba(20, 59, 50, .7);
}
.bankrow:last-child { border-bottom: none; }
.bankrow .k { flex: none; width: 52px; font-size: 11.5px; color: var(--muted); }
.bankrow .v {
  flex: 1; min-width: 0; font-size: 13.5px; color: var(--text);
  word-break: break-all; line-height: 1.45;
}

/* ---------- 钱包 / 待结算 ---------- */
.wallet { text-align: center; padding: 4px 0 2px; }
.wallet .k { font-size: 11.5px; color: var(--muted); letter-spacing: .5px; }
.wallet .wv {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 34px; font-weight: 700; color: var(--teal); line-height: 1.2; letter-spacing: -.5px;
}
.wallet .wu { font-size: 14px; color: var(--teal-dim); margin-left: 5px; }

.pendbox {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: rgba(255, 180, 84, .06); border: 1px solid #4a3a1c;
  border-radius: 12px; padding: 10px 13px; margin-top: 12px;
}
.pendbox .k { font-size: 11.5px; color: var(--warn); }
.pendbox .pv {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 19px; font-weight: 700; color: var(--warn);
}
.pendbox .hint { margin: 0; max-width: 55%; text-align: right; }

/* ---------- 状态标签：已结束 ---------- */
.tag.bad { color: var(--danger); border-color: #5a2a2a; background: rgba(255, 107, 107, .08); }

/* ---------- 表单内联提示的文字色 ---------- */
.hint.ok-text { color: var(--teal); }
.hint.err-text { color: var(--danger); }

/* ============================================================================
   第四期（改名 / Logo / 安卓下载页）新增的一小组样式。
   仍然只用本文件里的变量，不引任何外部 css / 图片库。
   ========================================================================== */

/* ---------- 落地页的品牌横幅（logo + 名字 + slogan） ---------- */
.hero { text-align: center; padding: 20px 16px 18px; }
.hero .logo-lg { margin: 0 auto 10px; }
.hero-title { font-size: 24px; font-weight: 800; letter-spacing: .5px; margin: 0 0 6px; }
.hero-slogan { font-size: 13.5px; color: var(--teal); margin: 0 0 8px; }
.hero-note { font-size: 12.5px; color: var(--muted); margin: 0; }
.hero-note b { color: var(--text); }

/* ---------- 安卓下载页 ---------- */
a.btn { text-decoration: none; }
.dl-head { text-align: center; padding: 10px 0 2px; }
.dl-head .logo-lg { margin: 0 auto 12px; }
.dl-title { font-size: 21px; font-weight: 800; margin: 0 0 6px; letter-spacing: .3px; }
.dl-slogan { font-size: 13px; color: var(--teal); margin: 0 0 2px; }
.dl-btn { margin-top: 18px; font-size: 17px; padding: 16px; }
.dl-meta { margin-top: 14px; font-size: 12px; color: var(--muted); line-height: 2; }
.dl-meta b { color: var(--text); font-weight: 700; }
.dl-tip { margin: 10px 0 0; font-size: 11.5px; color: #4c6e63; line-height: 1.7; }
.dl-foot { text-align: center; font-size: 12.5px; margin-top: 4px; }

/* ============================================================================
   第五期（邀请二维码 / 750×1200 分享海报 / 底部 4 个 tab）新增的一小组样式。
   仍然只用本文件里的变量，**不引任何外部 css / 图片 / 字体**。
   ========================================================================== */

/* ---------- 底部 tab 栏（App 那种：固定、4 等分、避开底部安全区） ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: stretch;
  background: rgba(6, 18, 15, .96);
  border-top: 1px solid var(--line);
  /* 安全区：iPhone 底部小黑条不会盖住「我的」 */
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom, 0px));
  backdrop-filter: blur(8px);
}
.tabbar .tab {
  flex: 1 1 0; min-width: 0;         /* ★ 4 等分，窄屏也不溢出 */
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; padding: 3px 0;
  color: var(--muted); font-size: 11px; line-height: 1.3;
  text-align: center;
}
.tabbar .tab-i { font-size: 17px; line-height: 1.15; }
.tabbar .tab-t { display: block; font-size: 11px; white-space: nowrap; }
/* 当前页高亮 */
.tabbar .tab.on { color: var(--teal); font-weight: 700; }
.tabbar .tab.on .tab-i { filter: drop-shadow(0 0 6px rgba(46, 230, 176, .55)); }

/* ---------- 邀请二维码（my 页） ---------- */
.qrpad { text-align: center; margin: 2px 0 14px; }
.qr-label { color: var(--muted); font-size: 11.5px; letter-spacing: .4px; margin-bottom: 7px; }
.qrwrap {
  width: 200px; height: 200px; margin: 0 auto; padding: 10px;
  border-radius: 16px; background: #fff; cursor: zoom-in;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .95);
}
.qrwrap canvas, .qrwrap img {
  display: block; width: 100% !important; height: 100% !important;
}
.qrnote { color: var(--muted); font-size: 11.5px; margin-top: 8px; }

/* 邀请码那一行（码 + 【复制邀请码】） */
.coderow {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: rgba(46, 230, 176, .06); border: 1px solid var(--line-2);
  border-radius: 12px; padding: 10px 12px; margin-top: 10px;
}
.coderow .k { flex: none; font-size: 11.5px; color: var(--muted); }
.coderow .v {
  flex: 1 1 auto; min-width: 0; font-size: 19px; font-weight: 700; letter-spacing: 2px;
  color: var(--teal); word-break: break-all;
}
.copy-btn.strong { background: rgba(46, 230, 176, .22); font-weight: 700; }

/* ---------- 弹层（二维码放大 / 海报预览） ---------- */
.modal {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(2, 8, 6, .84);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.modal-card {
  width: 100%; max-width: 420px; max-height: 92vh; overflow: auto;
  background: linear-gradient(180deg, rgba(11, 31, 26, .99), rgba(8, 24, 20, .99));
  border: 1px solid var(--line-2); border-radius: 18px; padding: 14px;
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .95);
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 10px; font-size: 14px;
}
.modal-x {
  flex: none; width: 32px; height: 32px; border-radius: 10px; cursor: pointer;
  background: transparent; border: 1px solid var(--line-2); color: var(--muted);
  font-size: 15px; font-family: inherit; line-height: 1;
}
.modal-body { text-align: center; }
.modal-tip { color: var(--muted); font-size: 11.5px; text-align: center; margin: 10px 0 2px; }

/* 海报预览图 / 大二维码：都是 dataURL <img> ⇒ 手机上**长按可保存** */
.poster-img { display: block; width: 100%; height: auto; border-radius: 12px; }
.qr-big {
  display: block; margin: 0 auto; width: 280px; max-width: 84%; height: auto;
  background: #fff; padding: 10px; border-radius: 16px;
}
.poster-img, .qr-big {
  -webkit-touch-callout: default;   /* ★ 别把 iOS 的"存储图像"菜单关掉 */
  -webkit-user-select: auto;
  user-select: auto;
}

/* ==========================================================================
   ★ 第十期（运营者口径逐字）：登录态
     · 首页顶部：未登录 ⇒「未登录 · 点此登录」；已登录 ⇒ 手机号（脱敏）+「我的」
     · 我的页顶部：手机号（脱敏）+【退出登录】
     · 我的页未登录：整页只有「未登录，请登录」+【去登录】
   ========================================================================== */

/* 顶栏那两个胶囊（.who-out 未登录 / .who-in 已登录，脚本按 token 切换 .hide） */
.who-out, .who-in, .who-chip {
  flex: none; font-size: 11.5px; line-height: 1.6; white-space: nowrap;
  border: 1px solid var(--line-2); background: rgba(46, 230, 176, .08);
  color: var(--teal); padding: 3px 9px; border-radius: 999px; text-decoration: none;
}
.who-in { display: inline-flex; align-items: center; gap: 6px; }
.who-in .who-my { color: var(--cyan); }
.who-in #whoPhone, .who-chip {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* 【退出登录】：只在已登录时出现（未登录时脚本给它加 .hide） */
.btn-logout {
  flex: none; cursor: pointer; font-family: inherit;
  font-size: 11.5px; line-height: 1.6; white-space: nowrap;
  border: 1px solid rgba(255, 107, 107, .45); background: rgba(255, 107, 107, .12);
  color: #ffc9c9; padding: 3px 9px; border-radius: 999px;
}
.btn-logout:active { transform: scale(.97); }

/* 我的页「未登录，请登录」那一行大字 */
.needlogin-title {
  font-size: 17px; font-weight: 700; color: var(--teal);
  margin: 6px 0 8px; line-height: 1.4;
}

