/* ==========================================================================
   A9 登录卡子卡片 · 账户 / 消费明细（2026-12-03 老板令）
   格式与全站子卡片完全一致：.a9chcard / .a9sw2 / .a9ss 同一套
     白底 #ffffff · 1px #e3e9f3 描边 · 16px 圆角 · 阴影 rgba(16,24,40,.06)
     padding 6px 16px 10px · 右边距 16px（与卡片栏对齐）
   注入：wp_enqueue_style（assets/a9-acct-detail.css）
   ========================================================================== */

/* 子卡片容器：放在按钮区 grid 的下一个兄弟位置，占满整行 */
.a9subslot {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 12px 0 0;
}

/* 白底子卡片本体 —— 与 .a9chcard 完全同格式（高特异性压过 .a9topup / navy 卡内规则） */
html body .a9cards .a9subcard,
html body #a9-login-card .a9subcard,
html body #a9-acct-card .a9subcard {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border: 1px solid #e3e9f3 !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 10px rgba(16, 24, 40, .06) !important;
  padding: 6px 16px 10px !important;
  margin: 0 !important;
  width: auto !important;
  box-sizing: border-box !important;
  color: #0f172a !important;
  text-align: left !important;
}

html body .a9cards .a9subcard *,
html body #a9-login-card .a9subcard *,
html body #a9-acct-card .a9subcard * {
  color: #0f172a !important;
}

/* 卡片标题行 */
.a9subcard .a9subhd {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 10px 0 8px !important;
}
.a9subcard .a9subhd b {
  font-size: 15px !important;
  font-weight: 850 !important;
  letter-spacing: -.2px !important;
  color: #0f172a !important;
}
.a9subcard .a9subx {
  flex: 0 0 26px !important;
  width: 26px !important;
  height: 26px !important;
  line-height: 26px !important;
  text-align: center !important;
  border-radius: 50% !important;
  border: 1px solid #e3e9f3 !important;
  background: #f5f8fd !important;
  color: #64748b !important;
  font-size: 13px !important;
  cursor: pointer !important;
  padding: 0 !important;
}

/* 数据行：标签左 / 值右（与 .a9ac-row 同一视觉） */
.a9subcard .a9subrow {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 9px 0 !important;
  border-bottom: 1px solid #eef2f8 !important;
  font-size: 13.5px !important;
}
.a9subcard .a9subrow:last-child { border-bottom: 0 !important; }
.a9subcard .a9subrow span { color: #64748b !important; flex: 1 1 auto; min-width: 0; }
.a9subcard .a9subrow b { color: #0f172a !important; font-weight: 800 !important; white-space: nowrap; }

/* 明细条目 */
.a9subcard .a9subtx {
  padding: 9px 0 !important;
  border-bottom: 1px solid #eef2f8 !important;
}
.a9subcard .a9subtx:last-child { border-bottom: 0 !important; }
.a9subcard .a9subtx .r {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 10px !important;
}
.a9subcard .a9subtx .t {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.a9subcard .a9subtx .v { font-size: 14px !important; font-weight: 850 !important; white-space: nowrap !important; }
.a9subcard .a9subtx .v.in { color: #0f7a56 !important; }
.a9subcard .a9subtx .v.out { color: #b42318 !important; }
.a9subcard .a9subtx .d { font-size: 11.5px !important; color: #8a968f !important; margin-top: 2px !important; }

/* 空态 / 提示 / 加载 */
.a9subcard .a9subemp {
  font-size: 13px !important;
  color: #64706a !important;
  line-height: 1.5 !important;
  padding: 12px 0 !important;
}

/* 底部快捷入口按钮（白卡内的次级按钮，改用白底控件样式） */
.a9subcard .a9subbtns {
  display: flex !important;
  gap: 8px !important;
  margin-top: 10px !important;
  flex-wrap: wrap !important;
}
.a9subcard .a9subbtn {
  flex: 1 1 calc(50% - 4px) !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 12px !important;
  border: 1px solid #c9d4e6 !important;
  background: #f5f8fd !important;
  color: #2563eb !important;
  font-size: 13.5px !important;
  font-weight: 750 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}
.a9subcard .a9subbtn:active { background: #eaf1ff !important; }
