/* 荒野幸存者：像素风界面。舞台 480×270 逻辑画面，尺寸全部按逻辑像素写（正文 8px、标题 10~12px），整块舞台用 CSS zoom 放大
   （不支持时退回 transform），画布关闭平滑保持像素颗粒。视觉延续兽王之路：像素描边面板、属性色、稀有度色、档次徽章；文字一律有颜色。
   手机防闪屏：去点击高亮、touch-action: manipulation；悬停效果只写在鼠标设备的媒体查询里；不给大量元素常驻 will-change / filter。 */

/* ================= 页面框架 ================= */
body.survivor-page { background: radial-gradient(circle at 50% 0, #2a2410 0, #16121e 55%, #0a0814 100%) fixed; }
.survivor-page .fun-clouds { display: none; }
.survivor-page .fun-title img { width: 40px; height: 40px; image-rendering: pixelated; }
.sv-main { width: min(100% - 12px, 1960px); padding: 10px 0 8px; }
.sv-main .login-panel { margin-bottom: 12px; }
.sv-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) { .sv-fs { display: none; } }
.sv-rotate { display: none; margin: 0 0 8px; color: #ffd257; font-size: 14px; font-weight: 800; text-align: center; }
@media (orientation: portrait) and (pointer: coarse) { .sv-rotate { display: block; } }
.sv-noscript { color: #ffd257; text-align: center; }
.sv-wrap { position: relative; display: flex; justify-content: center; width: 100%; }
.sv-wrap:fullscreen { align-items: center; background: #050310; }
.sv-wrap:-webkit-full-screen { align-items: center; background: #050310; }

/* ================= 舞台 ================= */
.sv-stage {
  position: relative; flex: none; width: 480px; height: 270px; overflow: hidden; background: #0e0a20; 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: #8a6a2a transparent;
}
.sv-stage *, .sv-stage *::before, .sv-stage *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
.sv-stage ::-webkit-scrollbar { width: 4px; height: 4px; }
.sv-stage ::-webkit-scrollbar-thumb { background: #8a6a2a; }
.sv-stage p { margin: 0; }
.sv-stage small { font-size: 8px; }
.sv-cv { position: absolute; left: 0; top: 0; width: 480px; height: 270px; image-rendering: crisp-edges; image-rendering: pixelated; }
.sv-ui, .sv-pops { position: absolute; left: 0; top: 0; width: 480px; height: 270px; }
.sv-ui { z-index: 1; }
.sv-pops { z-index: 5; pointer-events: none; }
.sv-pops > * { pointer-events: auto; }
.sv-flashes { position: absolute; z-index: 6; left: 0; top: 20px; display: flex; flex-direction: column; align-items: center; gap: 3px; width: 480px; pointer-events: none; }
.sv-pc, .sv-stage img.px { display: block; flex: none; image-rendering: crisp-edges; image-rendering: pixelated; }
.sv-load { position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: #0e0a20; }
.sv-load b { font-size: 16px; letter-spacing: 2px; }
.sv-loadbar { width: 160px; height: 5px; background: #2a2350; box-shadow: 0 0 0 1px #07051a; }
.sv-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; } .c-pink { color: #ff8ad0; }
.e0 { color: #e0a050; } .e1 { color: #4aa3ff; } .e2 { color: #ff5a3c; } .e3 { color: #4fd66b; }
.t-common { color: #e6e9ef; } .t-uncommon { color: #6ee07a; } .t-rare { color: #5ab0ff; } .t-epic { color: #c27bff; } .t-fusion { color: #ffcc4d; }
.r0 { color: #e6e9ef; } .r1 { color: #6ee07a; } .r2 { color: #5ab0ff; } .r3 { color: #c27bff; } .r4 { color: #ffae2e; }
.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: sv-rainbow 2.4s linear infinite;
}
@keyframes sv-rainbow { to { background-position: -300% 0; } }

/* ================= 面板与按钮 ================= */
.sv-panel { background: rgba(26, 20, 40, .94); border-radius: 2px; box-shadow: 0 0 0 1px #06041a, inset 0 0 0 1px #e8c27a, inset 0 0 0 2px #7a5a2a; }
.sv-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);
}
.sv-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); }
.sv-btn:disabled { opacity: .5; cursor: default; }
.sv-btn:focus-visible { outline: 1px solid #ffd257; outline-offset: 2px; }
.sv-btn.gold { --b1: #ffe680; --b2: #f2a01e; --lip: #a85e08; color: #4a2800; text-shadow: 0 1px 0 rgba(255, 255, 255, .45); }
.sv-btn.blue { --b1: #8cc8ff; --b2: #2f78de; --lip: #173e8a; }
.sv-btn.red { --b1: #ff9c8e; --b2: #dc3c4a; --lip: #7e1424; }
.sv-btn.green { --b1: #90eaa0; --b2: #32a456; --lip: #135a2e; }
.sv-btn.purple { --b1: #c8a4ff; --b2: #7c42d4; --lip: #3c1c84; }
.sv-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);
}
.sv-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); }
.sv-btn.sm { height: 13px; padding: 0 5px; border-radius: 5px; }
.sv-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); }
.sv-btn.big.gold, .sv-btn.big.red, .sv-btn.big.green, .sv-btn.big.purple, .sv-btn.big.blue { background: var(--gx-stripe), var(--gx-gloss), linear-gradient(180deg, var(--b1), var(--b2)); }
.sv-btn small { margin-left: 3px; font-size: 7px; opacity: .92; }
.sv-btn.big small { margin-left: 4px; font-size: 8px; opacity: .9; }
.sv-btn.locked { opacity: .6; }
.sv-btn.pulse { animation: sv-pulse 1.2s ease-in-out infinite; }
@keyframes sv-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; } }
.sv-x { width: 15px; height: 15px; padding: 0; border-radius: 50%; }
@media (hover: hover) and (pointer: fine) {
  .sv-btn:hover:not(:disabled) { filter: brightness(1.08); }
}

/* 图标：16×16 格子（x2 放大 2 倍） */
.sv-ic, .sv-pk {
  display: inline-block; flex: none; width: 16px; height: 16px; vertical-align: middle; background-position: var(--ix, 0) var(--iy, 0);
  background-repeat: no-repeat; image-rendering: crisp-edges; image-rendering: pixelated;
}
.sv-ic { background-image: var(--sv-icons); }
.sv-pk { background-image: var(--sv-picks); }
.sv-ic.x2 { width: 32px; height: 32px; background-size: 512px 128px; background-position: calc(var(--ix, 0px) * 2) calc(var(--iy, 0px) * 2); }
.sv-pk.x2 { width: 32px; height: 32px; background-size: 288px 32px; background-position: calc(var(--ix, 0px) * 2) calc(var(--iy, 0px) * 2); }
.sv-pk.x4 { width: 64px; height: 64px; background-size: 576px 64px; background-position: calc(var(--ix, 0px) * 4) calc(var(--iy, 0px) * 4); }
.sv-ic.none, .sv-pk.none { background: none; }

/* 资源、标签、徽章、星星、条 */
.sv-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); }
.sv-res b { color: #fff1c8; font-size: 9px; }
.sv-res.click { cursor: pointer; }
.sv-res.vip b { color: #ffd257; }
.sv-res.big b { font-size: 10px; color: #ffd257; }
.sv-reslist { display: inline-flex; flex-wrap: wrap; gap: 2px; }
.sv-tag { display: inline-block; padding: 0 3px; font-size: 8px; line-height: 11px; white-space: nowrap; background: rgba(0, 0, 0, .45); box-shadow: inset 0 0 0 1px currentColor; }
.sv-tag.d0 { color: #6ee07a; } .sv-tag.d1 { color: #5ab0ff; } .sv-tag.d2 { color: #c27bff; } .sv-tag.d3 { color: #ff6b5a; }
.sv-tag.t0 { color: #e6e9ef; } .sv-tag.t1 { color: #6ee07a; } .sv-tag.t2 { color: #5ab0ff; } .sv-tag.t3 { color: #c27bff; } .sv-tag.t4 { color: #ffcc4d; }
.sv-grade { display: inline-block; min-width: 10px; height: 10px; padding: 0 1px; color: #120c26; font-size: 8px; line-height: 10px; text-align: center; text-shadow: none; font-weight: bold; }
.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: sv-gold 1.2s linear infinite; }
@keyframes sv-gold { to { background-position: -200% 0; } }
.sv-stars { display: inline-flex; gap: 1px; }
.sv-stars i { width: 7px; height: 7px; background: #3a2a5a; clip-path: polygon(50% 0, 63% 35%, 100% 38%, 72% 61%, 81% 100%, 50% 79%, 19% 100%, 28% 61%, 0 38%, 37% 35%); }
.sv-stars i.on { background: #ffd257; }
.sv-stars.aw i.on { background: #ff8aff; }
.sv-stars.tiny i { width: 4px; height: 4px; }
.sv-eltag { display: inline-block; padding: 0 2px; color: #120c26; font-size: 8px; line-height: 10px; text-shadow: none; }
.sv-eltag.e0 { background: #e0a050; } .sv-eltag.e1 { background: #4aa3ff; } .sv-eltag.e2 { background: #ff5a3c; } .sv-eltag.e3 { background: #4fd66b; }
.sv-elbar { display: inline-flex; flex: none; width: 30px; height: 4px; overflow: hidden; background: #1a1030; box-shadow: 0 0 0 1px #07051a; }
.sv-elbar i { display: block; flex: 1 1 0; }
.sv-elbar .e0 { background: #e0a050; } .sv-elbar .e1 { background: #4aa3ff; } .sv-elbar .e2 { background: #ff5a3c; } .sv-elbar .e3 { background: #4fd66b; }
.sv-bar { display: inline-block; flex: 1 1 auto; min-width: 20px; height: 4px; background: #1a1030; box-shadow: 0 0 0 1px #07051a; }
.sv-bar i { display: block; width: 0; height: 100%; background: #7fe3ff; transition: width .3s; }
.sv-bar.thin { height: 2px; }
.sv-bar.gold i { background: #ffd257; } .sv-bar.purple i { background: #c27bff; } .sv-bar.cyan i { background: #7fe3ff; }
.sv-gearchip { display: inline-flex; align-items: center; gap: 2px; height: 16px; padding: 0 4px 0 1px; background: rgba(0, 0, 0, .45); box-shadow: inset 0 0 0 1px currentColor; }
.sv-tag.shiny { background: none; box-shadow: none; }

/* ================= 弹窗、横条、横幅 ================= */
.sv-pop { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(6, 4, 20, .62); }
.sv-pop-card { display: flex; flex-direction: column; min-width: 200px; max-width: 330px; max-height: 258px; padding: 6px; animation: sv-pop .18s ease-out; }
.sv-pop.small .sv-pop-card { max-width: 260px; }
.sv-pop.wide .sv-pop-card { width: 420px; max-width: 420px; }
.sv-pop.tall .sv-pop-card { height: 258px; }
.sv-pop.stage .sv-pop-card { width: 464px; max-width: 464px; height: 258px; }
@keyframes sv-pop { from { opacity: 0; transform: scale(.96); } }
.sv-pop-title { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 4px; }
.sv-pop-title b { font-size: 10px; }
.sv-pop-body { flex: 1 1 auto; min-height: 0; overflow: auto; }
.sv-pop-body > p { line-height: 1.45; }
.sv-pop-body pre, .sv-pop-body > p { white-space: pre-wrap; }
.sv-pop-acts { display: flex; justify-content: flex-end; gap: 5px; margin-top: 5px; }
.sv-flash {
  padding: 3px 10px; color: #f4ead2; font-size: 10px; white-space: nowrap; background: rgba(20, 14, 40, .92);
  box-shadow: 0 0 0 1px #07051a, inset 0 0 0 1px #e8c27a; animation: sv-fin .25s ease-out; transition: opacity .3s;
}
.sv-flash.warn { color: #ff8a7a; box-shadow: 0 0 0 1px #07051a, inset 0 0 0 1px #ff6b5a; }
.sv-flash.info { color: #7fe3ff; }
.sv-flash.good { color: #6ee07a; box-shadow: 0 0 0 1px #07051a, inset 0 0 0 1px #6ee07a; }
.sv-flash.out { opacity: 0; }
@keyframes sv-fin { from { opacity: 0; transform: translateY(-4px); } }
.sv-banner {
  position: absolute; z-index: 7; left: 0; top: 78px; display: flex; flex-direction: column; align-items: center; width: 480px; padding: 6px 0;
  background: linear-gradient(90deg, transparent, rgba(10, 6, 28, .85) 20%, rgba(10, 6, 28, .85) 80%, transparent); pointer-events: none;
  animation: sv-bin .35s ease-out; transition: opacity .4s;
}
.sv-banner b { color: #ffd257; font-size: 18px; letter-spacing: 3px; text-shadow: 0 2px 0 #3a1a00, 0 0 8px rgba(255, 180, 60, .6); }
.sv-banner small { margin-top: 2px; color: #f4ead2; font-size: 9px; }
.sv-banner.boss b, .sv-banner.red b, .sv-banner.lose b { color: #ff6b5a; text-shadow: 0 2px 0 #3a0008, 0 0 8px rgba(255, 60, 60, .7); }
.sv-banner.evolve b { color: #fff1a8; font-size: 22px; }
.sv-banner.egg b { color: #ff8ad0; font-size: 14px; }
.sv-banner.good b { color: #6ee07a; font-size: 14px; }
.sv-banner.win b { font-size: 24px; }
.sv-banner.intro b { font-size: 16px; }
.sv-banner.intro.d1 b { color: #5ab0ff; } .sv-banner.intro.d2 b { color: #c27bff; } .sv-banner.intro.d3 b { color: #ff6b5a; }
.sv-banner.out { opacity: 0; }
@keyframes sv-bin { from { opacity: 0; transform: scaleY(.2); } }

/* ================= 局内 HUD ================= */
.sv-battle { position: absolute; inset: 0; }
.sv-input { position: absolute; inset: 0; touch-action: none; cursor: crosshair; }
.sv-hud { position: absolute; inset: 0; pointer-events: none; }
.sv-hud .sv-btn, .sv-hud button { pointer-events: auto; }
.hud-xp { position: absolute; left: 0; top: 0; width: 480px; height: 5px; background: rgba(10, 6, 28, .85); box-shadow: 0 1px 0 #07051a; }
.hud-xp i { display: block; width: 0; height: 100%; background: linear-gradient(180deg, #a8f0ff, #3aa8e8); transition: width .15s; }
.hud-lv { position: absolute; right: 26px; top: 7px; color: #7fe3ff; font-size: 10px; }
.hud-top { position: absolute; left: 50%; top: 6px; display: flex; gap: 6px; align-items: center; transform: translateX(-50%); }
.hud-obj { display: inline-flex; align-items: center; gap: 3px; height: 16px; padding: 0 6px 0 1px; background: rgba(10, 6, 28, .78); box-shadow: 0 0 0 1px #07051a, inset 0 0 0 1px #7a5a2a; }
.hud-obj b { color: #ffd257; font-size: 9px; white-space: nowrap; }
.hud-obj .sv-bar { width: 40px; }
.hud-kills { color: #ff9a8a; font-size: 9px; white-space: nowrap; }
.hud-gold { background: rgba(10, 6, 28, .78); }
.hud-boss { position: absolute; left: 90px; top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; width: 300px; }
.hud-boss b { color: #ff8a7a; font-size: 9px; }
.hud-boss .ph { color: #ffd257; font-size: 8px; }
.hud-boss .sv-bar { flex: 0 0 300px; height: 5px; background: #2a0810; }
.hud-boss .sv-bar i { background: linear-gradient(180deg, #ff8a7a, #c8203a); }
.hud-boss.ph2 .sv-bar i { background: linear-gradient(180deg, #e0a0ff, #8a2ac8); }
.hud-boss.ph3 .sv-bar i { background: linear-gradient(180deg, #ffb060, #ff2020); animation: sv-pulse-red .5s steps(2) infinite; }
@keyframes sv-pulse-red { 50% { opacity: .65; } }
.hud-hp { position: absolute; left: 3px; top: 8px; display: flex; align-items: flex-end; gap: 3px; }
.hud-hp .hpbox { display: flex; flex-direction: column; gap: 1px; width: 62px; }
.hud-hp .sv-bar { width: 62px; height: 5px; background: #2a0810; }
.hud-hp .sv-bar i { background: linear-gradient(180deg, #8af08a, #2a9a42); }
.hud-hp .sv-bar.low i { background: linear-gradient(180deg, #ff8a7a, #c8203a); }
.hud-hp small { color: #f4ead2; font-size: 8px; }
.hud-hp .rev { color: #ffd257; font-size: 8px; }
.hud-pets { position: absolute; left: 3px; bottom: 3px; display: flex; gap: 2px; }
.hp-cell { position: relative; display: block; width: 22px; height: 22px; padding: 1px; background: rgba(10, 6, 28, .78); box-shadow: 0 0 0 1px #07051a, inset 0 0 0 1px currentColor; }
.hp-cell .cd { position: absolute; inset: 1px; background: conic-gradient(rgba(6, 4, 20, .62) var(--cd, 0deg), transparent 0); }
.hp-cell .lv { position: absolute; right: 0; bottom: -1px; color: #fff; font-size: 7px; }
.hp-cell.evo { box-shadow: 0 0 0 1px #07051a, inset 0 0 0 1px #ffd257, 0 0 4px #ffd257; }
.hp-cell.evo .lv { color: #ffd257; }
.hud-ult {
  position: absolute; right: 6px; bottom: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 40px; height: 40px;
  padding: 0; background: conic-gradient(#ffd257 var(--ult, 0deg), rgba(10, 6, 28, .8) 0); border: 0; border-radius: 50%;
  box-shadow: 0 0 0 1px #07051a; cursor: pointer; touch-action: manipulation; color: #f4ead2; font: inherit;
}
.hud-ult::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #1a1230; }
.hud-ult > * { position: relative; }
.hud-ult small { font-size: 7px; color: #ffd257; white-space: nowrap; }
.hud-ult kbd { position: absolute; bottom: -8px; color: #7fe3ff; font: inherit; font-size: 7px; }
.hud-ult.ready { animation: sv-ultglow .8s ease-in-out infinite; }
@keyframes sv-ultglow { 50% { box-shadow: 0 0 0 1px #07051a, 0 0 10px 3px #ffd257; } }
@media (pointer: coarse) { .hud-ult { width: 52px; height: 52px; right: 10px; bottom: 10px; } .hud-ult kbd { display: none; } }
.hud-pause { position: absolute; right: 3px; top: 8px; }
.hud-joy { position: absolute; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 241, 168, .45); pointer-events: none; }
.hud-joy i { position: absolute; left: 14px; top: 14px; width: 16px; height: 16px; border-radius: 50%; background: rgba(255, 210, 87, .6); box-shadow: 0 0 0 1px #07051a; }
.hud-dev { position: absolute; left: 3px; top: 34px; color: #7fe3ff; font-size: 8px; white-space: nowrap; }
.sv-overlays { position: absolute; inset: 0; pointer-events: none; }
.sv-overlays > * { pointer-events: auto; }
.sv-cutin {
  position: absolute; left: 0; top: 96px; display: flex; align-items: center; gap: 8px; width: 480px; height: 64px; padding-left: 60px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 210, 87, .35) 15%, rgba(40, 20, 0, .7) 50%, transparent); animation: sv-cut .9s ease-out forwards;
}
.sv-cutin.k-bless { background: linear-gradient(90deg, transparent, rgba(110, 255, 138, .35) 15%, rgba(0, 40, 20, .7) 50%, transparent); }
.sv-cutin .txt { display: flex; flex-direction: column; }
.sv-cutin .txt small { color: #f4ead2; }
.sv-cutin .txt b { color: #ffd257; font-size: 16px; letter-spacing: 2px; }
@keyframes sv-cut { 0% { transform: translateX(-120px); opacity: 0; } 20% { transform: translateX(0); opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(40px); opacity: 0; } }

/* 升级三选一 */
.sv-lvup { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.lv-head { display: flex; flex-direction: column; align-items: center; }
.lv-head b { font-size: 14px; letter-spacing: 2px; }
.lv-cards { display: flex; gap: 8px; }
.lv-card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; width: 118px; min-height: 128px; padding: 6px 5px; color: #f4ead2;
  font: inherit; text-align: center; background: rgba(26, 20, 40, .97); border: 0; border-radius: 2px; cursor: pointer; touch-action: manipulation;
  box-shadow: 0 0 0 1px #06041a, inset 0 0 0 2px var(--oc, #7fe3ff); animation: sv-cardin .3s ease-out backwards;
}
.lv-card.o-w { --oc: #7fe3ff; } .lv-card.o-new { --oc: #c27bff; } .lv-card.o-p { --oc: #6ee07a; } .lv-card.o-g { --oc: #ffd257; }
.lv-card kbd { position: absolute; left: 3px; top: 2px; color: #ffd257; font: inherit; font-size: 8px; }
.lv-card .nm { color: #fff1c8; font-size: 10px; }
.lv-card .sub { color: var(--oc); font-size: 8px; }
.lv-card .desc { color: #f4ead2; font-size: 8px; line-height: 1.4; }
.lv-card .tag { margin-top: auto; padding: 1px 3px; color: #ffd257; font-size: 8px; background: rgba(255, 210, 87, .12); box-shadow: inset 0 0 0 1px #ffd257; }
.lv-card .lv-pet { position: absolute; right: 3px; top: 3px; }
.lv-card:active { transform: translateY(1px); }
@keyframes sv-cardin { from { opacity: 0; transform: translateY(40px); } }
@media (hover: hover) and (pointer: fine) { .lv-card:hover { box-shadow: 0 0 0 1px #06041a, inset 0 0 0 2px #fff1c8, 0 0 8px var(--oc, #7fe3ff); } }
.sv-lvup.banning .lv-card.o-new { box-shadow: 0 0 0 1px #06041a, inset 0 0 0 2px #ff6b5a; }
.lv-foot { display: flex; align-items: center; gap: 6px; }

/* 宝箱 */
.sv-chest { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.ch-top { position: relative; display: flex; justify-content: center; width: 80px; height: 66px; }
.sv-pk.shake { animation: sv-shake .12s linear infinite; }
.sv-chest.open .sv-pk.shake { animation: none; }
@keyframes sv-shake { 25% { transform: translateX(-2px) rotate(-3deg); } 75% { transform: translateX(2px) rotate(3deg); } }
.ch-beam { position: absolute; left: 30px; top: -60px; width: 20px; height: 90px; opacity: 0; background: linear-gradient(180deg, transparent, rgba(255, 241, 168, .85)); }
.sv-chest.open .ch-beam { opacity: 1; animation: sv-beam .6s ease-out; }
@keyframes sv-beam { from { transform: scaleY(0); transform-origin: 50% 100%; } }
.ch-title { font-size: 12px; }
.ch-list { display: flex; flex-direction: column; gap: 3px; min-width: 220px; max-height: 120px; overflow: auto; }
.ch-item { display: flex; align-items: center; gap: 6px; padding: 2px 6px; background: rgba(26, 20, 40, .92); box-shadow: inset 0 0 0 1px #7a5a2a; animation: sv-cardin .3s ease-out; }
.ch-item.evo { padding: 4px 8px; background: linear-gradient(90deg, rgba(255, 210, 87, .3), rgba(26, 20, 40, .95)); box-shadow: inset 0 0 0 1px #ffd257, 0 0 8px #ffd257; }
.ch-item.evo b { font-size: 12px; }

/* 暂停 */
.sv-pause { position: absolute; left: 130px; top: 34px; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 220px; padding: 10px; }
.sv-pause .ttl { font-size: 14px; letter-spacing: 3px; }
.sv-pause .row { display: flex; gap: 6px; }
.sv-settings { display: flex; flex-direction: column; gap: 3px; width: 100%; }
.seg-line { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.seg { display: inline-flex; gap: 1px; padding: 2px; background: rgba(0, 0, 0, .42); border-radius: 8px; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .55); }
.seg .sv-btn { background: transparent; box-shadow: none; }
.seg .sv-btn.on { color: #4a2800; background: var(--gx-gloss), linear-gradient(180deg, #fffbe0, #ffd257); box-shadow: 0 1px 0 #b07808; }

/* 结算 */
.sv-result { position: absolute; left: 20px; top: 14px; display: flex; flex-direction: column; gap: 4px; width: 440px; height: 242px; padding: 8px; }
.sv-result.void { left: 100px; top: 70px; width: 280px; height: auto; align-items: center; text-align: center; gap: 6px; padding: 12px 10px; }
.sv-result.win { box-shadow: 0 0 0 1px #06041a, inset 0 0 0 1px #ffd257, inset 0 0 0 2px #a8650c, 0 0 14px rgba(255, 210, 87, .35); }
.rs-wait { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 100%; }
.rs-wait b { font-size: 12px; }
.sv-hourglass { position: relative; width: 20px; height: 28px; animation: sv-glass 1.6s steps(4) infinite; }
.sv-hourglass i { position: absolute; left: 4px; width: 12px; height: 2px; background: #ffd257; }
.sv-hourglass i:nth-child(1) { top: 0; left: 2px; width: 16px; } .sv-hourglass i:nth-child(4) { bottom: 0; left: 2px; width: 16px; }
.sv-hourglass i:nth-child(2) { top: 4px; height: 8px; clip-path: polygon(0 0, 100% 0, 60% 100%, 40% 100%); background: #e8a52c; animation: sv-sand 1.6s linear infinite; }
.sv-hourglass i:nth-child(3) { bottom: 4px; height: 8px; clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%); background: #e8a52c; animation: sv-sand2 1.6s linear infinite; }
@keyframes sv-glass { 0%, 75% { transform: rotate(0); } 100% { transform: rotate(180deg); } }
@keyframes sv-sand { from { opacity: 1; } to { opacity: .2; } }
@keyframes sv-sand2 { from { opacity: .2; } to { opacity: 1; } }
.rs-head { display: flex; align-items: baseline; gap: 8px; }
.rs-ttl { font-size: 16px; letter-spacing: 2px; }
.rs-cols { display: flex; flex: 1 1 auto; gap: 8px; min-height: 0; }
.rs-left, .rs-right { display: flex; flex-direction: column; gap: 4px; width: 50%; min-height: 0; overflow: auto; }
.rs-stars { display: flex; gap: 6px; }
.rs-star { display: flex; flex-direction: column; align-items: center; gap: 1px; width: 64px; color: #c9a2ff; }
.rs-star i { width: 18px; height: 18px; background: #3a2a5a; clip-path: polygon(50% 0, 63% 35%, 100% 38%, 72% 61%, 81% 100%, 50% 79%, 19% 100%, 28% 61%, 0 38%, 37% 35%); }
.rs-star.on { color: #ffd257; }
.rs-star.on i { background: #ffd257; animation: sv-star .4s ease-out; }
@keyframes sv-star { 0% { transform: scale(2.4) rotate(-40deg); opacity: 0; } 70% { transform: scale(.9); } }
.rs-badges { display: flex; flex-direction: column; gap: 1px; }
.rs-badge, .sd-badge { display: flex; align-items: center; gap: 2px; color: #c9a2ff; }
.rs-badge.on, .sd-badge.on { color: #ffd257; }
.rs-badge:not(.on) .sv-ic, .sd-badge:not(.on) .sv-ic { opacity: .4; }
.rs-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.rs-stats span { display: flex; flex-direction: column; padding: 1px 3px; background: rgba(0, 0, 0, .35); }
.rs-eggs { display: flex; align-items: center; gap: 2px; }
.rs-tip { color: #ffd257; line-height: 1.4; }
.rs-rew { display: flex; flex-direction: column; gap: 3px; }
.rs-items { display: flex; flex-wrap: wrap; gap: 3px; }
.fly { animation: sv-fly .45s ease-out backwards; }
@keyframes sv-fly { from { opacity: 0; transform: translate(-30px, 20px) scale(.5); } }
.sv-gearchip.r3, .sv-gearchip.r4 { animation: sv-fly .45s ease-out backwards, sv-pillar 1.4s ease-in-out .5s 2; }
@keyframes sv-pillar { 50% { box-shadow: inset 0 0 0 1px currentColor, 0 -8px 10px currentColor; } }
.rs-prog .line { display: flex; flex-direction: column; gap: 1px; }
.rs-notes p { line-height: 1.4; }
.rs-acts { display: flex; justify-content: center; gap: 6px; margin-top: auto; }

/* ================= 大厅 ================= */
.sv-lobby { position: absolute; inset: 0; }
.lb-top {
  position: absolute; z-index: 2; left: 0; top: 0; display: flex; align-items: center; gap: 4px; width: 480px; height: 17px; padding: 0 3px;
  background: linear-gradient(180deg, rgba(10, 6, 28, .95), rgba(10, 6, 28, .78)); box-shadow: 0 1px 0 #7a5a2a;
}
.lb-title { font-size: 10px; letter-spacing: 1px; white-space: nowrap; }
.lb-res { display: inline-flex; gap: 2px; margin-left: 2px; }
.lb-season { gap: 2px; }
.lb-season .sv-bar { width: 26px; }
.lb-power { margin-left: auto; white-space: nowrap; }
.lb-nav { position: absolute; z-index: 2; left: 0; top: 18px; display: flex; flex-direction: column; gap: 1px; width: 44px; height: 252px; background: rgba(10, 6, 28, .9); box-shadow: 1px 0 0 #7a5a2a; }
.lb-nav-btn {
  display: flex; align-items: center; gap: 1px; width: 44px; height: 22px; padding: 0 1px; color: #f4ead2; font: inherit; font-size: 8px; white-space: nowrap;
  background: transparent; border: 0; cursor: pointer; touch-action: manipulation; text-shadow: inherit;
}
.lb-nav-btn.on { color: #2a1600; text-shadow: none; background: linear-gradient(90deg, #ffd257, #e8a52c); }
@media (hover: hover) and (pointer: fine) { .lb-nav-btn:not(.on):hover { background: rgba(255, 210, 87, .18); } }
.lb-page { position: absolute; z-index: 1; left: 46px; top: 19px; width: 432px; height: 250px; display: flex; flex-direction: column; gap: 3px; }
.lb-page.p-map { left: 0; top: 0; width: 480px; height: 270px; pointer-events: none; }
.lb-page.p-map > * { pointer-events: auto; }
.pg-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; min-height: 14px; }
.pg-head > b { font-size: 11px; }
.tabs { display: inline-flex; flex-wrap: wrap; align-self: flex-start; gap: 1px; padding: 2px; background: rgba(0, 0, 0, .42); border-radius: 9px; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .55), 0 1px 0 rgba(255, 255, 255, .08); }
.tabs .sv-btn { color: #f4ead2; background: transparent; box-shadow: none; }
.tabs .sv-btn.on { color: #4a2800; background: var(--gx-gloss), linear-gradient(180deg, #fffbe0, #ffd257); box-shadow: 0 1px 0 #b07808, 0 1px 3px rgba(0, 0, 0, .4); }
.row { display: flex; flex-wrap: nowrap; align-items: center; gap: 3px; }
.row.wrap { flex-wrap: wrap; }

/* 章节地图 */
.mp-head { position: absolute; left: 48px; top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; width: 428px; padding: 2px 4px; background: rgba(10, 6, 28, .72); box-shadow: 0 0 0 1px #07051a; }
.mp-head > b { font-size: 11px; }
.mp-stars { display: inline-flex; align-items: center; }
.mp-desc { flex: 1 1 100%; }
.mp-nodes { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.mp-node {
  position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 18px; height: 18px; margin: -9px 0 0 -9px;
  padding: 0; color: #2a1600; font: inherit; font-size: 9px; background: #e8c27a; border: 0; border-radius: 50%; cursor: pointer; touch-action: manipulation;
  box-shadow: 0 0 0 1px #07051a, inset 0 -2px 0 #a8650c, 0 2px 0 rgba(0, 0, 0, .4); text-shadow: none;
}
.mp-node b { line-height: 1; }
.mp-node.clear { background: #6ee07a; box-shadow: 0 0 0 1px #07051a, inset 0 -2px 0 #2a8a3a, 0 2px 0 rgba(0, 0, 0, .4); }
.mp-node.boss { width: 24px; height: 24px; margin: -12px 0 0 -12px; background: #ff8a6a; box-shadow: 0 0 0 1px #07051a, inset 0 -2px 0 #a82a1a, 0 0 6px #ff5a3a; }
.mp-node.boss.clear { background: #ffd257; }
.mp-node.secret { background: #c27bff; box-shadow: 0 0 0 1px #07051a, inset 0 -2px 0 #6a2ac8, 0 0 6px #c27bff; }
.mp-node.hidden { color: #f4ead2; background: rgba(60, 30, 90, .8); box-shadow: 0 0 0 1px #c27bff; }
.mp-node.locked { color: #c9a2ff; background: #3a2a5a; box-shadow: 0 0 0 1px #07051a, inset 0 -2px 0 #1a1030; }
.mp-node.front { animation: sv-front 1s ease-in-out infinite; }
@keyframes sv-front { 50% { box-shadow: 0 0 0 1px #07051a, 0 0 0 3px rgba(255, 210, 87, .7), 0 0 10px 3px #ffd257; } }
.mp-st { position: absolute; bottom: -6px; display: flex; gap: 0; }
.mp-st i { width: 5px; height: 5px; background: #3a2a5a; clip-path: polygon(50% 0, 63% 35%, 100% 38%, 72% 61%, 81% 100%, 50% 79%, 19% 100%, 28% 61%, 0 38%, 37% 35%); }
.mp-st.d0 i.on { background: #ffd257; } .mp-st.d1 i.on { background: #5ab0ff; } .mp-st.d2 i.on { background: #c27bff; } .mp-st.d3 i.on { background: #ff6b5a; }
.mp-name.left { transform: translateX(-12px); } .mp-name.right { transform: translateX(-85%); }
.mp-name { position: absolute; transform: translateX(-50%); padding: 0 2px; color: #f4ead2; font-size: 8px; white-space: nowrap; background: rgba(10, 6, 28, .7); pointer-events: none; }
.mp-active { position: absolute; left: 140px; top: 150px; display: flex; align-items: center; gap: 4px; padding: 3px 6px; background: rgba(10, 6, 28, .9); box-shadow: 0 0 0 1px #07051a, inset 0 0 0 1px #ffd257; }
.mp-bottom { position: absolute; left: 46px; bottom: 2px; display: flex; gap: 3px; width: 432px; height: 78px; }
.mp-card { display: flex; flex-direction: column; gap: 2px; width: 105px; padding: 3px 4px; }
.mp-card .hd { display: flex; justify-content: space-between; align-items: center; gap: 2px; }
.mp-card .nm { overflow: hidden; white-space: nowrap; text-overflow: clip; }
.mp-card.team { width: 118px; }
.tm-cell {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; width: 26px; height: 32px; padding: 0; color: #f4ead2;
  font: inherit; font-size: 7px; background: rgba(0, 0, 0, .4); border: 0; cursor: pointer; touch-action: manipulation; box-shadow: inset 0 0 0 1px currentColor;
}
.tm-cell.empty { color: #7fe3ff; justify-content: center; }
.tm-cell small { color: #fff1c8; font-size: 7px; }
.mp-card .cls { display: flex; align-items: center; gap: 2px; }
.mode-btn {
  display: flex; flex-direction: column; align-items: flex-start; width: 100%; height: auto; padding: 1px 4px; color: #f4ead2; line-height: 1.15; font: inherit; text-align: left; background: rgba(0, 0, 0, .35);
  border: 0; cursor: pointer; touch-action: manipulation; box-shadow: inset 0 0 0 1px #7a5a2a;
}
.mode-btn.abyss { box-shadow: inset 0 0 0 1px #c27bff; } .mode-btn.rush { box-shadow: inset 0 0 0 1px #ff6b5a; }
.mode-btn.locked { opacity: .7; }
.mode-btn small { white-space: normal; }
.chal-pop .row { margin: 4px 0; }
.chal-pop .pp { display: flex; flex-direction: column; align-items: center; width: 60px; }
.afx { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; }
.chest-list { display: flex; flex-direction: column; gap: 3px; }
.ch-row { display: flex; align-items: center; gap: 4px; padding: 2px 4px; background: rgba(0, 0, 0, .35); }
.ch-row.ready { box-shadow: inset 0 0 0 1px #ffd257; }
.ch-row.got { opacity: .75; }
.ch-row .sv-btn { margin-left: auto; }

/* 关卡详情 */
.sd { display: flex; gap: 6px; height: 100%; }
.sd-left, .sd-right { display: flex; flex-direction: column; gap: 3px; width: 50%; min-height: 0; }
.sd-title { display: flex; align-items: center; gap: 4px; }
.sd-title b { font-size: 12px; }
.sd-left p { line-height: 1.4; }
.sd-tabs { display: flex; gap: 2px; }
.sd-tabs .sv-btn { flex-direction: column; height: 22px; gap: 1px; }
.sd-tabs .d0:not(.on) { color: #6ee07a; } .sd-tabs .d1:not(.on) { color: #5ab0ff; } .sd-tabs .d2:not(.on) { color: #c27bff; } .sd-tabs .d3:not(.on) { color: #ff6b5a; }
.mini-st { display: flex; gap: 1px; }
.mini-st i { width: 4px; height: 4px; background: #3a2a5a; }
.mini-st i.on { background: #ffd257; }
.sv-btn.on .mini-st i { background: #6a4a10; box-shadow: 0 0 0 1px #3a2a08; } .sv-btn.on .mini-st i.on { background: #fff6c8; }
.sd-diff { padding: 2px 3px; background: rgba(0, 0, 0, .3); }
.sd-stars { display: flex; gap: 3px; }
.sd-star { display: flex; align-items: center; gap: 2px; color: #c9a2ff; }
.sd-star i { width: 8px; height: 8px; background: #3a2a5a; clip-path: polygon(50% 0, 63% 35%, 100% 38%, 72% 61%, 81% 100%, 50% 79%, 19% 100%, 28% 61%, 0 38%, 37% 35%); }
.sd-star.on { color: #ffd257; } .sd-star.on i { background: #ffd257; }
.sd-badges { display: flex; flex-direction: column; gap: 1px; }
.sd-power { display: flex; justify-content: space-between; padding: 2px 4px; font-size: 9px; background: rgba(0, 0, 0, .35); }
.sd-drops { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.sd-res { display: flex; flex-wrap: wrap; gap: 2px; }
.sd-team { display: flex; gap: 3px; }
.sd-team .tm-cell { width: 48px; height: 40px; }
.sd-cls { display: flex; gap: 2px; }
.cls-btn {
  display: flex; flex-direction: column; align-items: center; width: 50px; height: auto; padding: 1px; color: #f4ead2; font: inherit; background: rgba(0, 0, 0, .35); border: 0;
  cursor: pointer; touch-action: manipulation; box-shadow: inset 0 0 0 1px #7a5a2a;
}
.cls-btn.on { box-shadow: inset 0 0 0 2px #ffd257; }
.cls-btn.locked { color: #c9a2ff; }
.sd-acts { display: flex; justify-content: flex-end; gap: 4px; margin-top: auto; }
.rw-pop { display: flex; flex-direction: column; gap: 4px; }

/* 选宠物 */
.picker { display: flex; flex-direction: column; gap: 4px; }
.pk-grid { display: flex; flex-wrap: wrap; gap: 2px; max-height: 170px; overflow: auto; }
.pk-grid.small { max-height: 70px; }
.pk-cell {
  position: relative; display: flex; flex-direction: column; align-items: center; width: 30px; height: auto; padding: 1px; color: #f4ead2; font: inherit; font-size: 7px;
  background: rgba(0, 0, 0, .4); border: 0; cursor: pointer; touch-action: manipulation; box-shadow: inset 0 0 0 1px currentColor;
}
.pk-cell small { color: #fff1c8; font-size: 7px; }
.pk-cell.on { box-shadow: inset 0 0 0 2px #ffd257; }
.pk-cell.used::after { content: "阵"; position: absolute; left: 1px; top: 0; color: #ffd257; font-size: 7px; }

/* 宠物页 */
.pt-body { display: flex; flex: 1 1 auto; gap: 4px; min-height: 0; }
.pt-left { display: flex; flex-direction: column; gap: 2px; width: 236px; min-height: 0; }
.pt-filter { display: flex; flex-wrap: wrap; gap: 1px 2px; }
.pt-filter .e0:not(.on) { color: #e0a050; } .pt-filter .e1:not(.on) { color: #4aa3ff; } .pt-filter .e2:not(.on) { color: #ff5a3c; } .pt-filter .e3:not(.on) { color: #4fd66b; }
.pt-grid { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 2px; flex: 1 1 auto; min-height: 0; overflow: auto; }
.pt-cell {
  position: relative; display: block; width: 27px; height: 30px; padding: 1px; color: #f4ead2; font: inherit; background: rgba(0, 0, 0, .45); border: 0;
  cursor: pointer; touch-action: manipulation; box-shadow: inset 0 0 0 1px currentColor;
}
.pt-cell.no { opacity: .85; }
.pt-cell.on { box-shadow: inset 0 0 0 2px #ffd257; }
.pt-cell.team::before { content: ""; position: absolute; left: 1px; top: 1px; width: 4px; height: 4px; background: #ffd257; }
.pt-cell.ready { animation: sv-ready 1s ease-in-out infinite; }
@keyframes sv-ready { 50% { box-shadow: inset 0 0 0 1px #ffd257, 0 0 5px #ffd257; } }
.pt-cell .lv { position: absolute; left: 1px; bottom: 0; color: #fff1c8; font-size: 7px; }
.pt-cell .st { position: absolute; right: 1px; bottom: 0; color: #ffd257; font-size: 7px; font-style: normal; }
.pt-cell .sh { position: absolute; left: 2px; right: 2px; bottom: 1px; height: 2px; background: #1a1030; }
.pt-cell .sh i { display: block; height: 100%; background: #7fe3ff; }
.pt-right { display: flex; flex-direction: column; gap: 3px; width: 192px; padding: 5px; overflow: auto; }
.pd-head { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; }
.pd-name { font-size: 11px; }
.pd-mid { display: flex; gap: 4px; }
.pd-art { display: flex; align-items: flex-end; justify-content: center; width: 70px; height: 60px; background: radial-gradient(ellipse at 50% 85%, rgba(255, 255, 255, .14), transparent 70%); }
.pd-art.e0 { background: radial-gradient(ellipse at 50% 85%, rgba(224, 160, 80, .35), transparent 70%); }
.pd-art.e1 { background: radial-gradient(ellipse at 50% 85%, rgba(74, 163, 255, .35), transparent 70%); }
.pd-art.e2 { background: radial-gradient(ellipse at 50% 85%, rgba(255, 90, 60, .35), transparent 70%); }
.pd-art.e3 { background: radial-gradient(ellipse at 50% 85%, rgba(79, 214, 107, .35), transparent 70%); }
.pd-art.rb1 { box-shadow: inset 0 -3px 0 #4aa3ff; } .pd-art.rb2 { box-shadow: inset 0 -3px 0 #ffd257; }
.pd-art.rb3 { box-shadow: inset 0 -3px 0 #ff6bff; } .pd-art.aw { box-shadow: inset 0 0 0 1px #ff8aff, inset 0 -3px 0 #ff8aff; }
.pd-info { display: flex; flex-direction: column; gap: 1px; }
.pd-w { display: flex; gap: 3px; padding: 2px; background: rgba(0, 0, 0, .3); }
.pd-w > div { display: flex; flex-direction: column; }
.pd-trait { line-height: 1.35; }
.pd-perks { display: flex; flex-wrap: wrap; gap: 1px 4px; }
.pd-perks span { color: #c9a2ff; }
.pd-perks span.on { color: #ffd257; }
.pd-src { line-height: 1.35; }
.pd-acts { position: sticky; bottom: -5px; display: flex; flex-wrap: wrap; gap: 2px; margin: auto -5px -5px; padding: 3px 5px 5px; background: rgba(26, 20, 40, .97); box-shadow: 0 -1px 0 #7a5a2a; }
.pd-acts .sv-btn { height: 16px; }
.skin-pop .row { flex-wrap: wrap; gap: 4px; }
.skin-cell { display: flex; flex-direction: column; align-items: center; width: 66px; height: auto; padding: 2px; color: #f4ead2; font: inherit; background: rgba(0, 0, 0, .35); border: 0; cursor: pointer; box-shadow: inset 0 0 0 1px #7a5a2a; }
.skin-cell.on { box-shadow: inset 0 0 0 2px #ffd257; }
.skin-cell.lock { opacity: .85; }
.fuse { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.fz-row { display: flex; align-items: center; gap: 6px; }
.fz-slot { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 80px; height: 56px; color: #7fe3ff; font: inherit; background: rgba(0, 0, 0, .4); border: 0; cursor: pointer; box-shadow: inset 0 0 0 1px currentColor; }
.fz-out { display: flex; flex-direction: column; align-items: center; width: 110px; }

/* 驯兽师 */
.tr-cards { display: flex; gap: 3px; }
.tr-card { display: flex; align-items: center; gap: 3px; width: 106px; height: 44px; padding: 2px 4px; font: inherit; text-align: left; border: 0; cursor: pointer; touch-action: manipulation; }
.tr-card > div { display: flex; flex-direction: column; min-width: 0; }
.sv-btn.tr-card { overflow: hidden; } .tr-card small { white-space: normal; line-height: 1.15; }
.sv-btn.tr-card { color: #f4ead2; background: rgba(26, 20, 40, .94); box-shadow: 0 0 0 1px #06041a, inset 0 0 0 1px #e8c27a, inset 0 0 0 2px #7a5a2a; text-shadow: 0 1px 0 rgba(8, 5, 26, .9); }
.sv-btn.tr-card.on { color: #f4ead2; background: linear-gradient(180deg, rgba(110, 70, 10, .95), rgba(40, 26, 8, .95)); box-shadow: 0 0 0 1px #06041a, inset 0 0 0 2px #ffd257, 0 0 6px rgba(255, 210, 87, .5); text-shadow: 0 1px 0 rgba(8, 5, 26, .9); }
.tr-info { display: flex; flex-direction: column; gap: 2px; padding: 2px 4px; background: rgba(0, 0, 0, .3); }
.tr-info .row { flex-wrap: wrap; }
.tr-info .sv-bar { max-width: 80px; }
.tr-tree { display: flex; flex-direction: column; gap: 3px; }
.tt-row { display: flex; align-items: center; }
.tt-name { width: 30px; font-size: 8px; }
.tt-name.b0 { color: #ff8a7a; } .tt-name.b1 { color: #7fe3ff; } .tt-name.b2 { color: #6ee07a; }
.tt-link { width: 4px; height: 2px; background: #3a2a5a; }
.tt-link.ok { background: #7a5a9a; } .tt-link.on { background: #ffd257; }
.tt-node {
  width: 22px; height: 18px; padding: 0; color: #c9a2ff; font: inherit; font-size: 7px; background: #2a1e48; border: 0; cursor: pointer; touch-action: manipulation;
  box-shadow: 0 0 0 1px #07051a, inset 0 0 0 1px #4a3a7a;
}
.tt-node.major { height: 20px; box-shadow: 0 0 0 1px #07051a, inset 0 0 0 1px #ffd257; }
.tt-node.ok { color: #f4ead2; }
.tt-node.on.b0 { background: #8a2a2a; } .tt-node.on.b1 { background: #1a5a8a; } .tt-node.on.b2 { background: #2a7a3a; }
.tt-node.on { color: #fff1c8; }
.tt-node.max { box-shadow: 0 0 0 1px #07051a, inset 0 0 0 1px #ffd257, 0 0 4px #ffd257; }
.tt-node.sel { outline: 1px solid #fff1c8; }
.tr-node { display: flex; align-items: center; gap: 6px; min-height: 20px; padding: 2px 4px; }
.tr-skins { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.tr-skins .skinb { gap: 1px; }
.tr-skins .skinb.lock { opacity: .75; }

/* 图腾装备 */
.gr-body { display: flex; gap: 4px; flex: 1 1 auto; min-height: 0; }
.gr-slots { display: flex; flex-direction: column; gap: 2px; width: 128px; overflow: auto; }
.gr-slot { display: flex; align-items: center; gap: 3px; padding: 1px; background: rgba(0, 0, 0, .35); }
.gr-slot > div { display: flex; flex-direction: column; min-width: 0; }
.gr-slot b { white-space: nowrap; overflow: hidden; }
.gr-cell {
  position: relative; display: inline-grid; flex: none; place-items: center; width: 20px; height: 20px; padding: 0; color: #e6e9ef; font: inherit;
  background: rgba(0, 0, 0, .45); border: 0; cursor: pointer; touch-action: manipulation; box-shadow: inset 0 0 0 1px currentColor;
}
.gr-cell.r1 { color: #6ee07a; } .gr-cell.r2 { color: #5ab0ff; } .gr-cell.r3 { color: #c27bff; background: rgba(194, 123, 255, .14); }
.gr-cell.r4 { color: #ffae2e; background: rgba(255, 174, 46, .18); }
.gr-cell.empty { color: #4a3a7a; cursor: default; }
.gr-cell.on { box-shadow: inset 0 0 0 2px #fff1c8; }
.gr-cell.eq::after { content: "穿"; position: absolute; left: 0; top: -1px; color: #ffd257; font-size: 7px; }
.gr-cell.pick { box-shadow: inset 0 0 0 2px #ff6b5a; }
.gr-cell .enh { position: absolute; right: 0; bottom: -1px; color: #fff1c8; font-size: 7px; }
.gr-cell .set { position: absolute; right: 1px; top: 1px; width: 3px; height: 3px; background: #ffd257; }
.gr-sets { display: flex; flex-direction: column; gap: 1px; padding: 2px; }
.gr-bag { display: flex; flex-direction: column; gap: 2px; width: 140px; min-height: 0; }
.gr-grid { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 2px; flex: 1 1 auto; min-height: 0; overflow: auto; }
.gr-det { display: flex; flex-direction: column; gap: 2px; width: 156px; padding: 4px; overflow: auto; }
.gr-aff { display: flex; flex-direction: column; gap: 1px; }
.aff-row { display: flex; align-items: center; gap: 3px; cursor: pointer; }
.aff-row input { width: 9px; height: 9px; margin: 0; accent-color: #ffd257; }

/* 神殿 */
.sh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; flex: 1 1 auto; min-height: 0; overflow: auto; }
.sh-card { display: flex; align-items: center; gap: 3px; padding: 2px 3px; }
.sh-card .t { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.sh-card.max { box-shadow: 0 0 0 1px #06041a, inset 0 0 0 1px #ffd257; }

/* 图鉴 */
.cx-body { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-height: 0; }
.cx-grid { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 2px; flex: 1 1 auto; min-height: 0; overflow: auto; }
.cx-cell {
  display: flex; flex-direction: column; align-items: center; width: 40px; height: 40px; padding: 1px; color: #f4ead2; font: inherit; overflow: hidden;
  background: rgba(0, 0, 0, .4); border: 0; cursor: pointer; touch-action: manipulation; box-shadow: inset 0 0 0 1px currentColor;
}
.cx-cell small { font-size: 7px; white-space: nowrap; }
.cx-cell.no { color: #c9a2ff; }
.cx-cell.fav { box-shadow: inset 0 0 0 1px #ffd257, 0 0 3px #ffd257; }
.cx-grid.boss .cx-cell { width: 70px; height: 56px; }
.cx-bonds { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-height: 0; overflow: auto; }
.bond { display: grid; grid-template-columns: 96px 60px 1fr auto; align-items: center; gap: 4px; padding: 1px 3px; background: rgba(0, 0, 0, .3); }
.bond.on { box-shadow: inset 0 0 0 1px #ffd257; }
.bond .fam { display: inline-flex; gap: 1px; }
.cx-pet { display: flex; gap: 6px; }
.cx-pet > div { display: flex; flex-direction: column; gap: 3px; }

/* 赛季 */
.ss-lv { display: flex; align-items: center; gap: 6px; padding: 2px 4px; background: rgba(0, 0, 0, .35); }
.ss-lv .sv-bar { max-width: 120px; }
.ss-track { display: flex; gap: 2px; flex: 1 1 auto; min-height: 0; overflow-x: auto; overflow-y: hidden; padding-bottom: 3px; }
.ss-col { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: none; width: 34px; padding: 2px 0; background: rgba(0, 0, 0, .3); }
.ss-col > b { height: 10px; line-height: 10px; }
.ss-col.lab { width: 26px; }
.ss-col.lab span { display: flex; align-items: center; height: 56px; }
.ss-col.lab span:first-child { height: 10px; }
.ss-col.reach { background: rgba(255, 210, 87, .12); }
.ss-cell {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; width: 32px; height: 56px; padding: 1px 0; color: #f4ead2; font: inherit; font-size: 7px;
  background: rgba(0, 0, 0, .45); border: 0; cursor: pointer; touch-action: manipulation; box-shadow: inset 0 0 0 1px #6ee07a;
}
.ss-cell.prem { box-shadow: inset 0 0 0 1px #ffd257; }
.ss-cell.lock { opacity: .7; }
.ss-cell.can { animation: sv-ready 1s ease-in-out infinite; }
.ss-cell.got { opacity: .55; }
.ss-cell .ok { position: absolute; right: 1px; top: 0; color: #6ee07a; font-style: normal; }

/* 商店 */
.sp-body { display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; min-height: 0; overflow: auto; }
.sp-grid { display: flex; flex-wrap: wrap; gap: 3px; }
.sp-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; width: 104px; padding: 4px 3px; text-align: center; }
.sp-card.own { box-shadow: 0 0 0 1px #06041a, inset 0 0 0 1px #6ee07a; }
.sp-card .nm { font-size: 9px; }
.sp-card .desc { min-height: 20px; line-height: 1.3; }
.sp-card .price { display: inline-flex; align-items: center; gap: 2px; }
.sp-card .price b { font-size: 10px; }
.sp-prev { display: flex; align-items: flex-end; justify-content: center; height: 42px; }
/* 外观：称号名牌、头像框、我的外观 */
.sv-ttl { position: relative; display: inline-flex; flex: none; align-items: center; justify-content: center; vertical-align: middle; }
.sv-ttl canvas { position: absolute; left: 0; top: 0; }
.sv-ttl b { position: relative; color: #fff1c8; font-size: 8px; line-height: 1; white-space: nowrap; text-shadow: 0 1px 0 #2a1640, 1px 0 0 #2a1640, -1px 0 0 #2a1640, 0 -1px 0 #2a1640; }
.sv-ttl.plain { padding: 0 3px; background: rgba(60, 30, 90, .85); box-shadow: inset 0 0 0 1px #c27bff; }
.sv-frame { position: relative; display: inline-block; flex: none; }
.sv-frame canvas { position: absolute; left: 0; top: 0; }
.sv-frame canvas.in { background: rgba(26, 20, 40, .9); }
.sp-prev .sv-ttl { align-self: center; }
.wd-me { display: flex; align-items: center; gap: 6px; padding: 4px 6px; margin-bottom: 3px; }
.wd-me .col { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.wd-secs { display: flex; flex-wrap: wrap; gap: 2px 6px; }
.wd-h { display: block; margin: 2px 0 2px; font-size: 9px; }
.wd-grid { display: flex; flex-wrap: wrap; gap: 3px; }
.wd-cell { display: flex; flex-direction: column; align-items: center; gap: 1px; width: 84px; padding: 3px; text-align: center; }
.wd-cell.on { box-shadow: 0 0 0 1px #06041a, inset 0 0 0 1px #ffd257, 0 0 5px rgba(255, 210, 87, .45); }
/* 买完外观点“去穿戴”跳过来时闪三下 */
.wd-cell.focus { animation: sv-ready .8s ease-in-out 3; }
.lb-top .lb-help { color: #7fe3ff; }
.lb-top .lb-help.on { color: #2a1600; }
.buy { display: flex; flex-direction: column; gap: 4px; }
.buy-row { display: flex; gap: 6px; }
.buy-row > div { display: flex; flex-direction: column; gap: 2px; }
.buy-qty { display: flex; align-items: center; gap: 4px; }
.buy-sum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.buy-sum > div { display: flex; flex-direction: column; padding: 2px 3px; background: rgba(0, 0, 0, .35); }
.buy .sv-btn.big { align-self: center; }
.od-list { display: flex; flex-direction: column; gap: 2px; }
.od-row { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; padding: 2px 4px; background: rgba(0, 0, 0, .35); }
.od-row.ref { box-shadow: inset 0 0 0 1px #ff6b5a; }
.tabs .altar:not(.on) { color: #ff9aff; }

/* 召唤祭坛 */
.p-shop .sp-body { background: transparent; }
.al-top { display: flex; align-items: center; gap: 8px; padding: 2px 4px; background: rgba(10, 6, 28, .7); }
.al-stones { display: flex; align-items: center; gap: 3px; }
.al-stones b { font-size: 10px; }
.al-pity { display: flex; flex-direction: column; gap: 1px; width: 150px; margin-left: auto; }
.al-pool { display: flex; flex-direction: column; gap: 2px; }
.al-tier { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; padding: 2px 4px; background: rgba(10, 6, 28, .75); }
.al-tier > b { width: 24px; }
.al-tier.t2 { box-shadow: inset 0 0 0 1px #ff8aff; } .al-tier.t2 > b { color: #ff8aff; }
.al-tier.t1 { box-shadow: inset 0 0 0 1px #5ab0ff; } .al-tier.t1 > b { color: #5ab0ff; }
.al-tier.t0 > b { color: #6ee07a; }
.al-ent { display: inline-flex; align-items: center; gap: 1px; padding: 0 3px; background: rgba(0, 0, 0, .35); }
.al-note { padding: 2px 4px; background: rgba(10, 6, 28, .7); line-height: 1.35; }
.al-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: auto; }
.sv-draw { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: rgba(6, 4, 20, .82); }
.dw-cols { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: 460px; }
.dw-card {
  position: relative; display: flex; align-items: center; justify-content: center; width: 80px; height: 84px; overflow: hidden;
  background: linear-gradient(180deg, #2a1e48, #120c26); box-shadow: 0 0 0 1px #07051a, inset 0 0 0 1px #7a5a2a; animation: sv-fall .4s ease-in backwards;
}
.dw-cols.ten .dw-card { height: 76px; }
@keyframes sv-fall { from { transform: translateY(-160px); opacity: 0; } }
.dw-card .beam { position: absolute; left: 30px; top: 0; width: 20px; height: 100%; background: linear-gradient(180deg, rgba(255, 241, 168, .7), transparent); }
.dw-card.t1 .beam { background: linear-gradient(180deg, rgba(90, 176, 255, .8), transparent); }
.dw-card.t2 .beam { background: linear-gradient(180deg, #ff6b9a, #ffd257, #6ee07a, #5ab0ff, #c27bff); opacity: .8; }
.dw-card .face { display: flex; flex-direction: column; align-items: center; gap: 1px; text-align: center; animation: sv-flip .35s ease-out; }
.dw-card .face small { font-size: 7px; line-height: 1.2; }
.dw-card .tier { font-size: 8px; color: #6ee07a; }
.dw-card.t1 .tier { color: #5ab0ff; } .dw-card.t2 .tier { color: #ff8aff; }
.dw-card.open .beam { opacity: .3; }
.dw-card.open.t2 { box-shadow: 0 0 0 1px #07051a, inset 0 0 0 2px #ff8aff, 0 0 12px #ff8aff; }
.dw-card.open.t1 { box-shadow: 0 0 0 1px #07051a, inset 0 0 0 1px #5ab0ff, 0 0 6px #5ab0ff; }
@keyframes sv-flip { from { transform: rotateY(90deg); } }
.rate { display: flex; flex-direction: column; gap: 3px; }
.rate p { line-height: 1.4; }
.rate-tiers { display: flex; flex-wrap: wrap; gap: 3px; }
.rate-row { display: grid; grid-template-columns: 32px 1fr 60px; gap: 4px; padding: 1px 3px; background: rgba(0, 0, 0, .35); }
.rate-row .t2 { color: #ff8aff; } .rate-row .t1 { color: #5ab0ff; } .rate-row .t0 { color: #6ee07a; }
.rate-mem { display: flex; flex-wrap: wrap; gap: 1px 6px; padding-left: 36px; }
.rate-mem span { display: inline-flex; align-items: center; gap: 1px; }

/* 排行 */
.rk-body { display: flex; gap: 4px; flex: 1 1 auto; min-height: 0; }
.rk-list { display: flex; flex-direction: column; gap: 1px; flex: 1 1 auto; min-height: 0; overflow: auto; }
.rk-row { display: grid; grid-template-columns: 16px 1fr auto auto auto; align-items: center; gap: 6px; padding: 1px 4px; background: rgba(0, 0, 0, .35); }
.rk-row .no { color: #f4ead2; text-align: center; }
.rk-row.r1 .no { color: #ffd257; } .rk-row.r2 .no { color: #e6f0ff; } .rk-row.r3 .no { color: #ffae6b; }
.rk-row .nm { overflow: hidden; white-space: nowrap; }
.rk-row .ttl { margin-left: 3px; color: #ff9aff; font-style: normal; }
.rk-me { display: flex; gap: 6px; padding: 2px 4px; background: rgba(255, 210, 87, .12); box-shadow: inset 0 0 0 1px #ffd257; }
.rk-tiers { display: flex; flex-direction: column; gap: 2px; width: 150px; padding: 4px; }
.rk-tiers > div { display: flex; justify-content: space-between; gap: 4px; }

/* 成就 */
.ac-list { display: flex; flex-direction: column; gap: 1px; flex: 1 1 auto; min-height: 0; overflow: auto; }
.ac-row { display: grid; grid-template-columns: 16px 1fr 50px 46px 150px; align-items: center; gap: 4px; padding: 1px 3px; background: rgba(0, 0, 0, .35); }
.ac-row .sv-reslist { justify-content: flex-end; flex-wrap: wrap; }
.ac-row .t { display: flex; flex-direction: column; min-width: 0; }
.ac-row.done { box-shadow: inset 0 0 0 1px #ffd257; }

/* 说明 */
.hp-text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-height: 0; overflow: auto; padding: 4px 6px; background: rgba(10, 6, 28, .7); }
.hp-text p { line-height: 1.5; margin-bottom: 3px; }
.hp-text b { font-size: 9px; }

/* ================= 10-26 布局改版：首页（大按钮 + 模式卡 + 功能方块 + 排行卡）、子页面返回 / 标题牌、图鉴左网格右详情 =================
   外观沿用上面的像素风（深色面板、金棕描边、硬边按钮），共用组件见 fun-gameui.css。 */
.lb-top { justify-content: space-between; height: 20px; padding: 0 4px; }
.lb-top.home { background: linear-gradient(180deg, rgba(10, 6, 28, .85), rgba(10, 6, 28, 0)); box-shadow: none; }
.lb-tl, .lb-tr { display: flex; align-items: center; gap: 3px; }
.lb-tr { margin-left: auto; }
.lb-top .gx-chip.wide { padding: 0 4px 0 1px; }
.lb-page { left: 4px; top: 23px; width: 472px; height: 244px; }
.lb-page.p-home { left: 0; top: 0; width: 480px; height: 270px; pointer-events: none; }
.lb-page.p-home > * { pointer-events: auto; }
.pg-head { padding: 1px 4px; background: rgba(10, 6, 28, .72); box-shadow: 0 0 0 1px #07051a; }
.pg-head:empty { display: none; }
.mp-head { left: 4px; top: 23px; width: 472px; }
.mp-bottom { left: 4px; width: auto; }
.mp-card.team { width: 124px; }

/* 首页 */
.hm-col { position: absolute; left: 8px; top: 23px; display: flex; flex-direction: column; gap: 5px; width: 254px; }
.hm-logo { display: flex; align-items: flex-end; gap: 6px; height: 26px; }
.hm-logo .gx-logo { font-size: 21px; }
.hm-logo .gx-ver { margin-bottom: 3px; }
.hm-row1 { display: flex; gap: 5px; height: 54px; }
.hm-cta { flex: 1 1 auto; height: 54px; }
.hm-cta .txt small + small { margin-top: 0; }
.hm-modes { display: flex; flex-direction: column; gap: 4px; width: 84px; }
.hm-modes .gx-mode { flex: 1 1 0; }
.hm-row2 { display: flex; gap: 5px; height: 28px; }
.hm-chal {
  position: relative; display: flex; flex: 1 1 0; align-items: center; gap: 4px; min-width: 0; margin: 0; padding: 0 4px; color: var(--px-text); font: inherit; text-align: left;
  background: var(--px-bg); border: 0; border-radius: 0; cursor: pointer; text-shadow: 0 1px 0 rgba(8, 5, 26, .95); -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  border-radius: 8px; overflow: hidden;
}
.hm-chal.daily { 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-chal.weekly { 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-chal .ic { display: grid; flex: none; place-items: center; width: 21px; height: 21px; margin-left: 1px; background: radial-gradient(circle at 50% 35%, #fff, #e6def8); border-radius: 50%; }
.hm-chal .t { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.hm-chal .t b { display: flex; align-items: center; gap: 3px; font-size: 9px; white-space: nowrap; }
.hm-chal .t small { overflow: hidden; font-size: 7px; white-space: nowrap; text-overflow: ellipsis; }
.hm-chal.locked { opacity: .7; }
.hm-chal:active { transform: translateY(1px); }
.hm-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.hm-tiles .gx-tile { height: 40px; }
.hm-foot { display: flex; align-items: center; gap: 4px; }
.hm-note { padding: 1px 7px; color: #f4ead2; white-space: nowrap; 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; box-shadow: 0 0 0 1px #07051a, inset 0 0 0 1px #ffd257; }
.hm-note.green { color: #6ee07a; }
.hm-lb { position: absolute; right: 6px; top: 24px; width: 160px; height: 240px; }
.hm-lbseg { margin-bottom: 2px; }
.hm-lbseg > button { flex: 1 1 0; }
.hm-lblist { display: flex; flex-direction: column; gap: 2px; }
.hm-lbempty { padding: 14px 0; text-align: center; }

/* 图鉴：顶部统计 + 左网格右详情 */
.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: #5ab0ff; } .cx-stat.pink b { color: #ff8ad0; } .cx-stat.purple b { color: #c27bff; } .cx-stat.red b { color: #ff6b5a; } .cx-stat.gold b { color: #ffd257; }
.cx-split { display: flex; flex: 1 1 auto; gap: 4px; min-height: 0; }
.cx-left { display: flex; flex: 1 1 auto; flex-direction: column; gap: 3px; min-width: 0; padding: 4px; background: rgba(10, 6, 28, .78); box-shadow: 0 0 0 1px #07051a; }
.cx-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 1px 2px; }
.cx-filter .cx-el.e0:not(.on) { color: #e0a050; } .cx-filter .cx-el.e1:not(.on) { color: #4aa3ff; } .cx-filter .cx-el.e2:not(.on) { color: #ff5a3c; } .cx-filter .cx-el.e3:not(.on) { color: #4fd66b; }
.cx-count { margin-left: auto; color: #7fe3ff; }
.cx-split .cx-cell { position: relative; }
.cx-cell .no { position: absolute; left: 2px; top: 1px; color: #c9a2ff; font-size: 6px; font-style: normal; }
.sv-btn.cx-cell.on { color: #f4ead2; text-shadow: 0 1px 0 rgba(8, 5, 26, .9); background: rgba(255, 210, 87, .16); box-shadow: inset 0 0 0 2px #ffd257; }
.cx-cell.fav::after { content: "★"; position: absolute; right: 2px; top: 0; color: #ffd257; font-size: 7px; }
.cx-empty { width: 100%; padding: 16px 0; text-align: center; }
.cx-right { display: flex; flex: none; flex-direction: column; gap: 3px; width: 170px; padding: 5px; overflow: auto; }
.cx-hero { position: relative; flex: none; height: 76px; overflow: hidden; background: radial-gradient(ellipse at 66% 80%, var(--hc, rgba(255, 255, 255, .18)), transparent 70%), rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px rgba(244, 234, 210, .15); }
.cx-hero.e0 { --hc: rgba(224, 160, 80, .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-no { position: absolute; right: 4px; top: 2px; color: rgba(244, 234, 210, .35); font-size: 13px; letter-spacing: 1px; }
.cx-art { position: absolute; right: 8px; bottom: 4px; }
.cx-plate { position: absolute; left: 3px; bottom: 3px; display: flex; flex-direction: column; gap: 1px; padding: 2px 4px; background: rgba(10, 6, 28, .9); box-shadow: 0 0 0 1px #07051a, inset 0 0 0 1px #7a5a2a; }
.cx-plate small { color: #c9a2ff; font-size: 7px; }
.cx-plate b { font-size: 10px; }
.cx-plate .tags { display: flex; gap: 2px; }
.cx-info { display: flex; flex-direction: column; gap: 2px; padding: 2px 4px; background: rgba(0, 0, 0, .3); }
.cx-info p { color: #f4ead2; line-height: 1.4; }
.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-st { display: grid; grid-template-columns: 22px 1fr 14px; align-items: center; gap: 4px; }
.cx-st small { color: #f4ead2; }
.cx-st b { color: #fff1c8; text-align: right; }
.cx-fam .line { display: flex; align-items: center; gap: 2px; }
.cx-fam .fm { display: grid; place-items: center; width: 26px; height: 26px; background: rgba(0, 0, 0, .4); box-shadow: inset 0 0 0 1px rgba(244, 234, 210, .2); }
.cx-fam .fm.on { box-shadow: inset 0 0 0 1px #ffd257; }
.cx-fam .arw { color: #c9a2ff; font-style: normal; }
.cx-acts { display: flex; gap: 3px; margin-top: auto; padding-top: 2px; }
.pt-right { flex: 1 1 auto; width: auto; }
.pt-filter .sv-btn.sm { padding: 0 3px; }
