/* 兽王之路：像素风界面。舞台是 480×270 的逻辑画面，所有尺寸都按逻辑像素写（正文 8px、标题 10~12px），
   整块舞台用 CSS zoom（不支持时退回 transform）放大，文字由浏览器按放大后的字号渲染，画布关闭平滑保持像素颗粒。
   手机防闪屏：去点击高亮、禁用双击缩放；悬停效果只写在鼠标设备的媒体查询里；不给大量元素常驻 will-change / filter。 */

/* ================= 页面框架 ================= */
body.beast-page { background: radial-gradient(circle at 50% 0, #2a1f52 0, #140f2a 55%, #0b0820 100%) fixed; }
.beast-page .fun-clouds { display: none; }
.beast-page .fun-title img { width: 40px; height: 40px; image-rendering: pixelated; }
.beast-main { width: min(100% - 12px, 1960px); padding: 10px 0 8px; }
.beast-main .login-panel { margin-bottom: 12px; }
.bw-fs {
  flex: none; padding: 6px 12px; color: #3a2400; font: 800 13px/1 var(--font-body); background: linear-gradient(180deg, #ffe066, #ffb238);
  border: 0; border-radius: 999px; box-shadow: 0 3px 0 #c9771b; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
@media (max-width: 560px) { .bw-fs { display: none; } }
.bw-rotate { display: none; margin: 0 0 8px; color: #ffd257; font-size: 14px; font-weight: 800; text-align: center; }
@media (orientation: portrait) and (pointer: coarse) { .bw-rotate { display: block; } }
.bw-noscript { color: #ffd257; text-align: center; }
.bw-wrap { position: relative; display: flex; justify-content: center; width: 100%; }
.bw-wrap:fullscreen { align-items: center; background: #050310; }
.bw-wrap:-webkit-full-screen { align-items: center; background: #050310; }

/* ================= 舞台 ================= */
.bw-stage {
  position: relative; flex: none; width: 480px; height: 270px; overflow: hidden; background: #120e24; transform-origin: 50% 0;
  color: #f4ead2; font: 8px/1.25 "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  text-shadow: 0 1px 0 rgba(8, 5, 26, .95); -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; -webkit-text-size-adjust: none; text-size-adjust: none;
  box-shadow: 0 0 0 1px #07051a; scrollbar-width: thin; scrollbar-color: #5a4ea8 transparent;
}
.bw-stage *, .bw-stage *::before, .bw-stage *::after { -webkit-tap-highlight-color: transparent; }
.bw-stage ::-webkit-scrollbar { width: 4px; height: 4px; }
.bw-stage ::-webkit-scrollbar-thumb { background: #5a4ea8; }
.bw-stage p { margin: 0; }
.bw-cv { position: absolute; left: 0; top: 0; width: 480px; height: 270px; image-rendering: crisp-edges; image-rendering: pixelated; }
.bw-ui, .bw-fx, .bw-flashes, .bw-pops { position: absolute; left: 0; top: 0; width: 480px; height: 270px; }
.bw-ui { z-index: 1; }
.bw-fx { z-index: 2; pointer-events: none; }
.bw-flashes { z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 3px; height: auto; top: 24px; pointer-events: none; }
.bw-pops { z-index: 4; pointer-events: none; }
.bw-pops > * { pointer-events: auto; }
.bw-scene { position: absolute; left: 0; top: 0; width: 480px; height: 270px; }
.bw-pc, .bw-thumb, .bw-stage img.px { display: block; image-rendering: crisp-edges; image-rendering: pixelated; }

/* 载入 */
.bw-load { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: #140f2a; }
.bw-load b { font-size: 16px; letter-spacing: 2px; }
.bw-loadbar { width: 160px; height: 5px; background: #2a2350; box-shadow: 0 0 0 1px #07051a; }
.bw-loadbar i { display: block; width: 0; height: 100%; background: #ffd257; transition: width .2s; }

/* ================= 文字颜色（不用灰字） ================= */
.c-gold { color: #ffd257; } .c-cream { color: #f4ead2; } .c-cyan { color: #7fe3ff; } .c-red { color: #ff6b5a; }
.c-green { color: #6ee07a; } .c-purple { color: #c9a2ff; }
.bw-stage .dim { opacity: .82; }
.bw-stage .small { font-size: 8px; }
.t-common { color: #e6e9ef; } .t-uncommon { color: #6ee07a; } .t-rare { color: #5ab0ff; } .t-epic { color: #c27bff; } .t-legend { color: #ffcc4d; }
.tt-c { color: #e6e9ef; } .tt-r { color: #5ab0ff; } .tt-l { color: #ffcc4d; }
.se0, .e0 { color: #d49a4a; } .se1, .e1 { color: #4aa3ff; } .se2, .e2 { color: #ff5a3c; } .se3, .e3 { color: #4fd66b; }

/* ================= 面板与按钮 ================= */
.bw-panel {
  background: rgba(28, 22, 58, .95); border-radius: 2px;
  box-shadow: 0 0 0 1px #06041a, inset 0 0 0 1px #b8acff, inset 0 0 0 2px #5a4ea8;
}
.bw-btn {
  --b1: #a592f2; --b2: #5c48b8; --lip: #2e2272;
  display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 2px; height: 16px; margin: 0; padding: 0 7px;
  color: #fff; font: inherit; font-size: 8px; font-weight: bold; line-height: 1; white-space: nowrap; text-shadow: 0 1px 0 rgba(0, 0, 0, .38);
  background: var(--gx-gloss), linear-gradient(180deg, var(--b1), var(--b2)); border: 0; border-radius: 6px; cursor: pointer;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 0 0 1px rgba(6, 4, 26, .85), 0 2px 0 var(--lip), 0 3px 3px rgba(6, 4, 26, .45);
}
.bw-btn:active:not(:disabled) { transform: translateY(1px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 0 0 1px rgba(6, 4, 26, .85), 0 1px 0 var(--lip); }
.bw-btn:disabled { opacity: .5; cursor: default; }
.bw-btn:focus-visible { outline: 1px solid #ffd257; outline-offset: 2px; }
.bw-btn.gold { --b1: #ffe680; --b2: #f2a01e; --lip: #a85e08; color: #4a2800; text-shadow: 0 1px 0 rgba(255, 255, 255, .45); }
.bw-btn.blue { --b1: #8cc8ff; --b2: #2f78de; --lip: #173e8a; }
.bw-btn.red { --b1: #ff9c8e; --b2: #dc3c4a; --lip: #7e1424; }
.bw-btn.green { --b1: #90eaa0; --b2: #32a456; --lip: #135a2e; }
.bw-btn.purple { --b1: #c8a4ff; --b2: #7c42d4; --lip: #3c1c84; }
.bw-btn.ghost {
  color: #f4ead2; background: var(--gx-gloss), linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 0 0 1px rgba(6, 4, 26, .85), 0 2px 0 rgba(6, 4, 26, .7), 0 3px 3px rgba(6, 4, 26, .35);
}
.bw-btn.on { --b1: #fffbe0; --b2: #ffd257; --lip: #b07808; color: #4a2800; text-shadow: none; box-shadow: inset 0 0 0 1px #fff, 0 0 0 1px rgba(6, 4, 26, .85), 0 2px 0 var(--lip), 0 0 5px rgba(255, 210, 87, .55); }
.bw-btn.sm { height: 13px; padding: 0 5px; border-radius: 5px; }
.bw-btn.big { height: 22px; padding: 0 14px; font-size: 10px; border-radius: 9px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6), 0 0 0 1px rgba(6, 4, 26, .85), 0 3px 0 var(--lip), 0 4px 5px rgba(6, 4, 26, .5); }
.bw-btn.big.gold, .bw-btn.big.red, .bw-btn.big.green, .bw-btn.big.purple, .bw-btn.big.blue { background: var(--gx-stripe), var(--gx-gloss), linear-gradient(180deg, var(--b1), var(--b2)); }
.bw-btn small { margin-left: 3px; font-size: 7px; opacity: .92; }
.bw-btn.big small { margin-left: 4px; font-size: 8px; opacity: .9; }
.bw-btn.locked { opacity: .6; }
.bw-btn.pulse { animation: bw-pulse 1.2s ease-in-out infinite; }
@keyframes bw-pulse { 50% { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 0 0 1px rgba(6, 4, 26, .85), 0 2px 0 var(--lip), 0 0 7px 2px #ffd257; } }
.bw-x { width: 15px; height: 15px; padding: 0; border-radius: 50%; }
@media (hover: hover) and (pointer: fine) {
  .bw-btn:hover:not(:disabled) { filter: brightness(1.08); }
}

/* 图标：16×16 格子（x2 为 32×32 放大） */
.bw-ic {
  display: inline-block; flex: none; width: 16px; height: 16px; vertical-align: middle; background-image: var(--bw-icons);
  background-position: var(--ix, 0) var(--iy, 0); background-repeat: no-repeat; image-rendering: crisp-edges; image-rendering: pixelated;
}
.bw-ic.x2 { width: 32px; height: 32px; background-size: 256px 192px; background-position: calc(var(--ix, 0px) * 2) calc(var(--iy, 0px) * 2); }
.bw-ic.none { background: none; }

/* 档次徽章：C 白、B 绿、A 蓝、S 紫、满档金色闪烁 */
.bw-grade { display: inline-block; min-width: 9px; height: 9px; padding: 0 1px; color: #120c26; font-size: 8px; line-height: 9px; text-align: center; text-shadow: none; }
.g-C { background: #e6e9ef; } .g-B { background: #6ee07a; } .g-A { background: #5ab0ff; } .g-S { background: #c27bff; }
.g-M { background: linear-gradient(90deg, #ffb238, #fff1a8, #ffb238); background-size: 200% 100%; animation: bw-gold 1.2s linear infinite; }
@keyframes bw-gold { to { background-position: -200% 0; } }
.bw-rb { color: #7fe3ff; font-size: 8px; }
.bw-rb.rb2 { color: #ffd257; }
.bw-pname { font-weight: bold; white-space: nowrap; }
.bw-pname.shiny, .bt-ul .n.shiny {
  color: #fff6a0; background: linear-gradient(90deg, #ff6b9a, #ffd257, #6ee07a, #5ab0ff, #c27bff, #ff6b9a); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; animation: bw-rainbow 2.4s linear infinite;
}
@keyframes bw-rainbow { to { background-position: -300% 0; } }

/* 异色宠物的闪光星星 */
.bw-shiny { position: relative; display: inline-block; flex: none; }
.bw-shiny .tw { position: absolute; color: #fff6a0; font-size: 8px; font-style: normal; line-height: 1; text-shadow: 0 0 2px #ffd257; opacity: 0; animation: bw-tw 1.6s steps(5) infinite; }
.bw-shiny .t1 { left: 1px; top: 0; }
.bw-shiny .t2 { right: 0; top: 35%; animation-delay: .55s; }
.bw-shiny .t3 { left: 35%; bottom: 8%; animation-delay: 1.05s; }
@keyframes bw-tw { 0%, 100% { opacity: 0; transform: scale(.4); } 45% { opacity: 1; transform: scale(1); } 70% { opacity: .6; } }

/* 条 */
.bw-hp { display: inline-block; flex: none; width: 40px; height: 3px; background: #1a1030; box-shadow: 0 0 0 1px #07051a; }
.bw-hp i { display: block; height: 100%; transition: width .25s; }
.bw-hp i.hi { background: #6ee07a; } .bw-hp i.mid { background: #ffd257; } .bw-hp i.lo { background: #ff6b5a; }
.bw-exp { display: inline-block; flex: 1 1 auto; min-width: 30px; height: 3px; background: #1a1030; box-shadow: 0 0 0 1px #07051a; }
.bw-exp i { display: block; width: 0; height: 100%; background: #7fe3ff; transition: width .45s; }
.bw-exp i.snap { transition: none; }
.bw-elbar { display: flex; flex: none; height: 4px; overflow: hidden; background: #1a1030; box-shadow: 0 0 0 1px #07051a; }
.bw-elbar i { display: block; flex: 1 1 0; }
.bw-elbar .e0 { background: #d49a4a; } .bw-elbar .e1 { background: #4aa3ff; } .bw-elbar .e2 { background: #ff5a3c; } .bw-elbar .e3 { background: #4fd66b; }
.bw-elbar .e-none { background: #8a82b8; }
.bw-eltags { display: inline-flex; gap: 2px; }
.bw-eltag { padding: 0 2px; color: #120c26; font-size: 8px; text-shadow: none; }
.bw-eltag.e0 { background: #d49a4a; } .bw-eltag.e1 { background: #4aa3ff; } .bw-eltag.e2 { background: #ff5a3c; } .bw-eltag.e3 { background: #4fd66b; }
.bw-eltag.en { background: #8a82b8; }
.bw-stats { display: grid; gap: 1px; }
.bw-statrow { display: grid; grid-template-columns: 9px 1fr 18px; align-items: center; gap: 2px; }
.bw-statrow .bar { height: 3px; background: #1a1030; }
.bw-statrow .bar i { display: block; height: 100%; }
.bw-statrow .bar i.c-green { background: #6ee07a; } .bw-statrow .bar i.c-red { background: #ff6b5a; }
.bw-statrow .bar i.c-cyan { background: #7fe3ff; } .bw-statrow .bar i.c-gold { background: #ffd257; }
.bw-statrow .v { text-align: right; }

/* 技能小卡 */
.bw-skill {
  display: inline-flex; align-items: center; gap: 2px; max-width: 100%; height: 16px; padding: 0 3px 0 0; overflow: hidden; white-space: nowrap;
  background: rgba(0, 0, 0, .32); box-shadow: inset 0 0 0 1px var(--sc, rgba(244, 234, 210, .35));
}
.bw-skill.se0 { --sc: #d49a4a; } .bw-skill.se1 { --sc: #4aa3ff; } .bw-skill.se2 { --sc: #ff5a3c; } .bw-skill.se3 { --sc: #4fd66b; }
.bw-skill .nm { overflow: hidden; text-overflow: clip; }

/* 宠物卡（属性色描边 + 淡光） */
.bw-pcard {
  position: relative; display: flex; flex-direction: column; gap: 2px; padding: 4px; overflow: hidden; color: #f4ead2; font: inherit; text-align: left;
  background: rgba(28, 22, 58, .95); border: 0; border-radius: 2px; box-shadow: 0 0 0 1px #06041a, inset 0 0 0 1px var(--pc, #8c7fe0);
}
.bw-pcard.pe0 { --pc: #d49a4a; background: linear-gradient(180deg, rgba(212, 154, 74, .28), rgba(28, 22, 58, .95) 46%); }
.bw-pcard.pe1 { --pc: #4aa3ff; background: linear-gradient(180deg, rgba(74, 163, 255, .28), rgba(28, 22, 58, .95) 46%); }
.bw-pcard.pe2 { --pc: #ff5a3c; background: linear-gradient(180deg, rgba(255, 90, 60, .28), rgba(28, 22, 58, .95) 46%); }
.bw-pcard.pe3 { --pc: #4fd66b; background: linear-gradient(180deg, rgba(79, 214, 107, .28), rgba(28, 22, 58, .95) 46%); }
.bw-pcard .art { position: relative; display: flex; align-items: flex-end; justify-content: center; }
.bw-pcard .sparkle { position: absolute; right: 1px; top: 1px; padding: 0 2px; color: #120c26; font-size: 8px; text-shadow: none; background: #fff6a0; }
.bw-pcard .head { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; }
.bw-pcard .head .bw-pname { font-size: 9px; }
.bw-pcard .sub { display: flex; flex-wrap: wrap; gap: 4px; }
.bw-pcard .skills { display: flex; flex-direction: column; gap: 1px; }
.bw-pcard .statline { display: flex; flex-wrap: wrap; gap: 1px 5px; }
.bw-pcard .ribbon { position: absolute; left: 2px; top: 2px; padding: 0 3px; color: #fff; background: #2f9a52; }
button.bw-pcard { cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button.bw-pcard.on { box-shadow: 0 0 0 1px #06041a, inset 0 0 0 2px #ffd257; }
@media (hover: hover) and (pointer: fine) { button.bw-pcard:hover { box-shadow: 0 0 0 1px #06041a, inset 0 0 0 1px #fff1c8; } }

/* 道具 / 图腾格 */
.bw-cell { position: relative; display: inline-grid; flex: none; place-items: center; width: 18px; height: 18px; background: rgba(0, 0, 0, .38); box-shadow: inset 0 0 0 1px rgba(244, 234, 210, .2); }
.bw-cell.click { cursor: pointer; }
.bw-cell .n { position: absolute; right: 0; bottom: -1px; color: #fff; font-size: 7px; }
.bw-cell.tt-r { box-shadow: inset 0 0 0 1px #5ab0ff; } .bw-cell.tt-l { box-shadow: inset 0 0 0 1px #ffcc4d; background: rgba(255, 204, 77, .14); }
.bw-res { display: inline-flex; flex: none; align-items: center; gap: 2px; height: 15px; padding: 0 6px 0 1px; background: linear-gradient(180deg, rgba(70, 56, 120, .95), rgba(18, 12, 40, .95)); border-radius: 8px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 0 0 1px rgba(6, 4, 26, .85); }
.bw-res b { font-size: 9px; }

/* ================= 弹窗、横条提示、飘字 ================= */
.bw-pop { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(6, 4, 20, .62); }
.bw-pop-card { display: flex; flex-direction: column; min-width: 180px; max-width: 320px; max-height: 254px; padding: 6px; animation: bw-pop .18s ease-out; }
.bw-pop-card.wide { max-width: 420px; }
.bw-pop-card.tall { max-height: 262px; }
.bw-pop-card.full { width: 468px; max-width: 468px; height: 262px; max-height: 262px; }
@keyframes bw-pop { from { opacity: 0; } }
.bw-pop-title { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 4px; }
.bw-pop-title b { font-size: 10px; }
.bw-pop-body { flex: 1 1 auto; min-height: 0; overflow: auto; }
.bw-pop-body > p { line-height: 1.45; }
.bw-pop-acts { display: flex; justify-content: flex-end; gap: 5px; margin-top: 5px; }
.bw-flash {
  padding: 3px 10px; color: #f4ead2; font-size: 10px; white-space: nowrap; background: rgba(20, 14, 48, .92);
  box-shadow: 0 0 0 1px #07051a, inset 0 0 0 1px #7a6dd0; animation: bw-fin .25s ease-out; transition: opacity .3s;
}
.bw-flash.warn { color: #ff8a7a; } .bw-flash.info { color: #7fe3ff; }
.bw-flash.win { padding: 4px 28px; color: #ffd257; font-size: 18px; letter-spacing: 4px; box-shadow: 0 0 0 1px #07051a, inset 0 0 0 1px #ffd257; }
.bw-flash.lose { padding: 4px 24px; color: #ff6b5a; font-size: 15px; letter-spacing: 3px; }
.bw-flash.boss { color: #ffb08a; font-size: 11px; box-shadow: 0 0 0 1px #07051a, inset 0 0 0 1px #ff5a3c; }
.bw-flash.out { opacity: 0; }
@keyframes bw-fin { from { opacity: 0; } }
.bw-float {
  position: absolute; z-index: 1; color: #f4ead2; font-size: 8px; font-weight: bold; white-space: nowrap; pointer-events: none;
  text-shadow: 1px 1px 0 #0b0820, -1px 0 0 #0b0820, 0 -1px 0 #0b0820; animation: bw-flt 1.1s ease-out forwards;
}
@keyframes bw-flt {
  0% { opacity: 0; transform: translate(-50%, 4px); }
  14% { opacity: 1; transform: translate(-50%, 0); }
  78% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -12px); }
}
.bw-float.crit { color: #ffd257; font-size: 11px; }
.bw-float.eff1 { color: #ffd257; } .bw-float.eff2 { color: #a8c8e8; } .bw-float.miss { color: #bfe9ff; }
.bw-float.skip { color: #ffe45a; } .bw-float.def, .bw-float.shd { color: #7fe3ff; } .bw-float.skn { color: #ffffff; font-size: 9px; }
.bw-float.skn.se0 { color: #f0be7a; } .bw-float.skn.se1 { color: #8ac8ff; } .bw-float.skn.se2 { color: #ff8a6a; } .bw-float.skn.se3 { color: #8cf0a0; }
.bw-float.up { color: #6ee07a; } .bw-float.down { color: #ff6b5a; } .bw-float.ctr { color: #ffb03c; } .bw-float.off { color: #f4ead2; }
.bw-float.st-poison { color: #d6a8ff; } .bw-float.st-para { color: #ffe45a; } .bw-float.st-sleep { color: #b8caff; }
.bw-float.st-stone { color: #d8d2ce; } .bw-float.st-drunk { color: #ff9ad8; } .bw-float.st-confuse { color: #ffc070; }
.bw-float.cap { color: #ffd257; font-size: 12px; animation-duration: 1.5s; }
.bw-float.shiny, .bw-float.rainbow {
  color: #fff6a0; background: linear-gradient(90deg, #ff6b9a, #ffd257, #6ee07a, #5ab0ff, #c27bff); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; text-shadow: none; font-size: 11px;
}

/* ================= 通用场景布局 ================= */
.bw-hd { position: absolute; left: 8px; right: 8px; top: 5px; display: flex; align-items: center; gap: 8px; }
.bw-hd .ttl { font-size: 12px; letter-spacing: 1px; }
.bw-hd .bw-res { margin-left: auto; }
.bw-hd.in { position: static; margin-bottom: 4px; }
.bw-foot { position: absolute; left: 8px; right: 8px; bottom: 5px; display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.bw-foot .bw-hint { margin-right: auto; }
.bw-foot.in { position: static; margin-top: 5px; }
.bw-stage .bw-btn.region-card, .bw-stage .bw-btn.map-node, .bw-stage .bw-btn.sp-row, .bw-stage .bw-btn.pl-main, .bw-stage .bw-btn.opt-btn,
.bw-stage .bw-btn.lp, .bw-stage .bw-btn.learn-old, .bw-stage .bw-btn.ware, .bw-stage .bw-btn.camp-card, .bw-stage .bw-btn.ev-opt, .bw-stage .bw-btn.grad-pet,
.bw-stage .bw-btn.bt-pickrow, .bw-stage .bw-btn.bt-hit, .bw-stage .bw-btn.cls-card, .bw-stage .bw-btn.nav, .bw-stage .bw-btn.sh-cell, .bw-stage .bw-btn.cx-cell {
  height: auto; padding: 0; line-height: 1.25; white-space: normal; text-align: left;
}

/* 选初始伙伴 */
.start-row { position: absolute; left: 6px; right: 6px; top: 22px; bottom: 30px; display: flex; justify-content: center; gap: 4px; }
.start-row .bw-pcard { flex: 1 1 0; max-width: 98px; }
.sc-start .bw-hint { line-height: 1.2; }

/* 选区域 */
.region-row { position: absolute; left: 8px; right: 8px; top: 26px; bottom: 30px; display: flex; justify-content: center; align-items: flex-start; gap: 10px; }
.bw-stage .bw-btn.region-card {
  flex: 0 1 152px; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 3px; padding: 5px;
  background: rgba(28, 22, 58, .95); box-shadow: 0 0 0 1px #06041a, inset 0 0 0 1px #b8acff, inset 0 0 0 2px #5a4ea8;
}
.region-card .thumb { height: 64px; box-shadow: 0 0 0 1px #07051a; }
.region-card .nm { font-size: 12px; }
.region-card p { line-height: 1.35; }
.bw-stage .bw-btn.region-card.demon { box-shadow: 0 0 0 1px #06041a, inset 0 0 0 1px #ff6b9a, inset 0 0 0 2px #7a1a4a; background: rgba(48, 14, 40, .96); }
.bw-stage .bw-btn.region-card.end { box-shadow: 0 0 0 1px #06041a, inset 0 0 0 1px #ffd257, inset 0 0 0 2px #8a5a10; }
@media (hover: hover) and (pointer: fine) { .bw-stage .bw-btn.region-card:hover { filter: none; box-shadow: 0 0 0 1px #06041a, inset 0 0 0 2px #ffd257; } }

/* 地图 */
.map-top { position: absolute; left: 3px; top: 2px; width: 328px; height: 17px; display: flex; align-items: center; gap: 5px; padding: 0 3px 0 5px; background: rgba(28, 16, 6, .78); box-shadow: 0 0 0 1px #07051a; }
.map-top b { font-size: 10px; }
.map-top .bw-btn:first-of-type { margin-left: auto; }
.map-hint { position: absolute; left: 3px; top: 21px; width: 328px; min-height: 13px; padding: 1px 5px; background: rgba(28, 16, 6, .72); }
.map-hint b { margin-right: 3px; }
.map-hits { position: absolute; left: 0; top: 0; width: 334px; height: 270px; }
.bw-stage .bw-btn.map-node { position: absolute; width: 24px; height: 24px; background: transparent; box-shadow: none; border-radius: 50%; cursor: default; }
.bw-stage .bw-btn.map-node.can { cursor: pointer; }
.bw-stage .bw-btn.map-node:active { transform: none; }
.side { position: absolute; right: 3px; top: 3px; bottom: 3px; width: 142px; display: flex; flex-direction: column; gap: 3px; padding: 4px; overflow-y: auto; }
.side-res { display: flex; align-items: center; gap: 3px; }
.side-res .bw-btn { margin-left: auto; }
.side-party { display: flex; flex-direction: column; gap: 1px; }
.bw-stage .bw-btn.sp-row { display: flex; align-items: center; justify-content: flex-start; gap: 3px; width: 100%; padding: 1px 2px; background: rgba(0, 0, 0, .28); box-shadow: none; }
.bw-stage .bw-btn.sp-row.field { box-shadow: inset 2px 0 0 #ffd257; }
.sp-row.down { opacity: .6; }
.sp-row .mid, .pl-main .mid { display: flex; flex: 1 1 auto; flex-direction: column; gap: 2px; min-width: 0; }
.sp-row .l1, .pl-main .l1, .pl-main .l2 { display: flex; align-items: center; gap: 3px; overflow: hidden; white-space: nowrap; }
.sp-row .fld { color: #ffd257; font-style: normal; }
.side-items { display: flex; flex-wrap: wrap; align-items: center; gap: 1px; }
.side-items .lbl { width: 100%; }
.side-syn { display: flex; flex-wrap: wrap; gap: 2px; }
.side-syn .syn { padding: 0 3px; color: #fff; background: #2f6fc8; cursor: pointer; }

/* 信息小框 */
.info-box { display: flex; flex-direction: column; gap: 4px; min-width: 200px; max-width: 290px; line-height: 1.4; }
.info-head { display: flex; align-items: center; gap: 5px; }
.info-head b { font-size: 11px; }
.info-box .tag, .bo-card .opt-tag { padding: 0 3px; color: #7fe3ff; background: rgba(127, 227, 255, .12); }

/* 队伍面板 */
.party { display: grid; grid-template-columns: 198px 1fr; gap: 6px; height: 100%; }
.party-list { display: flex; flex-direction: column; gap: 2px; overflow: auto; }
.party-list .tip { margin-bottom: 1px; }
.pl-row { display: flex; align-items: center; gap: 2px; padding: 1px; background: rgba(0, 0, 0, .28); }
.pl-row.field { box-shadow: inset 2px 0 0 #ffd257; }
.pl-row.on { background: rgba(255, 210, 87, .16); box-shadow: inset 0 0 0 1px #ffd257; }
.pl-row.cut { margin-bottom: 5px; }
.pl-row.down { opacity: .7; }
.bw-stage .bw-btn.pl-main { flex: 1 1 auto; display: flex; align-items: center; justify-content: flex-start; gap: 3px; min-width: 0; background: transparent; box-shadow: none; }
.bw-btn.mv { width: 14px; height: 14px; padding: 0; }
.party-detail { display: flex; flex-direction: column; gap: 4px; min-width: 0; overflow: auto; }
.pd-top { display: flex; gap: 6px; }
.pd-art { display: flex; align-items: flex-end; justify-content: center; width: 76px; height: 66px; flex: none; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px rgba(244, 234, 210, .15); }
.pd-meta { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.pd-meta .l1, .pd-meta .l2 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.pd-meta .l1 .bw-pname { font-size: 11px; }
.pd-exp { display: flex; align-items: center; gap: 3px; }
.pd-skills { display: flex; flex-direction: column; gap: 2px; }
.pd-sk { display: flex; align-items: center; gap: 4px; line-height: 1.3; }
.pd-sk .bw-skill { flex: none; }
.pd-use { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; }

/* 奖励 / 宝箱 */
.sc-pick, .sc-learn, .sc-event { display: flex; align-items: center; justify-content: center; }
.pick-panel { display: flex; flex-direction: column; width: 446px; max-height: 262px; padding: 6px; overflow: auto; }
.pick-panel .msg { margin-bottom: 3px; font-size: 10px; }
.pick-panel .sub { margin: 2px 0 4px; }
.exp-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; margin-bottom: 3px; }
.exp-row { display: flex; align-items: center; gap: 3px; height: 21px; padding: 0 2px; background: rgba(0, 0, 0, .22); }
.exp-row .nm { width: 54px; overflow: hidden; white-space: nowrap; }
.exp-row .lv { width: 26px; }
.exp-row.down { opacity: .6; }
.exp-row.lvup { animation: bw-lvup .6s ease-out 2; }
@keyframes bw-lvup { 50% { background: rgba(255, 210, 87, .35); } }
.opt-row { display: flex; gap: 5px; }
.bw-stage .bw-btn.opt-btn { flex: 1 1 0; display: block; min-width: 0; background: transparent; box-shadow: none; }
.bo-card {
  display: flex; align-items: flex-start; gap: 4px; height: 100%; min-height: 64px; padding: 5px; background: rgba(0, 0, 0, .3);
  box-shadow: inset 0 0 0 1px rgba(244, 234, 210, .25);
}
.bo-card.tt-r { box-shadow: inset 0 0 0 1px #5ab0ff; } .bo-card.tt-l { box-shadow: inset 0 0 0 1px #ffcc4d; background: rgba(255, 204, 77, .12); }
.opt-ic { display: grid; flex: none; place-items: center; width: 40px; height: 40px; }
.opt-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.opt-body b { font-size: 9px; }
.opt-body p { line-height: 1.3; }
.opt-body .opt-tag { align-self: flex-start; }
@media (hover: hover) and (pointer: fine) {
  .bw-stage .bw-btn.opt-btn:hover { filter: none; }
  .bw-stage .bw-btn.opt-btn:hover .bo-card { box-shadow: inset 0 0 0 2px #ffd257; background: rgba(255, 210, 87, .12); }
}

/* 学技能 */
.learn-panel { display: flex; flex-direction: column; gap: 4px; width: 410px; max-height: 262px; padding: 6px; overflow: auto; }
.learn-new { display: flex; align-items: center; gap: 6px; padding: 4px; background: rgba(0, 0, 0, .28); }
.learn-new b { font-size: 11px; }
.learn-new p { line-height: 1.35; }
.learn-body { display: flex; flex-direction: column; gap: 3px; }
.learn-pets { display: flex; flex-wrap: wrap; gap: 2px; }
.bw-stage .bw-btn.lp { display: flex; align-items: center; gap: 2px; padding: 1px 3px; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px rgba(244, 234, 210, .2); }
.bw-stage .bw-btn.lp.on { box-shadow: inset 0 0 0 1px #ffd257; background: rgba(255, 210, 87, .16); }
.learn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.bw-stage .bw-btn.learn-old { display: flex; align-items: center; justify-content: space-between; gap: 3px; padding: 2px 4px; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px rgba(244, 234, 210, .2); }
.bw-stage .bw-btn.learn-old.add { justify-content: center; min-height: 20px; box-shadow: inset 0 0 0 1px #6ee07a; }

/* 放生 / 转生 */
.rel-grid { position: absolute; left: 8px; right: 8px; top: 24px; bottom: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-content: start; gap: 4px; overflow: auto; }
.rb-prev { display: flex; align-items: center; gap: 8px; }
.rb-st div { line-height: 1.5; }

/* 商店 */
.shelf { position: absolute; left: 8px; right: 8px; top: 26px; bottom: 50px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-content: start; gap: 4px; overflow: auto; }
.bw-stage .bw-btn.ware {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 2px; min-height: 66px; padding: 4px 2px;
  text-align: center; background: rgba(28, 22, 58, .95); box-shadow: 0 0 0 1px #06041a, inset 0 0 0 1px rgba(244, 234, 210, .3);
}
.bw-stage .bw-btn.ware.tt-r { box-shadow: 0 0 0 1px #06041a, inset 0 0 0 1px #5ab0ff; } .bw-stage .bw-btn.ware.tt-l { box-shadow: 0 0 0 1px #06041a, inset 0 0 0 1px #ffcc4d; }
.ware-ic { display: grid; place-items: center; height: 34px; }
.ware .nm { font-size: 8px; }
.ware .price { display: flex; align-items: center; gap: 1px; }
.ware.poor .price b { color: #ff6b5a; }
.ware.sold { opacity: .45; }
.ware .soldtag { position: absolute; left: 0; right: 0; top: 26px; padding: 1px 0; color: #fff; text-align: center; background: rgba(184, 54, 74, .92); }
.items-bar { position: absolute; left: 8px; right: 8px; bottom: 28px; display: flex; align-items: center; gap: 2px; height: 20px; }
.items-bar .lbl { margin: 0 3px; }

/* 营地 */
.camp-row { position: absolute; left: 8px; right: 8px; top: 28px; display: flex; justify-content: center; gap: 6px; }
.bw-stage .bw-btn.camp-card {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 3px; width: 104px; min-height: 92px; padding: 6px 5px;
  text-align: center; background: rgba(28, 22, 58, .93); box-shadow: 0 0 0 1px #06041a, inset 0 0 0 1px #b8acff, inset 0 0 0 2px #5a4ea8;
}
.camp-card b { font-size: 11px; }
.camp-card p { line-height: 1.35; }
.camp-card.off { opacity: .55; }
.fuse-prev { display: flex; flex-direction: column; gap: 4px; min-width: 300px; }
.fp-row { display: flex; align-items: center; justify-content: center; gap: 5px; }
.fp-src { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.fp-src.out { padding: 2px 4px; background: rgba(194, 123, 255, .14); box-shadow: inset 0 0 0 1px #c27bff; }
.fp-plus { font-size: 14px; }
.fp-inh { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; }

/* 事件 */
.ev-panel { display: flex; gap: 6px; width: 452px; max-height: 232px; padding: 6px; overflow: auto; }
.ev-pic { flex: none; width: 160px; height: 96px; box-shadow: 0 0 0 1px #07051a; }
.ev-txt { display: flex; flex: 1; flex-direction: column; gap: 3px; min-width: 0; }
.ev-txt .ttl { font-size: 11px; }
.ev-txt p { line-height: 1.45; }
.ev-opts { display: flex; flex-direction: column; gap: 3px; margin-top: 3px; }
.bw-stage .bw-btn.ev-opt {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 3px; min-height: 18px; padding: 2px 5px;
  border-radius: 7px; background: var(--gx-gloss), linear-gradient(180deg, #7a68d0, #3e2f8a);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 0 0 1px rgba(6, 4, 26, .85), 0 2px 0 #221860, 0 3px 3px rgba(6, 4, 26, .45);
}
.ev-opt .n { font-weight: bold; }
.ev-opt .why { font-size: 8px; }
.ev-result { max-width: 280px; line-height: 1.5; }
.sc-event .bw-foot { justify-content: flex-start; }

/* 结算 */
.sc-over { display: flex; align-items: center; justify-content: center; }
.over-panel { display: flex; flex-direction: column; gap: 4px; width: 468px; max-height: 264px; padding: 6px; overflow: auto; }
.over-banner { display: flex; align-items: baseline; gap: 8px; }
.over-banner b { color: #ffd257; font-size: 16px; letter-spacing: 3px; }
.over-banner span { color: #f4ead2; font-size: 10px; }
.over-banner.lose b { color: #ff6b5a; }
.over-cols { display: grid; grid-template-columns: 186px 1fr; gap: 8px; }
.score-list { display: flex; flex-direction: column; }
.sl-row { display: flex; justify-content: space-between; gap: 6px; padding: 1px 0; border-bottom: 1px dotted rgba(244, 234, 210, .2); }
.sl-row.total b, .sl-row.total span { font-size: 11px; }
.over-right { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.caught { display: flex; flex-wrap: wrap; gap: 2px; }
.cg { position: relative; display: inline-flex; flex-direction: column; align-items: center; width: 32px; padding-bottom: 1px; background: rgba(0, 0, 0, .32); }
.cg .bw-grade { position: absolute; right: 0; bottom: 0; }
.cg.lit { animation: bw-lit .5s ease-out; box-shadow: inset 0 0 0 1px #ffd257; }
@keyframes bw-lit { from { background: rgba(255, 210, 87, .6); } }
.grad { display: flex; flex-direction: column; gap: 3px; }
.grad-list { display: flex; flex-wrap: wrap; gap: 3px; }
.bw-stage .bw-btn.grad-pet { display: flex; align-items: center; gap: 3px; padding: 1px 4px; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px rgba(244, 234, 210, .2); }
.bw-stage .bw-btn.grad-pet.on { background: rgba(255, 210, 87, .18); box-shadow: inset 0 0 0 2px #ffd257; }
.grad-pet .nm { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.over-result { display: flex; flex-direction: column; gap: 2px; }
.over-result:empty { display: none; }
.res-line { display: flex; align-items: center; gap: 4px; }
.res-line b { font-size: 11px; }
.res-ach { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.ach-chip { padding: 0 3px; color: #fff; background: #6a4ec8; }

/* ================= 战斗 ================= */
.bt-labels, .bt-hits { position: absolute; left: 0; top: 0; width: 480px; height: 270px; pointer-events: none; }
.bt-hits > * { pointer-events: auto; }
.bt-ul { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 1px; width: 38px; }
.bt-ul.big { width: 60px; }
.bt-ul .nm { display: flex; align-items: center; gap: 2px; white-space: nowrap; }
.bt-ul .lv { color: #7fe3ff; }
.bt-ul .tag { padding: 0 2px; color: #fff; text-shadow: none; }
.bt-ul .tag.boss { background: #c0283a; } .bt-ul .tag.elite { background: #7a3ad0; }
.bt-ul .bw-hp { width: 100%; }
.bt-sh { display: block; align-self: flex-start; width: 0; height: 2px; background: #7fe3ff; }
.bt-ul .tags { display: flex; gap: 1px; min-height: 8px; }
.bt-ul .st { padding: 0 1px; color: #120c26; font-size: 7px; line-height: 8px; text-shadow: none; }
.bt-ul .st-poison { background: #c88aff; } .bt-ul .st-para { background: #ffe45a; } .bt-ul .st-sleep { background: #9fb8ff; }
.bt-ul .st-stone { background: #c8c2be; } .bt-ul .st-drunk { background: #ff8ad0; } .bt-ul .st-confuse { background: #ffb03c; }
.bt-ul .bf { font-size: 7px; line-height: 8px; }
.bt-ul .bf.up { color: #6ee07a; } .bt-ul .bf.down { color: #ff6b5a; } .bt-ul .bf.shd { color: #7fe3ff; }
.bt-ul.dead { opacity: .45; }
.bw-stage .bw-btn.bt-hit { position: absolute; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px #ff6b5a; animation: bw-hit .8s steps(2) infinite; }
.bw-stage .bw-btn.bt-hit.ally { box-shadow: inset 0 0 0 1px #7fe3ff; }
@keyframes bw-hit { 50% { background: rgba(255, 255, 255, .14); } }
.bt-hit .pv { position: absolute; left: -12px; right: -12px; bottom: 1px; color: #ffd257; text-align: center; white-space: nowrap; text-shadow: 1px 1px 0 #0b0820, -1px 0 0 #0b0820, 0 -1px 0 #0b0820; }
.bt-top { position: absolute; left: 0; right: 0; top: 0; height: 21px; display: flex; align-items: center; gap: 4px; padding: 0 4px; background: linear-gradient(rgba(8, 5, 26, .82), rgba(8, 5, 26, 0)); }
.bt-round { white-space: nowrap; }
.bt-round b { font-size: 9px; }
.bt-order { display: flex; align-items: center; gap: 1px; margin: 0 auto; }
.bt-order .lbl { margin-right: 2px; }
.bt-order .oc { display: block; width: 18px; height: 16px; background: rgba(0, 0, 0, .45); box-shadow: 0 0 0 1px #07051a, inset 0 -2px 0 #4aa3ff; }
.bt-order .oc.foe { box-shadow: 0 0 0 1px #07051a, inset 0 -2px 0 #ff5a3c; }
.bt-menu { display: flex; gap: 2px; }
.bt-panel { position: absolute; left: 0; right: 0; bottom: 0; height: 57px; background: rgba(14, 10, 34, .93); box-shadow: inset 0 1px 0 #8c7fe0, 0 -1px 0 #07051a; }
.bt-panel:empty { display: none; }
.bt-who { position: absolute; left: 3px; top: 3px; width: 42px; display: flex; flex-direction: column; align-items: center; gap: 1px; }
.bt-who canvas { background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px rgba(244, 234, 210, .2); }
.bt-row { position: absolute; left: 48px; right: 96px; display: flex; align-items: center; gap: 2px; }
.bt-row.r1 { top: 3px; }
.bt-row.r2 { top: 22px; }
.bw-btn.bt-sk, .bw-btn.bt-tr {
  height: 17px; max-width: 58px; padding: 0 4px 0 1px; gap: 1px; overflow: hidden; color: #f4ead2; border-radius: 6px;
  background: var(--gx-gloss), linear-gradient(180deg, rgba(90, 76, 150, .95), rgba(26, 18, 56, .95));
  box-shadow: inset 0 0 0 1px var(--sc, rgba(244, 234, 210, .4)), inset 0 -2px 0 var(--sc, rgba(244, 234, 210, .4)), 0 0 0 1px rgba(6, 4, 26, .85), 0 2px 0 rgba(6, 4, 26, .7);
}
.bw-btn.bt-sk.se0 { --sc: #d49a4a; } .bw-btn.bt-sk.se1 { --sc: #4aa3ff; } .bw-btn.bt-sk.se2 { --sc: #ff5a3c; } .bw-btn.bt-sk.se3 { --sc: #4fd66b; }
.bw-btn.bt-sk.basic { --sc: #f4ead2; }
.bw-btn.bt-tr { max-width: 74px; --sc: #ffb03c; }
.bw-btn.bt-tr.cls { --sc: #c27bff; }
.bw-btn.bt-tr.off { opacity: .55; }
.bw-btn.bt-sk.on, .bw-btn.bt-tr.on { color: #4a2800; text-shadow: none; background: var(--gx-gloss), linear-gradient(180deg, #fffbe0, #ffd257); box-shadow: inset 0 0 0 1px #fff, 0 0 0 1px rgba(6, 4, 26, .85), 0 2px 0 #b07808, 0 0 5px rgba(255, 210, 87, .5); }
.bt-sk .nm, .bt-tr .nm { overflow: hidden; }
.bt-sk .cd { color: #ff6b5a; font-size: 7px; }
.bt-row .sep { width: 4px; flex: none; }
.bt-row .bt-undo { margin-left: auto; }
.bt-hint { position: absolute; left: 48px; right: 96px; top: 42px; height: 12px; display: flex; align-items: center; gap: 6px; overflow: hidden; white-space: nowrap; }
.bt-hint .trl { margin-left: auto; color: #ffb03c; }
.bt-ctl { position: absolute; right: 3px; top: 3px; width: 90px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.bt-ctl .bw-btn { width: 100%; height: 15px; padding: 0 2px; }
.bt-wait { position: absolute; left: 48px; right: 96px; top: 12px; display: flex; flex-direction: column; gap: 3px; }
.bt-wait b { font-size: 11px; }
.bt-pick { display: flex; flex-direction: column; gap: 2px; min-width: 210px; }
.bt-pick > p { margin-bottom: 2px; line-height: 1.35; }
.bw-stage .bw-btn.bt-pickrow {
  display: flex; align-items: center; justify-content: flex-start; gap: 4px; width: 100%; min-height: 26px; padding: 1px 4px;
  background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px rgba(244, 234, 210, .2);
}
.bw-stage .bw-btn.bt-pickrow.on { box-shadow: inset 0 0 0 1px #ffd257; }
.bt-pickrow span { line-height: 1.3; }
.bt-cut {
  position: absolute; left: 3px; top: 146px; z-index: 2; display: flex; align-items: center; gap: 4px; padding: 2px 10px 2px 2px;
  background: rgba(14, 10, 34, .92); box-shadow: 0 0 0 1px #07051a, inset 0 0 0 1px #ffd257; animation: bw-cut 1.1s ease-out both; pointer-events: none;
}
.bt-cut img { width: 48px; height: 48px; }
.bt-cut b { font-size: 11px; }
@keyframes bw-cut { from { opacity: 0; transform: translateX(-40px); } 18% { opacity: 1; transform: none; } 82% { opacity: 1; } to { opacity: 0; } }

/* ================= 大厅 ================= */
.lb-title { position: absolute; left: 10px; top: 6px; display: flex; align-items: baseline; gap: 6px; }
.lb-title b { color: #ffd257; font-size: 16px; letter-spacing: 3px; text-shadow: 1px 1px 0 #6a3a00, 2px 2px 0 #0b0820; }
.lb-title span { color: #f4ead2; }
.lb-tabs { position: absolute; left: 8px; top: 31px; display: flex; gap: 2px; }
.lb-tabs .bw-btn { height: 15px; padding: 0 6px; background: rgba(20, 14, 48, .92); }
.lb-tabs .bw-btn.on { color: #2a1600; text-shadow: none; background: #e8a52c; box-shadow: 0 0 0 1px #07051a, inset 0 1px 0 #ffe08a, inset 0 -2px 0 #a8650c; }
.lb-tabs .bw-btn.locked { color: #c9a2ff; }
.lb-main { position: absolute; left: 8px; top: 48px; width: 314px; height: 192px; display: flex; flex-direction: column; gap: 4px; padding: 5px 6px; overflow: auto; }
.lb-main .big { font-size: 12px; }
.lb-main > p { line-height: 1.45; }
.lb-side { position: absolute; right: 6px; top: 6px; width: 146px; height: 258px; display: flex; flex-direction: column; gap: 3px; padding: 5px; }
.lb-side .hd { font-size: 10px; }
.lb-side .title { font-size: 9px; }
.lb-acts { position: absolute; left: 8px; top: 244px; width: 314px; height: 22px; display: flex; align-items: center; gap: 6px; }
.sd-row { display: flex; align-items: center; gap: 3px; }
.sd-row b { margin-left: auto; }
.sd-cls { display: grid; grid-template-columns: 1fr 1fr; gap: 1px 4px; padding: 2px 0; }
.sd-cls .sc { display: flex; justify-content: space-between; gap: 2px; }
.sd-cls .sc.off { opacity: .7; }
.sd-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-top: auto; }
.bw-stage .bw-btn.nav { display: flex; align-items: center; justify-content: flex-start; gap: 3px; height: 21px; padding: 0 4px; }
.lb-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.lb-row .note { flex: 1 1 180px; line-height: 1.3; }
.lb-row .num { min-width: 14px; font-size: 11px; text-align: center; }
.cls-row { display: flex; justify-content: space-between; gap: 1px; }
.bw-stage .bw-btn.cls-card {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 1px; width: 50px; padding: 1px 0 2px;
  text-align: center; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px rgba(244, 234, 210, .2);
}
.bw-stage .cls-card img { width: 48px; height: 48px; image-rendering: pixelated; }
.bw-stage .bw-btn.cls-card.on, .cls-card.on.fixed { background: rgba(255, 210, 87, .18); box-shadow: inset 0 0 0 2px #ffd257; }
.cls-card.locked img { filter: brightness(0) invert(28%) sepia(100%) hue-rotate(215deg) saturate(2.4); opacity: .9; }
.cls-card .ab { position: absolute; right: 1px; top: 1px; padding: 0 1px; color: #fff; font-size: 7px; background: #6a3ad0; }
.cls-card .lock { position: absolute; left: 0; right: 0; top: 16px; font-size: 12px; text-align: center; }
.cls-card.fixed { position: relative; display: flex; flex: none; flex-direction: column; align-items: center; width: 52px; padding: 2px 0; }
.cls-info p { line-height: 1.35; }
.ab-list { display: flex; flex-direction: column; gap: 2px; min-width: 260px; }
.ab-item { display: flex; gap: 6px; }
.ab-item b { flex: none; width: 76px; }
.ch-box { display: flex; gap: 6px; }
.ch-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ch-txt p { line-height: 1.35; }
.ch-rules { display: flex; flex-direction: column; gap: 1px; }

/* ================= 子页面 ================= */
.pg-hd { position: absolute; left: 0; right: 0; top: 0; height: 20px; display: flex; align-items: center; gap: 6px; padding: 0 6px; background: rgba(14, 10, 34, .95); box-shadow: inset 0 -1px 0 #8c7fe0; }
.pg-hd > b { font-size: 11px; letter-spacing: 1px; }
.pg-extra { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.pg-body { position: absolute; left: 0; right: 0; top: 21px; bottom: 0; padding: 4px 8px 10px; overflow-y: auto; background: rgba(14, 10, 34, .55); }
.pg-body .intro { margin-bottom: 4px; line-height: 1.45; }
.pg-body .grp { display: block; margin: 6px 0 3px; font-size: 10px; }
.shrine-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 3px; }
.bw-stage .bw-btn.sh-cell {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 1px; min-height: 44px; padding: 3px 2px;
  text-align: center; background: rgba(0, 0, 0, .34); box-shadow: inset 0 0 0 1px rgba(244, 234, 210, .2);
}
.sh-cell .nm { line-height: 1.15; }
.sh-cell .cost { color: #c9a2ff; }
.bw-stage .bw-btn.sh-cell.have { background: rgba(255, 210, 87, .12); box-shadow: inset 0 0 0 1px #ffd257; }
.sh-cell.have .cost { color: #6ee07a; }
.bw-stage .bw-btn.sh-cell.can { box-shadow: inset 0 0 0 1px #c9a2ff; animation: bw-can 1s steps(2) infinite; }
@keyframes bw-can { 50% { background: rgba(201, 162, 255, .22); } }
.sh-cell.poor .cost { color: #ff6b5a; }
.sh-cell.chain { opacity: .75; }
.sh-cell.chain .cost { color: #ffb03c; }
.cx-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; margin-bottom: 3px; }
.cx-filter .gap { width: 6px; }
.bw-stage .bw-btn.chip { height: 13px; padding: 0 6px; color: #f4ead2; border-radius: 7px; background: var(--gx-gloss), linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06)); }
.bw-stage .bw-btn.chip.on { color: #4a2800; text-shadow: none; background: var(--gx-gloss), linear-gradient(180deg, #fffbe0, #ffd257); box-shadow: inset 0 0 0 1px #fff, 0 0 0 1px rgba(6, 4, 26, .85), 0 2px 0 #b07808; }
.cx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(36px, 1fr)); gap: 2px; }
.bw-stage .bw-btn.cx-cell { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 2px 1px 1px; background: rgba(0, 0, 0, .34); }
.bw-stage .bw-btn.cx-cell.seen { background: rgba(90, 78, 168, .3); box-shadow: inset 0 0 0 1px rgba(244, 234, 210, .2); }
.bw-stage .bw-btn.cx-cell.boss { grid-column: span 2; }
.cx-cell .nm { width: 100%; overflow: hidden; font-size: 7px; text-align: center; white-space: nowrap; }
.cx-cell .badge { position: absolute; top: 0; font-size: 8px; font-style: normal; }
.cx-cell .badge.crown { left: 1px; color: #ffd257; } .cx-cell .badge.star { right: 1px; color: #fff6a0; }
.cx-cell .cnt { position: absolute; right: 1px; top: 0; color: #ffd257; }
.cx-detail { display: flex; gap: 8px; min-width: 330px; }
.cx-art { position: relative; display: grid; flex: none; place-items: end center; width: 100px; min-height: 84px; padding-bottom: 2px; background: rgba(0, 0, 0, .32); box-shadow: inset 0 0 0 1px rgba(244, 234, 210, .15); }
.cx-art.boss { width: 146px; min-height: 120px; }
.cx-art .bw-shiny { position: absolute; right: 1px; bottom: 1px; }
.cx-txt { display: flex; flex: 1; flex-direction: column; gap: 3px; min-width: 0; }
.cx-txt .l1 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; }
.cx-txt .l1 b, .cx-txt > b { font-size: 11px; }
.cx-txt p { line-height: 1.35; }
.cx-txt .skills { display: flex; flex-wrap: wrap; gap: 2px; }
.stable-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.st-card { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px; background: rgba(0, 0, 0, .32); box-shadow: inset 0 0 0 1px rgba(244, 234, 210, .15); }
.st-card.on { box-shadow: inset 0 0 0 2px #ffd257; }
.st-card .l1 { display: flex; align-items: center; gap: 3px; }
.st-card .bb { display: flex; gap: 2px; }
.titles { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; margin-bottom: 4px; }
.ach-list { display: flex; flex-direction: column; gap: 2px; }
.ach { display: flex; align-items: center; gap: 4px; padding: 2px 4px; background: rgba(0, 0, 0, .3); }
.ach.done { background: rgba(255, 210, 87, .1); box-shadow: inset 2px 0 0 #ffd257; }
.ach .mid { display: flex; flex: 1; flex-wrap: wrap; align-items: center; gap: 1px 6px; min-width: 0; }
.ach .mid .bw-exp { flex: none; width: 60px; }
.ach .rw { max-width: 130px; text-align: right; }
.rank-box > p { margin-bottom: 3px; line-height: 1.35; }
.bw-rank { display: flex; flex-direction: column; gap: 1px; margin: 0; padding: 0; list-style: none; }
.bw-rank li { display: flex; align-items: center; gap: 6px; padding: 1px 4px; background: rgba(0, 0, 0, .3); }
.bw-rank .no { width: 16px; text-align: center; }
.bw-rank .top1 .no { color: #ffd257; } .bw-rank .top2 .no { color: #e6e9ef; } .bw-rank .top3 .no { color: #ffb070; }
.bw-rank .nm { flex: 1; overflow: hidden; white-space: nowrap; }
.bw-rank .ttl { flex: none; font-size: 7px; white-space: nowrap; }
.rank-box .me { margin-top: 4px; }
.help-list { margin: 0 0 4px; padding-left: 12px; }
.help-list li { line-height: 1.5; }
.help-ring { display: flex; align-items: center; gap: 3px; margin: 2px 0 4px; }
.help-ring b { padding: 0 3px; color: #120c26; text-shadow: none; }
.help-ring .e0 { background: #d49a4a; } .help-ring .e1 { background: #4aa3ff; } .help-ring .e2 { background: #ff5a3c; } .help-ring .e3 { background: #4fd66b; }

@media (prefers-reduced-motion: reduce) {
  .g-M, .bw-pname.shiny, .bw-shiny .tw, .sh-cell.can, .bt-hit { animation: none; }
  .bw-shiny .tw { opacity: .8; }
}

/* ================= 10-26 布局改版：首页（大按钮 + 模式卡 + 首通 / 档案卡 + 功能方块 + 右侧出发准备）、子页面返回 / 标题牌、图鉴左网格右详情 =================
   外观沿用上面的像素风（深色面板、紫色描边、硬边按钮），共用组件见 fun-gameui.css。 */
.lb-top {
  position: absolute; z-index: 2; left: 0; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 4px; width: 480px; height: 20px; padding: 0 4px;
  background: rgba(14, 10, 34, .95); box-shadow: inset 0 -1px 0 #8c7fe0;
}
.lb-top.home { background: linear-gradient(180deg, rgba(14, 10, 34, .85), rgba(14, 10, 34, 0)); box-shadow: none; }
.lb-tl, .lb-tr { display: flex; align-items: center; gap: 3px; }
.lb-tr { margin-left: auto; }
.lb-top .gx-pill .bw-ic { margin: -1px 0; }
.lb-top .gx-me .tr-img { width: 16px; height: 16px; }
.pg-extra { display: flex; align-items: center; gap: 6px; }
.pg-body { top: 20px; }

/* 首页（兽王之路自己的布局）：左 = 模式列表；中 = 标题 + 驯兽师立绘光台 + 头像条 + 开始按钮；右 = 资料卡 + 圆形功能坞 */
.bh-left { position: absolute; left: 6px; top: 24px; display: flex; flex-direction: column; gap: 4px; width: 100px; padding: 4px; background: rgba(14, 10, 34, .78); box-shadow: 0 0 0 1px #06041a, inset 0 0 0 1px #5a4ea8; }
.bh-cap { padding: 0 2px; color: #c9a2ff; font-size: 8px; letter-spacing: 2px; }
.bh-left .gx-mode { height: 27px; }
.bh-left .gx-mode.on { transform: translateX(3px); box-shadow: inset 0 0 0 1.5px #fff, 0 0 0 1px var(--m3, #3a1e88), 0 2px 0 var(--m3, #3a1e88), 0 0 6px rgba(255, 210, 87, .7); }
.bh-left .gx-mode:not(.on) { filter: saturate(.75) brightness(.9); }
.bh-left .gx-mode.locked:not(.on) { filter: saturate(.45) brightness(.8); }
.bh-left .hm-card { flex: none; height: 26px; padding: 0 4px; }
.bh-left .hm-card .t b { font-size: 8px; }
.bh-left .hm-card .t small { font-size: 6.5px; }
.hm-card { position: relative; display: flex; flex: 1 1 0; align-items: center; gap: 4px; min-width: 0; padding: 0 6px; overflow: hidden; border-radius: 8px; }
.hm-card.night { color: #fff; background: var(--gx-stripe), var(--gx-gloss), linear-gradient(135deg, #6a56c8, #2e2470); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5), 0 0 0 1px #140c3a, 0 2px 0 #140c3a, 0 3px 5px rgba(6, 4, 26, .5); }
.hm-card.white { color: #3a2400; text-shadow: none; background: var(--gx-gloss), linear-gradient(180deg, #fffaf0, #ffe6a8); box-shadow: inset 0 0 0 1.5px #f2c23a, 0 0 0 1px #6a4008, 0 2px 0 #8a5208, 0 3px 5px rgba(6, 4, 26, .5); }
.hm-card .t { display: flex; flex-direction: column; min-width: 0; }
.hm-card .t b { font-size: 9px; white-space: nowrap; }
.hm-card.night .t b { color: #fff; } .hm-card.white .t b { color: #8a4a00; }
.hm-card .t small { overflow: hidden; font-size: 7px; white-space: nowrap; text-overflow: ellipsis; }
.hm-card.night .t small { color: #e8e0ff; } .hm-card.white .t small { color: #5a3a10; }
.hm-note { min-width: 0; overflow: hidden; padding: 1px 7px; color: #f4ead2; white-space: nowrap; text-overflow: ellipsis; background: linear-gradient(180deg, rgba(70, 56, 120, .95), rgba(18, 12, 40, .95)); border-radius: 8px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 0 0 1px rgba(6, 4, 26, .85); }
.hm-note.gold { color: #ffd257; }

.bh-mid { position: absolute; left: 112px; top: 22px; display: flex; flex-direction: column; align-items: center; width: 196px; }
.bh-logo { font-size: 19px; text-align: center; }
.bh-ver { margin-top: 2px; }
.bh-stage { position: relative; display: flex; flex-direction: column; align-items: center; width: 196px; height: 106px; margin-top: 1px; }
.bh-stage .bh-glow {
  position: absolute; left: 38px; right: 38px; bottom: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 230, 140, .75), rgba(184, 172, 255, .35) 55%, rgba(184, 172, 255, 0) 72%);
  box-shadow: 0 0 14px 4px rgba(184, 172, 255, .35);
}
.bh-stage .tr-img { position: relative; margin-top: -4px; }
.bh-plate {
  position: absolute; bottom: 0; display: flex; align-items: baseline; gap: 4px; padding: 1px 9px; background: rgba(14, 10, 34, .92);
  clip-path: polygon(5px 0, calc(100% - 5px) 0, 100% 50%, calc(100% - 5px) 100%, 5px 100%, 0 50%); box-shadow: inset 0 1px 0 #b8acff, inset 0 -1px 0 #5a4ea8;
}
.bh-plate b { color: #ffd257; font-size: 10px; letter-spacing: 2px; }
.bh-plate small { color: #c9a2ff; font-size: 7px; }
.bh-picks { display: flex; gap: 3px; margin-top: 4px; }
.bh-pick {
  position: relative; display: grid; place-items: center; width: 26px; height: 26px; margin: 0; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: radial-gradient(circle at 50% 35%, #5a4a9e, #1a1238); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 0 0 1px #06041a, 0 2px 0 #06041a;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.bh-pick .tr-img { width: 22px; height: 22px; }
.bh-pick.on { box-shadow: inset 0 0 0 1.5px #fff, 0 0 0 1.5px #ffd257, 0 0 6px rgba(255, 210, 87, .7); }
.bh-pick.locked .tr-img { filter: brightness(0) invert(28%) sepia(100%) hue-rotate(215deg) saturate(2.4); }
.bh-pick .lock { position: absolute; font-size: 8px; font-style: normal; }
.bh-fixed { margin-top: 6px; padding: 1px 8px; color: #7fe3ff; background: rgba(14, 10, 34, .85); box-shadow: 0 0 0 1px #06041a; }
/* 兽王之路的开始按钮：翠绿色，和荒野幸存者的红色“出征”区分 */
.gx-cta.bh-cta {
  width: 196px; height: 40px; margin-top: 6px; padding-left: 6px;
  background: var(--gx-stripe), var(--gx-gloss), linear-gradient(180deg, #7ee8b4 0, #23a87a 60%, #138a62 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .9), inset 0 -4px 0 rgba(0, 60, 40, .35), 0 0 0 1px #0a5a40, 0 3px 0 #0a5a40, 0 5px 8px rgba(6, 4, 26, .55);
}
.gx-cta.bh-cta .ball { width: 32px; height: 32px; }
.gx-cta.bh-cta .txt b { font-size: 17px; text-shadow: 0 1px 0 #0c6a4a, 1px 0 0 #0c6a4a, -1px 0 0 #0c6a4a, 0 -1px 0 #0c6a4a, 0 2px 0 #08503a; }
.gx-cta.bh-cta .txt small { color: #eafff6; text-shadow: 0 1px 0 rgba(0, 60, 40, .5); }
.gx-cta.bh-cta.blocked { filter: saturate(.4); }
.bh-foot { display: flex; align-items: center; gap: 4px; max-width: 196px; margin-top: 5px; }

.bh-right { position: absolute; right: 6px; top: 24px; display: flex; flex-direction: column; gap: 6px; width: 162px; height: 242px; }
.bh-info { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; overflow: hidden; }
.bh-head { margin: 3px 3px 0; padding: 2px 6px; background: linear-gradient(180deg, #4a3a9a, #261c5a); box-shadow: inset 0 1px 0 #b8acff, inset 0 -1px 0 #5a4ea8; }
.bh-head b { color: #ffd257; font-size: 10px; letter-spacing: 2px; }
.bh-body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 3px; min-height: 0; padding: 4px 5px; overflow: auto; }
.bh-body p { line-height: 1.4; }
.bh-dock { display: flex; justify-content: space-between; padding: 4px 4px 2px; background: rgba(14, 10, 34, .78); border-radius: 18px; box-shadow: 0 0 0 1px #06041a, inset 0 0 0 1px #5a4ea8; }
.bh-dockbtn {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; width: 28px; margin: 0; padding: 0; color: #f4ead2; font: inherit;
  background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.bh-dockbtn .ic {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--gx-gloss), radial-gradient(circle at 50% 30%, #8a78d8, #3e2f8a); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), 0 0 0 1px #06041a, 0 2px 0 #1a1050, 0 3px 4px rgba(6, 4, 26, .5);
}
.bh-dockbtn small { font-size: 7px; font-weight: bold; text-shadow: 0 1px 0 #06041a; }
.bh-dockbtn .gx-badge { top: -3px; right: -3px; }
.bh-dockbtn:active .ic { transform: translateY(1px); }
@media (hover: hover) and (pointer: fine) { .bh-dockbtn:hover .ic, .bh-pick:hover { filter: brightness(1.12); } }

/* 兽王之路的子页面标题牌用紫色（荒野幸存者是橙色） */
.bw-stage .gx-ribbon { background: var(--gx-stripe), var(--gx-gloss), linear-gradient(180deg, #b38cff, #6a3ed0); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 0 0 1px #2e1470, 0 2px 0 #2e1470; }
.bw-stage .gx-ribbon b { text-shadow: 0 1px 0 #3a1a8a, 1px 0 0 #3a1a8a, -1px 0 0 #3a1a8a, 0 -1px 0 #3a1a8a; }
/* 兽王之路的图鉴：详情卡在左、宠物格子在右（荒野幸存者相反） */
.pg-body.split .cx-right { order: -1; }

.cls-info { padding: 2px 4px; background: rgba(0, 0, 0, .3); }
.lb-row.abyss, .lb-row.stable { padding: 1px 3px; background: rgba(0, 0, 0, .3); }
.ab-desc { line-height: 1.35; }
.ch-desc { line-height: 1.35; }
.ch-rules { padding: 2px 4px; background: rgba(0, 0, 0, .3); }

/* 图鉴：顶部统计 + 左网格右详情 */
.cx-stat { display: inline-flex; align-items: baseline; gap: 2px; padding: 0 4px; background: rgba(0, 0, 0, .4); box-shadow: inset 0 0 0 1px rgba(244, 234, 210, .15); }
.cx-stat small { color: #f4ead2; }
.cx-stat b { font-size: 9px; }
.cx-stat.blue b { color: #7fe3ff; } .cx-stat.gold b { color: #ffd257; } .cx-stat.pink b { color: #ff8ad0; }
.pg-body.split { display: flex; gap: 4px; padding: 4px; overflow: hidden; }
.cx-left { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; padding: 4px; }
.cx-left .cx-grid { flex: 1 1 auto; align-content: start; min-height: 0; overflow: auto; }
.cx-cell .no { position: absolute; left: 2px; bottom: 9px; color: #c9a2ff; font-size: 6px; font-style: normal; }
.bw-stage .bw-btn.cx-cell.on { box-shadow: inset 0 0 0 2px #ffd257; }
.cx-empty { grid-column: 1 / -1; padding: 16px 0; text-align: center; }
.cx-right { display: flex; flex: none; flex-direction: column; gap: 3px; width: 172px; padding: 5px; overflow: auto; }
.cx-hero { position: relative; flex: none; height: 80px; overflow: hidden; background: radial-gradient(ellipse at 66% 80%, var(--hc, rgba(255, 255, 255, .16)), transparent 70%), rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px rgba(244, 234, 210, .15); }
.cx-hero.e0 { --hc: rgba(212, 154, 74, .45); } .cx-hero.e1 { --hc: rgba(74, 163, 255, .45); } .cx-hero.e2 { --hc: rgba(255, 90, 60, .45); } .cx-hero.e3 { --hc: rgba(79, 214, 107, .45); }
.cx-hero.boss { --hc: rgba(192, 40, 58, .5); }
.cx-no { position: absolute; right: 4px; top: 2px; color: rgba(244, 234, 210, .35); font-size: 13px; letter-spacing: 1px; }
.cx-hero .cx-art { position: absolute; right: 6px; bottom: 3px; display: block; width: auto; min-height: 0; padding: 0; background: none; box-shadow: none; }
.cx-plate { position: absolute; left: 3px; bottom: 3px; display: flex; flex-direction: column; gap: 1px; max-width: 96px; padding: 2px 4px; background: rgba(14, 10, 34, .92); box-shadow: 0 0 0 1px #07051a, inset 0 0 0 1px #5a4ea8; }
.cx-plate small { color: #c9a2ff; font-size: 7px; }
.cx-plate b { font-size: 10px; }
.cx-how { display: flex; flex-direction: column; gap: 1px; padding: 2px 4px; background: rgba(110, 224, 122, .1); box-shadow: inset 0 0 0 1px #6ee07a; }
.cx-how b { color: #6ee07a; }
.cx-how small { color: #f4ead2; line-height: 1.35; }
.cx-how:not(.got) { background: rgba(127, 227, 255, .08); box-shadow: inset 0 0 0 1px #7fe3ff; }
.cx-how:not(.got) b { color: #7fe3ff; }
.cx-h { display: block; margin-bottom: 1px; color: #ffd257; font-size: 8px; }
.cx-stats { display: flex; flex-direction: column; gap: 2px; }
.cx-stats .skills { display: flex; flex-wrap: wrap; gap: 2px; }
