/* ==========================================================================
   app.css —— 组件与页面样式
   命名约定：块 .block / 元素 .block__el / 状态 .is-xxx
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 应用外壳
   -------------------------------------------------------------------------- */
.app-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--line);
}

@media (min-width: 720px) {
  .app-shell {
    min-height: calc(100vh - 24px);
    border-radius: 28px 28px 0 0;
    overflow: hidden;
    box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(16, 24, 40, 0.5);
  }
}

.page {
  display: flex;
  flex-direction: column;
  min-height: inherit;
}

.page-body {
  flex: 1;
  padding: 14px var(--pad) calc(var(--nav-h) + 24px);
}

.page-body--flush {
  padding-left: 0;
  padding-right: 0;
}

/* 顶部栏 */
.appbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px var(--pad);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.appbar__title {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.appbar__sub {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-3);
  letter-spacing: 0;
}

.icon-btn {
  width: 32px;
  height: 32px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--sunk);
  color: var(--ink-2);
  font-size: 15px;
  transition: background 0.15s;
}
.icon-btn:hover {
  background: #eceff3;
}

/* 底部导航 */
.tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  width: 100%;
  max-width: 430px;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--line);
}

.tabbar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--ink-3);
  font-size: 10px;
  position: relative;
  transition: color 0.15s;
}
.tabbar__item.is-active {
  color: var(--brand);
  font-weight: 600;
}
.tabbar__icon {
  font-size: 18px;
  line-height: 1;
}
.tabbar__badge {
  position: absolute;
  top: 6px;
  left: 50%;
  margin-left: 6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   2. 通用排版与容器
   -------------------------------------------------------------------------- */
.stack > * + * {
  margin-top: 12px;
}
.stack-lg > * + * {
  margin-top: 20px;
}

.row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.row--between {
  justify-content: space-between;
}
.row--wrap {
  flex-wrap: wrap;
}
.spacer {
  flex: 1;
}

.muted {
  color: var(--ink-2);
}
.dim {
  color: var(--ink-3);
}
.strong {
  font-weight: 650;
}
.small {
  font-size: 12px;
}
.tiny {
  font-size: 11px;
}
.nowrap {
  white-space: nowrap;
}
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section {
  margin-top: 18px;
}
.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 0 2px 10px;
}
.section__title {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.section__more {
  font-size: 12px;
  color: var(--brand);
}

.card {
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.card--pad {
  padding: 14px;
}
.card--outline {
  box-shadow: none;
  border: 1px solid var(--line);
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 12px 0;
}

/* --------------------------------------------------------------------------
   3. 按钮 / 标签 / 徽标
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  background: var(--sunk);
  color: var(--ink);
  transition: transform 0.08s, filter 0.15s, background 0.15s;
}
.btn:active {
  transform: scale(0.98);
}
.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 16px -8px rgba(43, 108, 255, 0.9);
}
.btn--soft {
  background: var(--brand-soft);
  color: var(--brand-ink);
}
.btn--ghost {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
}
.btn--danger {
  background: var(--danger-soft);
  color: var(--danger);
}
.btn--gold {
  background: var(--gold);
  color: #4a2c00;
}
.btn--block {
  width: 100%;
}
.btn--sm {
  height: 32px;
  padding: 0 12px;
  font-size: 13px;
  border-radius: 10px;
}
.btn[disabled],
.btn.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0;
  scrollbar-width: none;
}
.chip-row::-webkit-scrollbar {
  display: none;
}
.chip {
  flex: none;
  height: 32px;
  padding: 0 13px;
  border-radius: 99px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s;
}
.chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 600;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 20px;
  padding: 0 7px;
  border-radius: 6px;
  font-size: 11px;
  background: var(--sunk);
  color: var(--ink-2);
  white-space: nowrap;
}
.tag--gold {
  background: var(--gold-soft);
  color: #92610a;
}
.tag--ok {
  background: var(--ok-soft);
  color: #0b7a3c;
}
.tag--brand {
  background: var(--brand-soft);
  color: var(--brand-ink);
}
.tag--danger {
  background: var(--danger-soft);
  color: var(--danger);
}
.tag--outline {
  background: transparent;
  border: 1px solid var(--line-strong);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 9px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   4. 头像 / 评分环
   -------------------------------------------------------------------------- */
.avatar {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-weight: 650;
  font-size: 15px;
  overflow: hidden;
}
.avatar--lg {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  font-size: 20px;
}
.avatar--gold {
  background: var(--gold-soft);
  color: #92610a;
}
.avatar--ok {
  background: var(--ok-soft);
  color: #0b7a3c;
}

.score-ring {
  --pct: 80;
  --ring: var(--brand);
  position: relative;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: conic-gradient(var(--ring) calc(var(--pct) * 1%), #eef0f4 0);
  display: grid;
  place-items: center;
}
.score-ring::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: #fff;
  border-radius: 50%;
}
.score-ring__num {
  position: relative;
  z-index: 1;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ring);
}
.score-ring__unit {
  font-size: 9px;
  font-weight: 600;
  margin-left: 1px;
}
.score-ring--sm {
  width: 38px;
  height: 38px;
}
.score-ring--sm .score-ring__num {
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   5. 表单
   -------------------------------------------------------------------------- */
.field {
  display: block;
}
.field__label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}
.field__hint {
  margin-top: 6px;
  font-size: 11px;
  color: var(--ink-3);
}
.input,
.textarea,
.select {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(43, 108, 255, 0.12);
}
.textarea {
  min-height: 84px;
  resize: vertical;
}
.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%),
    linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 16px) 18px, calc(100% - 11px) 18px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 32px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.span-2 {
  grid-column: span 2;
}

