/* =====================================================================
   修仙放置类网页游戏 —— 样式表
   设计: 移动优先(≈390px), 桌面端居中 480px 栏 + 底部导航变左侧栏
   主题: 浅色(宣纸 + 墨色 + 朱砂), 全部颜色走 CSS 变量
   依赖: 无任何 CSS 框架 / 图标字体, 图标统一使用 emoji
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. 变量与基础
   --------------------------------------------------------------------- */
:root {
  /* 背景与卡片 */
  --bg:            #f5f1e8;
  --bg-soft:       #efe8da;
  --surface:       #fffdf8;
  --surface-2:     #faf6ec;
  --border:        #e6dcc8;
  --border-strong: #d8cbb0;

  /* 文字 */
  --text:      #2f2a22;
  --text-sub:  #6f6455;
  --text-dim:  #9c9080;

  /* 主题色 */
  --primary:       #9c3d2e;
  --primary-soft:  #c25b45;
  --primary-light: #f6e7e2;
  --accent:        #b8860b;
  --accent-light:  #f7eed6;

  /* 语义色 */
  --ok:       #3f8f5e;
  --ok-light: #e5f4ea;
  --danger:   #c0392b;
  --info:     #3b6ea5;
  --warn:     #d18b00;

  /* 品质(凡/灵/仙/神) */
  --q1: #9aa0a6;
  --q2: #3b82c4;
  --q3: #8b5cc7;
  --q4: #e07b1b;

  /* 尺寸 */
  --radius:    12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --shell-max: 480px;
  --nav-h:     58px;
  --top-h:     50px;

  --shadow-sm: 0 1px 2px rgba(60, 45, 20, .07);
  --shadow:    0 3px 10px rgba(60, 45, 20, .10);
  --shadow-lg: 0 12px 34px rgba(40, 28, 8, .22);

  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑",
          "Noto Sans SC", "Source Han Sans SC", "Heiti SC", "WenQuanYi Micro Hei",
          system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(circle at 12% 8%,  rgba(184, 134, 11, .07), transparent 42%),
    radial-gradient(circle at 88% 92%, rgba(156, 61, 46, .07), transparent 45%);
  background-attachment: fixed;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
a { color: var(--primary); text-decoration: none; }
code {
  font-family: ui-monospace, Consolas, "Courier New", monospace;
  background: var(--surface-2);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: .92em;
}

/* ---------------------------------------------------------------------
   2. 启动 / 错误提示
   --------------------------------------------------------------------- */
.boot {
  max-width: var(--shell-max);
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
}
.boot-logo {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: .22em;
  color: var(--primary);
  text-shadow: 0 2px 0 rgba(255, 255, 255, .7);
}
.boot-tip { color: var(--text-sub); }
.boot-error { color: var(--danger); }
.boot-error p { margin: 4px 0; color: var(--text-sub); }
.boot-error .boot-logo { color: var(--danger); }
.boot-dim { font-size: 12px; color: var(--text-dim); word-break: break-all; }

/* ---------------------------------------------------------------------
   3. 布局骨架
   --------------------------------------------------------------------- */
.app-shell {
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--surface);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding-bottom: var(--nav-h);
  position: relative;
}

