/* ============================================================
   国瓷臻选 · 用户端 H5 样式
   设计基调：深邃青花蓝 + 鎏金 + 移动端优先
   ============================================================ */

:root {
  --bg-0: #0c1a33;
  --bg-1: #13264b;
  --bg-2: #1b3260;
  --bg-3: #24417a;
  --bg-4: #2e5198;

  --gold-1: #c9a96e;
  --gold-2: #e8d5b0;
  --gold-3: #8f7440;
  --gold-dim: rgba(201, 169, 110, 0.15);

  --text-1: #f3f7fd;
  --text-2: #afc3e0;
  --text-3: #748ab0;

  --green: #3ddc97;
  --red: #f0655a;
  --blue: #4f8ef7;
  --orange: #f5a623;
  --purple: #a07ef7;

  --line: rgba(201, 169, 110, 0.18);
  --line-soft: rgba(154, 168, 194, 0.12);

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  height: 100%;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 14px;
  color: var(--text-1);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
}

body {
  background:
    radial-gradient(800px 400px at 50% -5%, rgba(79, 142, 247, 0.1), transparent 60%),
    radial-gradient(600px 400px at 50% 110%, rgba(201, 169, 110, 0.05), transparent 60%),
    var(--bg-0);
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; outline: none; }
img { display: block; max-width: 100%; }

::-webkit-scrollbar { width: 0; height: 0; }

/* ============================================================
   布局：移动端容器（桌面居中限宽）
   ============================================================ */
.phone-wrap {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg-1);
  position: relative;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
}

/* 页面内容区 */
.page {
  min-height: 100vh;
  padding-bottom: 70px; /* 给底部导航留位 */
}
.page.no-tab { padding-bottom: 30px; }

/* ============================================================
   顶部导航
   ============================================================ */
.top-bar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center;
  padding: 14px 16px;
  background: rgba(19, 38, 75, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.top-bar .back-btn {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  color: var(--gold-2);
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.top-bar .title {
  flex: 1; text-align: center;
  font-size: 16px; font-weight: 600; letter-spacing: 1px;
  color: var(--gold-2);
}
.top-bar .right-slot { width: 34px; flex-shrink: 0; }

/* ============================================================
   底部导航
   ============================================================ */
.tab-bar {
  position: fixed; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%; max-width: 480px;
  display: flex;
  background: rgba(27, 50, 96, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom);
}
.tab-item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  padding: 9px 0 8px;
  color: var(--text-3);
  font-size: 10.5px;
  gap: 3px;
  transition: color 0.2s;
}
.tab-item .tab-icon { font-size: 20px; line-height: 1; }
.tab-item.active { color: var(--gold-2); }

/* ============================================================
   首页
   ============================================================ */
.home-header {
  padding: 18px 16px 6px;
  display: flex; align-items: center; justify-content: space-between;
}
.home-logo { font-size: 19px; font-weight: 700; letter-spacing: 2px; color: var(--gold-2); }
.home-logo small { display: block; font-size: 9.5px; color: var(--text-3); letter-spacing: 3px; font-weight: 400; margin-top: 2px; }
.home-user {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-4), var(--bg-3));
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--gold-2);
}

/* Banner */
.banner {
  margin: 14px 16px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 170px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.banner img { width: 100%; height: 100%; object-fit: cover; }
.banner::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(12, 26, 51, 0.85));
}
.banner-text {
  position: absolute; bottom: 16px; left: 18px; right: 18px;
  z-index: 2;
}
.banner-text h2 { font-size: 19px; letter-spacing: 2px; color: #fff; font-weight: 600; }
.banner-text p { font-size: 11.5px; color: rgba(255,255,255,0.75); margin-top: 5px; letter-spacing: 1px; }

/* 分类横滑 */
.cat-scroll {
  display: flex; gap: 10px;
  padding: 6px 16px 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cat-chip {
  flex-shrink: 0;
  padding: 9px 18px;
  border-radius: 20px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  font-size: 12.5px; color: var(--text-2);
  transition: all 0.2s;
  white-space: nowrap;
}
.cat-chip.active {
  background: linear-gradient(135deg, var(--gold-1), var(--gold-3));
  color: #1a1206; font-weight: 600;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(201, 169, 110, 0.35);
}

/* 分区标题 */
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 16px 12px;
}
.section-title {
  font-size: 16px; font-weight: 600; color: var(--text-1);
  display: flex; align-items: center; gap: 8px;
}
.section-title::before {
  content: '';
  width: 3px; height: 15px; border-radius: 2px;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-3));
}
.section-more { font-size: 11.5px; color: var(--text-3); }