/* --------------------------------------------------------------------------
   6. 学生端：首页
   -------------------------------------------------------------------------- */
.hero {
  padding: 18px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #2b6cff 0%, #4f8bff 55%, #6aa4ff 100%);
  color: #fff;
  box-shadow: 0 18px 40px -24px rgba(43, 108, 255, 0.95);
}
.hero__greeting {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero__meta {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
}
/* 商家端主色偏稳重，与学生的蓝色区分开 */
.hero--merchant {
  background: linear-gradient(135deg, #1f2937 0%, #374151 60%, #4b5563 100%);
  box-shadow: 0 18px 40px -24px rgba(31, 41, 55, 0.95);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.stat__num {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.stat__label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
}

.searchbar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 13px;
  border-radius: 99px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.searchbar input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
}
.searchbar__icon {
  color: var(--ink-3);
}

.filter-panel {
  padding: 12px 14px;
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-1);
}
.filter-panel__row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.filter-panel__row:first-child {
  margin-top: 0;
}
.filter-panel__key {
  flex: none;
  width: 44px;
  font-size: 12px;
  color: var(--ink-3);
}
.range {
  width: 100%;
}

.result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 2px 10px;
  font-size: 12px;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   7. 岗位卡片
   -------------------------------------------------------------------------- */
.job-list {
  display: grid;
  gap: 10px;
}
.job-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 14px;
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-1);
  border: 1px solid transparent;
  transition: transform 0.08s, border-color 0.15s, box-shadow 0.15s;
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.job-card:hover {
  border-color: #d6e0ff;
  box-shadow: var(--shadow-2);
}
.job-card:active {
  transform: scale(0.995);
}
.job-card__title {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.job-card__merchant {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  font-size: 12px;
  color: var(--ink-2);
}
.job-card__pay {
  margin-top: 10px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #e8590c;
}
.job-card__pay-amount {
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.03em;
}
.job-card__pay-unit {
  font-size: 12px;
}
.job-card__meta {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 12px;
  color: var(--ink-2);
}
.job-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.job-card__tags {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.job-card__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}
.job-card__left {
  font-size: 11px;
  color: var(--ink-3);
}
.job-card--closed {
  opacity: 0.62;
}

/* --------------------------------------------------------------------------
   8. 岗位详情
   -------------------------------------------------------------------------- */
.detail-hero {
  padding: 16px;
  border-radius: var(--r-xl);
  background: var(--card);
  box-shadow: var(--shadow-1);
}
.detail-pay {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: #e8590c;
}
.detail-pay__amount {
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.035em;
}
.info-list {
  display: grid;
  gap: 12px;
}
.info-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
}
.info-item__icon {
  font-size: 15px;
  line-height: 1.4;
}
.info-item__k {
  font-size: 11px;
  color: var(--ink-3);
}
.info-item__v {
  font-size: 13px;
}
.reason {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--ink-2);
}
.reason + .reason {
  margin-top: 8px;
}
.reason__dot {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ok-soft);
  color: var(--ok);
  font-size: 10px;
}
.reason__dot--bad {
  background: var(--danger-soft);
  color: var(--danger);
}

.actionbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  width: 100%;
  max-width: 430px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--line);
}
/* --------------------------------------------------------------------------
   9. 我的兼职 / 状态
   -------------------------------------------------------------------------- */
.tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: var(--sunk);
}
.tabs__item {
  flex: 1;
  height: 32px;
  border-radius: 9px;
  font-size: 13px;
  color: var(--ink-2);
  transition: all 0.15s;
}
.tabs__item.is-active {
  background: #fff;
  color: var(--ink);
  font-weight: 650;
  box-shadow: var(--shadow-1);
}

.gig-card {
  padding: 14px;
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-1);
}
.gig-status {
  font-size: 11px;
  font-weight: 650;
}
.gig-status--pending {
  color: var(--warn);
}
.gig-status--hired {
  color: var(--ok);
}
.gig-status--done {
  color: var(--ink-3);
}
.gig-status--rejected {
  color: var(--danger);
}

.timeline {
  margin-top: 12px;
  padding-left: 4px;
}
.timeline__item {
  position: relative;
  padding: 0 0 14px 18px;
  border-left: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-2);
}
.timeline__item:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}
.timeline__item::before {
  content: '';
  position: absolute;
  left: -4.5px;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}
.timeline__item.is-done::before {
  background: var(--ok);
}
.timeline__item.is-current::before {
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(43, 108, 255, 0.18);
}

