:root{
  --bg:#0b1020;
  --bg2:#0f172a;
  --card:#0b1228;
  --
.record-card__actions{

  margin-top:12px;

  display:flex;

  justify-content:flex-end;

}

.record-card__pay{
  border: none;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  min-height: 44px;
  transition: opacity .2s, transform .05s;
}
.record-card__pay:active { opacity: .92; }
.record-card__pay-done{
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #fff;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 700;
  min-height: 44px;
  cursor: default;
}
text:#e5e7eb;
  --muted:#94a3b8;
  --line:rgba(148,163,184,.18);
  --brand:#6366f1;
  --brand2:#8b5cf6;
  --good:#10b981;
  --bad:#ef4444;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  color:var(--text);
  background: radial-gradient(1200px 800px at 30% 10%, rgba(99,102,241,.25), transparent 60%),
              radial-gradient(900px 600px at 90% 30%, rgba(139,92,246,.20), transparent 55%),
              linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}

body.is-auth{
  color:#111827;
  background:#ffffff;
}

body.is-auth .main{
  padding: 0 !important;
}

/* 登录后：Profile/Record 白底风格 */
body.is-light{
  background: #f4f6fb;
  color:#111827;
}
body.is-light .main{
  padding: 0px 0px 96px;
}
/* Record 页：优化布局，tabs 完全贴顶，列表与边框有间隙 */
body[data-route="record"] .main{
  padding-left: 0px;
  padding-right: 0px;
  padding-top: 0;
  padding-bottom: 90px;
}
body[data-route="record"] .light{
  padding-top: 0;
  padding-bottom: 0;
  margin-top: -14px; /* 抵消顶部 padding，完全贴顶 */
}
/* tabs 完全贴顶部 */
body[data-route="record"] .light__tabs{
  padding: 0 16px;
  margin: 0 -16px;
  border-radius: 0;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
}
body[data-route="record"] .light__tabs button{
  padding: 14px 0 12px;
  font-size: 15px;
  font-weight: 600;
}
body[data-route="record"] .light__tabs button.active{
  color: #2563eb;
  border-bottom-color: #2563eb;
}
body[data-route="record"] .light__list{
  padding: 12px 0 0;
}
/* card 优化：与左右边框保持间隙，圆角完整 */
body[data-route="record"] .ordercard{
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(15,23,42,.04);
  margin: 0 0 12px 0;
  padding: 14px 14px 16px;
  background: #ffffff;
}
body[data-route="record"] .light__list .ordercard:first-child{
  border-radius: 16px;
}
body[data-route="record"] .light__list .ordercard:last-child{
  border-radius: 16px;
}
body[data-route="record"] .light__list .ordercard:only-child{
  border-radius: 16px;
}
body[data-route="record"] .ordercard + .ordercard{
  margin-top: 12px;
}
/* Order No. 与时间同一行，左右独立 */
body[data-route="record"] .ordercard__row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
body[data-route="record"] .ordercard__id{
  font-weight: 600;
  font-size: 12px;
  color: #111827;
  white-space: nowrap;
  overflow: visible;
}
body[data-route="record"] .ordercard__time{
  font-size: 11px;
  color: #9ca3af;
  white-space: nowrap;
  flex-shrink: 0;
}
/* 状态标签优化：右侧定位，椭圆胶囊形状 */
body[data-route="record"] .ordercard__status{
  position: absolute;
  right: 14px;
  bottom: 14px;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(16,185,129,.12);
  color: #047857;
  border: 1px solid rgba(16,185,129,.25);
}
body[data-route="record"] .ordercard__status.warn{
  background: rgba(59,130,246,.10);
  color: #1d4ed8;
  border-color: rgba(59,130,246,.20);
}
body[data-route="record"] .ordercard__status.bad{
  background: rgba(239,68,68,.08);
  color: #b91c1c;
  border-color: rgba(239,68,68,.15);
}
body.is-light .card{
  background:#ffffff;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 14px 30px rgba(15,23,42,.08);
  color:#111827;
}
body.is-light .muted{ color:#6b7280; }
body.is-light .field label{ color:#6b7280; }
body.is-light .field input{
  background:#f9fafb;
  border-color:#e5e7eb;
  color:#111827;
}
body.is-light .btn{
  background:#ffffff;
  border-color:#e5e7eb;
  color:#111827;
}
body.is-light .btn.primary{
  background:#111827;
  border-color:#111827;
  color:#ffffff;
}
body.is-light .toast{
  background: #1f2937;
  color: #f9fafb;
  border-color: rgba(255,255,255,.1);
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
}

.light{
  padding-bottom: 8px;
}
/* Record 顶部标签，改成截图那种扁平下划线风格 */
.light__tabs{
  display:flex;
  justify-content:space-around;
  padding: 12px 16px 0;
  background:#ffffff;
  border-bottom: 1px solid #e5e7eb;
}
.light__tabs button{
  flex:1;
  border:none;
  background:transparent;
  padding: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color:#9ca3af;
  border-bottom: 2px solid transparent;
}
.light__tabs button.active{
  color:#2563eb;
  border-bottom-color:#2563eb;
}
.light__muted{
  padding: 14px 4px;
  color:#6b7280;
  text-align:center;
}
/* Record 页：订单记录 */
.record-page{
  padding: 0 0 40px;
  background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 12%, #f8fafc 100%);
  min-height: 100%;
}
.record-tabs{
  display: flex;
  justify-content: stretch;
  align-items: stretch;
  gap: 0;
  margin-bottom: 12px;
  width: 100%;
  padding: 0;
}
.record-tabs button{
  flex: 1;
  min-width: 0;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 14px 8px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #94a3b8;
  background: transparent;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
  -webkit-tap-highlight-color: transparent;
  text-align: center;
}
.record-tabs button.active{
  color: #1e40af;
  border-bottom-color: #2563eb;
}
.record-list{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.record-empty{
  padding: 48px 24px;
  text-align: center;
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.5;
}
.record-card{
  background:#fff;
  border-radius:20px;
  padding:0;
  box-shadow: 0 4px 20px rgba(15,23,42,.06);
  border:1px solid rgba(226,232,240,.9);
  overflow: hidden;
}
.record-card__header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  background: #fafbfc;
}
.record-card__order{
  font-weight:700;
  font-size:14px;
  color:#0f172a;
  letter-spacing: 0.01em;
}
.record-card__time{
  font-size:12px;
  color:#64748b;
}
.record-card__badge{
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.record-card__badge--pending{ color:#6d28d9; background:#ede9fe; border: 1px solid rgba(109,40,217,.15); }
.record-card__badge--doing{ color:#1d4ed8; background:#dbeafe; border: 1px solid rgba(29,78,216,.2); }
.record-card__badge--audit{ color:#b45309; background:#fef3c7; border: 1px solid rgba(180,83,9,.2); }
.record-card__badge--done{ color:#15803d; background:#dcfce7; border: 1px solid rgba(21,128,61,.2); }
.record-card__footer{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  padding: 14px 16px;
  border-top: 1px solid #f1f5f9;
  background: #fafbfc;
}
.record-card__status-tag{ font-size:13px; color:#64748b; font-weight:600; }
.record-card__status{
  font-size:12px;
  padding: 4px 12px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:600;
  text-transform:capitalize;
}
.record-card__status.pay{
  color:#1d4ed8;
  background:#dbeafe;
  border-color:#93c5fd;
}
.record-card__status.completed{
  color:#15803d;
  background:#dcfce7;
  border-color:#86efac;
}
.record-card__body{
  display:flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  margin-bottom: 0;
}
.record-card__thumb{
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.record-card__info{
  flex:1;
  min-width: 0;
}
.record-card__title{
  font-weight: 700;
  font-size: 15px;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.3;
}
.record-card__meta{
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}
.record-card__meta-row{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.record-card__label{
  font-size: 13px;
  color: #64748b;
  flex-shrink: 0;
}
.record-card__label--red{
  color: #dc2626;
}
.record-card__value{
  font-weight: 600;
  color: #0f172a;
  text-align: right;
}
.record-card__value--red{
  color: #dc2626;
}

/* Record 页 - 手机端视觉优化 */
@media (max-width: 768px) {
  .record-page {
    padding: 0 0 24px;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 8%, #f8fafc 100%);
  }
  .record-tabs {
    margin-bottom: 16px;
    gap: 0;
    background: #fff;
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
    padding: 8px 0 0;
    box-shadow: 0 2px 12px rgba(15,23,42,.06);
    border: none;
    border-bottom: 1px solid #e2e8f0;
  }
  .record-tabs button {
    flex: 1;
    min-width: 0;
    padding: 12px 6px;
    font-size: 13px;
    border-radius: 0;
    border: none;
    border-bottom: 3px solid transparent;
    min-height: 44px;
    color: #64748b;
    text-align: center;
  }
  .record-tabs button.active {
    color: #1d4ed8;
    font-weight: 800;
    border-bottom-color: #2563eb;
    background: transparent;
  }
  .record-list {
    padding: 0 16px;
    gap: 16px;
  }
  .record-empty {
    padding: 56px 20px;
    font-size: 15px;
    color: #64748b;
  }
  .record-empty::before {
    content: '';
    display: block;
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23cbd5e1' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z'/%3E%3C/svg%3E") center/contain no-repeat;
    opacity: .7;
  }
  .record-card {
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(15,23,42,.06);
    border: 1px solid #e2e8f0;
  }
  .record-card__header {
    padding: 14px 16px;
  }
  .record-card__order { font-size: 14px; }
  .record-card__time { font-size: 12px; }
  .record-card__badge {
    width: auto;
    margin-top: 0;
    margin-left: auto;
  }
  .record-card__body {
    padding: 16px;
    gap: 16px;
  }
  .record-card__thumb {
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }
  .record-card__title {
    font-size: 16px;
    margin-bottom: 12px;
  }
  .record-card__meta-row {
    font-size: 13px;
  }
  .record-card__footer {
    padding: 14px 16px;
  }
  .record-card__pay,
  .record-card__pay-done {
    min-height: 48px;
    padding: 12px 24px;
    font-size: 15px;
    border-radius: 14px;
  }
}

/* Financial Records page (with back) */
.finrec{ padding: 0 16px 24px; min-height: 100%; background: #f4f6fb; }
.finrec__header{ display: flex; align-items: center; gap: 12px; padding: 14px 0 16px; position: sticky; top: 0; background: #f4f6fb; z-index: 2; }
.finrec__back{ width: 40px; height: 40px; border: none; border-radius: 12px; background: #fff; color: #374151; display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; box-shadow: 0 2px 8px rgba(15,23,42,.08); }
.finrec__back:active{ opacity: .85; }
.finrec__title{ font-size: 18px; font-weight: 700; color: #111827; margin: 0; flex: 1; }
.finrec__tabs-wrap{ position: sticky; top: 70px; background: #f4f6fb; z-index: 1; padding-bottom: 12px; overflow: hidden; }
.finrec__tabs{ display: flex; gap: 4px; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
.finrec__tabs::-webkit-scrollbar{ display: none; }
.finrec__tab{ flex: 1; min-width: 72px; padding: 10px 8px; border: none; background: transparent; font-size: 13px; color: #6b7280; font-weight: 600; cursor: pointer; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; white-space: nowrap; display: flex; align-items: center; justify-content: center; gap: 4px; }
.finrec__tab.active{ color: #2563eb; border-bottom-color: #2563eb; }
.finrec__tab-count{ font-size: 11px; color: #94a3b8; font-weight: 500; }
.finrec__tab.active .finrec__tab-count{ color: #2563eb; }
.finrec__tab-count--visible{ opacity: 1; }
.finrec__list{ display: flex; flex-direction: column; gap: 14px; }
.finrec__empty{ padding: 32px 0; text-align: center; color: #94a3b8; font-size: 14px; }
.finrec__card{ background: #fff; border-radius: 18px; padding: 18px; box-shadow: 0 16px 40px rgba(15,23,42,.08); border: 1px solid #e5e7eb; }
.finrec__card-top{ display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.finrec__card-left{ display: flex; align-items: center; gap: 12px; }
.finrec__card-icon{ width: 44px; height: 44px; border-radius: 12px; background: #dbeafe; color: #2563eb; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.finrec__card-title{ font-weight: 700; font-size: 15px; color: #111827; margin-bottom: 2px; }
.finrec__card-time{ font-size: 12px; color: #94a3b8; }
.finrec__card-right{ text-align: right; }
.finrec__card-amount{ font-weight: 800; font-size: 16px; color: #111827; margin-bottom: 4px; }
.finrec__card-amount--plus{ color: #16a34a; }
.finrec__status{ display: inline-block; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; }
.finrec__status--ok{ background: rgba(16,185,129,.14); color: #047857; border: 1px solid rgba(16,185,129,.25); }
.finrec__status--pending{ background: rgba(59,130,246,.12); color: #1d4ed8; border: 1px solid rgba(59,130,246,.25); }
.finrec__card-details{ border-top: 1px solid #e5e7eb; padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.finrec__row{ display: flex; justify-content: space-between; align-items: center; font-size: 12px; gap: 8px; }
.finrec__label{ color: #6b7280; flex-shrink: 0; }
.finrec__value{ color: #111827; font-weight: 600; word-break: break-all; text-align: right; }
.finrec__value--plus{ color: #16a34a; }

/* Record Order Success popup */
.record-popup{
  position:fixed;
  inset:0;
  z-index:1000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
  opacity:0;
  visibility:hidden;
  transition:opacity .2s, visibility .2s;
}
.record-popup--show{
  opacity:1;
  visibility:visible;
}
.record-popup__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.5);
}
.record-popup__card{
  position:relative;
  background:#fff;
  border-radius:20px;
  padding:24px;
  max-width:360px;
  width:100%;
  max-height:90vh;
  overflow-y:auto;
  box-shadow:0 24px 48px rgba(0,0,0,.2);
}
.record-popup__success-icon{
  width:56px;
  height:56px;
  margin:0 auto 12px;
  border-radius:50%;
  background:#22c55e;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
}
.record-popup__title{
  font-weight:800;
  font-size:18px;
  text-align:center;
  margin-bottom:16px;
  color:#111827;
}
.record-popup__product{
  display:flex;
  gap:12px;
  align-items:center;
  margin-bottom:16px;
  padding-bottom:16px;
  border-bottom:1px solid #e5e7eb;
}
.record-popup__thumb{
  width:64px;
  height:64px;
  border-radius:12px;
  background:#f3f4f6 center/cover no-repeat;
  flex-shrink:0;
}
.record-popup__product-info{ flex:1; min-width:0; }
.record-popup__product-name{
  font-weight:700;
  font-size:14px;
  color:#111827;
  margin-bottom:4px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.record-popup__price-row{ display:flex; align-items:center; gap:8px; }
.record-popup__price{ color:#dc2626; font-weight:700; font-size:14px; }
.record-popup__qty{ font-size:13px; color:#64748b; }
.record-popup__rows{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:16px;
  font-size:13px;
}
.record-popup__row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:#475569;
}
.record-popup__row span:last-child{ font-weight:600; color:#111827; }
.record-popup__row--order-no{ justify-content:flex-start; }
.record-popup__row--order-no span:last-child{ margin-left:0; }
.record-popup__total--red,
.record-popup__commission--red{ color:#dc2626 !important; }
.record-popup__commission--green{ color:#22c55e !important; }
.record-popup__row--commission{
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:#475569;
  font-size:13px;
  padding-top:12px;
  margin-bottom:16px;
  border-top:1px solid #e5e7eb;
}
.record-popup__row--commission span:last-child{ font-weight:600; }
.record-popup__btn--red{
  background:#ef4444;
  color:#fff;
}
.record-popup__rating{ margin-bottom:16px; }
.record-popup__rating-label{
  font-size:13px;
  color:#64748b;
  margin-bottom:8px;
}
.record-popup__stars{
  display:flex;
  gap:4px;
}
.record-popup__star{
  width:20px;
  height:20px;
  fill:#d1d5db;
  cursor:pointer;
  transition:fill .15s, transform .15s;
}
.record-popup__star:hover{
  transform:scale(1.2);
}
.record-popup__star.record-popup__star--on,
.record-popup__star.record-popup__star--on{ fill:#fbbf24; }
.record-popup__actions{
  display:flex;
  gap:12px;
}
.record-popup__btn{
  flex:1;
  padding:12px 16px;
  border-radius:12px;
  font-weight:700;
  font-size:14px;
  border:none;
  cursor:pointer;
}
.record-popup__btn--gray{
  background:#f3f4f6;
  color:#6b7280;
}
.record-popup__btn--green{
  background:#22c55e;
  color:#fff;
}

.light__tx{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 16px;
  background:#ffffff;
  border:1px solid #e5e7eb;
  box-shadow: 0 10px 18px rgba(15,23,42,.06);
}
.light__tx + .light__tx{ margin-top: 12px; }
.light__tx-title{ font-weight: 900; }
.light__tx-sub{ margin-top: 6px; font-size: 12px; color:#6b7280; }
.light__tx-right{ text-align:right; }
.light__chip{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  border:1px solid #e5e7eb;
  background:#f9fafb;
  color:#6b7280;
}
.light__chip.ok{ background: rgba(16,185,129,.12); border-color: rgba(16,185,129,.25); color:#047857; }
.light__chip.warn{ background: rgba(59,130,246,.12); border-color: rgba(59,130,246,.25); color:#1d4ed8; }
.light__chip.bad{ background: rgba(239,68,68,.10); border-color: rgba(239,68,68,.22); color:#b91c1c; }

.ordercard{
  position: relative;
  padding: 12px 12px 14px;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  background:#ffffff;
  box-shadow: 0 12px 22px rgba(15,23,42,.06);
}
.ordercard + .ordercard{ margin-top: 14px; }
.ordercard__row{
  display:flex;
  justify-content:space-between;
  gap: 10px;
  font-size: 12px;
  color:#6b7280;
  margin-bottom: 10px;
}
.ordercard__id{ font-weight: 900; color:#111827; }
.ordercard__body{
  display:flex;
  align-items:flex-start;
  gap: 12px;
}
.ordercard__thumb{
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(99,102,241,.16), rgba(255,255,255,0)),
    linear-gradient(180deg, #f3f4f6, #ffffff);
  border: 1px solid rgba(15,23,42,.08);
  flex: 0 0 auto;
}
.ordercard__info{
  flex: 1 1 auto;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}
.ordercard__title{
  font-weight: 900;
  color:#111827;
  line-height: 1.25;
}
.ordercard__kv{
  margin-top: 8px;
  display:grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  row-gap: 6px;
  font-size: 12px;
  color:#6b7280;
}
.ordercard__comm{ color:#ef4444; font-weight: 900; }
.ordercard__status{
  position:absolute;
  right: 12px;
  bottom: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 900;
  font-size: 12px;
  background: rgba(16,185,129,.14);
  color:#047857;
  border: 1px solid rgba(16,185,129,.25);
}
.ordercard__status.warn{
  background: rgba(59,130,246,.12);
  border-color: rgba(59,130,246,.25);
  color:#1d4ed8;
}
.ordercard__status.bad{
  background: rgba(239,68,68,.10);
  border-color: rgba(239,68,68,.22);
  color:#b91c1c;
}

/* Profile 页：深色顶栏 + 深灰资产卡 + 邀请/充值/提现/在线客服 + 白底菜单列表 */
.profile{
  padding-bottom: 90px;
  background: #f4f6fb;
}
.profile__top{
  background: linear-gradient(160deg, #1a1a2e 0%, #16213e 30%, #0f3460 60%, #1e3a5f 100%);
  padding: 24px 16px 18px;
  color: #fff;
  position: relative;
  overflow: hidden;
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
}
.profile__header{
  background: transparent;
  padding: 0;
  color: inherit;
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.profile__header::before{
  content: '';
  position: absolute;
  top: -80px;
  right: -40px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.profile__header::after{
  content: '';
  position: absolute;
  bottom: -60px;
  left: -30px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.profile__header-decor{
  position: absolute;
  pointer-events: none;
}
.profile__header-decor--1{
  top: 10%;
  left: 8%;
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  box-shadow: 10px 20px 0 0 rgba(255,255,255,0.15), 20px 40px 0 0 rgba(255,255,255,0.1);
}
.profile__header-decor--2{
  top: 30%;
  right: 15%;
  width: 8px;
  height: 8px;
  background: rgba(236, 72, 153, 0.4);
  border-radius: 50%;
}
.profile__header-decor--3{
  bottom: 20%;
  right: 5%;
  width: 4px;
  height: 4px;
  background: rgba(139, 92, 246, 0.5);
  border-radius: 50%;
  box-shadow: -15px 10px 0 0 rgba(139, 92, 246, 0.3);
}
.profile__header-inner{
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.profile__brand{
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  border: 3px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}
.profile__brand i, .profile__brand span{ font-size: 24px; font-weight: 700; }
.profile__header-info{ flex: 1; display: flex; flex-direction: column; gap: 6px; }
.profile__user{
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile__user-status{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}
.profile__invite{
  font-size: 12px;
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  gap: 4px;
}
.profile__lang-wrap{
  position: relative;
  margin-top: 8px;
}
.profile__lang-btn{
  font-size: 12px;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 4px 10px;
  cursor: pointer;
}
.profile__lang-btn:hover{
  background: rgba(255,255,255,0.18);
}
.profile__lang-options{
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  background: #1f2937;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 20;
  max-height: 200px;
  overflow-y: auto;
}
.profile__lang-option{
  display: block;
  width: 100%;
  padding: 8px 12px;
  font-size: 13px;
  color: #e5e7eb;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.profile__lang-option:hover{
  background: rgba(255,255,255,0.08);
}
.profile__assets{
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 1;
  margin-top: 14px;
}
.profile__assets-top{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.profile__assets-title-wrap{
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile__assets-crown{
  color: #fbbf24;
  font-size: 16px;
}
.profile__assets-title{
  font-size: 14px;
  font-weight: 600;
  opacity: .92;
}
.profile__assets-value{
  margin-top: 10px;
  font-size: 26px;
  font-weight: 900;
  color: #fff;
}
.profile__assets-unit{
  font-size: 14px;
  font-weight: 600;
  color: #fbbf24;
  margin-left: 4px;
}
.profile__refresh{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.profile__assets-grid{
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.profile__assets-box{
  padding: 10px 0 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.profile__assets-label{
  font-size: 12px;
  opacity: .88;
}
.profile__assets-small{
  margin-top: 6px;
  font-weight: 700;
  font-size: 14px;
  color: rgba(255,255,255,.95);
}
.profile__invite-btn{
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 14px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 12px;
}
.profile__invite-btn:hover{
  background: rgba(255,255,255,0.18);
}
.profile__invite-btn i:first-child{ font-size: 18px; }
.profile__invite-btn span{ flex: 1; text-align: left; }
.profile__invite-btn .fa-chevron-right{ font-size: 12px; opacity: .8; }
.profile__actions{
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 16px;
}
.profile__action{
  border: none;
  padding: 14px 12px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}
.profile__action--recharge{
  background: linear-gradient(135deg, #fb923c, #f97316);
  color: #fff;
  box-shadow: 0 4px 12px rgba(249,115,22,.3);
}
.profile__action--recharge i{ font-size: 18px; }
.profile__action--withdraw{
  background: linear-gradient(135deg, #f472b6, #ec4899);
  color: #fff;
  box-shadow: 0 4px 12px rgba(236,72,153,.3);
}
.profile__action--withdraw i{ font-size: 18px; }
.profile__service-btn{
  margin: 12px 16px 0;
  width: calc(100% - 32px);
  padding: 14px 16px;
  border: none;
  border-radius: 14px;
  background: #374151;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.profile__service-btn i:first-child{
  width: 28px;
  height: 28px;
  border: 2px solid #ef4444;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.profile__service-btn span{ flex: 1; text-align: left; }
.profile__service-btn .fa-chevron-right{ font-size: 12px; opacity: .8; }
.profile__menu{
  margin: 16px 16px 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  border: 1px solid #e5e7eb;
}
.profile__menu-item{
  width: 100%;
  border: none;
  background: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  font-size: 15px;
  color: #111827;
}
.profile__menu-item:last-child{ border-bottom: none; }
.profile__menu-left{
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: #111827;
}
.profile__menu-left i{
  width: 24px;
  text-align: center;
  color: #6b7280;
  font-size: 16px;
}
.profile__menu-right{
  color: #9ca3af;
  font-size: 12px;
}
.profile__menu-item--danger .profile__menu-left{
  color: #92400e;
}
.profile__menu-item--danger .profile__menu-left i{
  color: #92400e;
}
.profile__forms{ margin-top: 16px; padding: 0 16px; }
.profile__form-card{
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #e5e7eb;
}

#homeBgFix{}

#app{ height:100%; display:flex; flex-direction:column; }
.topbar{
  position: fixed;
  left:0;
  right:0;
  top:0;
  z-index: 40;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 16px;
  background: #fff;
  border-bottom: none;
}
.topbar__title{ font-weight:900; letter-spacing:.02em; }
.topbar__btn{
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
  width: 40px; height: 40px;
  border-radius: 12px;
}

.main{
  flex:1;
  padding: 0px 0px 0px 0px;
}
/* 隐藏顶部栏（record / start / profile 等）时，内容直接贴顶显示 */

body[data-route="start"] .main{
  padding:0;
  background:#f8fafc;
}

/* 首页（营销型） */
body.is-home{
  color:#111827;
  background:#05050f;
}
body.is-home .main{
  padding: 0 0 0 0;
  background:#05050f;
}
body.is-home .tabbar{
  background: rgba(255,255,255,.92);
  border-top: 1px solid rgba(15,23,42,.10);
  backdrop-filter: blur(14px);
}
body.is-home .tab{
  color: rgba(15,23,42,.55);
}
body.is-home .tab.active{
  color:#111827;
  background: rgba(15,23,42,.06);
  border-color: rgba(15,23,42,.08);
}

.home{ width:100%; background: #05050f; padding-bottom: 100px; }
.home__hero{
  position: relative;
  padding: 14px 16px 32px;
  background: transparent;
  color:#ffffff;
  overflow:hidden;
  border-radius: 0 0 28px 28px;
}
.home__hero-banner{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  color:rgba(255,255,255,.9);
  margin:16px 0;
  padding:10px 14px;
  background:rgba(255,255,255,.1);
  border-radius:12px;
  border:1px solid rgba(255,255,255,.15);
}
.home__hero-banner i{ color:#fbbf24; flex-shrink:0; }
.home__hero-banner-ticker-wrap{
  flex:1;
  min-width:0;
  height:20px;
  overflow:hidden;
}
.home__hero-banner-ticker{
  animation: home-banner-scroll 24s linear infinite;
}
.home__hero-banner-line{
  height:20px;
  line-height:20px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
@keyframes home-banner-scroll{
  0%{ transform:translateY(0); }
  100%{ transform:translateY(-50%); }
}
@keyframes pulse{
  0%,100%{opacity:1;}
  50%{opacity:.7;}
}
.home__hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.home__top-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.home__msg-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .05s;
}
.home__msg-btn:hover {
  background: rgba(255,255,255,.14);
}
.home__msg-btn:active {
  transform: scale(0.96);
}
.home__msg-btn i {
  font-size: 20px;
}
.home__msg-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-sizing: border-box;
}
.home__msg-wrap {
  position: relative;
}
.home__msg-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  width: 320px;
  max-width: calc(100vw - 24px);
  max-height: 360px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  z-index: 100;
  display: none;
  overflow: hidden;
}
.home__msg-dropdown--open {
  display: block;
}
.home__msg-dropdown-title {
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  border-bottom: 1px solid #e5e7eb;
}
.home__msg-dropdown-list {
  max-height: 300px;
  overflow-y: auto;
  padding: 8px 0;
}
.home__msg-loading,
.home__msg-empty {
  padding: 20px 14px;
  text-align: center;
  font-size: 14px;
  color: #6b7280;
}
.home__msg-item {
  padding: 10px 14px;
  border-bottom: 1px solid #f3f4f6;
}
.home__msg-item:last-child {
  border-bottom: none;
}
.home__msg-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.home__msg-item-type {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.home__msg-item--tip .home__msg-item-type { color: #2563eb; }
.home__msg-item--warning .home__msg-item-type { color: #ca8a04; }
.home__msg-item--announcement .home__msg-item-type { color: #16a34a; }
.home__msg-item-time {
  font-size: 11px;
  color: #9ca3af;
}
.home__msg-item-content {
  font-size: 13px;
  color: #374151;
  line-height: 1.5;
  word-break: break-word;
}
.home__brand {
  font-weight: 800;
  letter-spacing: 0.01em;
}
.home__brand-main { font-size: 14px; }
.home__brand-sub { font-size: 14px; opacity: 0.92; margin-left: 4px; }
.home__lang-wrap { position: relative; }
.home__lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.home__lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  min-width: 160px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  padding: 6px 0;
  z-index: 100;
  display: none;
  max-height: 280px;
  overflow-y: auto;
}
.home__lang-dropdown--open { display: block; }
.home__lang-option {
  display: block;
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: none;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  white-space: nowrap;
}
.home__lang-option:hover { background: #f3f4f6; }
.home__hero-center {
  padding-top: 18px;
  text-align: center;
}
.home__hero-title {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #ff4f7f;
  text-shadow: 0 0 30px rgba(255, 79, 127, 0.4);
}
.home__hero-sub {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 800;
  opacity: 0.95;
}
.home__hero-img {
  width: 100%;
  max-height: 38vh;
  margin-top: 14px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home__hero-img img {
  width: 100%;
  height: auto;
  max-height: 38vh;
  object-fit: contain;
  display: block;
}

.home__phones{
  position: relative;
  margin-top: 14px;
  height: 160px;
}
.home__hero-accent{
  position:absolute;
  right:-38px;
  top: 10px;
  width: 110px;
  height: 180px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(0,242,234,.95) 0%, rgba(0,242,234,.35) 100%);
  transform: rotate(10deg);
  filter: blur(.0px);
  opacity:.95;
}

/* Start 页：一比一模仿截图 */
.start-page{
  display:flex;
  flex-direction:column;
  gap:14px;
  padding-bottom:90px;
}

/* 顶部区：紫色渐变背景 */
.start-top{
  background:linear-gradient(135deg,#8b5cf6,#6366f1);
  padding:12px 16px 20px;
  border-radius:0 0 24px 24px;
  color:#fff;
}
.start-top__banner{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  color:rgba(255,255,255,.9);
  margin-bottom:16px;
}
.start-top__banner i{ color:#fbbf24; flex-shrink:0; }
.start-top__banner-ticker-wrap{
  flex:1;
  min-width:0;
  height:20px;
  overflow:hidden;
}
.start-top__banner-ticker{
  animation: start-banner-scroll 24s linear infinite;
}
.start-top__banner-line{
  height:20px;
  line-height:20px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
@keyframes start-banner-scroll{
  0%{ transform:translateY(0); }
  100%{ transform:translateY(-50%); }
}
.start-top__welcome{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:16px;
}
.start-top__welcome-title{ font-size:14px; opacity:.9; }
.start-top__welcome-user{ font-size:17px; font-weight:700; margin-top:2px; }
.start-top__avatar{
  width:44px;
  height:44px;
  border-radius:999px;
  background:linear-gradient(135deg,#fbbf24,#f59e0b);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:18px;
  box-shadow:0 4px 12px rgba(0,0,0,.2);
}
.start-top__assets{
  display:flex;
  align-items:stretch;
  gap:0;
  padding:16px;
  border-radius:16px;
  background:rgba(255,255,255,.15);
  backdrop-filter:blur(10px);
}
.start-top__asset{ flex:1; text-align:center; }
.start-top__asset-label{ font-size:11px; opacity:.85; }
.start-top__asset-value{ margin-top:6px; font-size:22px; font-weight:900; }
.start-top__asset-divider{
  width:1px;
  background:rgba(255,255,255,.25);
  margin:0 16px;
}

/* 白色卡片通用 */
.start-card{
  background:#fff;
  border-radius:20px;
  padding:16px;
  box-shadow:0 2px 16px rgba(0,0,0,.06);
  margin:0 12px;
}
.start-card:first-of-type{ margin-top:-10px; }

/* Hot Products */
.start-products__logo-wrap{
  display:flex;
  justify-content:center;
  margin-bottom:10px;
}
.start-products__logo{
  width:100px;
  height:100px;
  object-fit:contain;
  animation: start-products-logo-float 2.5s ease-in-out infinite;
}
@keyframes start-products-logo-float{
  0%, 100%{ transform:translateY(0); }
  50%{ transform:translateY(-8px); }
}
.start-products__title{ font-size:17px; font-weight:800; color:#111827; margin-bottom:12px; display:flex; align-items:center; gap:8px; }
.start-products__tiktok{ display:inline-flex; align-items:center; gap:4px; font-size:11px; color:#6b7280; }
.start-products__tiktok i{ font-size:14px; color:#000; }
.start-products__list{ display:flex; gap:10px; margin-bottom:14px; }
.start-products__list--carousel{ display:block; overflow:hidden; margin-bottom:14px; }
.start-products__list--carousel .start-products__track{ display:flex; flex-wrap:nowrap; transition:transform 0.4s ease; flex-shrink:0; }
.start-products__list--carousel .start-product-card{ flex:0 0 auto; min-width:0; box-sizing:border-box; }
.start-product-card{
  flex:1;
  position:relative;
  border-radius:14px;
  padding:10px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  min-height:150px;
}
.start-product-card__thumb{
  width:100%;
  height:75px;
  border-radius:10px;
  background:linear-gradient(135deg,#e2e8f0,#cbd5e1);
  margin-bottom:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background-size:cover;
  background-position:center;
}
.start-product-card__thumb::after{
  content:"🖼";
  font-size:28px;
  opacity:.5;
}
.start-product-card__thumb--has-img::after{ display:none; }
.start-product-card__thumb--has-img{ background-color:#e2e8f0; }
.start-product-card__tag{
  position:absolute;
  top:6px;
  left:6px;
  padding:3px 8px;
  border-radius:6px;
  font-size:9px;
  font-weight:700;
  background:#f97316;
  color:#fff;
}
.start-product-card__tag--hot{ background:#8b5cf6; }
.start-product-card__name{ font-size:11px; font-weight:600; color:#1e293b; line-height:1.3; margin-bottom:6px; overflow:hidden; text-overflow:ellipsis; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; min-height:28px; }
.start-product-card__price{ font-size:14px; font-weight:800; color:#ef4444; }
.start-product-card__meta{ font-size:10px; color:#64748b; margin-top:2px; }
.start-product-card__comm{ font-size:10px; color:#64748b; margin-top:2px; }
.start-btn-match{
  width:100%;
  padding:15px 16px;
  border:none;
  border-radius:999px;
  background:#ff4f7f;
  color:#ffffff;
  font-weight:900;
  font-size:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  cursor:pointer;
  box-shadow:0 15px 40px rgba(255, 79, 127, 0.3);
  transition: transform .2s, box-shadow .2s;
}
.start-btn-match:hover{
  transform: translateY(-2px);
  box-shadow:0 20px 50px rgba(255, 79, 127, 0.4);
}
.start-btn-match:active{ transform:scale(.98); }
.start-btn-match i{
  font-size:14px;
  background:#fff;
  color:#ff4f7f;
  width:28px;
  height:28px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
}
.start-products__hint{ margin-top:10px; text-align:center; font-size:11px; color:#94a3b8; }

/* 商品确认弹窗 */
.product-modal{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  padding: 20px;
}
.product-modal.active{ display: flex; }
.product-modal__card{
  background: white;
  width: 100%;
  max-width: 320px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.product-modal__img{
  width: 100%;
  height: 180px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-modal__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-modal__img .placeholder{
  font-size: 48px;
  color: #d1d5db;
}
.product-modal__body{
  padding: 16px;
}
.product-modal__tag{
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  background: #fee2e2;
  color: #dc2626;
  margin-bottom: 8px;
}
.product-modal__name{
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 12px;
  line-height: 1.4;
}
.product-modal__row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #e5e7eb;
}
.product-modal__row:last-child{
  border-bottom: none;
}
.product-modal__label{
  font-size: 13px;
  color: #6b7280;
}
.product-modal__value{
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}
.product-modal__value--price{
  color: #10b981;
}
.product-modal__value--commission{
  color: #6366f1;
}
.product-modal__actions{
  display: flex;
  gap: 10px;
  padding: 16px;
  border-top: 1px solid #e5e7eb;
}
.product-modal__btn{
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.product-modal__btn--cancel{
  background: #f3f4f6;
  color: #374151;
}
.product-modal__btn--confirm{
  background: linear-gradient(90deg,#f59e0b,#d97706);
  color: white;
}

/* Task & Income */
.start-task-stats__row{ display:flex; justify-content:space-between; margin-bottom:14px; }
.start-task-stats__col{ text-align:center; flex:1; }
.start-task-stats__label{ font-size:12px; color:#64748b; }
.start-task-stats__value{ font-size:22px; font-weight:800; color:#1e293b; margin-top:4px; }
.start-task-stats__income{ border-top:1px dashed #e2e8f0; padding-top:12px; margin-top:4px; }
.start-task-stats__income-row{ display:flex; align-items:center; gap:10px; margin-bottom:8px; font-size:13px; color:#334155; }
.start-task-stats__income-row:last-child{ margin-bottom:0; }
.start-task-stats__dot{ width:8px; height:8px; border-radius:999px; flex-shrink:0; }
.start-task-stats__dot--orange{ background:#f97316; }
.start-task-stats__dot--green{ background:#22c55e; }
.start-task-stats__income-label{ flex:1; }
.start-task-stats__income-val{ font-weight:700; color:#1e293b; }

/* Real-time User Activity */
.start-activity__title{ font-size:15px; font-weight:700; color:#1e293b; margin-bottom:14px; display:flex; align-items:center; gap:8px; }
.start-activity__title i{ color:#94a3b8; font-size:14px; }
.start-activity__chart{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:4px;
  height:90px;
  padding:0 4px;
}
.start-activity__bar-wrap{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  height:100%;
}
.start-activity__pct{ font-size:9px; font-weight:600; color:#64748b; margin-bottom:4px; }
.start-activity__bar{
  width:100%;
  max-width:16px;
  min-height:6px;
  border-radius:4px 4px 0 0;
  background:#fb923c;
}
.start-activity__bar--hot{
  background:#8b5cf6;
}
.start-activity__label{ font-size:9px; color:#64748b; text-align:center; margin-top:4px; }

/* 当前订单区块（已移除） */
.home__phone{
  position:absolute;
  top: 8px;
  width: 110px;
  height: 150px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.04) 100%);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 16px 30px rgba(0,0,0,.45);
}
.home__phone::before{
  content:"";
  position:absolute;
  inset: 10px 10px 12px;
  border-radius: 14px;
  background:
    radial-gradient(180px 120px at 30% 20%, rgba(255,0,80,.20) 0%, transparent 55%),
    radial-gradient(200px 130px at 70% 80%, rgba(0,242,234,.18) 0%, transparent 60%),
    rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.12);
}
.home__phone--left{ left: 2px; transform: rotate(-8deg); }
.home__phone--mid{ left: 50%; transform: translateX(-50%) rotate(0deg); width: 120px; height: 160px; top: 0; }
.home__phone--right{ right: 2px; transform: rotate(8deg); }

.home__cta{
  margin: 20px auto 0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width: 85%;
  max-width: 320px;
  height: 42px;
  padding: 0 32px;
  border-radius: 999px;
  border: 0;
  color:#ffffff;
  font-weight: 900;
  font-size: 16px;
  background: #ff4f7f;
  box-shadow: 0 15px 40px rgba(255, 79, 127, 0.3);
  cursor:pointer;
  transition: transform .2s, box-shadow .2s;
}
.home__cta:hover{
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(255, 79, 127, 0.4);
}
.home__cta i{ 
  font-size: 14px;
  background:#fff;
  color:#ff4f7f;
  width:28px;
  height:28px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.home__content{
  padding: 0 16px 32px;
  background:#f9fafb;
}
.home__panel{
  margin-top: 0;
  background:#ffffff;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(15,23,42,.06);
  padding: 24px 20px;
}
.home__content-title{
  text-align:center;
  font-size: 20px;
  font-weight: 900;
  margin-top: 0;
  color:#111827;
}
.home__content-desc{
  text-align:center;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.7;
  color:#6b7280;
}
.home__features{
  margin-top: 20px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.home__feature{
  background: #ffffff;
  border-radius: 20px;
  padding: 20px 16px 16px;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 8px 24px rgba(15,23,42,.08);
  transition: transform .2s;
}
.home__feature:hover{
  transform: translateY(-4px);
}
.home__feature-icon{
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(139,92,246,.3);
}
.home__feature-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.home__feature-title{
  text-align:center;
  font-weight: 800;
  font-size: 14px;
  color:#111827;
}
.home__feature-desc{
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  text-align:center;
  color: #6b7280;
}

.home__partners{
  margin-top: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.home__partners-title{
  text-align:center;
  font-weight: 900;
  font-size: 16px;
  color: #111827;
  margin: 0 0 16px;
}
.home__partners-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.home__partner{
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 4px 12px rgba(15,23,42,.05);
  padding: 16px 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: 64px;
}
.home__partner-logo{
  display:flex;
  align-items:center;
  justify-content:center;
}
.home__partner-logo img{
  max-width: 100%;
  height: 28px;
  object-fit: contain;
}

/* 登录后 Home（仪表盘风格） */
body.is-home-auth{
  color: var(--text);
}
.dash{
  padding: 12px 14px 90px;
}
.dash__top{
  padding: 10px 8px 0;
}
.dash__notice{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.10);
}
.dash__notice i{ opacity:.9; }
.dash__notice-text{
  font-size: 12px;
  color: rgba(229,231,235,.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash__welcome{
  margin-top: 10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.dash__welcome-title{
  font-size: 14px;
  color: rgba(229,231,235,.9);
}
.dash__welcome-user{
  margin-top: 2px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing:.01em;
}
.dash__avatar{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: radial-gradient(circle at 30% 30%, #8b5cf6 0%, #6366f1 60%, #111827 120%);
  color:#ffffff;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.12);
}
.cardish{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(11,18,40,.55);
  box-shadow: 0 14px 34px rgba(0,0,0,.25);
}
.dash__assets{
  margin-top: 10px;
  padding: 12px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.dash__asset{
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.20);
}
.dash__asset-label{
  font-size: 12px;
  color: rgba(229,231,235,.85);
  font-weight: 900;
}
.dash__asset-value{
  margin-top: 8px;
  font-size: 22px;
  font-weight: 900;
  color:#ffffff;
}
.dash__panel{
  margin-top: 12px;
  background: rgba(255,255,255,.95);
  border-radius: 20px;
  padding: 14px 14px 16px;
  box-shadow: 0 18px 40px rgba(15,23,42,.10);
  color:#111827;
}
.dash__panel-head{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-bottom: 10px;
}
.dash__logo{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#ffffff;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 12px 18px rgba(15,23,42,.08);
}
.dash__logo i{ font-size: 24px; color:#111827; }
.dash__panel-title{
  font-weight: 900;
  font-size: 18px;
}
.dash__products{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.dash__product{
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.08);
  background:#ffffff;
  padding: 10px 10px 12px;
  box-shadow: 0 10px 18px rgba(15,23,42,.06);
}
.dash__product-tag{
  position:absolute;
  left: 10px;
  top: 10px;
  padding: 4px 8px;
  border-radius: 8px;
  background: #ef4444;
  color:#ffffff;
  font-size: 11px;
  font-weight: 900;
}
.dash__product:nth-child(2) .dash__product-tag{
  background:#f97316;
}
.dash__product-thumb{
  height: 66px;
  border-radius: 14px;
  margin-top: 18px;
  background:
    linear-gradient(135deg, rgba(99,102,241,.18), rgba(255,255,255,0)),
    linear-gradient(180deg, #f3f4f6, #ffffff);
  border: 1px solid rgba(15,23,42,.06);
}
.dash__product-name{
  margin-top: 10px;
  font-size: 12px;
  font-weight: 900;
  color:#111827;
  line-height: 1.25;
  height: 32px;
  overflow:hidden;
}
.dash__product-row{
  margin-top: 8px;
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 10px;
}
.dash__product-price{
  font-weight: 900;
  color:#ef4444;
}
.dash__product-qty{
  font-size: 12px;
  color:#6b7280;
}
.dash__product-comm{
  margin-top: 8px;
  font-size: 11px;
  color:#6b7280;
}
.dash__match{
  margin-top: 14px;
  width: 100%;
  border: none;
  padding: 14px 14px;
  border-radius: 16px;
  background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
  color:#ffffff;
  font-weight: 900;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  box-shadow: 0 14px 26px rgba(59,130,246,.22);
  cursor:pointer;
}
.dash__match-sub{
  margin-top: 8px;
  text-align:center;
  font-size: 12px;
  color:#6b7280;
}
.dash__stats{
  margin-top: 12px;
  padding: 10px 12px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.dash__stat-label{
  font-size: 12px;
  color: rgba(229,231,235,.85);
  font-weight: 900;
}
.dash__stat-value{
  margin-top: 6px;
  font-size: 24px;
  font-weight: 900;
  color:#ffffff;
}
.dash__income{
  margin-top: 12px;
  padding: 10px 12px;
}
.dash__income-row{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 6px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: rgba(229,231,235,.88);
  font-weight: 700;
  font-size: 13px;
}
.dash__income-row:last-child{ border-bottom: none; }
.dash__income-val{
  margin-left:auto;
  font-weight: 900;
}
.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display:inline-block;
}
.dot--orange{ background:#f97316; }
.dot--yellow{ background:#facc15; }
.dash__activity{
  margin-top: 12px;
  padding: 12px 12px;
}
.dash__activity-title{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 900;
  color:#ffffff;
  margin-bottom: 10px;
}
.dash__bars{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  align-items:end;
}
.dash__bar{
  text-align:center;
  color: rgba(229,231,235,.9);
  font-size: 11px;
}
.dash__bar-col{
  width: 100%;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(249,115,22,.95) 0%, rgba(239,68,68,.9) 100%);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 18px rgba(0,0,0,.20);
  margin-bottom: 6px;
}
.dash__bar:nth-child(odd) .dash__bar-col{
  background: linear-gradient(180deg, rgba(249,115,22,.95) 0%, rgba(59,130,246,.85) 100%);
}
.dash__bar-day{ opacity:.9; }
.dash__bar-val{ opacity:.9; }

.tabbar{
  position: fixed;
  left:0; right:0; bottom:0;
  height: 74px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  display:flex;
  gap:10px;
  background: #F7F9FC;
  border-top: 1px solid #e5e7eb;
}
.tab{
  flex:1;
  text-decoration:none;
  color: #A0A5AB;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  border-radius: 14px;
  border:1px solid transparent;
}
.tab i{ font-size: 18px; }
.tab span{ font-size: 11px; font-weight: 800; }
.tab.active{
  color: #FE4638;
  background: rgba(254, 70, 56, 0.1);
  border-color: rgba(254, 70, 56, 0.2);
}
/* Record / Start / Profile 页底部导航，改成白底浅灰、激活蓝色，贴近截图 */
body[data-route="record"] .tabbar,
body[data-route="start"] .tabbar,
body[data-route="profile"] .tabbar,
body[data-route="activities"] .tabbar{
  background: rgba(255,255,255,.96);
  border-top: 1px solid #e5e7eb;
  backdrop-filter: blur(18px);
}
body[data-route="record"] .tab,
body[data-route="start"] .tab,
body[data-route="profile"] .tab,
body[data-route="activities"] .tab{
  color:#9ca3af;
}
body[data-route="record"] .tab.active,
body[data-route="start"] .tab.active,
body[data-route="profile"] .tab.active,
body[data-route="activities"] .tab.active{
  color:#2563eb;
  background: rgba(37,99,235,.06);
  border-color: rgba(37,99,235,.22);
}

.activities-page{ padding: 20px 16px 100px; }
.activities-header{ margin-bottom: 24px; }
.activities-title{ font-size: 22px; font-weight: 800; color: #111827; margin: 0 0 8px; display: flex; align-items: center; gap: 10px; }
.activities-desc{ font-size: 14px; color: #6b7280; margin: 0; }
.activities-list{ display: flex; flex-direction: column; gap: 16px; }
.activity-card{ background: #fff; border-radius: 14px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.1); border: 1px solid #e5e7eb; }
.activity-card--disabled{ opacity: 0.75; }
.activity-header{ display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.activity-card__icon{ width: 56px; height: 56px; border-radius: 12px; background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; }
.activity-info{ flex: 1; min-width: 0; }
.activity-info .activity-card__title{ font-size: 16px; font-weight: 700; color: #111827; margin: 0 0 4px; }
.activity-info .activity-card__desc{ font-size: 12px; color: #6b7280; margin: 0; }
.activity-progress{ font-size: 14px; color: #6b7280; margin-top: 8px; }
.activity-card__body{ flex: 1; min-width: 0; }
.activity-card__title{ font-size: 16px; font-weight: 700; color: #111827; margin-bottom: 6px; }
.activity-card__desc{ font-size: 13px; color: #6b7280; margin-bottom: 12px; }
.activity-card__action .btn{ padding: 10px 20px; border-radius: 10px; font-weight: 700; border: none; cursor: pointer; }
.activity-header .btn{ padding: 10px 18px; border-radius: 10px; font-weight: 700; border: none; cursor: pointer; white-space: nowrap; }
.activity-header .btn-primary{ background: #2563eb; color: #fff; }
.activity-header .btn:disabled{ background: #9ca3af; cursor: not-allowed; }
.activity-header .muted{ font-size: 13px; color: #9ca3af; }
.activity-card__action .btn{ padding: 10px 20px; border-radius: 10px; font-weight: 700; border: none; cursor: pointer; }
.activity-card__action .btn-primary{ background: #2563eb; color: #fff; }
.activity-card__action .btn:disabled{ background: #9ca3af; cursor: not-allowed; }
.activity-card__action .muted{ font-size: 13px; color: #9ca3af; }

/* Task-style activities (large cards, gradient bg, badge) */
.activities-page--task .activities-section { margin-top: 0; }
.activities-page--task .activities-section-title {
  font-weight: 900; margin-bottom: 16px; font-size: 18px; text-align: center; color: #1f2937;
}
.activities-page--task .activities-section-title i { color: #6366f1; margin-right: 8px; }
.activities-page--task .activities-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
.activities-page--task .activity-card-large {
  position: relative; background: #fff; border-radius: 16px; overflow: hidden; cursor: pointer;
  transition: all 0.3s; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  height: 120px; border: 1px solid #e5e7eb;
}
.activities-page--task .activity-card-large:hover:not(.disabled) {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}
.activities-page--task .activity-card-large:active:not(.disabled) { transform: translateY(-2px); }
.activities-page--task .activity-card-large.disabled { opacity: 0.7; cursor: default; }
.activities-page--task .activity-card-bg {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0.1;
}
.activities-page--task .checkin-bg { background: linear-gradient(135deg, #f59e0b 0%, #fb923c 100%); }
.activities-page--task .chest-bg { background: linear-gradient(135deg, #10b981 0%, #34d399 100%); }
.activities-page--task .wheel-bg { background: linear-gradient(135deg, #ef4444 0%, #f87171 100%); }
.activities-page--task .invite-bg { background: linear-gradient(135deg, #f59e0b 0%, #fb923c 100%); }
.activities-page--task .activity-icon-large.invite {
  background: rgba(245, 158, 11, 0.3);
}
.activities-page--task .activity-card-content {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 20px; height: 100%;
}
.activities-page--task .activity-icon-large {
  width: 80px; height: 80px; border-radius: 20px; display: grid; place-items: center;
  font-size: 36px; color: white; flex-shrink: 0; box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.activities-page--task .activity-icon-large.checkin { background: linear-gradient(135deg, #f59e0b 0%, #fb923c 100%); }
.activities-page--task .activity-icon-large.chest { background: linear-gradient(135deg, #10b981 0%, #34d399 100%); }
.activities-page--task .activity-icon-large.wheel { background: linear-gradient(135deg, #ef4444 0%, #f87171 100%); }
.activities-page--task .activity-info { flex: 1; min-width: 0; }
.activities-page--task .activity-title-large {
  font-size: 20px; font-weight: 900; color: #1f2937; margin-bottom: 6px;
}
.activities-page--task .activity-desc-large { font-size: 14px; color: #6b7280; margin-bottom: 4px; }
.activities-page--task .activity-reward { font-size: 12px; color: #10b981; font-weight: 700; }
.activities-page--task .activity-badge-large {
  position: absolute; top: 10px; right: 10px; min-width: 24px; height: 24px; padding: 4px 8px;
  border-radius: 12px; background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4), 0 0 0 3px rgba(239, 68, 68, 0.1);
  animation: activityBadgePulse 2s ease-in-out infinite; z-index: 10;
}
.activities-page--task .activity-badge-large i { font-size: 10px; color: white; animation: activityBadgeIconSpin 2s linear infinite; }
@keyframes activityBadgePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4), 0 0 0 3px rgba(239, 68, 68, 0.1); }
  50% { transform: scale(1.1); box-shadow: 0 4px 12px rgba(239, 68, 68, 0.6), 0 0 0 6px rgba(239, 68, 68, 0.15); }
}
@keyframes activityBadgeIconSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.card{
  background: rgba(11,18,40,.72);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 14px;
}
.card + .card{ margin-top: 12px; }
.row{ display:flex; gap: 10px; }
.row .card{ flex:1; }

.h1{ font-size: 18px; font-weight: 900; margin: 0 0 10px 0; }
.muted{ color: var(--muted); }
.mono{ font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace; }

.btn{
  width:100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-weight: 900;
  cursor:pointer;
}
.btn.primary{
  background: linear-gradient(135deg, rgba(99,102,241,.95) 0%, rgba(139,92,246,.92) 100%);
  border-color: rgba(99,102,241,.35);
}
.btn.good{ background: rgba(16,185,129,.18); border-color: rgba(16,185,129,.35); }
.btn.bad{ background: rgba(239,68,68,.18); border-color: rgba(239,68,68,.35); }
.btn:disabled{ opacity:.55; cursor:not-allowed; }

/* Start 页主按钮：与 Home 页 .home__cta 一致，覆盖 .btn 基础样式 */
.btn.start-btn-match{
  border:none;
  border-radius:999px;
  background:#ff4f7f !important;
  color:#ffffff !important;
  font-size:16px;
  padding:15px 16px;
  box-shadow:0 15px 40px rgba(255, 79, 127, 0.3);
  transition: transform .2s, box-shadow .2s;
}
.btn.start-btn-match:hover{
  background:#ff4f7f !important;
  color:#ffffff !important;
  transform: translateY(-2px);
  box-shadow:0 20px 50px rgba(255, 79, 127, 0.4);
}
.btn.start-btn-match i{
  font-size:14px;
  background:#fff;
  color:#ff4f7f;
  width:28px;
  height:28px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.field{ margin-top: 10px; }
.field label{ display:block; font-size: 12px; font-weight: 900; color: var(--muted); margin-bottom: 6px; }
.field input{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text);
  outline: none;
}
.field input::placeholder{ color: rgba(148,163,184,.7); }

.pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid var(--line);
  color: var(--muted);
  background: rgba(255,255,255,.03);
  font-size: 12px;
  font-weight: 900;
}
.pill.ok{ color:#a7f3d0; border-color: rgba(16,185,129,.35); background: rgba(16,185,129,.14); }
.pill.warn{ color:#c7d2fe; border-color: rgba(99,102,241,.35); background: rgba(99,102,241,.12); }
.pill.bad{ color:#fecaca; border-color: rgba(239,68,68,.35); background: rgba(239,68,68,.12); }

.list{ margin-top: 10px; }
.item{
  padding: 12px;
  border-radius: 16px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.item + .item{ margin-top: 10px; }
.item__top{ display:flex; justify-content:space-between; gap:10px; align-items:flex-start; }
.item__title{ font-weight: 900; }
.item__sub{ margin-top: 6px; font-size: 12px; color: var(--muted); }
.tabs{
  display:flex;
  gap:10px;
  margin-bottom: 10px;
}
.tabs button{
  flex:1;
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-weight: 900;
}
.tabs button.active{
  color: var(--text);
  background: rgba(99,102,241,.16);
  border-color: rgba(99,102,241,.32);
}

.toast{
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 92px;
  background: #1f2937;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 14px 18px;
  color: #f9fafb;
  font-size: 15px;
  line-height: 1.45;
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
  display: none;
  z-index: 9999;
}
.toast.show{ display: block; }

/* Admin notification modal (tip / warning / announcement) */
.notification-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.notification-modal--show {
  opacity: 1;
  visibility: visible;
}
.notification-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.notification-modal__card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 20px 24px;
  max-width: 360px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  border-left: 4px solid #2563eb;
}
.notification-modal__card--tip { border-left-color: #2563eb; }
.notification-modal__card--warning { border-left-color: #ca8a04; }
.notification-modal__card--announcement { border-left-color: #16a34a; }
.notification-modal__title {
  font-weight: 800;
  font-size: 16px;
  color: #111827;
  margin-bottom: 12px;
}
.notification-modal__body {
  font-size: 15px;
  line-height: 1.5;
  color: #374151;
  margin-bottom: 20px;
  white-space: pre-wrap;
  word-break: break-word;
}
.notification-modal__btn {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 12px;
  background: #1f2937;
  color: #f9fafb;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

/* 登录 / 注册 - TikTok Shop 风格 */
.auth.auth--page{
  min-height: 100%;
  min-height: 100dvh;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding: env(safe-area-inset-top) 0 0 0;
  background:#ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.45;
  -webkit-tap-highlight-color: transparent;
}
.auth__card{
  width:100%;
  max-width: 100%;
  margin: 0;
  background:#ffffff;
  border-radius: 0;
  box-shadow: none;
  overflow:hidden;
  font-family: inherit;
}
.auth__card--login{
  padding-bottom: 24px;
}
.auth__card--register{
  padding: 0 0 28px;
}
.auth__topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: clamp(16px, 4vw, 20px) clamp(16px, 4vw, 18px) 14px;
}
.auth__topbar-left{
  display:flex;
  align-items:baseline;
  gap:4px;
  font-weight:700;
}
.auth__logo-text-main{
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}
.auth__logo-text-sub{
  font-size: 14px;
  line-height: 1.3;
}
.auth__topbar-right{
  color:#111827;
}
.auth__topbar-right.auth__lang-wrap{ position:relative; }
.auth__lang-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:10px;
  border:1px solid #e5e7eb;
  background:#fff;
  color:#111827;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}
.auth__lang-chev{ font-size:10px; opacity:.8; }
.auth__lang-dropdown{
  position:absolute;
  top:100%;
  right:0;
  margin-top:6px;
  min-width:160px;
  background:#fff;
  border-radius:12px;
  box-shadow:0 8px 24px rgba(0,0,0,.18);
  padding:6px 0;
  z-index:100;
  display:none;
  max-height:280px;
  overflow-y:auto;
}
.auth__lang-dropdown--open{ display:block; }
.auth__lang-option{
  display:block;
  width:100%;
  padding:10px 16px;
  border:none;
  background:none;
  text-align:left;
  font-size:14px;
  font-weight:600;
  color:#111827;
  cursor:pointer;
  white-space:nowrap;
}
.auth__lang-option:hover{ background:#f3f4f6; }
.auth__hero{
  position: relative;
  height: clamp(160px, 42vw, 230px);
  background-image: url('/projects/like-order/image/home/loginHeader.jpg');
  background-size: cover;
  background-position: center;
  display:flex;
  align-items:flex-end;
}
.auth__hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.85) 70%, rgba(0,0,0,0.9) 100%);
}
.auth__hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(120% 140% at 20% 10%, rgba(0,242,234,0.3) 0%, transparent 55%),
    radial-gradient(120% 140% at 80% 10%, rgba(255,0,80,0.3) 0%, transparent 55%);
  opacity:.5;
}
.country-picker-popup{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.55);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:60;
  padding:16px;
}
.country-picker-popup.active{
  display:flex;
}
.country-picker-card{
  width:100%;
  max-width:360px;
  background:#ffffff;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 30px 50px rgba(15,23,42,.35);
}
.country-picker-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px;
  font-weight:700;
  border-bottom:1px solid #e5e7eb;
}
.country-picker-close{
  border:none;
  background:transparent;
  font-size:16px;
  cursor:pointer;
  color:#6b7280;
}
.country-picker-search{
  width:100%;
  padding:12px 16px;
  border:none;
  border-bottom:1px solid #e5e7eb;
  font-size:14px;
  outline:none;
}
.country-picker-list{
  max-height:360px;
  overflow:auto;
}
.country-picker-item{
  width:100%;
  border:none;
  background:transparent;
  padding:14px 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:15px;
  color:#111827;
  border-bottom:1px solid #f0f0f0;
  cursor:pointer;
}
.country-picker-item:last-child{
  border-bottom:none;
}
.country-picker-item.active{
  background:#f3f4f6;
}
.country-picker-empty{
  padding:32px 16px;
  text-align:center;
  color:#9ca3af;
}
.auth__hero::after{
  /* 简单拼接出“截图里那种三栏图”的感觉（不依赖图片资源） */
  content:"";
  position:absolute;
  left: 16px;
  right: 16px;
  top: 54px;
  height: 140px;
  border-radius: 14px;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,.08) 0%,
      rgba(255,255,255,.08) 32%,
      rgba(255,255,255,.18) 32%,
      rgba(255,255,255,.18) 66%,
      rgba(255,255,255,.08) 66%,
      rgba(255,255,255,.08) 100%
    );
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
  opacity:.85;
}
.auth__hero-brand{
  position:absolute;
  top: 26px;
  left: 18px;
  right: 18px;
  z-index: 2;
  display:flex;
  justify-content:center;
}
.auth__hero-brand-mark{
  display:flex;
  gap:6px;
  align-items:baseline;
  font-weight: 700;
  letter-spacing:.01em;
  color:#ffffff;
  opacity:.92;
  line-height: 1.2;
}
.auth__hero-brand-tiktok{
  text-shadow: 0 3px 10px rgba(0,0,0,.5);
}
.auth__hero-brand-shop{
  opacity:.9;
}
.auth__hero-content{
  position:relative;
  z-index: 2;
  padding: 18px 18px 16px;
  color:#ffffff;
}
.auth__hero-title{
  font-size: 36px;
  font-weight: 700;
  letter-spacing:-.02em;
  line-height: 1.2;
}
.auth__hero-desc{
  margin-top: 6px;
  font-size: 16px;
  opacity:.95;
  line-height: 1.4;
}
.auth__inner{
  position: relative;
  padding: clamp(18px, 4.5vw, 22px) clamp(16px, 4vw, 20px) 0;
  background:#ffffff;
}
.auth__card--login .auth__inner{
  margin-top: -26px;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -12px 24px rgba(15,23,42,.06);
}
.auth__title{
  text-align:center;
  font-size: clamp(24px, 6vw, 32px);
  font-weight: 700;
  margin-bottom: 4px;
  color:#111827;
  line-height: 1.2;
}
.auth__subtitle{
  text-align:center;
  font-size: 16px;
  color:#6b7280;
  margin-bottom: 18px;
  line-height: 1.4;
}
.auth__panel{
  margin-top: 16px;
  background: #f3f4f6;
  border-radius: 20px;
  padding: clamp(16px, 4vw, 20px) clamp(14px, 3.5vw, 18px);
}
.auth__panel--register{
  padding: clamp(16px, 4vw, 20px) clamp(14px, 3.5vw, 18px) clamp(20px, 5vw, 24px);
}
.auth__tabs{
  display:flex;
  margin-bottom:16px;
  border-radius: 999px;
  overflow:hidden;
  background:#e5e7eb;
}
.auth__tab{
  flex:1;
  padding: 12px 0;
  border:none;
  background: transparent;
  color:#6b7280;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  cursor:pointer;
}
.auth__tab--active{
  background:#000000;
  color:#ffffff;
}
.auth__field{
  margin-top:10px;
}
.auth__field--inline{
  display:flex;
  align-items:center;
  gap:0;
}
.auth__select-wrap{
  min-width: 72px;
  min-height: 48px;
  height: 52px;
  border-radius: 999px 0 0 999px;
  background:#f9fafb;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 16px;
  font-weight: 600;
  color:#6b7280;
  border:1px solid #e5e7eb;
  border-right: none;
  cursor:pointer;
  line-height: 1.3;
}
.auth__select-prefix{
  user-select:none;
  line-height: 1.3;
}
.auth__chev{
  margin-left: 10px;
  font-size: 12px;
  color:#9ca3af;
}
.auth__input-wrap{
  flex:1;
  display:flex;
  align-items:center;
  min-height: 48px;
  height: 52px;
  border-radius:999px;
  border:1px solid #e5e7eb;
  background:#f9fafb;
  padding: 0 16px;
}
.auth__field--inline .auth__input-wrap{
  border-radius: 0 999px 999px 0;
}
.auth__icon{
  font-size:20px;
  color:#111827;
  margin-right:12px;
}
.auth__input-wrap input{
  flex:1;
  border:none;
  outline:none;
  background:transparent;
  color:#111827;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
}
.auth__input-wrap input::placeholder{
  color:#9ca3af;
  font-size: 15px;
}
.auth__eye{
  border:none;
  background:transparent;
  color:#9ca3af;
  font-size:20px;
  cursor:pointer;
  padding-left:10px;
}
.auth__btn-primary{
  margin-top: 16px;
  min-height: 48px;
  background:#000000;
  border-color:#000000;
  color:#ffffff;
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: 0 12px 28px rgba(0,0,0,.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth__btn-secondary{
  margin-top: 10px;
  min-height: 48px;
  background:#ffffff;
  border-color:#e5e7eb;
  color:#111827;
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth__divider{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin: 18px 0 10px;
}
.auth__divider span{
  flex:1;
  height:1px;
  background:#e5e7eb;
}
.auth__divider-text{
  flex:0;
  font-size: 16px;
  color:#9ca3af;
  line-height: 1.3;
}

/* Match fail popup */
.match-fail-popup{
  position:fixed; inset:0; z-index:200;
  display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transition:opacity .2s;
}
.match-fail-popup--show{ opacity:1; pointer-events:auto; }
.match-fail-popup__backdrop{
  position:absolute; inset:0; background:rgba(0,0,0,.5);
}
.match-fail-popup__card{
  position:relative; z-index:1;
  background:#fff; border-radius:20px;
  padding:32px 24px 24px;
  width:calc(100% - 48px); max-width:320px;
  text-align:center;
  box-shadow:0 20px 60px rgba(0,0,0,.25);
}
.match-fail-popup__icon{
  font-size:52px; color:#ef4444; margin-bottom:14px; line-height:1;
}
.match-fail-popup__title{
  font-size:20px; font-weight:700; color:#111827; margin-bottom:8px;
}
.match-fail-popup__desc{
  font-size:14px; color:#6b7280; margin-bottom:24px; line-height:1.5;
}
.match-fail-popup__actions{
  display:flex; gap:12px;
}
.match-fail-popup__btn{
  flex:1; padding:13px 0; border:none; border-radius:12px;
  font-size:15px; font-weight:600; cursor:pointer; transition:opacity .15s;
}
.match-fail-popup__btn:active{ opacity:.85; }
.match-fail-popup__btn--gray{ background:#f3f4f6; color:#374151; }
.match-fail-popup__btn--primary{
  background:linear-gradient(135deg,#6366f1,#4f46e5); color:#fff;
}
/* Matching button state */
.start-btn-match:disabled{ opacity:.75; cursor:not-allowed; }

.auth__hide{ display:none !important; }

.auth__chat-fab{
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(26px, env(safe-area-inset-bottom));
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: none;
  background: #0b0b0b;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index: 50;
  -webkit-tap-highlight-color: transparent;
}
.auth__chat-fab i{ font-size: 22px; }

/* 手机端登录/注册微调 */
@media (max-width: 480px) {
  .auth.auth--page{ padding-left: 0; padding-right: 0; }
  .auth__card{ margin: 0; border-radius: 0; }
  .auth__card--login .auth__inner{ border-radius: 0; }
  .auth__title{ font-size: 26px; }
  .auth__subtitle{ font-size: 15px; margin-bottom: 14px; }
  .auth__panel{ border-radius: 18px; padding: 16px 12px; }
  .auth__panel--register{ padding: 16px 12px 20px; }
  .auth__tab{ padding: 14px 0; font-size: 15px; }
  .auth__field{ margin-top: 12px; }
  .auth__input-wrap{ height: 50px; min-height: 48px; padding: 0 14px; }
  .auth__field--inline .auth__input-wrap{ border-radius: 0 16px 16px 0; }
  .auth__select-wrap{ height: 50px; min-width: 68px; border-radius: 16px 0 0 16px; }
  .auth__btn-primary{ margin-top: 14px; min-height: 50px; padding: 15px; font-size: 16px; border-radius: 14px; }
  .auth__btn-secondary{ min-height: 50px; padding: 15px; font-size: 16px; border-radius: 14px; }
  .auth__hero-content{ padding: 14px 16px 12px; }
  .auth__hero-title{ font-size: 30px; }
  .auth__hero-desc{ font-size: 15px; }
}

/* Home Authed Styles */
.home--authed {
  background: #f5f5f5;
  min-height: 100vh;
}

.home-authed {
  padding-bottom: 80px;
}

.home-authed__top{
  padding: 14px 16px 6px;
}
.home-authed__hello-title{
  font-size: 12px;
  color: #6b7280;
}
.home-authed__hello-user{
  margin-top: 2px;
  font-size: 18px;
  font-weight: 800;
  color:#111827;
}
.home-authed__card{
  margin-top: 12px;
  padding: 18px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 65%, #1e3a5f 100%);
  color:#fff;
  box-shadow: 0 14px 34px rgba(15,23,42,.18);
}
.home-authed__card-label{
  font-size: 12px;
  opacity: .9;
}
.home-authed__card-value{
  margin-top: 8px;
  font-size: 26px;
  font-weight: 900;
}
.home-authed__card-sub{
  margin-top: 8px;
  font-size: 12px;
  opacity: .85;
}
.home-authed__actions{
  padding: 12px 16px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.home-authed__action{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 14px 12px;
  border-radius: 14px;
  border: none;
  background:#fff;
  box-shadow: 0 10px 22px rgba(15,23,42,.08);
  font-weight: 800;
  color:#111827;
  cursor:pointer;
}
.home-authed__action i{ font-size: 18px; }
.home-authed__action--recharge{ background: linear-gradient(135deg,#fde68a,#f59e0b); }
.home-authed__action--withdraw{ background: linear-gradient(135deg,#fbcfe8,#ec4899); }
.home-authed__action--start{ background: linear-gradient(135deg,#bfdbfe,#2563eb); color:#fff; }
.home-authed__action--record{ background: linear-gradient(135deg,#dcfce7,#16a34a); }

.home-authed__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: #fff;
}

.home-authed__brand {
  display: flex;
  align-items: center;
}

.home-authed__brand-main {
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-authed__lang {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #f3f4f6;
  border: none;
  border-radius: 20px;
  font-size: 13px;
  color: #374151;
  cursor: pointer;
}

.home-authed__banner {
  margin: 12px 16px;
  padding: 24px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  color: #fff;
}

.home-authed__banner-title {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 4px;
}

.home-authed__banner-subtitle {
  font-size: 28px;
  font-weight: 700;
}

.home-authed__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e5e7eb;
  margin: 16px 0;
}

.home-authed__grid-item {
  background: #fff;
  padding: 20px 12px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
}

.home-authed__grid-item:active {
  background: #f9fafb;
}

.home-authed__grid-icon {
  width: 44px;
  height: 44px;
  margin: 8px auto;
  background: #f3f4f6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #667eea;
}

.home-authed__grid-label {
  font-size: 12px;
  color: #374151;
}

.home-authed__section {
  padding: 0 16px;
}

.home-authed__section-title {
  font-size: 17px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 12px;
}

.home-authed__tasks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-authed__task-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
}

.home-authed__task-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.home-authed__task-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-authed__task-info {
  flex: 1;
  min-width: 0;
}

.home-authed__task-name {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-authed__task-price {
  font-size: 16px;
  font-weight: 600;
  color: #667eea;
  margin-top: 4px;
}

.home-authed__task-btn {
  padding: 8px 16px;
  background: #667eea;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.home-authed__task-btn:active {
  opacity: 0.8;
}

.home-authed__empty {
  text-align: center;
  padding: 40px;
  color: #9ca3af;
  font-size: 14px;
}

/* Profile Modal Styles */
.profile-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.profile-modal__content {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 360px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.profile-modal__content--tall {
  max-height: 80vh;
}

.profile-modal__header {
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.profile-modal__title {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
}

.profile-modal__close {
  background: none;
  border: none;
  font-size: 20px;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px;
}

.profile-modal__close:active {
  color: #6b7280;
}

.profile-modal__body {
  padding: 20px;
  overflow-y: auto;
}

.profile-modal__body--scroll {
  max-height: 60vh;
  overflow-y: auto;
}

.profile-modal__footer {
  padding: 16px 20px;
  border-top: 1px solid #eee;
  display: flex;
  gap: 12px;
}

.profile-modal__footer .btn {
  flex: 1;
}
.profile-modal__footer--row {
  flex-direction: row;
  justify-content: flex-end;
  gap: 12px;
}
.profile-modal__content--notice .profile-modal__body { padding-bottom: 8px; }
.wallet-notice__text { margin: 0; font-size: 14px; color: #374151; line-height: 1.5; }
.wallet-notice__cancel { background: #f3f4f6; color: #111; }
.wallet-notice__bind { min-width: 100px; }

/* Wallet page (Recharge / Withdraw) */
.wallet-page { padding: 0 16px 24px; min-height: 100%; background: #f4f6fb; }
.wallet-page__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0 16px;
  background: #f4f6fb;
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 0 0 #e5e7eb;
}
.wallet-page__back {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: #fff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15,23,42,.08);
}
.wallet-page__title { font-size: 18px; font-weight: 700; color: #111827; margin: 0; flex: 1; }
.wallet-balance-card {
  border-radius: 16px;
  padding: 20px;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
}
.wallet-balance-card--blue { background: linear-gradient(135deg, #1e3a5f 0%, #0f3460 100%); }
.wallet-balance-card--black { background: #111827; }
.wallet-balance-card__label { font-size: 13px; opacity: .9; margin-bottom: 8px; }
.wallet-balance-card__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wallet-balance-card__value { font-size: 22px; font-weight: 800; }
.wallet-balance-card__refresh {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.wallet-options { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.wallet-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 16px;
  color: #fff;
  position: relative;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.wallet-option--clickable {
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.wallet-option--clickable:active {
  transform: scale(.98);
}
.wallet-option--purple { background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%); }
.wallet-option--orange { background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%); }
.wallet-option--blue { background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%); }
.wallet-option__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  font-weight: 700;
  background: #dc2626;
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
}
.wallet-option__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.wallet-option__content { flex: 1; min-width: 0; }
.wallet-option__title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.wallet-option__desc { font-size: 12px; opacity: .92; line-height: 1.4; }
.wallet-page__footer-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0));
  background: #fff;
  box-shadow: 0 -4px 12px rgba(0,0,0,.04);
}
.wallet-page__footer-btns::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 3px;
  background: #e5e7eb;
  box-shadow: 0 2px 0 0 #e5e7eb;
}

/* Wallet Management page */
.wallet-page__add {
  padding: 8px 14px;
  border: none;
  background: transparent;
  color: #2563eb;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.wallet-mgmt-content { padding-top: 20px; }
.wallet-mgmt-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}
.wallet-mgmt-empty__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 16px;
}
.wallet-mgmt-empty__text {
  color: #6b7280;
  font-size: 15px;
  margin: 0 0 24px;
}
.wallet-mgmt-empty__btn {
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
}
.wallet-mgmt-list { display: flex; flex-direction: column; gap: 12px; }
.wallet-mgmt-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.wallet-mgmt-item__network { font-weight: 700; color: #111827; font-size: 14px; }
.wallet-mgmt-item__address { font-size: 12px; color: #6b7280; word-break: break-all; line-height: 1.4; }
.wallet-mgmt-item__main { flex: 1; min-width: 0; }
.wallet-mgmt-item__top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.wallet-mgmt-item__network { font-weight: 700; color: #111827; font-size: 14px; }
.wallet-mgmt-item__note { font-size: 12px; color: #6b7280; }
.wallet-mgmt-item__actions { display: flex; gap: 8px; flex-shrink: 0; }
.wallet-mgmt-item__copy {
  width: 32px;
  height: 32px;
  border: none;
  background: #e5e7eb;
  color: #4b5563;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wallet-mgmt-item__edit {
  width: 32px;
  height: 32px;
  border: none;
  background: #dbeafe;
  color: #2563eb;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wallet-mgmt-item__del {
  width: 32px;
  height: 32px;
  border: none;
  background: #fee2e2;
  color: #dc2626;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Add Wallet modal */
.wallet-add-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #d1fae5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}
.field--row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.field--row label {
  flex-shrink: 0;
  margin-bottom: 0;
  min-width: 80px;
}
.field--row select,
.field--row input {
  flex: 1;
  min-width: 0;
}
.field__input-wrap { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.field__input-wrap select { flex: 1; min-width: 0; }
.field--row .field__input-wrap { flex: 1; }
.btn--sm { padding: 6px 12px; font-size: 13px; }
.btn--retry { background: #f59e0b; color: #fff; border: none; border-radius: 8px; cursor: pointer; font-weight: 600; }
.field--error .field__error-msg { display: block; font-size: 12px; color: #dc2626; margin-top: 4px; }
.field__error-msg { display: none; }
.field-password-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.field-password-wrap input { flex: 1; }
.field-password-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wallet-add-warning {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 12px;
  background: #fffbeb;
  border-radius: 8px;
  font-size: 13px;
  color: #92400e;
}
.wallet-add-warning i { color: #f59e0b; flex-shrink: 0; margin-top: 1px; }
.wallet-addr-display { font-size: 13px; color: #374151; word-break: break-all; padding: 8px 0; }
.wallet-page--recharge #walletRechargeList {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 120px);
  padding-bottom: 100px;
}
.wallet-footer-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 16px 12px;
  border: none;
  border-radius: 14px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.wallet-footer-btn i { font-size: 20px; }
.wallet-footer-btn__main { font-size: 14px; }
.wallet-footer-btn__sub { font-size: 11px; opacity: .9; }
.wallet-footer-btn--blue { background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%); }
.wallet-footer-btn--purple { background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%); }
.wallet-recharge-form { margin-top: 20px; }
.wallet-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(15,23,42,.08);
  margin-bottom: 16px;
}
.wallet-withdraw-form .wallet-form-card { margin-bottom: 16px; }
.wallet-input-row { display: flex; align-items: center; gap: 8px; }
.wallet-input-row input { flex: 1; }
.wallet-input-suffix { font-size: 14px; color: #6b7280; font-weight: 600; }
.wallet-limits { font-size: 12px; color: #6b7280; margin-top: 8px; margin-bottom: 16px; }
.wallet-summary {
  background: #fefce8;
  border: 1px solid #fef08a;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}
.wallet-summary__row { display: flex; justify-content: space-between; font-size: 14px; color: #374151; margin-bottom: 8px; }
.wallet-summary__row:last-child { margin-bottom: 0; }
.wallet-summary__row--bold { font-weight: 700; color: #111827; }
.wallet-notes {
  background: #eff6ff;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #1e40af;
  line-height: 1.5;
}
.wallet-notes p { margin: 0 0 6px; }
.wallet-notes p:last-child { margin-bottom: 0; }
.wallet-qr-wrap { text-align: center; margin: 20px 0; padding: 16px; background: #fff; border-radius: 12px; }
.wallet-qr { width: 200px; height: 200px; display: block; margin: 0 auto; }
.btn-block { width: 100%; }

/* Invite Friends page */
.invite-page{
  padding: 0 16px 28px;
  background: #f4f6fb;
  min-height: 100vh;
}
.invite-topbar{
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f4f6fb;
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 12px 0 10px;
}
.invite-topbar__back{
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: #fff;
  color: #374151;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 2px 8px rgba(15,23,42,.08);
  cursor:pointer;
}
.invite-topbar__title{
  font-size: 16px;
  font-weight: 800;
  color:#111827;
}
.invite-topbar__spacer{ width: 40px; height: 40px; }

.invite-banner{
  margin-top: 6px;
  border-radius: 16px;
  overflow:hidden;
  background:#000;
  box-shadow: 0 16px 32px rgba(15,23,42,.12);
}
.invite-banner__img{
  width: 100%;
  display:block;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.invite-desc{
  margin: 16px 8px 0;
  text-align:center;
  color:#2563eb;
  font-size: 14px;
  line-height: 1.45;
}
.invite-qr{
  margin-top: 18px;
  display:flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.invite-qr__frame{
  width: 260px;
  height: 260px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eef2ff 0%, #e0f2fe 100%);
  padding: 18px;
  box-shadow: 0 18px 34px rgba(15,23,42,.14);
  display:flex;
  align-items:center;
  justify-content:center;
}
.invite-qr__img{
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background:#fff;
  padding: 12px;
  box-sizing: border-box;
}
.invite-link{
  margin-top: 18px;
  text-align:center;
}
.invite-link__title{
  font-size: 15px;
  font-weight: 800;
  color:#111827;
  margin-bottom: 12px;
}
.invite-link__box{
  background: #eef2f7;
  border-radius: 14px;
  padding: 14px 14px;
  color:#4b5563;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.invite-link__text{
  word-break: break-all;
  font-size: 13px;
  line-height: 1.35;
}
.invite-btn{
  width: 100%;
  border:none;
  border-radius: 16px;
  padding: 16px 14px;
  font-size: 16px;
  font-weight: 800;
  cursor:pointer;
}
.invite-btn--small{
  width: 180px;
  padding: 12px 14px;
  font-size: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg,#60a5fa,#2563eb);
  color:#fff;
  box-shadow: 0 10px 18px rgba(37,99,235,.22);
}
.invite-btn--primary{
  margin-top: 18px;
  background: linear-gradient(90deg,#60a5fa,#2563eb);
  color:#fff;
  box-shadow: 0 16px 28px rgba(37,99,235,.25);
}
.invite-btn:active{ transform: translateY(1px); }

/* Team List page */
.team-page{
  background: #f4f6fb;
  min-height: 100vh;
  padding-bottom: 24px;
}
.team-header{
  background: linear-gradient(160deg, #1a1a2e 0%, #16213e 30%, #0f3460 60%, #1e3a5f 100%);
  padding: 14px 16px 28px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  color: #fff;
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
}
.team-header__back{
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.team-header__title{
  font-size: 18px;
  font-weight: 800;
}
.team-header__spacer{ width: 40px; }

.team-kpi{
  display: flex;
  gap: 12px;
  margin: -20px 16px 0;
  position: relative;
  z-index: 1;
}
.team-kpi__item{
  flex: 1;
  background: #fff;
  border-radius: 14px;
  padding: 16px 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(15,23,42,.08);
}
.team-kpi__value{
  font-size: 24px;
  font-weight: 900;
  color: #111827;
}
.team-kpi__label{
  font-size: 11px;
  color: #6b7280;
  margin-top: 4px;
}

.team-commission{
  margin: 16px 16px 0;
  background: linear-gradient(135deg, #1e3a5f 0%, #0f3460 100%);
  border-radius: 16px;
  padding: 18px 20px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 20px rgba(15,23,42,.15);
}
.team-commission__title{
  font-size: 13px;
  opacity: .9;
}
.team-commission__rate{
  font-size: 28px;
  font-weight: 900;
  margin-top: 4px;
}
.team-commission__earning{
  text-align: right;
}
.team-commission__label{
  font-size: 12px;
  opacity: .85;
}
.team-commission__value{
  font-size: 20px;
  font-weight: 800;
  margin-top: 4px;
}

.team-levels{
  margin: 20px 16px 0;
}
.team-levels__title{
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 12px;
}
.team-levels__list{
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.team-levels__empty{
  text-align: center;
  color: #9ca3af;
  padding: 32px 0;
}

.team-level-card{
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 8px rgba(15,23,42,.06);
}
.team-level-card__icon{
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
}
.team-level-card__icon--1{ background: linear-gradient(135deg, #d97706, #b45309); }
.team-level-card__icon--2{ background: linear-gradient(135deg, #9ca3af, #6b7280); }
.team-level-card__icon--3{ background: linear-gradient(135deg, #fbbf24, #d97706); }
.team-level-card__icon--4{ background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.team-level-card__icon--5{ background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.team-level-card__icon--6{ background: linear-gradient(135deg, #ec4899, #be185d); }
.team-level-card__info{
  flex: 1;
}
.team-level-card__name{
  font-size: 16px;
  font-weight: 800;
  color: #111827;
}
.team-level-card__count{
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}
.team-level-card__stat{
  text-align: right;
}
.team-level-card__stat-label{
  font-size: 11px;
  color: #9ca3af;
}
.team-level-card__stat-value{
  font-size: 15px;
  font-weight: 800;
  color: #059669;
  margin-top: 2px;
}

/* Menu Status */
.profile__menu-status {
  font-size: 12px;
  color: #9ca3af;
  margin-right: 8px;
}

/* Help Items */
.help-item {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f3f4f6;
}

.help-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.help-item__title {
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.help-item__title i {
  color: #667eea;
}

.help-item__content {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  padding-left: 24px;
}

/* Team Stats */
.team-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.team-stat {
  flex: 1;
  background: #f9fafb;
  border-radius: 12px;
  padding: 16px 8px;
  text-align: center;
}

.team-stat__value {
  font-size: 24px;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 4px;
}

.team-stat__label {
  font-size: 12px;
  color: #6b7280;
}

/* Team List */
.team-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.team-empty {
  text-align: center;
  padding: 20px;
  color: #9ca3af;
  font-size: 14px;
}

.team-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f9fafb;
  border-radius: 12px;
}

.team-item__avatar {
  width: 40px;
  height: 40px;
  background: #e5e7eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 18px;
}

.team-item__info {
  flex: 1;
  min-width: 0;
}

.team-item__phone {
  font-size: 14px;
  font-weight: 500;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-item__time {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 2px;
}

.team-item__status {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 12px;
  background: #f3f4f6;
  color: #9ca3af;
}

.team-item__status.active {
  background: #d1fae5;
  color: #059669;
}

/* Withdrawal address selector */
.wd-addr-selector { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.wd-addr-option { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.wd-addr-option input[type="radio"] { display: none; }
.wd-addr-option__card {
  flex: 1; min-width: 0;
  border: 1.5px solid #e5e7eb; border-radius: 10px;
  padding: 10px 12px; background: #f9fafb;
  transition: border-color .15s, background .15s;
}
.wd-addr-option input[type="radio"]:checked ~ .wd-addr-option__card {
  border-color: #6366f1; background: #eef2ff;
}
.wd-addr-option__top { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; }
.wd-addr-option__network { font-size: 11px; font-weight: 700; color: #4f46e5; background: #e0e7ff; padding: 1px 7px; border-radius: 10px; }
.wd-addr-option__note { font-size: 11px; color: #6b7280; }
.wd-addr-option__addr { font-size: 12px; color: #374151; word-break: break-all; }
.wd-addr-option__check { font-size: 16px; color: #d1d5db; flex-shrink: 0; transition: color .15s; }
.wd-addr-option input[type="radio"]:checked ~ .wd-addr-option__check { color: #6366f1; }

/* Withdrawal balance breakdown */
.wd-balance-breakdown { margin-top: 12px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 12px; }
.wd-balance-row { display: flex; gap: 8px; }
.wd-balance-col { flex: 1; min-width: 0; }
.wd-balance-col__label { font-size: 11px; color: rgba(255,255,255,.6); margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wd-balance-col__value { font-size: 13px; font-weight: 700; white-space: nowrap; }
.wd-balance-col__note { font-size: 10px; color: rgba(255,255,255,.5); margin-top: 2px; }
.wd-task-notice {
  display: flex; align-items: center; gap: 10px;
  background: #fffbeb; border: 1px solid #fcd34d; border-radius: 12px;
  padding: 12px 16px; margin-bottom: 16px; font-size: 13px; color: #92400e;
}
.wd-task-notice i { color: #f59e0b; flex-shrink: 0; }
.wd-fee-info {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: #6b7280; padding: 6px 0;
}