/* 商品网格 */
.goods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 16px;
}
.goods-card {
  background: linear-gradient(160deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s;
}
.goods-card:active { transform: scale(0.98); }
.goods-img {
  width: 100%; aspect-ratio: 1;
  object-fit: cover;
  background: var(--bg-3);
}
.goods-info { padding: 11px 12px 13px; }
.goods-name {
  font-size: 13px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.goods-sub {
  font-size: 11px; color: var(--text-3);
  margin-top: 3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.goods-price {
  display: flex; align-items: baseline; gap: 6px;
  margin-top: 8px;
}
.price-num { color: var(--gold-2); font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.price-num::before { content: '¥'; font-size: 11px; margin-right: 1px; }
.silver-tag {
  font-size: 10px; color: #b8c4d8;
  background: rgba(184, 196, 216, 0.12);
  border: 1px solid rgba(184, 196, 216, 0.25);
  padding: 1px 6px; border-radius: 4px;
}

/* ============================================================
   卡片通用
   ============================================================ */
.card {
  background: linear-gradient(160deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  margin: 12px 16px;
  padding: 16px;
}
.card-title {
  font-size: 14px; font-weight: 600; color: var(--gold-2);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: flex; align-items: center; justify-content: space-between;
}
.card-title .sub { font-size: 11px; color: var(--text-3); font-weight: 400; }

/* ============================================================
   按钮
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 22px;
  border-radius: 24px;
  font-size: 13.5px;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn:disabled { opacity: 0.5; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-1), var(--gold-3));
  color: #1a1206; font-weight: 600;
  box-shadow: 0 4px 14px rgba(201, 169, 110, 0.35);
}
.btn-gold:active:not(:disabled) { transform: scale(0.97); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text-2);
  background: transparent;
}
.btn-block { width: 100%; padding: 13px; font-size: 14.5px; }
.btn-sm { padding: 7px 14px; font-size: 12px; border-radius: 16px; }

/* ============================================================
   表单
   ============================================================ */
.form-item { margin-bottom: 16px; }
.form-item label {
  display: block;
  font-size: 12px; color: var(--text-2);
  margin-bottom: 8px;
}
.input, .textarea {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  color: var(--text-1);
  padding: 12px 14px;
  font-size: 14px;
  transition: border-color 0.2s;
}
.input:focus, .textarea:focus { border-color: var(--gold-1); }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.textarea { resize: none; min-height: 80px; line-height: 1.6; }

/* ============================================================
   登录注册页
   ============================================================ */
.auth-wrap {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 40px 28px;
}
.auth-logo { text-align: center; margin-bottom: 40px; }
.auth-logo .mark {
  width: 72px; height: 72px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-3));
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; color: var(--bg-1); font-weight: 700;
  box-shadow: 0 0 32px rgba(201, 169, 110, 0.35);
}
.auth-logo h1 { font-size: 23px; letter-spacing: 5px; color: var(--gold-2); }
.auth-logo p { font-size: 10.5px; color: var(--text-3); letter-spacing: 3px; margin-top: 8px; }
.auth-tabs {
  display: flex; gap: 24px;
  margin-bottom: 26px;
}
.auth-tab {
  font-size: 15px; color: var(--text-3);
  padding-bottom: 8px;
  position: relative;
}
.auth-tab.active { color: var(--gold-2); font-weight: 600; }
.auth-tab.active::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 22px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-3));
}
.auth-link { text-align: center; margin-top: 20px; font-size: 12.5px; color: var(--text-3); }
.auth-link span { color: var(--gold-2); }

/* ============================================================
   钱包页
   ============================================================ */
.wallet-hero {
  margin: 16px;
  padding: 24px 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.wallet-hero::after {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-dim), transparent 70%);
}
.wallet-total-label { font-size: 12px; color: var(--text-2); letter-spacing: 1px; }
.wallet-total { font-size: 34px; font-weight: 700; color: var(--gold-2); margin-top: 8px; font-variant-numeric: tabular-nums; }
.wallet-actions { display: flex; gap: 10px; margin-top: 18px; position: relative; z-index: 2; }