/* --------------------------------------------------------------------------
   10. 个人中心
   -------------------------------------------------------------------------- */
.profile-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: var(--r-xl);
  background: var(--card);
  box-shadow: var(--shadow-1);
}
.credit-card {
  padding: 16px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #fff8e8 0%, #fff 65%);
  border: 1px solid #f6e3bd;
}
.credit-meter {
  margin-top: 14px;
}
.credit-meter__bar {
  position: relative;
  height: 8px;
  border-radius: 99px;
  background: #eef0f4;
  overflow: hidden;
}
.credit-meter__fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #ffc75a, #ff9d00);
}
.credit-meter__legend {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  color: var(--ink-3);
}
.credit-ranks {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #f0dcb4;
  font-size: 11.5px;
  color: var(--ink-2);
}

.cell-list {
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.cell {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 13px 14px;
  text-align: left;
}
.cell + .cell {
  border-top: 1px solid var(--line);
}
.cell__icon {
  width: 22px;
  text-align: center;
  font-size: 15px;
}
.cell__label {
  flex: 1;
  font-size: 13.5px;
}
.cell__value {
  font-size: 12.5px;
  color: var(--ink-3);
}
.cell__arrow {
  color: var(--ink-3);
  font-size: 12px;
}

.rule {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  font-size: 13px;
}
.rule + .rule {
  border-top: 1px solid var(--line);
}
.rule__label {
  flex: 1;
}
.rule__delta {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.rule__delta--up {
  color: var(--ok);
}
.rule__delta--down {
  color: var(--danger);
}

/* --------------------------------------------------------------------------
   11. 商家端
   -------------------------------------------------------------------------- */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.kpi {
  padding: 12px;
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-1);
}
.kpi__num {
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.03em;
}
.kpi__label {
  font-size: 11px;
  color: var(--ink-3);
}

.applicant {
  padding: 13px 14px;
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-1);
}
.applicant__head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.applicant__actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.applicant__actions .btn {
  flex: 1;
}
.applicant__stat {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--ink-2);
}
.match-bar {
  height: 4px;
  border-radius: 99px;
  background: var(--sunk);
  overflow: hidden;
  margin-top: 8px;
}
.match-bar__fill {
  height: 100%;
  border-radius: 99px;
  background: var(--brand);
}

/* --------------------------------------------------------------------------
   12. 消息中心
   -------------------------------------------------------------------------- */
.msg {
  position: relative;
  padding: 13px 14px;
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-1);
}
.msg.is-unread::before {
  content: '';
  position: absolute;
  top: 16px;
  right: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--danger);
}
.msg__title {
  font-size: 13.5px;
  font-weight: 650;
  padding-right: 16px;
}
.msg__body {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--ink-2);
}
.msg__time {
  margin-top: 8px;
  font-size: 11px;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   13. 登录页
   -------------------------------------------------------------------------- */
.login {
  padding: 28px var(--pad) 32px;
  background: linear-gradient(180deg, #eef3ff 0%, var(--bg) 42%);
  min-height: inherit;
  display: flex;
  flex-direction: column;
}
.login__logo {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-size: 26px;
  box-shadow: 0 16px 30px -14px rgba(43, 108, 255, 0.9);
}
.login__title {
  margin-top: 16px;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.03em;
}
.login__slogan {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-2);
}
.login__points {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}
.login-point {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--ink-2);
}
.role-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-1);
  text-align: left;
  transition: border-color 0.15s, transform 0.08s;
}
.role-card.is-active {
  border-color: var(--brand);
}
.role-card:active {
  transform: scale(0.99);
}
.account-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--sunk);
  text-align: left;
}
.account-item.is-active {
  border-color: var(--brand);
  background: var(--brand-soft);
}

/* --------------------------------------------------------------------------
   14. 空状态 / 提示
   -------------------------------------------------------------------------- */
.empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--ink-3);
}
.empty__icon {
  font-size: 32px;
  margin-bottom: 10px;
}
.empty__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.empty__desc {
  margin-top: 4px;
  font-size: 12px;
}

.toast-root {
  position: fixed;
  left: 50%;
  bottom: 92px;
  transform: translateX(-50%);
  z-index: 100;
  display: grid;
  gap: 8px;
  justify-items: center;
  pointer-events: none;
  width: max-content;
  max-width: 90vw;
}
.toast {
  padding: 9px 16px;
  border-radius: 99px;
  background: rgba(16, 24, 40, 0.9);
  color: #fff;
  font-size: 13px;
  box-shadow: var(--shadow-2);
  animation: toast-in 0.18s ease-out;
}
.toast--ok {
  background: rgba(18, 161, 80, 0.94);
}
.toast--err {
  background: rgba(239, 68, 68, 0.94);
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* 骨架屏 */
.skeleton {
  border-radius: var(--r-lg);
  background: linear-gradient(90deg, #eef0f4 25%, #f6f7f9 37%, #eef0f4 63%);
  background-size: 400% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
  height: 108px;
}
@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0 0;
  }
}
