/* 国风清爽 · 主题层 v2（试点：装备页）
   作用域：body.theme-qing，只在装备页挂载。
   注意：项目里 theme-astral.css 有 100+ 条 !important，这里必须同级 !important + 更高优先级才能覆盖。 */

body.theme-qing {
  --q-paper: #d9d0bb;
  --q-paper2: #e6ddc9;
  --q-paper3: #ddd3bd;
  --q-line: #bfb39a;
  --q-line2: #ad9f84;
  --q-ink: #2b2721;
  --q-ink2: #554c3e;
  --q-ink3: #7d7361;
  --q-verm: #9c3a31;
  --q-gold: #b08a45;

  --bg-main: #d9d0bb;
  --bg-dark: #cdc2ab;
  --bg-darker: #c6bba4;
  --bg-panel: #e6ddc9;
  --bg-panel-light: #ddd3bd;
  --bg-card: #e6ddc9;
  --bg-card-hover: #ddd3bd;
  --bg-overlay: rgba(60, 50, 32, .55);

  --text-primary: #2b2721;
  --text-secondary: #554c3e;
  --text-muted: #7d7361;
  --text-gold: #a8372a;
  --text-white: #2b2721;

  --color-primary: #9c3a31;
  --color-primary-dark: #7d2a24;
  --color-primary-light: #b0463c;
  --color-secondary: #667059;

  --grad-panel: linear-gradient(180deg, #e6ddc9, #ddd3bd);
  --grad-card: linear-gradient(180deg, #e6ddc9, #ddd3bd);
  --grad-gold: linear-gradient(180deg, #b0463c, #a8372a);
  --grad-nav: linear-gradient(180deg, #e3dac6, #d5cbb4);

  --shadow-sm: 0 1px 3px rgba(80, 65, 40, .10);
  --shadow-md: 0 4px 12px rgba(80, 65, 40, .12);
  --shadow-lg: 0 8px 24px rgba(80, 65, 40, .16);
}

body.theme-qing,
body.theme-qing #game-container {
  background: linear-gradient(180deg, #dcd3bf, #d9d0bb 45%, #cdc2ab) !important;
  color: var(--q-ink) !important;
}
body.theme-qing::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/><feColorMatrix type='saturate' values='0'/></filter><rect width='140' height='140' filter='url(%23n)' opacity='.28'/></svg>");
}
body.theme-qing .screen { background: transparent !important; }
body.theme-qing #screen-container { background: transparent !important; }
body.theme-qing .screen::before { opacity: .35 !important; }

/* 顶栏 */
body.theme-qing .top-bar {
  background: rgba(226, 217, 196, .98) !important;
  border-bottom: 1px solid var(--q-line) !important;
  box-shadow: 0 2px 8px rgba(80, 65, 40, .10) !important;
}
body.theme-qing .top-bar,
body.theme-qing .top-bar * { color: var(--q-ink) !important; }
body.theme-qing .top-bar .top-bar__currency {
  background: rgba(240, 233, 216, .92) !important;
  border: 1px solid var(--q-line) !important;
  border-radius: 999px !important;
}
body.theme-qing .top-bar .top-bar__currency-value { color: var(--q-ink) !important; }
body.theme-qing .top-bar button { background: transparent !important; }

/* 底栏 */
body.theme-qing .bottom-nav {
  background: linear-gradient(180deg, #e3dac6, #d5cbb4) !important;
  border-top: 1px solid var(--q-line) !important;
  box-shadow: 0 -4px 14px rgba(80, 65, 40, .10) !important;
}
body.theme-qing .bottom-nav * { color: var(--q-ink3) !important; }
body.theme-qing .bottom-nav .active,
body.theme-qing .bottom-nav .active * { color: var(--q-verm) !important; }
body.theme-qing .bottom-nav__item.active::before {
  background: linear-gradient(90deg, transparent, var(--q-verm), transparent) !important;
  box-shadow: none !important;
}
body.theme-qing .bottom-nav__icon { font-family: inherit !important; }
body.theme-qing .bottom-nav__item.active .bottom-nav__icon { color: var(--q-verm) !important; text-shadow: none !important; }

/* 卡片 */
body.theme-qing .card,
body.theme-qing .card--clickable {
  background: var(--q-paper2) !important;
  border: 1px solid var(--q-line) !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 12px rgba(80, 65, 40, .10) !important;
  color: var(--q-ink) !important;
}
body.theme-qing .card * { color: var(--q-ink) !important; }
body.theme-qing .card .text-gold { color: var(--q-verm) !important; }
body.theme-qing .card .text-muted { color: var(--q-ink3) !important; }
body.theme-qing .card .text-green { color: #3f7d4a !important; }

/* 按钮 */
body.theme-qing .btn {
  background: var(--q-paper2) !important;
  color: var(--q-ink) !important;
  border: 1px solid var(--q-line2) !important;
  border-radius: 4px !important;
  box-shadow: 0 2px 0 rgba(80, 65, 40, .16) !important;
  text-shadow: none !important;
}
body.theme-qing .btn:active { transform: translateY(1px) !important; box-shadow: none !important; }
body.theme-qing .btn--primary {
  background: linear-gradient(180deg, #b0463c, #a8372a 70%, #93302a) !important;
  color: #fdf4e6 !important;
  border: 1px solid #d0ae74 !important;
  box-shadow: 0 3px 0 #7d2a24, 0 6px 14px rgba(120, 50, 40, .18) !important;
}
body.theme-qing .btn--primary * { color: #fdf4e6 !important; }
body.theme-qing .btn--primary:disabled {
  background: #d8cdb8 !important; color: #9a8f7a !important;
  border-color: #c9bda4 !important; box-shadow: none !important;
}
body.theme-qing .btn--success { background: #eef6ee !important; color: #3f7d4a !important; border-color: #c8ddc9 !important; }
body.theme-qing .btn--danger { background: #fbeee8 !important; color: var(--q-verm) !important; border-color: #e4c79a !important; }

/* 角色条 */
body.theme-qing .equip-char-btn {
  background: var(--q-paper2) !important;
  border: 1px solid var(--q-line) !important;
  border-radius: 6px !important;
}
body.theme-qing .equip-char-btn * { color: var(--q-ink) !important; }
body.theme-qing .equip-char-btn.is-selected {
  border-color: var(--q-verm) !important;
  background: linear-gradient(180deg, #fdf3e2, #f7ead2) !important;
  box-shadow: 0 0 0 1px rgba(184, 67, 58, .28), 0 3px 10px rgba(120, 70, 40, .16) !important;
}
body.theme-qing .equip-char-btn__avatar {
  background: #ddd3bd !important;
  border: 1px solid var(--q-line) !important;
}
body.theme-qing .equip-strip-arrow {
  background: var(--q-paper2) !important;
  border: 1px solid var(--q-line2) !important;
  color: var(--q-verm) !important;
  border-radius: 6px !important;
}

/* 输入 */
body.theme-qing input,
body.theme-qing select,
body.theme-qing textarea {
  background: #f0e9d8 !important;
  color: var(--q-ink) !important;
  border: 1px solid var(--q-line) !important;
  border-radius: 4px !important;
}
body.theme-qing input::placeholder { color: var(--q-ink3) !important; }

/* 弹窗 / Toast */
body.theme-qing .modal-overlay { background: rgba(60, 50, 32, .55) !important; }
body.theme-qing .modal {
  background: var(--q-paper2) !important;
  border: 1px solid var(--q-line2) !important;
  color: var(--q-ink) !important;
  box-shadow: 0 12px 30px rgba(60, 50, 32, .25) !important;
}
body.theme-qing .modal * { color: var(--q-ink) !important; }
body.theme-qing .modal .modal__title { color: var(--q-verm) !important; }
body.theme-qing .toast {
  background: #f0e9d8 !important;
  color: var(--q-ink) !important;
  border: 1px solid var(--q-line) !important;
  border-left: 3px solid var(--q-verm) !important;
}

/* 全局文字色（astral 用 --color-primary 把标题染成浅金，这里压回朱砂/墨色） */
body.theme-qing .text-gold { color: var(--q-verm) !important; }
body.theme-qing .text-muted { color: var(--q-ink3) !important; }
body.theme-qing [style*="color:#f0d9a1"] { color: var(--q-ink) !important; }
body.theme-qing [style*="color:#e8d5b0"] { color: var(--q-ink) !important; }
body.theme-qing [style*="color:#b9ad97"] { color: var(--q-ink3) !important; }
body.theme-qing [style*="color:#9b8f7a"] { color: var(--q-ink3) !important; }
body.theme-qing [style*="color:#8f8574"] { color: var(--q-ink3) !important; }

/* 内联颜色/浅白底的兜底 */
body.theme-qing [style*="color:#ffd700"],
body.theme-qing [style*="color: #ffd700"],
body.theme-qing [style*="color:#e8a930"],
body.theme-qing [style*="color:#f0c050"] { color: var(--q-verm) !important; }
body.theme-qing [style*="color:#9ba3b4"],
body.theme-qing [style*="color:#5c6573"] { color: var(--q-ink3) !important; }
body.theme-qing [style*="color:var(--text-gold)"] { color: var(--q-verm) !important; }
body.theme-qing [style*="color:var(--text-muted)"] { color: var(--q-ink3) !important; }
body.theme-qing [style*="background:rgba(255,255,255"],
body.theme-qing [style*="background: rgba(255,255,255"] {
  background: rgba(240, 233, 216, .78) !important;
  border-color: var(--q-line) !important;
}
body.theme-qing ::-webkit-scrollbar { width: 6px; height: 6px; }
body.theme-qing ::-webkit-scrollbar-thumb { background: #bfb39a !important; border-radius: 3px; }


/* ===== 分板块背景（同一套纸色，换纹理） ===== */
body.theme-qing #screen-main {
  background:
    radial-gradient(120% 70% at 50% 0%, #e0d8c5 0%, rgba(242,236,220,0) 60%),
    repeating-linear-gradient(0deg, rgba(130,95,50,.035) 0 2px, transparent 2px 9px),
    linear-gradient(180deg, #dcd3bf, #d6ccb6 60%, #cec3ac) !important;
}
body.theme-qing #screen-character {
  background:
    repeating-linear-gradient(90deg, rgba(102,112,89,.05) 0 1px, transparent 1px 34px),
    linear-gradient(180deg, #dcd3bf, #d6ccb6) !important;
}
body.theme-qing #screen-equipment {
  background:
    repeating-linear-gradient(0deg, rgba(130,95,50,.03) 0 2px, transparent 2px 10px),
    linear-gradient(180deg, #e1d7c1, #d4c9b1) !important;
}
body.theme-qing #screen-shop {
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(201,163,92,.16), transparent 70%),
    linear-gradient(180deg, #e3d8c1, #d7c9ae) !important;
}
body.theme-qing #screen-activity,
body.theme-qing #screen-summer,
body.theme-qing #screen-master,
body.theme-qing #screen-petegg,
body.theme-qing #screen-season {
  background:
    radial-gradient(70% 45% at 50% 0%, rgba(125,97,166,.14), transparent 72%),
    linear-gradient(180deg, #e0d7c2, #d4c8b0) !important;
}
body.theme-qing #screen-inventory,
body.theme-qing #screen-codex,
body.theme-qing #screen-box {
  background:
    radial-gradient(70% 45% at 50% 0%, rgba(74,127,168,.12), transparent 72%),
    linear-gradient(180deg, #e2d8c3, #d3c8b2) !important;
}
body.theme-qing #screen-battle,
body.theme-qing #screen-stage { background: transparent !important; }

/* 页面标题（astral-page-head） */
body.theme-qing .astral-page-title { color: #2b2721 !important; }
body.theme-qing .astral-page-sub { color: #7d7361 !important; }
body.theme-qing .astral-page-mark { color: #9c3a31 !important; border-color: #bfb39a !important; }

/* 武将卡 */
body.theme-qing .char-card {
  background: #e6ddc9 !important;
  border: 1px solid #bfb39a !important;
  color: #2b2721 !important;
  box-shadow: 0 4px 12px rgba(80,65,40,.10) !important;
}
body.theme-qing .char-card * { color: #2b2721 !important; }
body.theme-qing .char-card .text-gold,
body.theme-qing .char-card .char-card__power { color: #a8372a !important; }
body.theme-qing .char-card__name { color: #2b2721 !important; }
body.theme-qing .char-card__header,
body.theme-qing .char-card__footer { border-color: #bfb39a !important; background: transparent !important; }

/* 通用列表/面板 */
body.theme-qing .panel,
body.theme-qing .stat-row,
body.theme-qing .list-row,
body.theme-qing .item-row {
  background: #e6ddc9 !important;
  border-color: #bfb39a !important;
  color: #2b2721 !important;
}
body.theme-qing .stat-row .stat-label,
body.theme-qing .stat-row .stat-value { color: #2b2721 !important; }


/* 暗角：压低整体亮度，避免晃眼 */
body.theme-qing::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(120% 80% at 50% 45%, rgba(60,50,35,0) 52%, rgba(60,50,35,.22) 100%);
}
body.theme-qing .screen { z-index: 2; }


/* ===== 诗画页装饰（主界面 / 装备淬炼） ===== */
/* 主界面：远山 + 云雾 + 月亮 */
body.theme-qing #screen-main {
  background:
    radial-gradient(circle at 74% 16%, rgba(255,250,235,.85) 0 34px, rgba(255,250,235,0) 70px),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'><path d='M0,120 C40,86 70,100 100,74 C130,48 160,84 192,66 C224,48 250,84 286,66 C322,48 356,76 400,58 L400,200 L0,200 Z' fill='%23667059' opacity='.30'/><path d='M0,150 C46,124 78,136 110,114 C142,92 176,124 212,110 C248,96 284,124 320,110 C356,96 382,116 400,108 L400,200 L0,200 Z' fill='%237e9c9f' opacity='.26'/><path d='M0,178 C50,160 92,170 132,156 C172,142 210,164 252,152 C294,140 336,160 400,146 L400,200 L0,200 Z' fill='%234a4d42' opacity='.20'/></svg>") bottom center / 100% 46% no-repeat,
    linear-gradient(180deg, rgba(255,250,235,.55), rgba(255,250,235,0) 38%),
    linear-gradient(180deg, #ddd4c0, #d4c9b2 62%, #cbbfa6) !important;
}
/* 装备淬炼：剑影 + 磨刀光 */
body.theme-qing #screen-equipment {
  background:
    radial-gradient(circle at 86% 16%, rgba(156,58,49,.18) 0, rgba(156,58,49,0) 38%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 240'><path d='M70,10 L86,26 L40,170 L26,184 L18,172 L64,30 Z' fill='%238d8474' opacity='.35'/><path d='M40,170 L26,184' stroke='%235b5245' stroke-width='4'/><path d='M52,150 L64,162' stroke='%239c3a31' stroke-width='4' stroke-linecap='round'/></svg>") right 18px top 70px / 110px 220px no-repeat,
    linear-gradient(180deg, rgba(255,250,235,.5), rgba(255,250,235,0) 40%),
    linear-gradient(180deg, #ded5c1, #d3c8b0 60%, #c9bea4) !important;
}
/* 两页共用：竖排诗句 + 印章 */
body.theme-qing #screen-main::after,
body.theme-qing #screen-equipment::after {
  position: absolute; right: 8px; top: 108px; width: 64px; height: 190px;
  writing-mode: vertical-rl; text-orientation: upright;
  font-family: "Songti SC","STSong",serif; font-size: 11px; line-height: 1.9; letter-spacing: 3px;
  color: rgba(43,39,33,.55); white-space: pre;
  pointer-events: none; z-index: 0;
}
body.theme-qing #screen-main::after {
  content: "临江仙\A滚滚长江东逝水\A浪花淘尽英雄";
}
body.theme-qing #screen-equipment::after {
  content: "百炼成钢\A宝剑锋从磨砺出\A梅花香自苦寒来";
}
body.theme-qing #screen-main::before,
body.theme-qing #screen-equipment::before {
  content: "战"; position: absolute; right: 12px; top: 300px;
  width: 24px; height: 24px; line-height: 24px; text-align: center;
  font-family: "Songti SC",serif; font-size: 12px; color: #f4e8d2;
  background: #9c3a31; border: 1px solid #d0ae74; border-radius: 3px;
  transform: rotate(-6deg); pointer-events: none; z-index: 0;
}
body.theme-qing #screen-equipment::before { content: "炼"; }

/* 装备页卡片：卷轴感（双线 + 两侧轴头） */
body.theme-qing #screen-equipment .card {
  background-image:
    linear-gradient(90deg, #8d755b 0 3px, #6d5844 3px 5px, transparent 5px, transparent calc(100% - 5px), #6d5844 calc(100% - 5px), #8d755b calc(100% - 3px)),
    linear-gradient(180deg, rgba(255,250,235,.95), rgba(248,240,224,.9)) !important;
  border: 1px solid rgba(176,138,69,.55) !important;
  border-radius: 4px !important;
  box-shadow:
    inset 0 0 0 2px rgba(236,228,208,.9),
    0 5px 14px rgba(60,50,35,.16) !important;
}
/* 主界面卡片：更轻的卷轴边 */
body.theme-qing #screen-main .card {
  border: 1px solid rgba(176,138,69,.45) !important;
  border-radius: 4px !important;
  box-shadow: inset 0 0 0 2px rgba(240,233,216,.85), 0 5px 14px rgba(60,50,35,.14) !important;
}


/* 修正：诗句避让内容区、装备页去掉剑影避免遮挡 */
body.theme-qing #screen-main::after {
  top: auto; bottom: 150px; right: 8px; height: 150px;
}
body.theme-qing #screen-main::before { top: auto; bottom: 110px; right: 12px; }
body.theme-qing #screen-equipment::after {
  top: auto; bottom: 96px; right: 10px; height: 140px;
}
body.theme-qing #screen-equipment::before { top: auto; bottom: 58px; right: 12px; }
body.theme-qing #screen-equipment {
  background:
    radial-gradient(circle at 84% 12%, rgba(156,58,49,.10) 0, rgba(156,58,49,0) 34%),
    linear-gradient(180deg, rgba(255,250,235,.5), rgba(255,250,235,0) 40%),
    linear-gradient(180deg, #ded5c1, #d3c8b0 60%, #c9bea4) !important;
}


/* ===== 诗画贴图版：整首诗作为背景大字（低透明度、完整显示） ===== */
body.theme-qing #screen-main::before,
body.theme-qing #screen-equipment::before,
body.theme-qing #screen-character::before {
  content: ""; position: absolute; right: 4px; top: 84px; bottom: 60px; width: 96px;
  writing-mode: vertical-rl; text-orientation: upright;
  font-family: "Songti SC","STSong","KaiTi",serif;
  font-size: 30px; line-height: 1.22; letter-spacing: 2px;
  color: rgba(43,39,33,.085); white-space: pre; pointer-events: none; z-index: 0;
}
body.theme-qing #screen-main::before { content: "临江仙\A滚滚长江东逝水\A浪花淘尽英雄"; font-size: 26px; }
body.theme-qing #screen-equipment::before { content: "百炼成钢\A宝剑锋从磨砺出\A梅花香自苦寒来"; font-size: 24px; }
body.theme-qing #screen-character::before { content: "千军易得\A一将难求\A良将如良医"; font-size: 26px; }

/* 小印章（右下角，低调） */
body.theme-qing #screen-main::after,
body.theme-qing #screen-equipment::after,
body.theme-qing #screen-character::after {
  content: "战"; position: absolute; right: 10px; bottom: 72px; top: auto;
  width: 22px; height: 22px; line-height: 22px; text-align: center;
  font-family: "Songti SC",serif; font-size: 11px; color: rgba(244,232,210,.85);
  background: rgba(156,58,49,.75); border: 1px solid rgba(208,174,116,.7); border-radius: 3px;
  transform: rotate(-6deg); pointer-events: none; z-index: 0; writing-mode: horizontal-tb;
}
body.theme-qing #screen-equipment::after { content: "炼"; }
body.theme-qing #screen-character::after { content: "将"; }

/* 武将页：背景竹影 + 纸纹 */
body.theme-qing #screen-character {
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 400'><g stroke='%23667059' stroke-width='3' fill='none' stroke-linecap='round' opacity='.5'><path d='M50,0 L50,400'/><path d='M50,100 L54,102'/><path d='M50,210 L54,212'/><path d='M80,30 L80,400'/><path d='M50,130 C34,122 24,126 14,134'/><path d='M50,240 C34,232 24,236 14,244'/><path d='M80,170 C94,162 106,164 116,172'/></g></svg>") left -18px top 0 / 140px 420px no-repeat,
    linear-gradient(180deg, rgba(255,250,235,.45), rgba(255,250,235,0) 40%),
    linear-gradient(180deg, #ded5c1, #d3c8b0 60%, #c9bea4) !important;
}

/* 武将页：阵容区收紧 */
body.theme-qing .team-cols { display: flex; align-items: flex-start; justify-content: center; gap: 10px; padding: 4px 0 2px; }
body.theme-qing .team-col { display: flex; flex-direction: column; gap: 6px; }
body.theme-qing .team-col__label { font-size: 9px; color: #7d7361; text-align: center; letter-spacing: 1px; }
body.theme-qing .team-col__arrow { align-self: center; color: #b08a45; font-size: 14px; margin-top: 18px; }
body.theme-qing .team-slot-v2 {
  width: 112px; height: 64px; border-radius: 6px; padding: 5px 6px;
  background: rgba(255,250,235,.6) !important;
  border: 1px solid #bfb39a !important;
  display: flex; align-items: center; gap: 6px; position: relative;
  box-shadow: inset 0 0 0 2px rgba(240,233,216,.7);
}
body.theme-qing .team-slot-v2.filled { background: rgba(255,250,235,.9) !important; }
body.theme-qing .team-slot-v2__pos { position: absolute; top: 2px; right: 5px; font-size: 8px; color: #a2947a; }
body.theme-qing .team-slot-v2__ava {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-size: 15px; font-weight: 800; background: rgba(240,233,216,.9); border: 1px solid #cfc5ae; flex: 0 0 32px;
}
body.theme-qing .team-slot-v2__name { font-size: 10px; font-weight: 700; }
body.theme-qing .team-slot-v2__meta { font-size: 8px; color: #7d7361; }

/* 预设 / 助战 */
body.theme-qing .team-presets { display: flex; gap: 6px; justify-content: center; margin-top: 8px; }
body.theme-qing .team-preset { display: flex; align-items: center; gap: 3px; }
body.theme-qing .team-preset .btn { padding: 3px 6px !important; font-size: 9px !important; }
body.theme-qing .assist-row { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 8px; }
body.theme-qing .assist-slot {
  width: 72px; padding: 5px 4px; border-radius: 6px; text-align: center;
  background: rgba(255,250,235,.75) !important; border: 1px dashed #bfb39a !important;
}
body.theme-qing .assist-slot__pos { font-size: 8px; color: #a2947a; }
body.theme-qing .assist-slot__name { font-size: 10px; font-weight: 700; color: #2b2721; }
body.theme-qing .assist-slot__meta { font-size: 8px; color: #7d7361; }

/* 武将列表卡：信息不再挤 */

body.theme-qing .team-char-card {
  background: rgba(255,250,235,.9) !important;
  border: 1px solid #cfc5ae !important;
  border-radius: 8px !important;
  padding: 8px !important;
  display: flex; align-items: center; gap: 8px;
}
body.theme-qing .team-char-card__portrait { width: 42px !important; height: 42px !important; border-radius: 8px !important; flex: 0 0 42px; }
body.theme-qing .team-char-card__info { flex: 1; min-width: 0; }
body.theme-qing .team-char-card__title-row { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
body.theme-qing .team-char-card__name { font-size: 12px !important; color: #2b2721 !important; }
body.theme-qing .team-char-card__rarity { font-size: 8px !important; padding: 1px 4px !important; }
body.theme-qing .team-char-card__meta { font-size: 9px !important; color: #7d7361 !important; margin-top: 2px; }
body.theme-qing .team-char-card__stats { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 3px; }
body.theme-qing .team-char-card__stats span {
  font-size: 9px !important; color: #554c3e !important;
  background: rgba(240,233,216,.85); border: 1px solid #d3c8b0; border-radius: 4px; padding: 1px 4px;
}
body.theme-qing .team-char-card__actions { flex: 0 0 64px; display: flex; flex-direction: column; gap: 4px; }
body.theme-qing .team-char-card__actions .btn { padding: 3px 4px !important; font-size: 9px !important; }