/* 三账户卡 */
.account-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; padding: 0 16px; }
.account-card {
  background: linear-gradient(160deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  text-align: center;
}
.account-card .icon { font-size: 20px; margin-bottom: 6px; }
.account-card .val { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.account-card .lbl { font-size: 10.5px; color: var(--text-3); margin-top: 4px; }
.account-card.cash .val { color: var(--text-1); }
.account-card.silver .val { color: #b8c4d8; }
.account-card.copper .val { color: var(--gold-2); }

/* 流水条目 */
.record-item {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}
.record-item:last-child { border-bottom: none; }
.record-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.record-icon.in { background: rgba(61, 220, 151, 0.12); color: var(--green); }
.record-icon.out { background: rgba(240, 101, 90, 0.12); color: var(--red); }
.record-main { flex: 1; min-width: 0; }
.record-title { font-size: 13px; }
.record-time { font-size: 11px; color: var(--text-3); margin-top: 3px; }
.record-amount { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.record-amount.in { color: var(--green); }
.record-amount.out { color: var(--red); }

/* ============================================================
   档位专区
   ============================================================ */
.tier-card {
  margin: 12px 16px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line-soft);
  overflow: hidden;
  position: relative;
}
.tier-card.featured { border-color: var(--line); box-shadow: 0 0 24px rgba(201, 169, 110, 0.12); }
.tier-head {
  padding: 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.tier-name { font-size: 16px; font-weight: 700; color: var(--gold-2); letter-spacing: 1px; }
.tier-price { font-size: 22px; font-weight: 700; color: var(--text-1); font-variant-numeric: tabular-nums; }
.tier-price::before { content: '¥'; font-size: 13px; margin-right: 2px; color: var(--text-3); }
.tier-price span { font-size: 11px; color: var(--text-3); font-weight: 400; margin-left: 6px; }
.tier-rates {
  display: flex;
  border-top: 1px solid var(--line-soft);
}
.tier-rate-cell {
  flex: 1;
  text-align: center;
  padding: 10px 2px;
  border-right: 1px solid var(--line-soft);
}
.tier-rate-cell:last-child { border-right: none; }
.tier-rate-cell .rv { font-size: 14px; font-weight: 700; color: var(--gold-2); }
.tier-rate-cell .rl { font-size: 9.5px; color: var(--text-3); margin-top: 2px; }
.tier-foot {
  padding: 12px 16px;
  border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(201, 169, 110, 0.04);
}
.tier-pool { font-size: 11.5px; color: var(--text-2); }
.tier-pool b { color: var(--gold-2); font-size: 13px; }

/* ============================================================
   我的计划
   ============================================================ */
.plan-card {
  margin: 12px 16px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line-soft);
  padding: 16px;
}
.plan-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.plan-tier { font-size: 15px; font-weight: 600; color: var(--gold-2); }
.plan-status { font-size: 11px; }
.plan-nums {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; text-align: center;
  margin-bottom: 12px;
}
.plan-nums .num { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.plan-nums .lbl { font-size: 10px; color: var(--text-3); margin-top: 3px; }
.plan-progress { height: 8px; background: var(--bg-1); border-radius: 4px; overflow: hidden; }
.plan-progress-inner {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-3));
  border-radius: 4px;
  transition: width 0.4s;
}
.plan-progress-text { font-size: 10.5px; color: var(--text-3); margin-top: 6px; text-align: right; }

/* ============================================================
   徽章 / 空态 / 提示
   ============================================================ */
.badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 12px;
  font-size: 10.5px;
}
.badge-green { background: rgba(61,220,151,0.13); color: var(--green); border: 1px solid rgba(61,220,151,0.3); }
.badge-red { background: rgba(240,101,90,0.13); color: var(--red); border: 1px solid rgba(240,101,90,0.3); }
.badge-orange { background: rgba(245,166,35,0.13); color: var(--orange); border: 1px solid rgba(245,166,35,0.3); }
.badge-blue { background: rgba(79,142,247,0.13); color: var(--blue); border: 1px solid rgba(79,142,247,0.3); }
.badge-gold { background: var(--gold-dim); color: var(--gold-2); border: 1px solid var(--line); }
.badge-gray { background: rgba(154,168,194,0.1); color: var(--text-2); border: 1px solid var(--line-soft); }

.empty { text-align: center; padding: 50px 20px; color: var(--text-3); }
.empty-icon { font-size: 38px; opacity: 0.35; margin-bottom: 12px; }

.loading { text-align: center; padding: 50px 0; color: var(--text-3); font-size: 13px; }
.loading::after {
  content: '';
  display: block;
  width: 26px; height: 26px;
  margin: 12px auto 0;
  border: 3px solid var(--line-soft);
  border-top-color: var(--gold-1);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Toast */
.gc-toast {
  position: fixed;
  top: 60px; left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 20px;
  display: flex; align-items: center; gap: 9px;
  box-shadow: var(--shadow);
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s;
  font-size: 13px;
  max-width: 84vw;
}
.gc-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.gc-toast-icon {
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; flex-shrink: 0;
}
.gc-toast-success .gc-toast-icon { background: rgba(61,220,151,0.2); color: var(--green); }
.gc-toast-error .gc-toast-icon { background: rgba(240,101,90,0.2); color: var(--red); }
.gc-toast-info .gc-toast-icon { background: rgba(79,142,247,0.2); color: var(--blue); }

/* 底部弹层（下单/提现等） */
.sheet-mask {
  position: fixed; inset: 0;
  background: rgba(4, 8, 18, 0.75);
  backdrop-filter: blur(3px);
  z-index: 500;
  opacity: 0;
  transition: opacity 0.25s;
}
.sheet-mask.show { opacity: 1; }
.sheet {
  position: fixed; bottom: 0; left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%; max-width: 480px;
  background: linear-gradient(160deg, var(--bg-2), var(--bg-1));
  border-radius: 18px 18px 0 0;
  border-top: 1px solid var(--line);
  z-index: 501;
  max-height: 85vh;
  overflow-y: auto;
  transition: transform 0.3s;
  padding-bottom: env(safe-area-inset-bottom);
}
.sheet.show { transform: translateX(-50%) translateY(0); }
.sheet-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 18px 12px;
  font-size: 15px; font-weight: 600; color: var(--gold-2);
  position: sticky; top: 0;
  background: inherit;
}
.sheet-close { color: var(--text-3); font-size: 18px; padding: 2px 8px; }
.sheet-body { padding: 0 18px 22px; }

/* 商品详情 */
.detail-img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.detail-body { padding: 18px 16px; }
.detail-name { font-size: 18px; font-weight: 700; line-height: 1.4; }
.detail-sub { font-size: 12.5px; color: var(--text-2); margin-top: 6px; }
.detail-price-row { display: flex; align-items: baseline; gap: 12px; margin-top: 14px; }
.detail-price { font-size: 26px; font-weight: 700; color: var(--gold-2); }
.detail-price::before { content: '¥'; font-size: 15px; }
.detail-silver { font-size: 12px; color: #b8c4d8; }
.detail-desc { font-size: 13px; color: var(--text-2); line-height: 1.9; margin-top: 18px; white-space: pre-wrap; }
.detail-footer {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px;
  display: flex; gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(27, 50, 96, 0.97);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  z-index: 100;
}
.detail-footer .btn { flex: 1; }

/* 数量步进器 */
.stepper { display: flex; align-items: center; gap: 0; border: 1px solid var(--line-soft); border-radius: 8px; overflow: hidden; }
.stepper button {
  width: 34px; height: 34px;
  background: var(--bg-1);
  color: var(--gold-2);
  font-size: 17px;
}
.stepper .qty { width: 48px; text-align: center; font-size: 14px; font-weight: 600; background: var(--bg-2); line-height: 34px; }

/* 列表通用 */
.list-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.list-item:last-child { border-bottom: none; }

/* 团队页 */
.team-stat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 16px; }
.team-stat .item {
  background: linear-gradient(160deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 16px 8px;
  text-align: center;
}
.team-stat .num { font-size: 20px; font-weight: 700; color: var(--gold-2); }
.team-stat .lbl { font-size: 10.5px; color: var(--text-3); margin-top: 4px; }

.invite-card {
  margin: 16px;
  padding: 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  text-align: center;
}
.invite-code {
  font-size: 30px; font-weight: 700; letter-spacing: 8px;
  color: var(--gold-2);
  margin: 10px 0 16px;
  font-variant-numeric: tabular-nums;
}

/* 我的页 */
.mine-header {
  padding: 30px 20px 24px;
  display: flex; align-items: center; gap: 14px;
}
.mine-avatar {
  width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-3));
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--bg-1); font-weight: 700;
}
.mine-name { font-size: 17px; font-weight: 600; }
.mine-phone { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.mine-level { margin-left: auto; }

.menu-list { margin: 12px 16px; border-radius: var(--radius); background: linear-gradient(160deg, var(--bg-2), var(--bg-1)); border: 1px solid var(--line-soft); overflow: hidden; }
.menu-item {
  display: flex; align-items: center; gap: 13px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
  transition: background 0.15s;
}
.menu-item:last-child { border-bottom: none; }
.menu-item:active { background: var(--bg-3); }
.menu-item .mi { font-size: 17px; width: 24px; text-align: center; }
.menu-item .arrow { margin-left: auto; color: var(--text-3); font-size: 14px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.35s ease both; }