/* 顶栏 */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--top-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: rgba(255, 253, 248, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.top-back {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 15px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
}
.top-back:active { transform: scale(.94); }
.top-title { font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.top-title .top-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
  margin-left: 6px;
  letter-spacing: 0;
}
.top-cur {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
}
.top-cur .cur-item { white-space: nowrap; }
.top-cur .cur-stone { color: var(--accent); }
.top-cur .cur-yuanbao { color: var(--primary); }

/* 内容区 */
.main { flex: 1; padding: 12px; padding-bottom: 24px; }
.main-pad { padding-bottom: 30px; }

/* 底部导航(移动端) */
.nav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  z-index: 40;
  width: 100%;
  max-width: var(--shell-max);
  height: var(--nav-h);
  display: flex;
  background: rgba(255, 253, 248, .97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  color: var(--text-dim);
  font-size: 10.5px;
  transition: color .15s;
}
.nav-item .nav-ico { font-size: 19px; line-height: 1; }
.nav-item.active { color: var(--primary); font-weight: 700; }
.nav-item.active .nav-ico { transform: translateY(-1px); }

/* 页面切换动画 */
.fade-enter-active, .fade-leave-active { transition: opacity .16s ease; }
.fade-enter-from, .fade-leave-to { opacity: 0; }

/* ---------------------------------------------------------------------
   4. 通用组件
   --------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.card-tight { padding: 8px 10px; }
.card-flat { box-shadow: none; }

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.card-title {
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.card-title .tag-dot {
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: var(--primary);
  display: inline-block;
}
.card-more { font-size: 12px; color: var(--text-dim); }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 36px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  transition: transform .1s, background .15s, opacity .15s;
  user-select: none;
}
.btn:active { transform: scale(.97); }
.btn[disabled], .btn.is-disabled {
  opacity: .5;
  pointer-events: none;
}
.btn-primary {
  background: linear-gradient(180deg, var(--primary-soft), var(--primary));
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 2px 6px rgba(156, 61, 46, .3);
}
.btn-gold {
  background: linear-gradient(180deg, #e0b23c, var(--accent));
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 2px 6px rgba(184, 134, 11, .3);
}
.btn-ghost { background: var(--surface-2); }
.btn-danger { color: var(--danger); border-color: #e6b8b2; background: #fdf1ef; }
.btn-ok { color: #fff; background: var(--ok); border-color: var(--ok); }
.btn-sm { min-height: 28px; padding: 3px 10px; font-size: 12px; border-radius: 7px; }
.btn-xs { min-height: 24px; padding: 2px 8px; font-size: 11.5px; border-radius: 6px; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-row .btn { flex: 1 1 auto; }

/* 表单 */
.field { margin-bottom: 10px; }
.field-label {
  display: block;
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 4px;
  font-weight: 600;
}
.input, .select, .textarea {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  outline: none;
  transition: border-color .15s, background .15s;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--primary-soft);
  background: var(--surface);
}
.textarea { min-height: 70px; resize: vertical; }
.input-group { display: flex; gap: 8px; }
.input-group .input { flex: 1; }
.input-group .btn { flex: 0 0 auto; white-space: nowrap; }
.field-hint { font-size: 11.5px; color: var(--text-dim); margin-top: 4px; }

/* 标签 / 徽标 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-sub);
  white-space: nowrap;
}
.tag-primary { background: var(--primary-light); border-color: #eccfc7; color: var(--primary); }
.tag-gold    { background: var(--accent-light);  border-color: #eddfae; color: #8c6608; }
.tag-ok      { background: var(--ok-light);      border-color: #c7e5d2; color: var(--ok); }
.tag-danger  { background: #fdeeec;              border-color: #f0c9c3; color: var(--danger); }
.tag-info    { background: #eaf1fa;              border-color: #c9dcf0; color: var(--info); }

/* 品质 */
.q-凡品 { color: var(--q1); }
.q-灵品 { color: var(--q2); }
.q-仙品 { color: var(--q3); }
.q-神品 { color: var(--q4); }
.qb-凡品 { border-color: var(--q1) !important; }
.qb-灵品 { border-color: var(--q2) !important; }
.qb-仙品 { border-color: var(--q3) !important; }
.qb-神品 { border-color: var(--q4) !important; }
.qbg-凡品 { background: rgba(154, 160, 166, .12); }
.qbg-灵品 { background: rgba(59, 130, 196, .12); }
.qbg-仙品 { background: rgba(139, 92, 199, .12); }
.qbg-神品 { background: rgba(224, 123, 27, .14); }

