/* ============================================================
   Colonel 影视 —— 徽章工艺 v5「黑金石牌」
   ------------------------------------------------------------
   照参考图逐块复刻的铭牌工法:
     · 外廓 = 横向拉长的六边形,左右两端收成尖角,四角各带一道斜切
     · 包边 = 三层:最外一道细亮金线 → 中间古铜金厚边 → 内侧一道亮金细线
     · 牌面 = 近黑暖金属:顶面暖光 + 横向镜面带 + 拉丝纹理 + 底缘压暗
     · 文字 = 金色衬线立体字:深色外描边 + 亮金描边 + 金渐变面 + 下沉投影
     · 端头 = 半透明金色流线光弧(不是尖刺羽片)
     · 牌顶/牌底各一颗四角星芒
   宝石 / 头衔牌沿用同一套金属语言
   本文件在 acct2.css 之后加载,是徽章样式的唯一来源
   ============================================================ */

.qq-defs { position: absolute; left: -9999px; top: 0; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.qq-line { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; vertical-align: middle; max-width: 100%; min-width: 0; }

.qgi { display: block; flex-shrink: 0; width: 14px; height: 14px; overflow: visible; filter: drop-shadow(0 1px 1.4px rgba(0, 0, 0, .62)); }
.qqi { display: inline-block; flex-shrink: 0; width: 14px; height: 14px; vertical-align: -2px; }

/* ══════════════════════════════════════════════
   铭牌容器
   ══════════════════════════════════════════════ */
.qq-lv, .qq-vip, .qq-admin {
  --bh: 17px;                      /* 牌面净高 */
  --fs: calc(var(--bh) * .96);     /* 文字字号(参考图里字约占牌高六成) */
  --pad: 19px;                     /* 文字到尖端的水平内边距 */
  --wg: calc(var(--bh) * 2.2);     /* 单侧光弧绘制高度 */
  --glow: rgba(255, 198, 106, .34);
  --rr: max(2.9px, calc(var(--bh) * .21));          /* 单侧包边总厚 */
  --plateH: calc(var(--bh) + var(--rr) * 2);        /* 铭牌总高 */
  --rim1: calc(var(--rr) * .26);   /* 亮金外线厚 */
  --rim2: calc(var(--rr) * .56);   /* 内侧亮金线起点 */
  --hx: polygon(0% 50%, 6.8% 12%, 10.6% 0%, 89.4% 0%, 93.2% 12%, 100% 50%, 93.2% 88%, 89.4% 100%, 10.6% 100%, 6.8% 88%);
  --rim-a: #fffaea; --rim-b: #ffe6b4; --rim-c: #d9ad5e; --rim-d: #8a6224; --rim-e: #3a2607;
  --bez-a: #c8a058; --bez-b: #8d6329; --bez-c: #553a14; --bez-d: #271a06;
  --p1: #3a2717; --p2: #140d07; --p3: #241708;
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: calc(var(--bh) * 2.05); padding: 0 var(--pad); box-sizing: content-box;
  border: 0; border-radius: 0; background: none; overflow: visible;
  line-height: 1; white-space: nowrap; vertical-align: middle;
  filter: drop-shadow(0 2px 3.2px rgba(0, 0, 0, .84)) drop-shadow(0 0 7px var(--glow));
}
.qq-lv { --pad: 22px; --fs: calc(var(--bh) * 1.02); }
.qq-lv::before, .qq-vip::before, .qq-admin::before {
  content: ''; position: absolute; left: -10%; right: -10%; top: 50%;
  transform: translateY(-50%); height: calc(var(--plateH) * 2.1); z-index: 0;
  pointer-events: none;
  background: radial-gradient(56% 44% at 50% 50%, rgba(255, 200, 118, .26), rgba(255, 186, 92, .07) 60%, rgba(255, 186, 92, 0) 80%);
  filter: blur(4px);
}
.qq-vip { --pad: 19px; }
.qq-admin { --pad: 20px; --fs: calc(var(--bh) * .95); }

/* ── 端头:半透明金色流线光弧 ── */
.plq-wing {
  display: block; flex: 0 0 auto; width: auto; height: var(--wg);
  overflow: visible; position: relative; z-index: 0;
  filter: brightness(1.14) drop-shadow(0 0 4.6px rgba(255, 210, 130, .68)) drop-shadow(0 1px 2px rgba(0, 0, 0, .68));
}
.plq-wing.wl { margin-right: calc(var(--bh) * -.42); }
.plq-wing.wr { margin-left: calc(var(--bh) * -.42); transform: scaleX(-1); }

/* ── 牌顶星芒 ── */
.plq-spark {
  position: absolute; width: 8px; height: 8px; z-index: 7; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, #fff 0%, #fff2ce 34%, rgba(255, 202, 112, 0) 72%);
  clip-path: polygon(50% 0%, 57% 43%, 100% 50%, 57% 57%, 50% 100%, 43% 57%, 0% 50%, 43% 43%);
  animation: plqSparkle 4.4s ease-in-out infinite;
}
.plq-spark.sp-a { left: 50%; top: calc(50% - var(--plateH) / 2 - 5px); transform: translateX(-50%); }
.plq-spark.sp-b { left: 50%; bottom: calc(50% - var(--plateH) / 2 - 4.5px); transform: translateX(-50%) scale(.68); animation-delay: -2.2s; }


/* ── 第 1 层:最外一道亮金线(整个六边形填亮金) ── */
.plq-body {
  position: absolute; left: 0; right: 0; top: 50%; height: var(--plateH);
  transform: translateY(-50%); z-index: 1;
  clip-path: var(--hx);
  background: conic-gradient(from 0deg at 50% 50%,
      #ffffff   0deg,
      #fffaea  26deg,
      #ffedc2  62deg,
      #fff8e0  80deg,
      #fffdf4  90deg,
      #fff3d6 100deg,
      #f0cf8c 118deg,
      #d3ac60 140deg,
      #9a7228 180deg,
      #c39c4e 222deg,
      #f3d391 244deg,
      #fff6da 270deg,
      #fffdf4 280deg,
      #ffedc2 298deg,
      #ffffff 334deg,
      #ffffff 360deg);
  box-shadow: 0 0 8px rgba(255, 214, 140, .55);
}
/* ── 第 2 层:中间古铜金厚边 ── */
.plq-body::before {
  content: ''; position: absolute; inset: var(--rim1);
  clip-path: var(--hx);
  background:
    linear-gradient(180deg, rgba(255,246,220,.34) 0%, rgba(255,246,220,0) 30%),
    conic-gradient(from 0deg at 50% 50%,
      var(--bez-a)   0deg,
      #a8803c       34deg,
      #cfa855       74deg,
      #dcb96a       90deg,
      #c49c4c      106deg,
      #8f6828      146deg,
      var(--bez-c) 180deg,
      #7a561f      214deg,
      #b8903f      254deg,
      #d9b967      270deg,
      #c9a252      286deg,
      #a07a34      326deg,
      var(--bez-a) 360deg);
}
/* ── 第 3 层:内侧一道亮金细线 ── */
.plq-body::after {
  content: ''; position: absolute; inset: var(--rim2);
  clip-path: var(--hx);
  background:
    linear-gradient(180deg, #fffdf2 0%, #fff0c8 20%, #eecb8c 44%, #cf9f4c 66%, #8a6420 88%, #5a3f12 100%);
  box-shadow: 0 0 5px rgba(255, 220, 152, .55);
}
/* ── 第 4 层:牌面(近黑暖金属) ── */
.plq-glass {
  position: absolute; inset: var(--rr); z-index: 2; pointer-events: none;
  clip-path: var(--hx);
  background:
    linear-gradient(180deg, rgba(255,224,172,.30) 0%, rgba(255,214,160,0) 22%),
    linear-gradient(180deg, rgba(255,255,255,0) 24%, rgba(255,238,202,.15) 34%, rgba(255,253,244,.26) 40%, rgba(255,238,202,.08) 47%, rgba(255,255,255,0) 60%),
    conic-gradient(from 0deg at 50% 50%,
      rgba(255,196,116,.20)   0deg,
      rgba(255,196,116,.03)  48deg,
      rgba(255,214,150,.20)  90deg,
      rgba(255,196,116,.03) 132deg,
      rgba(180,120,50,.06)  180deg,
      rgba(255,196,116,.04) 228deg,
      rgba(255,214,150,.20) 270deg,
      rgba(255,196,116,.04) 312deg,
      rgba(255,196,116,.20) 360deg),
    radial-gradient(115% 190% at 50% 46%, rgba(88,58,28,.5) 0%, rgba(0,0,0,0) 64%),
    linear-gradient(180deg, var(--p1) 0%, #1a1109 22%, var(--p2) 56%, #150d07 80%, var(--p3) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 190, .46),
    inset 0 -1.4px 2.2px rgba(0, 0, 0, .95),
    inset 3px 0 4px -1.5px rgba(0, 0, 0, .86),
    inset -3px 0 4px -1.5px rgba(0, 0, 0, .86),
    inset 0 0 18px rgba(0, 0, 0, .6);
}
/* 拉丝纹理 */
.plq-glass::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg,
    rgba(255, 228, 178, .022) 0 .5px, rgba(0, 0, 0, .10) .5px 1px, rgba(255, 228, 178, .006) 1px 1.5px);
  opacity: .5;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.35) 0%, #000 40%, #000 62%, rgba(0,0,0,.4) 100%);
}
/* ── 第 5 层:横向镜面带 + 顶面高光 + 底缘压暗 ── */
.plq-frame {
  position: absolute; inset: var(--rr); z-index: 3; pointer-events: none;
  clip-path: var(--hx);
  background:
    linear-gradient(180deg, rgba(255,255,255,0) 22%, rgba(255,240,208,.13) 33%, rgba(255,253,244,.24) 40%, rgba(255,240,208,.07) 48%, rgba(255,255,255,0) 62%),
    linear-gradient(180deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 16%),
    linear-gradient(0deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,0) 44%);
}
/* 顶部镜面亮线 */
.plq-rim {
  position: absolute; left: 11%; right: 11%; top: var(--rim2); height: .9px; z-index: 4;
  pointer-events: none; border-radius: 1px;
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%, #ffffff 18%, #fff3d2 50%, #ffffff 82%, rgba(255,255,255,0) 100%);
  box-shadow: 0 0 3px rgba(255, 226, 168, .4);
}
/* 底部厚度棱 */
.plq-trim {
  position: absolute; left: 12%; right: 12%; bottom: calc(50% - var(--plateH) / 2); height: 1.1px; z-index: 4;
  border-radius: 1px; pointer-events: none;
  background: linear-gradient(180deg, #fff8dc 0%, #f0cd74 42%, #a9781d 78%, #3f2a04 100%);
  box-shadow: 0 0 5px rgba(255, 202, 104, .48), inset 0 .5px 0 rgba(255, 255, 255, .88);
}
/* 反光扫过 */
.plq-sweep { position: absolute; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; }
.plq-sweep::before {
  content: ''; position: absolute; top: 8%; bottom: 8%; left: -40%; width: 24%;
  background: linear-gradient(100deg,
    rgba(255, 244, 214, 0) 0%, rgba(255, 244, 214, .26) 44%,
    rgba(255, 250, 232, .58) 50%, rgba(255, 244, 214, .26) 56%, rgba(255, 244, 214, 0) 100%);
  transform: translateX(-60%) skewX(-18deg);
  animation: plqSweep 5.6s cubic-bezier(.36, .05, .3, 1) infinite;
}
@keyframes plqSweep { 0% { left: -40%; } 30% { left: 122%; } 100% { left: 122%; } }

/* 光弧极轻的呼吸 */
.plq-wing { animation: plqWing 6.4s ease-in-out infinite; }
@keyframes plqWing {
  0%, 100% { filter: drop-shadow(0 0 3.4px rgba(255, 206, 122, .52)) drop-shadow(0 1px 2px rgba(0, 0, 0, .7)); }
  50%      { filter: drop-shadow(0 0 5.6px rgba(255, 220, 150, .74)) drop-shadow(0 1px 2px rgba(0, 0, 0, .7)); }
}
@keyframes plqSparkle {
  0%, 100% { opacity: .45; transform: translateX(-50%) scale(.82); }
  50%      { opacity: 1; transform: translateX(-50%) scale(1.12); }
}
.plq-spark.sp-b { animation-name: plqSparkleB; }

@keyframes plqSparkleB {
  0%, 100% { opacity: .32; transform: translateX(-50%) scale(.54); }
  50%      { opacity: .95; transform: translateX(-50%) scale(.82); }
}


/* ── 牌内内容 ── */
.plq-in {
  position: relative; z-index: 6;
  display: inline-flex; align-items: center; gap: 4px;
  font-size: var(--fs); font-weight: 900; letter-spacing: .03em; white-space: nowrap;
  line-height: 1;
}
.plq-in .qgi { filter: drop-shadow(0 1.2px 1.4px rgba(0, 0, 0, .88)); }
.plq-in .i-dia { margin-right: 1px; }
/* 「年费」小金牌 */
.plq-in em {
  font-style: normal; font-size: calc(var(--fs) * .46); font-weight: 800; letter-spacing: .09em;
  padding: .2em .5em; line-height: 1; border-radius: 2px;
  color: #ffeec4;
  background: linear-gradient(180deg, #6a4a10 0%, #3a2705 44%, #170f01 100%);
  box-shadow:
    inset 0 0 0 .8px rgba(255, 214, 130, .7),
    inset 0 1px 0 rgba(255, 236, 190, .5),
    0 .6px 1.4px rgba(0, 0, 0, .6);
  text-shadow: 0 1px 1px rgba(0, 0, 0, .75);
}
/* 「至 2099」小金牌 */
.plq-in u {
  text-decoration: none; font-style: normal;
  font-size: calc(var(--fs) * .43); font-weight: 800; letter-spacing: .04em;
  padding: .24em .48em; line-height: 1; border-radius: 2px;
  color: #fff3cd;
  background: linear-gradient(180deg, #3d2a06 0%, #241803 50%, #120b01 100%);
  box-shadow:
    inset 0 0 0 .8px rgba(255, 210, 122, .62),
    inset 0 1px 0 rgba(255, 234, 184, .42),
    0 .6px 1.4px rgba(0, 0, 0, .6);
  text-shadow: 0 1px 1px rgba(0, 0, 0, .75);
}

/* ── 金色衬线立体字 ── */
.ql {
  position: relative; display: inline-block; line-height: 1;
  font-family: Georgia, 'Times New Roman', 'Songti SC', 'SimSun', 'Noto Serif CJK SC', 'Noto Serif SC', 'Source Han Serif SC', 'Liberation Serif', 'DejaVu Serif', serif;
  font-size: var(--fs); font-weight: 600; letter-spacing: .09em;
  filter: drop-shadow(0 1.2px 0 rgba(46, 25, 3, .9)) drop-shadow(0 2.6px 2px rgba(0, 0, 0, .92));
}
.ql > b {
  position: absolute; left: 0; top: 0; display: block; white-space: nowrap;
  font: inherit; font-weight: inherit; letter-spacing: inherit;
}
.ql > b.qfill { position: relative; }
.ql .qo {
  color: transparent; -webkit-text-stroke: .13em rgba(26, 12, 2, .95);
  transform: translate(0, .062em);
}
.ql .qw {
  color: transparent; -webkit-text-stroke: .048em rgba(255, 249, 230, .88);
  transform: translate(0, -.036em);
}
.ql .qfill {
  color: #ffe9b8; -webkit-text-fill-color: transparent;
  -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(180deg,
    #fffeef 0%, #fff3cc 9%, #f8dc8f 24%, #d5a63e 42%, #b2811f 51%, #e6c06c 64%, #fff9e0 80%, #f6e2ad 92%, #d9b566 100%);
}
/* 各档文字都走金色,只微调冷暖 */
.ql.tone-ice .qfill {
  background-image: linear-gradient(180deg,
    #fffdf6 0%, #fff3d4 16%, #f6dda0 34%, #dfb463 50%, #fbeac0 66%, #fffdf6 84%, #f4e0b0 100%);
}
.ql.tone-rose .qfill {
  background-image: linear-gradient(180deg,
    #fffaf2 0%, #ffeccb 16%, #f7cf94 34%, #dda55f 50%, #fce6bb 66%, #fff9ee 84%, #f4d9a8 100%);
}
.ql.tone-gold .qfill {
  background-image: linear-gradient(180deg,
    #fffeef 0%, #fff3cc 9%, #f8dc8f 24%, #d5a63e 42%, #b2811f 51%, #e6c06c 64%, #fff9e0 80%, #f6e2ad 92%, #d9b566 100%);
}
.ql.tone-violet .qfill {
  background-image: linear-gradient(180deg,
    #fdf9ff 0%, #f4e4ff 16%, #e0c2f2 34%, #b98fd8 50%, #efdcff 66%, #fdf9ff 84%, #e3cbf2 100%);
}
.ql.tone-jade .qfill {
  background-image: linear-gradient(180deg,
    #fafff4 0%, #ecfadd 16%, #cfeab0 34%, #a3c97c 50%, #e6f7d4 66%, #fafff4 84%, #d3eeb8 100%);
}

/* ── 各档牌面配色(牌面 p1/p2/p3 + 外发光) ── */
.plq-body.tier-star, .plq-body.tier-moon, .plq-body.tier-sun, .plq-body.tier-vip {
  --p1: #35301c; --p2: #131008; --p3: #221c0c; --glow: rgba(255, 206, 120, .32);
}
.plq-body.tier-crown {
  --p1: #481a29; --p2: #180610; --p3: #2c0812; --glow: rgba(255, 132, 96, .36);
}
.plq-body.tier-rose {
  --p1: #451c2c; --p2: #150510; --p3: #2a0816; --glow: rgba(255, 146, 118, .34);
}
.plq-body.tier-svip {
  --p1: #3a2757; --p2: #110a1f; --p3: #24133a; --glow: rgba(214, 168, 255, .36);
}
.plq-body.tier-year {
  --p1: #4a3410; --p2: #161004; --p3: #2c1f08; --glow: rgba(255, 216, 132, .38);
}
.plq-body.tier-admin, .plq-body.tier-adm {
  --p1: #4e1621; --p2: #1a040d; --p3: #300710; --glow: rgba(255, 128, 118, .36);
}

/* ── 到期小牌 ── */
.qq-vip + s, .qq-line > s, .qq-line .qq-r > s {
  text-decoration: none; font-style: normal;
  display: inline-flex; align-items: center;
  height: 18px; padding: 0 8px; border-radius: 3px;
  font-size: 10px; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
  color: #ffeec4;
  background:
    linear-gradient(180deg, rgba(255, 240, 200, .18), rgba(255, 240, 200, 0) 46%),
    linear-gradient(180deg, #3a2a0b 0%, #201605 52%, #0e0901 100%);
  box-shadow:
    inset 0 0 0 .8px rgba(255, 214, 130, .55),
    inset 0 1px 0 rgba(255, 236, 190, .34),
    0 1px 2px rgba(0, 0, 0, .6);
  text-shadow: 0 1px 1.2px rgba(0, 0, 0, .85);
}

/* ══════════════════════════════════════════════
   宝石槽(托座配色见下方「钻石」节)
   ══════════════════════════════════════════════ */
.qq-gem {
  position: relative; display: block; flex-shrink: 0; width: 16px; height: 16px;
  filter: drop-shadow(0 1px 1.4px rgba(0, 0, 0, .7));
  animation: gemBob 3.1s ease-in-out infinite; animation-delay: var(--d, 0s);
}
/* 宝石槽:凹槽 + 金属爪圈 */
.qq-gem::before {
  content: ''; position: absolute; inset: -2px; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, .1), rgba(0, 0, 0, .4) 62%, rgba(0, 0, 0, .74) 100%);
  box-shadow: 0 0 0 1px rgba(255, 218, 140, .22), inset 0 0 3px rgba(0, 0, 0, .6);
}
.qq-gem > svg {
  position: relative; z-index: 1; display: block; width: 100%; height: 100%; overflow: visible;
  animation: gemGlow 3.1s ease-in-out infinite; animation-delay: var(--d, 0s);
}
.qq-gem > .sheen {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; opacity: 0;
  mix-blend-mode: screen; border-radius: 50%; overflow: hidden;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .8) 50%, rgba(255, 255, 255, 0) 60%);
  animation: gemSweep 4.6s ease-in-out infinite; animation-delay: var(--d, 0s);
}

/* ══════════════════════════════════════════════
   头衔小牌:与铭牌同一套黑金工艺(两端收尖 + 金边 + 黑牌面)
   ══════════════════════════════════════════════ */
.qq-title {
  position: relative; overflow: visible;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10.5px; font-weight: 600; line-height: 1;
  height: 20px; padding: 0 12px; border-radius: 0;
  color: #ffeec4; letter-spacing: .1em; white-space: nowrap;
  font-family: Georgia, 'Times New Roman', 'Songti SC', 'SimSun', 'Noto Serif CJK SC', 'Noto Serif SC', 'Liberation Serif', serif;
  clip-path: polygon(0% 50%, 9% 0%, 91% 0%, 100% 50%, 91% 100%, 9% 100%);
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 38%),
    linear-gradient(180deg, #3a2717 0%, #170f08 50%, #241708 100%),
    linear-gradient(180deg, #fffdf2 0%, #ffe9bc 24%, #e0b869 56%, #9a7028 82%, #4a3208 100%);
  background-size: calc(100% - 3.4px) calc(100% - 3.4px), calc(100% - 3.4px) calc(100% - 3.4px), 100% 100%;
  background-position: center, center, center;
  background-repeat: no-repeat;
  text-shadow: 0 1.2px 1.3px rgba(0, 0, 0, .92), 0 0 .6px rgba(20, 10, 2, .9);
  box-shadow: 0 0 7px rgba(255, 196, 104, .3), 0 1.4px 2.4px rgba(0, 0, 0, .68);
}
.qq-title::after {
  content: ''; position: absolute; top: 1.4px; left: 12%; right: 12%; height: .7px;
  background: linear-gradient(90deg, rgba(255,255,255,0), #fff8e4 42%, rgba(255,255,255,0));
  opacity: .6; pointer-events: none;
}

/* ══════════════════════════════════════════════
   钻石:深色金属托座 + 独立宝石槽 + 切工宝石
   ══════════════════════════════════════════════ */
.qq-gems {
  display: inline-flex; align-items: center; gap: 2px; padding: 3.5px 6px; border-radius: 3px;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,0) 40%),
    linear-gradient(180deg, #33230f 0%, #170f07 52%, #221609 100%),
    linear-gradient(180deg, #fffdf2 0%, #ffe9bc 24%, #d6ad5e 56%, #8f6722 82%, #43300a 100%);
  background-size: calc(100% - 3px) calc(100% - 3px), calc(100% - 3px) calc(100% - 3px), 100% 100%;
  background-position: center, center, center;
  background-repeat: no-repeat;
  box-shadow:
    inset 0 .8px 0 rgba(255, 232, 180, .2),
    0 0 7px rgba(255, 196, 104, .22),
    0 1.4px 2.4px rgba(0, 0, 0, .6);
}
/* ══════════════════════════════════════════════
   动效
   ══════════════════════════════════════════════ */
@keyframes gemBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-1.1px); }
}
@keyframes gemGlow {
  0%, 100% { filter: drop-shadow(0 0 1.6px var(--glow, #fff)) brightness(1); }
  50%      { filter: drop-shadow(0 0 4.2px var(--glow, #fff)) brightness(1.22); }
}
@keyframes gemSweep {
  0%   { transform: translateX(-120%); opacity: 0; }
  10%  { opacity: .85; }
  42%  { transform: translateX(120%); opacity: 0; }
  100% { transform: translateX(120%); opacity: 0; }
}
@keyframes qqTitleSweep {
  0%   { left: -40%; }
  40%  { left: 120%; }
  100% { left: 120%; }
}

/* ══════════════════════════════════════════════
   放置位置:个人页 / 顶栏菜单 / 评论 / 后台
   ══════════════════════════════════════════════ */
.me-badges { margin: 12px 0 2px; padding-top: 12px; border-top: 1px solid var(--line); }
.me-badges .qq-line { gap: 12px 14px; padding: 4px 2px 2px; max-width: 100%; row-gap: 12px; justify-content: center; }
.me-badges .qq-lv, .me-badges .qq-vip, .me-badges .qq-admin, .me-badges .qq-title,
.me-badges .qq-gems, .me-badges .qq-vip + s { flex: 0 0 auto; }
.me-info { min-width: 0; }
.me-info h2 { gap: 0; margin-bottom: 5px; }

.um-menu .um-hd .um-bd .qq-line { gap: 4px; }
.um-menu .um-hd .um-bd .qq-lv, .um-menu .um-hd .um-bd .qq-vip, .um-menu .um-hd .um-bd .qq-admin {
  --bh: 13px; --fs: 15px; --pad: 14px; --wg: calc(var(--bh) * 2.1);
}
.um-menu .um-hd .um-bd .qq-gem { width: 11px; height: 11px; }
.um-menu .um-hd .um-bd .qq-gems { padding: 2px 4px; }

.adm td .qq-line { max-width: 280px; }
.adm td .qq-lv, .adm td .qq-vip, .adm td .qq-admin { --bh: 14px; --fs: 16px; --pad: 15px; --wg: calc(var(--bh) * 2.1); }

.cmt .qq-line { gap: 4px; }
.cmt .qq-lv, .cmt .qq-vip, .cmt .qq-admin { --bh: 13px; --fs: 15px; --pad: 14px; --wg: calc(var(--bh) * 2.1); }
.cmt .qq-gem { width: 12px; height: 12px; }
.cmt .qq-gems { padding: 2px 4px; }
.cmt .qq-vip + s, .cmt .qq-line .qq-r > s { display: none; }
.me-badges .qq-lv, .me-badges .qq-vip, .me-badges .qq-admin { --bh: 19px; --fs: 23px; --pad: 23px; --wg: calc(var(--bh) * 2.2); }

/* ── 等级详情卡 ── */
.lv-card { margin-top: 16px; }
.lv-card .lv-badges { margin-left: auto; }
.lv-top { gap: 10px; }
.lv-name { display: inline-flex; align-items: baseline; gap: 7px; }
.lv-exp { font-size: 11px; color: var(--faint); }
.lv-exp b { color: var(--accent); font-size: 13px; }

/* ── 窄屏 ── */
@media (max-width: 520px) {
  .qq-lv, .qq-admin, .qq-vip { --bh: 15px; --fs: 17px; --pad: 16px; --wg: calc(var(--bh) * 2.1); }
  .me-badges .qq-lv, .me-badges .qq-vip, .me-badges .qq-admin { --bh: 17px; --fs: 20px; --pad: 20px; --wg: calc(var(--bh) * 2.1); }
  .plq-in .qgi { width: 12px; height: 12px; }
  .qq-vip + s, .qq-line > s, .qq-line .qq-r > s { height: 16px; font-size: 9px; padding: 0 6px; }
  .qq-gem { width: 15px; height: 15px; }
  .qq-gems { gap: 1px; padding: 2.5px 5px; }
  .qq-title { font-size: 9.5px; height: 16px; padding: 0 8px; }
  .me-badges .qq-line { gap: 10px 10px; justify-content: center; }
}

/* ── 减少动态效果 ── */
@media (prefers-reduced-motion: reduce) {
  .plq-sweep::before, .qq-gem, .qq-gem > svg, .qq-gem > .sheen,
  .qq-title::after, .plq-wing, .plq-spark { animation: none !important; }
  .plq-sweep { opacity: 0 !important; }
  .qq-gem > .sheen { opacity: 0 !important; }
  .plq-spark { opacity: .7 !important; }
}