/* 进度条 */
.bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  overflow: hidden;
  border: 1px solid var(--border);
}
.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-soft), var(--primary));
  transition: width .4s ease;
}
.bar-fill.gold { background: linear-gradient(90deg, #e0b23c, var(--accent)); }
.bar-fill.ok   { background: linear-gradient(90deg, #6fbe8d, var(--ok)); }
.bar-fill.info { background: linear-gradient(90deg, #6fa3d8, var(--info)); }
.bar-lg { height: 14px; }
.bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-sub);
  margin-bottom: 4px;
}

/* 统计 / 属性表 */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.stat {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 9px;
}
.stat-k { font-size: 11px; color: var(--text-dim); }
.stat-v { font-size: 14px; font-weight: 700; }

.attr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
}
.attr-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  padding: 3px 0;
  border-bottom: 1px dashed var(--border);
}
.attr-row .attr-k { color: var(--text-sub); }
.attr-row .attr-v { font-weight: 700; }

/* 列表 */
.list-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 4px;
  border-bottom: 1px solid var(--border);
}
.list-row:last-child { border-bottom: none; }
.list-row .lr-main { flex: 1; min-width: 0; }
.list-row .lr-title {
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.list-row .lr-desc {
  font-size: 11.5px;
  color: var(--text-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.list-row .lr-side { flex: 0 0 auto; text-align: right; }

/* 空状态 */
.empty {
  text-align: center;
  color: var(--text-dim);
  font-size: 12.5px;
  padding: 22px 10px;
}
.empty-ico { font-size: 26px; display: block; margin-bottom: 6px; opacity: .7; }

/* 网格入口(主城) */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.entry {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 4px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  transition: transform .12s, background .15s;
}
.entry:active { transform: scale(.96); background: var(--primary-light); }
.entry .entry-ico { font-size: 22px; line-height: 1; }

/* 标签页 */
.tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 6px;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 12.5px;
  color: var(--text-sub);
  font-weight: 600;
  white-space: nowrap;
}
.tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 2px 6px rgba(156, 61, 46, .25);
}

/* 提示 / 说明条 */
.note {
  font-size: 11.5px;
  color: var(--text-sub);
  background: var(--surface-2);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 7px 9px;
  line-height: 1.5;
}
.note-danger { color: var(--danger); border-color: #eec6c0; background: #fdf3f1; }

/* ---------------------------------------------------------------------
   5. 登录 / 角色创建
   --------------------------------------------------------------------- */
.auth-page {
  min-height: 100vh;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 26px 20px 40px;
  background: var(--surface);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.auth-brand { text-align: center; margin-bottom: 18px; }
.auth-brand .auth-logo {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--primary);
}
.auth-brand .auth-slogan {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: .12em;
  margin-top: 4px;
}
.auth-switch {
  display: flex;
  gap: 4px;
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 3px;
  margin-bottom: 16px;
}
.auth-switch button {
  flex: 1;
  padding: 7px 4px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-sub);
}
.auth-switch button.active {
  background: var(--surface);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.auth-form .btn-block { margin-top: 14px; }
.auth-foot {
  text-align: center;
  font-size: 11.5px;
  color: var(--text-dim);
  margin-top: 18px;
  line-height: 1.7;
}

/* 灵根选择 */
.root-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.root-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  padding: 8px 9px;
  text-align: left;
  transition: border-color .15s, background .15s;
}
.root-item.active { border-color: var(--primary); background: var(--primary-light); }
.root-item .ri-name { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 4px; }
.root-item .ri-desc { font-size: 11px; color: var(--text-dim); margin-top: 2px; line-height: 1.4; }

.gender-row { display: flex; gap: 8px; }
.gender-btn {
  flex: 1;
  padding: 10px 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  font-size: 13px;
  font-weight: 600;
}
.gender-btn.active { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }

/* ---------------------------------------------------------------------
   6. 主城
   --------------------------------------------------------------------- */
.role-card {
  background: linear-gradient(150deg, #fffdf8 0%, #fbf3e4 60%, #f7e9dd 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 13px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.rc-top { display: flex; align-items: center; gap: 11px; }
.rc-avatar {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff, var(--primary-light));
  border: 2px solid var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.rc-name { font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rc-sub { font-size: 11.5px; color: var(--text-sub); margin-top: 2px; }
.rc-power {
  margin-left: auto;
  text-align: right;
  flex: 0 0 auto;
}
.rc-power .rp-v { font-size: 17px; font-weight: 800; color: var(--primary); }
.rc-power .rp-k { font-size: 10.5px; color: var(--text-dim); }
.rc-exp { margin-top: 11px; }
.rc-cur {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.rc-cur .cur-box {
  flex: 1;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* 公告 */
.ann-item { display: flex; align-items: center; gap: 7px; }
.ann-title {
  font-size: 12.5px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ann-time { font-size: 11px; color: var(--text-dim); }
.ann-content {
  font-size: 11.5px;
  color: var(--text-sub);
  white-space: pre-wrap;
  margin-top: 6px;
  border-top: 1px dashed var(--border);
  padding-top: 6px;
}

/* ---------------------------------------------------------------------
   7. 修炼
   --------------------------------------------------------------------- */
.cult-hero {
  text-align: center;
  padding: 18px 12px 14px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 18%, #fff6e2, #f7ead6 62%, #f2e2cf);
  border: 1px solid var(--border-strong);
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}
.cult-hero.running { animation: cult-glow 2.6s ease-in-out infinite; }
@keyframes cult-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(184, 134, 11, 0); }
  50%      { box-shadow: 0 0 22px rgba(184, 134, 11, .3); }
}
.cult-orb {
  font-size: 46px;
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.cult-hero.running .cult-orb { animation: cult-float 2.4s ease-in-out infinite; }
@keyframes cult-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-6px) scale(1.05); }
}
.cult-mode { font-size: 17px; font-weight: 800; letter-spacing: .1em; }
.cult-state { font-size: 12px; color: var(--text-sub); margin-top: 3px; }
.cult-exp { font-size: 26px; font-weight: 800; color: var(--primary); margin-top: 8px; }
.cult-exp small { font-size: 12px; font-weight: 600; color: var(--text-sub); margin-left: 4px; }
.cult-bar { margin-top: 10px; }

.mode-list { display: grid; gap: 8px; }
.mode-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}
.mode-item.active { border-color: var(--primary); background: var(--primary-light); }
.mode-item .mi-main { flex: 1; min-width: 0; }
.mode-item .mi-name { font-size: 13.5px; font-weight: 700; }
.mode-item .mi-desc { font-size: 11px; color: var(--text-dim); }

/* 飘字动画 "+N 修为" */
.float-layer {
  position: absolute;
  right: 14px;
  bottom: 22px;
  pointer-events: none;
  z-index: 5;
}
.float-gain {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  text-shadow: 0 1px 0 #fff;
  animation: float-up 1.5s ease-out forwards;
  white-space: nowrap;
}
.float-gain.gold { color: var(--accent); }
@keyframes float-up {
  0%   { opacity: 0; transform: translateY(10px) scale(.8); }
  22%  { opacity: 1; transform: translateY(0) scale(1.08); }
  100% { opacity: 0; transform: translateY(-42px) scale(1); }
}

/* 离线结算横幅 */
.offline-banner {
  border: 1px solid var(--accent);
  background: linear-gradient(180deg, #fdf7e6, var(--accent-light));
  border-radius: var(--radius);
  padding: 10px 12px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: banner-in .3s ease;
}
@keyframes banner-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.offline-banner .ob-ico { font-size: 22px; }
.offline-banner .ob-main { flex: 1; font-size: 12.5px; }
.offline-banner .ob-main b { color: var(--primary); font-size: 14px; }

/* ---------------------------------------------------------------------
   8. 战斗
   --------------------------------------------------------------------- */
.monster-list { display: grid; gap: 8px; }
.monster-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}
.monster-item.boss { border-color: #e3b7ad; background: #fdf4f1; }
.monster-item .mo-ico {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.monster-item .mo-main { flex: 1; min-width: 0; }
.monster-item .mo-name { font-size: 13px; font-weight: 700; display: flex; gap: 6px; align-items: center; }
.monster-item .mo-meta { font-size: 11px; color: var(--text-dim); }

.battle-log {
  max-height: 240px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  padding: 8px 9px;
  font-size: 12.5px;
  scroll-behavior: smooth;
}
.battle-line {
  padding: 3px 0;
  border-bottom: 1px dashed var(--border);
  animation: log-in .22s ease both;
}
.battle-line:last-child { border-bottom: none; }
@keyframes log-in { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.battle-line .bl-head { font-weight: 700; margin-right: 4px; }
.battle-line.side-me .bl-head { color: var(--info); }
.battle-line.side-enemy .bl-head { color: var(--danger); }
.battle-line .bl-dmg { color: var(--primary); font-weight: 800; }
.battle-line .bl-crit {
  color: #fff;
  background: var(--primary);
  border-radius: 4px;
  padding: 0 4px;
  font-size: 11px;
  font-weight: 700;
  margin-left: 3px;
}
.battle-line.system { color: var(--text-dim); text-align: center; }
.battle-result {
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 6px 0;
}
.battle-result.win { color: var(--ok); }
.battle-result.lose { color: var(--danger); }

.reward-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

/* ---------------------------------------------------------------------
   9. 背包 / 装备栏
   --------------------------------------------------------------------- */
.equip-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slot-box {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  padding: 7px 6px;
  text-align: center;
  min-height: 74px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.slot-box.filled { border-style: solid; background: var(--surface); }
.slot-box .sb-label { font-size: 10.5px; color: var(--text-dim); }
.slot-box .sb-ico { font-size: 21px; line-height: 1; }
.slot-box .sb-name {
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.25;
  word-break: break-all;
}
.slot-box .sb-enh { font-size: 10.5px; color: var(--accent); font-weight: 700; }

.item-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.item-cell {
  position: relative;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  padding: 6px 4px 5px;
  text-align: center;
  min-height: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: transform .12s;
}
.item-cell:active { transform: scale(.95); }
.item-cell.equipped::after {
  content: "已装备";
  position: absolute;
  top: -1px;
  left: -1px;
  font-size: 9px;
  background: var(--ok);
  color: #fff;
  border-radius: 7px 0 7px 0;
  padding: 0 4px;
}
.item-cell .ic-ico { font-size: 21px; line-height: 1; }
.item-cell .ic-name {
  font-size: 10.5px;
  line-height: 1.2;
  font-weight: 600;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.item-cell .ic-qty {
  position: absolute;
  right: 3px;
  bottom: 2px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-sub);
}
.item-cell .ic-enh {
  position: absolute;
  left: 3px;
  bottom: 2px;
  font-size: 10px;
  font-weight: 800;
  color: var(--accent);
}

/* ---------------------------------------------------------------------
   10. 宗门 / 好友 / 邮箱 / 排行榜 …
   --------------------------------------------------------------------- */
.sect-banner {
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: linear-gradient(140deg, #fdfaf2, #f4ecdc);
  padding: 12px;
  margin-bottom: 12px;
}
.sect-banner .sb-name { font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.sect-banner .sb-notice {
  font-size: 11.5px;
  color: var(--text-sub);
  background: rgba(255, 255, 255, .7);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  margin-top: 8px;
  white-space: pre-wrap;
}

.rank-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
  border-bottom: 1px solid var(--border);
}
.rank-row:last-child { border-bottom: none; }
.rank-no {
  flex: 0 0 26px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-dim);
}
.rank-no.top1 { color: #d4a017; }
.rank-no.top2 { color: #9aa3ad; }
.rank-no.top3 { color: #c08457; }

.chat-box {
  max-height: 250px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.chat-msg { display: flex; flex-direction: column; max-width: 82%; }
.chat-msg.me { align-self: flex-end; align-items: flex-end; }
.chat-msg .cm-bubble {
  padding: 6px 9px;
  border-radius: 10px;
  font-size: 12.5px;
  background: var(--surface);
  border: 1px solid var(--border);
  word-break: break-word;
}
.chat-msg.me .cm-bubble { background: var(--primary-light); border-color: #eccfc7; }
.chat-msg .cm-time { font-size: 10px; color: var(--text-dim); margin-top: 2px; }

.mail-row.unread .lr-title { color: var(--primary); }
.mail-row .mr-attach { font-size: 11px; color: var(--accent); }

/* 地图探索 */
.map-grid { display: grid; gap: 8px; }
.map-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}
.map-item.active { border-color: var(--primary); background: var(--primary-light); }
.map-item .mp-ico {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.map-item .mp-main { flex: 1; min-width: 0; }
.map-item .mp-name { font-size: 13.5px; font-weight: 700; }
.map-item .mp-desc {
  font-size: 11px;
  color: var(--text-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 技能 */
.skill-item {
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  margin-bottom: 8px;
}
.skill-item.equipped { border-color: var(--primary); background: var(--primary-light); }
.skill-item .sk-top { display: flex; align-items: center; gap: 8px; }
.skill-item .sk-name { font-size: 13.5px; font-weight: 700; }
.skill-item .sk-desc { font-size: 11.5px; color: var(--text-sub); margin-top: 4px; }
.skill-item .sk-side { margin-left: auto; text-align: right; }

/* ---------------------------------------------------------------------
   11. 弹窗 / 吐司 / 加载
   --------------------------------------------------------------------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(35, 26, 12, .45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.sheet {
  width: 100%;
  max-width: var(--shell-max);
  background: var(--surface);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 14px 14px calc(16px + env(safe-area-inset-bottom, 0px));
  box-shadow: var(--shadow-lg);
  max-height: 86vh;
  overflow-y: auto;
  animation: sheet-up .22s ease;
}
@keyframes sheet-up { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
.sheet-title {
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
}
.sheet-sub { font-size: 12px; color: var(--text-dim); margin-bottom: 10px; }
.sheet-close {
  margin-left: auto;
  font-size: 18px;
  color: var(--text-dim);
  line-height: 1;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface-2);
}
.sheet-body { margin-bottom: 12px; }

/* 吐司 */
.toast-layer {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: max-content;
  max-width: min(92vw, 420px);
  pointer-events: none;
}
.toast {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(47, 42, 34, .93);
  box-shadow: var(--shadow);
  animation: toast-in .2s ease;
  text-align: center;
  word-break: break-word;
}
.toast.ok { background: rgba(63, 143, 94, .96); }
.toast.err { background: rgba(192, 57, 43, .96); }
.toast.info { background: rgba(59, 110, 165, .96); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* 全局加载指示 */
.loading-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  z-index: 95;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  box-shadow: 0 0 8px rgba(156, 61, 46, .5);
  animation: loading-run 1.1s ease-in-out infinite;
}
@keyframes loading-run {
  0%   { width: 6%; margin-left: 0; }
  50%  { width: 45%; margin-left: 30%; }
  100% { width: 6%; margin-left: 94%; }
}

/* 小工具 */
.spin { display: inline-block; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.row { display: flex; align-items: center; gap: 8px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.mt4 { margin-top: 4px; }
.mt8 { margin-top: 8px; }
.mt12 { margin-top: 12px; }
.mb8 { margin-bottom: 8px; }
.mb12 { margin-bottom: 12px; }
.tc { text-align: center; }
.tr { text-align: right; }
.dim { color: var(--text-dim); }
.sub { color: var(--text-sub); }
.small { font-size: 11.5px; }
.bold { font-weight: 700; }
.num { font-variant-numeric: tabular-nums; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nowrap { white-space: nowrap; }
.divider { height: 1px; background: var(--border); margin: 10px 0; }
.hide-sm { display: none; }

/* ---------------------------------------------------------------------
   12. 宽屏(≥768px): 底部导航 → 左侧栏, 内容居中
   --------------------------------------------------------------------- */
@media (min-width: 768px) {
  body { padding: 20px 0 32px; }

  .app-shell {
    min-height: calc(100vh - 52px);
    max-width: 1020px;
    display: grid;
    grid-template-columns: 176px minmax(0, 1fr);
    grid-template-areas:
      "nav top"
      "nav main";
    grid-template-rows: var(--top-h) minmax(0, 1fr);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    padding-bottom: 0;
  }

  .top-bar {
    grid-area: top;
    position: static;
    border-bottom: 1px solid var(--border);
    height: var(--top-h);
  }

  .main {
    grid-area: main;
    overflow-y: auto;
    max-height: calc(100vh - 52px - var(--top-h));
    padding: 16px 18px 26px;
  }
  /* 内容列限宽, 保持阅读舒适 */
  .main > * { max-width: 560px; margin-left: auto; margin-right: auto; }

  .nav {
    grid-area: nav;
    position: static;
    transform: none;
    width: auto;
    max-width: none;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 9px;
    background: var(--surface-2);
    border-top: none;
    border-right: 1px solid var(--border);
    overflow-y: auto;
  }
  .nav-item {
    flex: 0 0 auto;
    flex-direction: row;
    justify-content: flex-start;
    gap: 9px;
    padding: 9px 11px;
    border-radius: var(--radius-sm);
    font-size: 13px;
  }
  .nav-item .nav-ico { font-size: 17px; }
  .nav-item.active {
    background: var(--primary-light);
    color: var(--primary);
  }

  .hide-sm { display: inline-flex; }
  .toast-layer { top: 24px; }
  .overlay { align-items: center; }
  .sheet { border-radius: var(--radius-lg); max-width: 460px; }
}

@media (min-width: 1100px) {
  .app-shell { max-width: 1120px; grid-template-columns: 196px minmax(0, 1fr); }
  .main > * { max-width: 720px; }
  .entry-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .item-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* 极窄屏兜底 */
@media (max-width: 340px) {
  .item-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .entry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .root-list { grid-template-columns: minmax(0, 1fr); }
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ---------------------------------------------------------------------
   14. 战斗舞台
   只负责"演": 双方血条/真气条、出手突进、受击震动、伤害飘字、
   技能横幅与胜负遮罩。所有数值来自服务端已判定的 rounds[]。
   --------------------------------------------------------------------- */

.bt-card { overflow: hidden; }

.bt-arena {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  gap: 4px;
  padding: 14px 4px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(184, 134, 11, .10), transparent 62%),
    linear-gradient(180deg, var(--surface-2), var(--bg-soft));
  overflow: hidden;
}

/* 双方站位 */
.bt-side {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 4px 2px;
  border-radius: var(--radius);
  min-width: 0;
  transition: transform .2s ease, opacity .3s ease, filter .3s ease;
}
.bt-side.is-actor { animation: bt-lunge-r .34s ease-out both; }
.bt-side.bt-enemy.is-actor { animation: bt-lunge-l .34s ease-out both; }
.bt-side.is-hit { animation: bt-shake .3s ease-in-out both; }
.bt-side.is-fallen { opacity: .42; filter: grayscale(.7); }
.bt-side.is-boss .bt-avatar {
  box-shadow: 0 0 0 2px rgba(192, 57, 43, .45), var(--shadow);
}

/* 头像 */
.bt-avatar {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #fffdf8, var(--bg-soft));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.bt-side.bt-player .bt-avatar {
  background: linear-gradient(160deg, #f4f9fd, #e6eff8);
  border-color: rgba(59, 110, 165, .26);
}
.bt-enemy .bt-avatar {
  background: linear-gradient(160deg, #fdf1ee, #f6e0da);
  border-color: rgba(192, 57, 43, .28);
}
.bt-ico { font-size: 30px; line-height: 1; }
.bt-card .bt-arena .bt-ico { animation: bt-idle 2.6s ease-in-out infinite; }
.bt-enemy .bt-ico { animation-delay: -1.3s; }
.bt-crown {
  position: absolute;
  top: -7px; left: 50%;
  transform: translateX(-50%);
  font-size: 15px;
}

/* 名字与等级 */
.bt-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  max-width: 100%;
  font-size: 12px;
  font-weight: 700;
}
.bt-fname {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bt-name .tag { font-size: 10px; padding: 0 5px; }

/* 血条 / 真气条 */
.bt-bar {
  width: 100%;
  height: 8px;
  border-radius: 99px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  overflow: hidden;
}
.bt-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 99px;
  transition: width .28s ease;
}
.bt-bar-fill.hp { background: linear-gradient(90deg, var(--ok), #6dbf8c); }
.bt-bar-fill.hp.low {
  background: linear-gradient(90deg, var(--danger), #e2685a);
  animation: bt-pulse 1s ease-in-out infinite;
}
.bt-bar-fill.mp { background: linear-gradient(90deg, var(--info), #6fa0d4); }
.bt-bar-mp { height: 5px; margin-top: 2px; }
.bt-hp { font-size: 10.5px; color: var(--text-dim); }
.bt-down {
  position: absolute;
  bottom: -2px; left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  padding: 1px 7px;
  border-radius: 99px;
  color: #fff;
  background: var(--text-sub);
}

/* 中场 */
.bt-vs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 20px;
  min-width: 42px;
}
.bt-vs-mark {
  font-size: 15px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: .06em;
  color: var(--primary);
  opacity: .7;
}
.bt-vs-hint { font-size: 10px; color: var(--text-dim); text-align: center; }

/* 伤害飘字 */
.bt-floaters {
  position: absolute;
  top: 2px; left: 0; right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 3;
}
.bt-floater {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
  text-shadow: 0 1px 0 #fff, 0 0 6px rgba(255, 255, 255, .9);
  animation: bt-float .88s ease-out both;
}
.bt-floater.hurt { color: var(--danger); }
.bt-floater.crit {
  color: #fff;
  font-size: 21px;
  text-shadow: 0 1px 2px rgba(140, 40, 20, .6), 0 0 8px rgba(224, 123, 27, .8);
  -webkit-text-stroke: .5px var(--q4);
}
.bt-floater.heal { color: var(--ok); }
.bt-floater.miss { color: var(--text-dim); font-size: 13px; }

/* 技能横幅 */
.bt-banner {
  position: absolute;
  left: 50%;
  top: 30%;
  transform: translate(-50%, -50%);
  max-width: 88%;
  padding: 4px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
  background: linear-gradient(135deg, var(--info), #5b8cc4);
  box-shadow: var(--shadow);
  animation: bt-banner .5s cubic-bezier(.2, 1.3, .4, 1) both;
  z-index: 4;
}
.bt-banner.enemy { background: linear-gradient(135deg, var(--danger), #d9614f); }
.bt-banner.skill { background: linear-gradient(135deg, var(--primary), var(--q4)); }
.bt-banner.enemy.skill { background: linear-gradient(135deg, #8e2b20, var(--danger)); }
.bt-banner.basic { font-weight: 600; opacity: .92; }

/* 胜负遮罩 */
.bt-over {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: rgba(255, 253, 248, .78);
  animation: bt-fade .32s ease both;
  z-index: 5;
}
.bt-over-text {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .16em;
}
.bt-over.win .bt-over-text { color: var(--ok); }
.bt-over.lose .bt-over-text { color: var(--danger); }
.bt-over.draw .bt-over-text { color: var(--warn); }
.bt-over-sub { font-size: 11.5px; color: var(--text-sub); }

/* 控件 */
.bt-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.bt-ctrl-label { font-size: 11.5px; color: var(--text-dim); }
.bt-speeds {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
}
.bt-speed {
  border: none;
  background: transparent;
  color: var(--text-sub);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  cursor: pointer;
  font-family: inherit;
  transition: background .16s ease, color .16s ease;
}
.bt-speed + .bt-speed { border-left: 1px solid var(--border); }
.bt-speed.active { background: var(--primary); color: #fff; }

@keyframes bt-idle {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}
@keyframes bt-lunge-r {
  0%   { transform: translateX(0) scale(1); }
  45%  { transform: translateX(16px) scale(1.05); }
  100% { transform: translateX(0) scale(1); }
}
@keyframes bt-lunge-l {
  0%   { transform: translateX(0) scale(1); }
  45%  { transform: translateX(-16px) scale(1.05); }
  100% { transform: translateX(0) scale(1); }
}
@keyframes bt-shake {
  0%   { transform: translateX(0); }
  15%  { transform: translateX(-6px); }
  35%  { transform: translateX(5px); }
  55%  { transform: translateX(-3px); }
  75%  { transform: translateX(2px); }
  100% { transform: translateX(0); }
}
@keyframes bt-float {
  0%   { opacity: 0; transform: translateY(6px) scale(.8); }
  22%  { opacity: 1; transform: translateY(-4px) scale(1.16); }
  60%  { opacity: 1; transform: translateY(-14px) scale(1); }
  100% { opacity: 0; transform: translateY(-26px) scale(.96); }
}
@keyframes bt-banner {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(.6); }
  55%  { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes bt-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bt-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .55; }
}

/* 窄屏: 缩小头像与字号, 保证双方与 VS 同屏 */
@media (max-width: 380px) {
  .bt-avatar { width: 48px; height: 48px; }
  .bt-ico { font-size: 25px; }
  .bt-vs { min-width: 34px; padding-top: 16px; }
  .bt-vs-mark { font-size: 13px; }
  .bt-banner { font-size: 12px; padding: 3px 10px; }
  .bt-over-text { font-size: 19px; }
}

/* 减少动效: 全局规则会让动画在 .001ms 内跑完并停在终态,
   飘字终态是 opacity:0 —— 必须单独还原成静态可见, 否则伤害数字完全看不见 */
@media (prefers-reduced-motion: reduce) {
  .bt-floater {
    animation: none !important;
    opacity: 1;
    transform: none;
    text-shadow: none;
  }
  .bt-ico, .bt-bar-fill.hp.low { animation: none !important; }
  .bt-side.is-actor, .bt-side.is-hit { animation: none !important; }
  .bt-banner, .bt-over { animation: none !important; }
}
