/* ============================================================
 * css/screens/lilian.css — 历练总入口及其子玩法页面样式（归属：lilian 组）
 * 覆盖页面：lilian（总入口）/ tower（血战襄阳）/ lunjian（论剑）/ boss（守卫襄阳·魔教入侵）/ biography（名侠传记）
 *           以及 lilian.js 内的副本面板：试炼塔 / 铜人阵 / 藏经阁 / 无量山 / 后山秘境
 * 只用 theme.css 的变量与组件类，不改 theme.css / screens.css。
 * 结构：
 *   .ll-root            页面根（448×780，flex 纵向）
 *   .ll-bar             顶部木框图标横滑栏（参考 t106：木框方图标 + 朱红名牌 + 两侧雕花箭头）
 *   .ll-panel           选中玩法的面板（内部 .ll-scroll 纵向滚动）
 *   .ll-scene           面板顶部场景横幅（贴 assets/bg/*.webp，底部渐隐到宣纸）
 *   .ll-* 其余为各面板专属块
 * ============================================================ */

/* ---------- 根 ---------- */
.ll-root { position: relative; width: 448px; height: 780px; overflow: hidden; display: flex; flex-direction: column; background: var(--bg-paper); }

/* ---------- 顶部图标横滑栏 ---------- */
.ll-bar {
  position: relative; flex: none; height: 108px;
  background:
    var(--tex-wood),
    linear-gradient(180deg, #5a2f12 0%, #3a1d0c 12%, #2a1608 88%, #1a0c04 100%);
  box-shadow: inset 0 -3px 0 #b8860b, inset 0 1px 0 rgba(255, 220, 150, .25), 0 3px 6px rgba(0, 0, 0, .45);
  z-index: 3;
}
.ll-bar::before {
  content: ''; position: absolute; left: 30px; right: 30px; top: 6px; bottom: 8px; border-radius: 6px;
  background: var(--tex-paper), linear-gradient(180deg, #e2cb95, #cfb27a 60%, #c2a267);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 245, 220, .35);
}
.ll-bar-scroll {
  position: absolute; left: 30px; right: 30px; top: 6px; bottom: 8px;
  display: flex; align-items: center; gap: 7px; padding: 0 8px;
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.ll-bar-scroll::-webkit-scrollbar { display: none; }
.ll-bar-arrow {
  position: absolute; top: 0; bottom: 0; width: 30px; cursor: pointer; z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.ll-bar-arrow.l { left: 0; } .ll-bar-arrow.r { right: 0; }
.ll-bar-arrow i {
  width: 0; height: 0; border-top: 11px solid transparent; border-bottom: 11px solid transparent;
  filter: drop-shadow(0 1px 0 #2a1608) drop-shadow(0 0 3px rgba(242, 194, 69, .5));
}
.ll-bar-arrow.l i { border-right: 14px solid #f2c245; }
.ll-bar-arrow.r i { border-left: 14px solid #f2c245; }
.ll-bar-arrow:active i { filter: brightness(1.3); }

.ll-tile {
  position: relative; flex: none; width: 84px; height: 86px; border-radius: 6px; cursor: pointer;
  background: var(--tex-wood), linear-gradient(180deg, #8a5a2a 0%, #5d3212 45%, #3a1d0c 100%);
  box-shadow: 0 0 0 1px #2a1608, inset 0 0 0 2px rgba(242, 194, 69, .55), 0 2px 3px rgba(0, 0, 0, .55);
  transition: transform .1s, box-shadow .15s;
}
.ll-tile .pic {
  position: absolute; left: 6px; right: 6px; top: 5px; height: 56px; border-radius: 4px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 38%, #4a3020 0%, #1f120a 70%, #0d0704 100%);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(0, 0, 0, .5);
}
.ll-tile .pic svg { width: 50px; height: 50px; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .8)); }
.ll-tile .lab {
  position: absolute; left: 4px; right: 4px; bottom: 4px; height: 20px; line-height: 20px; border-radius: 3px;
  text-align: center; font-family: var(--font-brush); font-size: 14px; letter-spacing: 1px; color: #ffe9a3; white-space: nowrap;
  background: linear-gradient(180deg, #d8432c, #a8261b 55%, #7e1a10); text-shadow: 0 1px 0 #3f0a06;
  box-shadow: inset 0 1px 0 rgba(255, 214, 120, .45), 0 0 0 1px #3f0a06;
}
.ll-tile .badge { position: absolute; right: -5px; top: -6px; z-index: 3; }
.ll-tile:active { transform: scale(.95); }
.ll-tile.active {
  box-shadow: 0 0 0 1px #2a1608, inset 0 0 0 2px #fff0b3, 0 0 0 2px #f2c245, 0 0 14px 3px rgba(255, 210, 80, .75);
}
.ll-tile.active .lab { background: linear-gradient(180deg, #ffd66b, #f2c245 55%, #c48d22); color: #7a1e12; text-shadow: 0 1px 0 rgba(255, 245, 210, .8); }
.ll-tile.locked .pic svg { filter: grayscale(1) brightness(.55); }
.ll-tile.locked .lab { background: linear-gradient(180deg, #8d8d8d, #5a5a5a); color: #e0e0e0; text-shadow: 0 1px 0 #222; }
.ll-tile .lk { position: absolute; left: 50%; top: 22px; transform: translateX(-50%); z-index: 2; font-size: 11px; color: #ffe9a3; background: rgba(0, 0, 0, .65); padding: 1px 6px; border-radius: 8px; white-space: nowrap; }

/* ---------- 面板 ---------- */
/* 面板底：宣纸 + 淡化山水（assets/bg/ink_landscape.webp）+ 暗纹，木框件浮在其上 */
.ll-panel {
  position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden;
  background:
    var(--tex-damask) center top / 130px 130px repeat,
    linear-gradient(180deg, rgba(246, 237, 210, .92) 0%, rgba(235, 220, 184, .9) 50%, rgba(217, 195, 150, .92) 100%),
    url(../../assets/bg/ink_landscape.webp) 50% 88% / 448px auto no-repeat,
    var(--bg-paper);
}
.ll-scroll { height: 100%; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 14px; }
.ll-scroll::-webkit-scrollbar { display: none; }

/* 场景横幅 */
.ll-scene {
  position: relative; height: 176px; overflow: hidden;
  background-size: 448px auto; background-position: center 20%; background-repeat: no-repeat; background-color: #2a1f16;
}
.ll-scene::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 82% 74% at 50% 34%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .32) 66%, rgba(0, 0, 0, .72) 100%),
    linear-gradient(180deg, rgba(10, 5, 2, .55) 0%, rgba(10, 5, 2, .15) 40%, rgba(232, 211, 163, 0) 70%, var(--paper) 100%);
}
.ll-scene.tall { height: 250px; }
.ll-scene.dark::before { background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .15) 50%, rgba(232, 211, 163, 0) 80%, var(--paper) 100%); }
.ll-scene .in { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 10px; }
.ll-title {
  font-family: var(--font-brush); font-size: 40px; line-height: 1.1; letter-spacing: 6px; padding-left: 6px;
  background: linear-gradient(180deg, #fff6d0 0%, #f2c245 45%, #c48d22 62%, #ffe08a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 #3a1d0c) drop-shadow(0 0 6px rgba(0, 0, 0, .7));
}
.ll-title-wrap { display: flex; align-items: center; gap: 8px; }
.ll-title-wrap::before, .ll-title-wrap::after { content: ''; width: 64px; height: 24px; background: var(--tex-cloud) center / 100% 100% no-repeat; opacity: .9; }
.ll-title-wrap::after { transform: scaleX(-1); }
.ll-sub { margin-top: 4px; font-size: 13px; color: #fff3d6; text-shadow: 0 1px 0 #000, 0 0 4px rgba(0, 0, 0, .8); letter-spacing: 1px; }
.ll-sub b { color: #ffe08a; font-weight: 700; }
.ll-desc { margin: 6px 26px 0; font-size: 12px; line-height: 1.5; text-align: center; color: #f3e6c4; text-shadow: 0 1px 0 #000, 0 0 4px rgba(0, 0, 0, .9); }
.ll-corner { position: absolute; z-index: 2; top: 8px; font-size: 12px; color: #ffe9a3; text-shadow: 0 1px 0 #000; background: rgba(20, 10, 4, .6); border: 1px solid rgba(242, 194, 69, .55); border-radius: 12px; padding: 2px 9px; }
.ll-corner.r { right: 10px; } .ll-corner.l { left: 10px; }
.ll-corner b { color: #fff; }

/* 通用小块 */
.ll-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; padding: 8px 10px 2px; }
.ll-chip { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px; border-radius: 13px; font-size: 13px; color: #ffe9a3;
  background: linear-gradient(180deg, #4a2410, #1a0c04); box-shadow: 0 0 0 1px #f2c245, 0 1px 2px rgba(0, 0, 0, .5); text-shadow: 0 1px 0 #000; white-space: nowrap; }
.ll-chip svg { width: 18px; height: 18px; }
.ll-chip b { color: #fff; font-family: var(--font-body); }
.ll-chip.jade b { color: #7ed08f; } .ll-chip.red b { color: #ff9c8a; } .ll-chip.gold b { color: #ffe08a; }
.ll-sec { display: flex; align-items: center; gap: 8px; margin: 10px 12px 4px; font-family: var(--font-brush); font-size: 19px; letter-spacing: 2px; color: var(--ink); }
.ll-sec::before, .ll-sec::after { content: ''; flex: 1 1 auto; height: 2px; background: linear-gradient(90deg, transparent, #b8860b 40%, #f2c245 50%, #b8860b 60%, transparent); }
.ll-sec .hint { font-family: var(--font-body); font-size: 12px; color: var(--ink-soft); letter-spacing: 0; }
.ll-box { margin: 6px 10px; padding: 8px 10px; border-radius: 7px; background: var(--bg-wood); border: 2px solid #24110a; box-shadow: inset 0 0 0 1px rgba(242, 194, 69, .4), inset 0 2px 8px rgba(0, 0, 0, .5), 0 2px 4px rgba(0, 0, 0, .45); color: #f3e6c4; position: relative; }
.ll-box.paper { background: var(--bg-paper-light); color: var(--ink); border-color: #8c7355; box-shadow: inset 0 0 0 1px rgba(255, 248, 225, .7), inset 0 0 18px rgba(120, 80, 30, .18), 0 1px 3px rgba(0, 0, 0, .35); }
.ll-box .bt { font-family: var(--font-brush); font-size: 17px; letter-spacing: 2px; color: #ffe9a3; text-shadow: 0 1px 0 #000; margin-bottom: 4px; display: flex; align-items: center; justify-content: space-between; }
.ll-box.paper .bt { color: var(--ink); text-shadow: none; }
.ll-box .bt small { font-family: var(--font-body); font-size: 12px; letter-spacing: 0; color: #e8d3a3; font-weight: 400; }
.ll-box.paper .bt small { color: var(--ink-soft); }
.ll-row { display: flex; align-items: center; gap: 8px; }
.ll-row.center { justify-content: center; }
.ll-row.wrap { flex-wrap: wrap; }
.ll-btns { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px 14px; padding: 10px 10px 4px; }
.ll-btns .btn-lg { min-width: 200px; letter-spacing: 8px; }
.ll-note { text-align: center; font-size: 12px; color: var(--ink-soft); padding: 4px 16px; line-height: 1.5; }
.ll-note.red { color: var(--red); }
.ll-note.gold { color: #b8860b; }

/* 敌方预览 / 我方血量 */
.ll-units { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 8px; padding: 6px 4px 2px; }
.ll-units .avatar { --as: 54px; }
.ll-units .avatar .nm { font-size: 11px; max-width: 64px; }
.ll-units .avatar.boss .frame { box-shadow: 0 0 0 2px #ff6a4a, 0 0 10px rgba(255, 90, 60, .7); }
.ll-units .avatar .bs { position: absolute; left: -4px; top: -6px; z-index: 4; font-family: var(--font-brush); font-size: 12px; line-height: 16px; padding: 0 5px; border-radius: 3px; color: #fff3c2; background: linear-gradient(180deg, #e0523a, #8f1d13); box-shadow: 0 0 0 1px #3f0a06; }
.ll-hp { display: flex; justify-content: center; gap: 6px; padding: 4px 6px; flex-wrap: wrap; }
.ll-hp .u { width: 50px; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.ll-hp .u .avatar { --as: 44px; }
.ll-hp .u .bar { width: 48px; height: 8px; }
.ll-hp .u .bar .txt { display: none; }
.ll-hp .u.dead .avatar .frame img { filter: grayscale(1) brightness(.5); }
.ll-hp .u .dd { font-size: 10px; color: #ff9c8a; line-height: 1; }

/* 奖励预览 */
.ll-rw { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.ll-rw .r { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; color: inherit; white-space: nowrap; }
.ll-rw .r svg { width: 20px; height: 20px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .5)); }
.ll-rw .r b { font-family: var(--font-body); }
.ll-rw .r .ch { font-size: 10px; opacity: .8; }
.ll-rw .item { --is: 34px; }
.ll-rw .item .n { font-size: 10px; min-width: 14px; height: 13px; line-height: 13px; }

/* 排行榜 */
.ll-rank { margin: 0 8px; }
.ll-rank .rr { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px; border-bottom: 1px dashed rgba(90, 60, 20, .35); font-size: 13px; color: var(--ink); }
.ll-rank .rr.me { background: rgba(242, 194, 69, .28); border-radius: 5px; box-shadow: inset 0 0 0 1px #f2c245; }
.ll-rank .rr .no { flex: none; width: 34px; height: 24px; line-height: 24px; text-align: center; border-radius: 4px; font-family: var(--font-body); font-weight: 700; color: #fff; background: linear-gradient(180deg, #5b4630, #2b1d12); box-shadow: 0 0 0 1px #8c7355; font-size: 12px; }
.ll-rank .rr .no.g1 { background: linear-gradient(180deg, #fff0b3, #f2c245 50%, #b8860b); color: #7a1e12; box-shadow: 0 0 0 1px #5a3800; }
.ll-rank .rr .no.g2 { background: linear-gradient(180deg, #f4f4f4, #b9b9b9 50%, #6a6a6a); color: #2b1d12; box-shadow: 0 0 0 1px #444; }
.ll-rank .rr .no.g3 { background: linear-gradient(180deg, #f0b283, #c47a3a 50%, #7a4519); color: #fff3c2; box-shadow: 0 0 0 1px #3a1d0c; }
.ll-rank .rr .nm { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
.ll-rank .rr .nm small { font-weight: 400; color: var(--ink-soft); margin-left: 6px; }
.ll-rank .rr .v { flex: none; font-family: var(--font-body); font-weight: 700; color: var(--red); }
.ll-rank .rr .v.jade { color: var(--jade); }
.ll-rank .rr .v.gold { color: #b8860b; }
.ll-rank-tabs { display: flex; gap: 4px; padding: 6px 10px 2px; flex-wrap: wrap; justify-content: center; }
.ll-rank-tabs .t { padding: 0 10px; height: 26px; line-height: 26px; border-radius: 13px; font-family: var(--font-brush); font-size: 15px; color: #7a1e12; background: var(--bg-gold); box-shadow: 0 0 0 1px #5a3800; cursor: pointer; }
.ll-rank-tabs .t.active { background: var(--bg-red); color: #ffe08a; text-shadow: 0 1px 0 #3f0a06; }

/* ---------- 血战襄阳 ---------- */
.ll-tower .ll-scene { background-position: center 30%; }
.ll-floor-no { position: absolute; left: 12px; top: 40px; z-index: 2; width: 74px; text-align: center; }
.ll-floor-no .n { font-family: var(--font-brush); font-size: 46px; line-height: 1; color: #fff3c2; text-shadow: 0 2px 0 #3a1d0c, 0 0 8px rgba(0, 0, 0, .9); }
.ll-floor-no .t { font-family: var(--font-brush); font-size: 15px; color: #ffe08a; text-shadow: 0 1px 0 #000; letter-spacing: 2px; }
.ll-buffs { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.ll-buff { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; color: #fff; text-shadow: 0 1px 0 #000; padding: 1px 8px; border-radius: 10px; background: rgba(0, 0, 0, .45); box-shadow: 0 0 0 1px rgba(242, 194, 69, .5); }
.ll-buff .stat-seal { width: 15px; height: 15px; font-size: 11px; }
.ll-buffopts { display: flex; justify-content: center; gap: 10px; padding: 8px 4px; }
.ll-buffopt { width: 112px; height: 150px; border-radius: 7px; cursor: pointer; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: var(--tex-paper), linear-gradient(180deg, #f7ecd0, #e8d3a3); box-shadow: 0 0 0 2px #b8860b, 0 0 0 4px #3a1d0c, 0 3px 6px rgba(0, 0, 0, .6); transition: transform .12s; }
.ll-buffopt::before { content: ''; position: absolute; inset: 5px; border: 1px solid rgba(168, 38, 27, .45); border-radius: 4px; pointer-events: none; }
.ll-buffopt .stat-seal { width: 40px; height: 40px; font-size: 26px; }
.ll-buffopt .nm { font-family: var(--font-brush); font-size: 20px; letter-spacing: 2px; color: var(--ink); }
.ll-buffopt .v { font-size: 15px; font-weight: 700; color: var(--jade); font-family: var(--font-body); }
.ll-buffopt .c { font-size: 12px; color: var(--red); display: flex; align-items: center; gap: 2px; }
.ll-buffopt .c svg { width: 14px; height: 14px; }
.ll-buffopt:hover { transform: translateY(-3px); }
.ll-buffopt.disabled { filter: grayscale(.8) brightness(.8); cursor: default; }
.ll-buffopt.disabled:hover { transform: none; }
.ll-brackets { display: flex; justify-content: center; gap: 4px; padding: 6px 8px 0; }

/* ---------- 论剑 ---------- */
.ll-arena .ll-scene { background-position: center 42%; }
.ll-mecard { margin: -34px 10px 0; position: relative; z-index: 2; padding: 10px 12px; border-radius: 8px; display: flex; align-items: center; gap: 12px;
  background: var(--bg-paper-light); border: 2px solid #8c7355; box-shadow: inset 0 0 0 1px rgba(255, 248, 225, .7), 0 4px 10px rgba(0, 0, 0, .45); }
.ll-mecard .rk { flex: none; width: 92px; text-align: center; }
.ll-mecard .rk .lab { font-family: var(--font-brush); font-size: 14px; color: var(--ink-soft); letter-spacing: 2px; }
.ll-mecard .rk .n { font-family: var(--font-brush); font-size: 40px; line-height: 1; color: var(--red); text-shadow: 0 1px 0 rgba(255, 245, 210, .8); }
.ll-mecard .rk .n small { font-size: 16px; color: var(--ink-soft); }
.ll-mecard .info { flex: 1 1 auto; min-width: 0; font-size: 12px; color: var(--ink-soft); line-height: 1.6; }
.ll-mecard .info b { color: var(--ink); font-family: var(--font-body); }
.ll-mecard .info .nm { font-family: var(--font-brush); font-size: 18px; color: var(--ink); letter-spacing: 1px; }
.ll-opp { display: flex; align-items: center; gap: 8px; min-height: 92px; margin: 6px 8px 0; padding: 8px 8px 8px 10px; border-radius: 7px; position: relative; color: #f3e6c4;
  background: var(--bg-wood); border: 2px solid #24110a; box-shadow: inset 0 0 0 1px rgba(242, 194, 69, .35), inset 0 2px 8px rgba(0, 0, 0, .5), 0 2px 3px rgba(0, 0, 0, .45); }
.ll-opp .rk { flex: none; width: 52px; text-align: center; }
.ll-opp .rk .lab { font-size: 10px; color: #e8d3a3; }
.ll-opp .rk .n { font-family: var(--font-brush); font-size: 24px; line-height: 1.1; color: #ffe08a; text-shadow: 0 1px 0 #000; }
.ll-opp .bd { flex: 1 1 auto; min-width: 0; }
.ll-opp .bd .t { font-size: 15px; font-weight: 700; color: #ffe9a3; text-shadow: 0 1px 0 #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ll-opp .bd .t small { font-weight: 400; font-size: 11px; color: #e8d3a3; margin-left: 4px; }
.ll-opp .bd .s { font-size: 11px; color: #e8d3a3; margin-top: 1px; }
.ll-opp .bd .s b { color: #fff; font-family: var(--font-body); }
.ll-opp .lu { display: flex; gap: 3px; margin-top: 4px; }
.ll-opp .lu .avatar { --as: 30px; }
.ll-opp .lu .avatar .frame { border-radius: 4px; }
.ll-opp .lu .avatar .lv { display: none; }
.ll-opp .lu .more { width: 30px; height: 30px; border-radius: 4px; background: rgba(0, 0, 0, .35); color: #e8d3a3; font-size: 11px; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px rgba(242, 194, 69, .3); }
.ll-opp .rt { flex: none; }
.ll-opp.me { background: var(--tex-wood), linear-gradient(180deg, #8a6a1a, #5a4210 60%, #3a2a08); }
.ll-log { font-size: 12px; color: var(--ink-soft); line-height: 1.6; padding: 2px 4px; }
.ll-log .w { color: var(--jade); font-weight: 700; } .ll-log .l { color: var(--red); font-weight: 700; }

/* ---------- 世界 Boss ---------- */
.ll-boss .tab-wood { padding-top: 6px; }
.ll-boss .ll-scene { height: 300px; background-position: center 30%; }
.ll-boss .ll-scene::before { background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .1) 35%, rgba(0, 0, 0, 0) 60%, var(--paper) 100%); }
.ll-boss-fig { position: absolute; left: 50%; bottom: 0; width: 220px; height: 250px; transform: translateX(-50%); z-index: 1; pointer-events: none; }
.ll-boss-fig .portrait { width: 100%; height: 100%; }
.ll-boss-fig .portrait img { object-position: 50% 0; object-fit: contain; height: 100%; filter: drop-shadow(0 0 14px rgba(255, 120, 60, .55)) drop-shadow(0 6px 6px rgba(0, 0, 0, .7)); }
.ll-boss-fig.mo .portrait img { filter: drop-shadow(0 0 16px rgba(180, 90, 255, .7)) drop-shadow(0 6px 6px rgba(0, 0, 0, .7)); }
.ll-boss-fig .portrait.portrait-missing { background: radial-gradient(ellipse at 50% 60%, rgba(255, 120, 60, .35), transparent 70%); }
.ll-boss-fig .portrait.portrait-missing .pm { font-size: 40px; padding-top: 20%; }
.ll-boss-name { position: absolute; left: 12px; top: 56px; z-index: 2; }
.ll-boss-name .t { font-family: var(--font-brush); font-size: 14px; color: #ffe08a; text-shadow: 0 1px 0 #000; letter-spacing: 2px; }
.ll-boss-name .n { font-family: var(--font-brush); font-size: 30px; line-height: 1.1; color: #fff3c2; text-shadow: 0 2px 0 #3a1d0c, 0 0 8px rgba(0, 0, 0, .9); writing-mode: vertical-rl; letter-spacing: 4px; margin-top: 4px; }
.ll-boss-time { position: absolute; right: 10px; top: 56px; z-index: 2; text-align: right; }
.ll-boss-time .o { display: inline-block; font-family: var(--font-brush); font-size: 15px; letter-spacing: 2px; padding: 1px 10px; border-radius: 12px; color: #fff3c2; background: linear-gradient(180deg, #e0523a, #8f1d13); box-shadow: 0 0 0 1px #3f0a06, 0 0 10px rgba(255, 90, 60, .7); }
.ll-boss-time .o.off { background: linear-gradient(180deg, #8d8d8d, #4f4f4f); box-shadow: 0 0 0 1px #222; }
.ll-boss-time .cd { margin-top: 4px; font-family: var(--font-body); font-size: 13px; color: #ffe9a3; text-shadow: 0 1px 0 #000; }
.ll-boss-time .cd b { font-size: 16px; color: #fff; }
.ll-boss-hp { margin: -14px 12px 0; position: relative; z-index: 2; }
.ll-boss-hp .bar { height: 22px; border-radius: 11px; box-shadow: 0 0 0 2px #f2c245, 0 0 0 3px #3a1d0c, 0 2px 6px rgba(0, 0, 0, .6); }
.ll-boss-hp .bar .txt { font-size: 12px; }
.ll-boss-hp .bar-hp .fill { background: linear-gradient(180deg, #ff8a6a 0%, #d8321f 55%, #7e1a10 100%); }
.ll-lb { margin: 4px 10px; }
.ll-lb .rr { height: 34px; }
.ll-lb .rr .v { color: var(--red); }
.ll-rrw { display: flex; align-items: center; gap: 6px; padding: 5px 4px; border-bottom: 1px dashed rgba(90, 60, 20, .35); font-size: 12px; }
.ll-rrw .rg { flex: none; width: 70px; font-weight: 700; color: var(--ink); }
.ll-rrw .ll-rw { flex: 1 1 auto; }
.ll-rrw.me { background: rgba(242, 194, 69, .28); border-radius: 4px; }

/* ---------- 名侠传记 ---------- */
.ll-bio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 8px; padding: 8px 10px; }
.ll-bio-card { position: relative; height: 178px; border-radius: 7px; overflow: hidden; cursor: pointer; transition: transform .12s;
  background: radial-gradient(ellipse at 50% 30%, #fff0c2 0%, #e9cf8f 55%, #c99a2a 100%); box-shadow: 0 0 0 2px #b8860b, 0 0 0 3px #3a1d0c, 0 3px 5px rgba(0, 0, 0, .55); }
.ll-bio-card .portrait { position: absolute; left: 0; right: 0; top: 0; height: 132px; }
.ll-bio-card .portrait img { object-position: 50% 0; }
.ll-bio-card .portrait.portrait-missing .pm { font-size: 22px; }
.ll-bio-card .nm { position: absolute; left: 0; right: 0; bottom: 22px; height: 24px; line-height: 24px; text-align: center; font-family: var(--font-brush); font-size: 18px; letter-spacing: 2px; color: #fff3c2; text-shadow: 0 1px 0 #3a1d0c, 0 0 4px rgba(0, 0, 0, .8);
  background: linear-gradient(180deg, rgba(90, 40, 10, .1), rgba(58, 29, 12, .85) 60%); }
.ll-bio-card .pg { position: absolute; left: 0; right: 0; bottom: 0; height: 22px; display: flex; align-items: center; justify-content: center; gap: 4px; background: linear-gradient(180deg, #4a2410, #1a0c04); }
.ll-bio-card .pg i { width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #6a5a40, #2b1d12); box-shadow: 0 0 0 1px #8c7355; }
.ll-bio-card .pg i.on { background: radial-gradient(circle at 40% 35%, #fff6cf, #f2c245 50%, #b8860b); box-shadow: 0 0 0 1px #5a3800, 0 0 6px rgba(255, 210, 80, .9); }
.ll-bio-card .pg small { font-size: 10px; color: #ffe9a3; margin-left: 4px; }
.ll-bio-card .tt { position: absolute; right: 4px; top: 4px; writing-mode: vertical-rl; font-family: var(--font-brush); font-size: 11px; letter-spacing: 1px; color: #ffe9a3; background: linear-gradient(180deg, #d8432c, #8f1d13); padding: 4px 2px; border-radius: 3px; box-shadow: 0 0 0 1px #3f0a06; }
.ll-bio-card .seal { position: absolute; left: 4px; top: 4px; }
.ll-bio-card.done { box-shadow: 0 0 0 2px #fff0b3, 0 0 0 4px #f2c245, 0 0 14px 3px rgba(255, 210, 80, .75); }
.ll-bio-card.none { filter: grayscale(.85) brightness(.75); }
.ll-bio-card.none .portrait img { filter: grayscale(1); }
.ll-bio-card:active { transform: scale(.96); }

.ll-bio-head { position: relative; height: 232px; overflow: hidden; }
.ll-bio-head .fig { position: absolute; left: 6px; top: 6px; width: 176px; height: 226px; z-index: 1; }
.ll-bio-head .fig .portrait { width: 100%; height: 100%; }
.ll-bio-head .fig .portrait img { object-fit: contain; object-position: 50% 0; filter: drop-shadow(0 0 12px rgba(255, 210, 80, .5)) drop-shadow(0 4px 4px rgba(0, 0, 0, .6)); }
.ll-bio-head .fig .portrait.portrait-missing .pm { font-size: 34px; }
.ll-bio-head .txt { position: absolute; left: 186px; right: 12px; top: 14px; z-index: 1; }
.ll-bio-head .txt .nm { font-family: var(--font-brush); font-size: 34px; line-height: 1.1; letter-spacing: 3px; color: #fff3c2; text-shadow: 0 2px 0 #3a1d0c, 0 0 8px rgba(0, 0, 0, .9); }
.ll-bio-head .txt .tt { font-family: var(--font-brush); font-size: 15px; color: #ffe08a; text-shadow: 0 1px 0 #000; letter-spacing: 2px; }
.ll-bio-head .txt .fa { font-size: 12px; color: #f3e6c4; text-shadow: 0 1px 0 #000; margin-top: 2px; }
.ll-bio-head .txt .in { font-size: 12px; line-height: 1.5; color: #f3e6c4; text-shadow: 0 1px 0 #000, 0 0 4px rgba(0, 0, 0, .9); margin-top: 8px; max-height: 92px; overflow: hidden; }
.ll-bio-back { position: absolute; left: 8px; top: 8px; z-index: 4; }
.ll-atlas { position: relative; margin: 6px 10px; height: 150px; border-radius: 8px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 50%, #1c1230 0%, #0c0818 70%, #050308 100%); box-shadow: 0 0 0 2px #b8860b, 0 0 0 3px #3a1d0c, inset 0 0 30px rgba(0, 0, 0, .8); }
.ll-atlas svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ll-atlas .lbl { position: absolute; left: 10px; top: 6px; font-family: var(--font-brush); font-size: 16px; letter-spacing: 3px; color: #ffe08a; text-shadow: 0 1px 0 #000; }
.ll-atlas .bn { position: absolute; right: 8px; bottom: 6px; font-size: 11px; color: #d8c8ff; text-shadow: 0 1px 0 #000, 0 0 4px #000; text-align: right; line-height: 1.45; background: rgba(12, 8, 24, .55); padding: 3px 7px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(190, 170, 230, .25); }
.ll-atlas .bn b { color: #fff; }
.ll-atlas .bn .z { color: #a89bc4; }
.ll-atlas .node-t { font-family: var(--font-brush); font-size: 11px; fill: #d8c8ff; text-anchor: middle; }
.ll-atlas .node-t.on { fill: #fff3c2; }
.ll-atlas.lit-anim .flash { animation: llAtlasFlash 1.4s ease-out 1; }
@keyframes llAtlasFlash { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
.ll-chap { margin: 8px 10px; border-radius: 8px; overflow: hidden; position: relative;
  background: var(--bg-paper-light); border: 2px solid #8c7355; box-shadow: inset 0 0 0 1px rgba(255, 248, 225, .7), 0 2px 4px rgba(0, 0, 0, .4); }
.ll-chap .hd { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px; background: linear-gradient(180deg, #c8331f, #8f1d13); color: #ffe9a3; }
.ll-chap .hd .no { font-family: var(--font-brush); font-size: 15px; letter-spacing: 1px; padding: 0 6px; height: 22px; line-height: 22px; border-radius: 3px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px rgba(255, 214, 120, .4); }
.ll-chap .hd .tt { flex: 1 1 auto; min-width: 0; font-family: var(--font-brush); font-size: 19px; letter-spacing: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 0 #3f0a06; }
.ll-chap .hd .st { flex: none; }
.ll-chap .hd .st .stars svg { width: 14px; height: 14px; }
.ll-chap .st-lab { font-family: var(--font-brush); font-size: 13px; padding: 0 6px; border-radius: 3px; background: rgba(0, 0, 0, .35); color: #fff; }
.ll-chap.awaken .hd { background: linear-gradient(180deg, #9b59d6, #48206e); }
.ll-chap.locked { filter: saturate(.5) brightness(.85); }
.ll-chap .bd { padding: 8px 10px; }
.ll-chap .story { font-size: 12px; line-height: 1.55; color: var(--ink-soft); max-height: 56px; overflow: hidden; position: relative; }
.ll-chap .story::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background: linear-gradient(180deg, rgba(247, 236, 208, 0), #f5e9cb); }
.ll-chap .story.open { max-height: none; }
.ll-chap .story.open::after { display: none; }
.ll-chap .req { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 6px; font-size: 12px; }
.ll-chap .req span { padding: 0 8px; height: 20px; line-height: 20px; border-radius: 10px; background: rgba(43, 29, 18, .1); color: var(--ink-soft); box-shadow: inset 0 0 0 1px rgba(90, 60, 20, .35); }
.ll-chap .req span.ok { color: var(--jade); box-shadow: inset 0 0 0 1px var(--jade); }
.ll-chap .req span.bad { color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.ll-chap .ft { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.ll-chap .ft .ll-rw { flex: 1 1 auto; }
.ll-chap .ft .btn { flex: none; }
.ll-chap .en { display: flex; gap: 4px; margin-top: 6px; align-items: center; }
.ll-chap .en .avatar { --as: 34px; }
.ll-chap .en .avatar .lv { font-size: 9px; min-width: 16px; height: 13px; line-height: 13px; }
.ll-chap .en .lb { font-size: 11px; color: var(--ink-soft); margin-right: 4px; }
.ll-chap .cnt { position: absolute; right: 10px; top: 42px; font-size: 11px; color: var(--ink-soft); }

/* ---------- 试炼塔 / 无量山（层列表） ---------- */
.ll-floor { display: flex; align-items: center; gap: 8px; min-height: 74px; margin: 6px 8px 0; padding: 6px 8px 6px 8px; border-radius: 7px; position: relative; color: #f3e6c4;
  background: var(--bg-wood); border: 2px solid #24110a; box-shadow: inset 0 0 0 1px rgba(242, 194, 69, .35), inset 0 2px 8px rgba(0, 0, 0, .5), 0 2px 3px rgba(0, 0, 0, .45); }
.ll-floor .fn { flex: none; width: 44px; height: 44px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
  background: radial-gradient(circle at 40% 35%, #fff0b3, #f2c245 45%, #a8720a); color: #7a1e12; box-shadow: 0 0 0 1.5px #5a3800, 0 0 0 3px #f2c245, 0 2px 3px rgba(0, 0, 0, .5); font-family: var(--font-brush); }
.ll-floor .fn b { font-size: 20px; }
.ll-floor .fn small { font-size: 10px; }
.ll-floor.cur .fn { background: radial-gradient(circle at 40% 35%, #ff8a6a, #d8321f 45%, #7e1a10); color: #fff3c2; box-shadow: 0 0 0 1.5px #3f0a06, 0 0 0 3px #f2c245, 0 0 10px rgba(255, 90, 60, .8); }
.ll-floor.done .fn { background: radial-gradient(circle at 40% 35%, #a4dba3, #3f8f5a 55%, #215c34); color: #fff; box-shadow: 0 0 0 1.5px #163d22, 0 0 0 3px #7ed08f; }
.ll-floor.locked { filter: saturate(.4) brightness(.72); }
.ll-floor .av { flex: none; }
.ll-floor .av .avatar { --as: 50px; }
.ll-floor .bd { flex: 1 1 auto; min-width: 0; }
.ll-floor .bd .t { font-size: 15px; font-weight: 700; color: #ffe9a3; text-shadow: 0 1px 0 #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ll-floor .bd .t small { font-weight: 400; font-size: 11px; color: #e8d3a3; margin-left: 5px; }
.ll-floor .bd .t .qtag { margin-left: 4px; vertical-align: 1px; }
.ll-floor .bd .s { font-size: 11px; color: #e8d3a3; margin-top: 2px; }
.ll-floor .bd .ll-rw { margin-top: 3px; }
.ll-floor .rt { flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ll-floor .rt .stars svg { width: 12px; height: 12px; }
.ll-floor .rt .btn-round { width: 50px; height: 50px; font-size: 26px; }
.ll-floor .rt .btn-sm { min-width: 54px; }
.ll-floor.treasure { background: var(--tex-wood), linear-gradient(180deg, #8a6a1a 0%, #5a4210 60%, #3a2a08 100%); }
.ll-floor.treasure .fn { background: radial-gradient(circle at 40% 35%, #fff6cf, #f2c245 45%, #b8860b); }
.ll-floor .tr { flex: none; margin-left: -4px; }
.ll-jump { display: flex; justify-content: center; gap: 6px; padding: 6px 8px 0; flex-wrap: wrap; }
.ll-jump .j { padding: 0 9px; height: 24px; line-height: 24px; border-radius: 12px; font-size: 12px; color: #7a1e12; background: var(--bg-gold); box-shadow: 0 0 0 1px #5a3800; cursor: pointer; font-family: var(--font-brush); }
.ll-jump .j.active { background: var(--bg-red); color: #ffe08a; }

/* ---------- 铜人阵 ---------- */
.ll-waves { display: flex; justify-content: center; gap: 10px; padding: 8px 8px 2px; }
.ll-wave { position: relative; width: 132px; height: 196px; border-radius: 7px; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; align-items: center; transition: transform .12s;
  background: var(--tex-wood), linear-gradient(180deg, #7a4520 0%, #4a2410 60%, #2a1608 100%); box-shadow: 0 0 0 2px #f2c245, 0 0 0 3px #3a1d0c, 0 3px 6px rgba(0, 0, 0, .6); }
.ll-wave .nm { width: 100%; height: 30px; line-height: 30px; text-align: center; font-family: var(--font-brush); font-size: 19px; letter-spacing: 3px; color: #ffe9a3; text-shadow: 0 1px 0 #3f0a06; background: linear-gradient(180deg, #d8432c, #8f1d13); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .5); }
.ll-wave .fig { width: 100px; height: 84px; margin-top: 6px; display: flex; align-items: flex-end; justify-content: center; gap: 2px; }
.ll-wave .fig svg { width: 40px; height: 64px; filter: drop-shadow(0 0 6px rgba(255, 200, 80, .6)) drop-shadow(0 2px 2px rgba(0, 0, 0, .8)); }
.ll-wave .fig svg.s { width: 30px; height: 48px; opacity: .85; }
.ll-wave .in { font-size: 11px; color: #f3e6c4; text-align: center; line-height: 1.5; text-shadow: 0 1px 0 #000; padding: 0 6px; }
.ll-wave .in b { color: #ffe08a; }
.ll-wave .st { position: absolute; left: 0; right: 0; bottom: 0; height: 24px; line-height: 24px; text-align: center; font-family: var(--font-brush); font-size: 14px; letter-spacing: 2px; color: #ffe9a3; background: rgba(0, 0, 0, .55); }
.ll-wave.done .st { color: #7ed08f; }
.ll-wave.cur { box-shadow: 0 0 0 2px #fff0b3, 0 0 0 4px #f2c245, 0 0 16px 4px rgba(255, 210, 80, .8); }
.ll-wave.cur .st { background: linear-gradient(180deg, #e0523a, #8f1d13); }
.ll-wave.locked { filter: saturate(.4) brightness(.7); }
.ll-wave:active { transform: scale(.96); }

/* ---------- 藏经阁 ---------- */
.ll-shelf { display: flex; align-items: center; gap: 8px; min-height: 96px; margin: 6px 8px 0; padding: 8px 8px 8px 0; border-radius: 6px; position: relative; overflow: hidden;
  background: var(--tex-wood), linear-gradient(180deg, #6e3f1a 0%, #4a2410 50%, #2e1608 100%); box-shadow: inset 0 0 0 1px rgba(242, 194, 69, .3), inset 0 -6px 0 #24110a, 0 2px 3px rgba(0, 0, 0, .5); color: #f3e6c4; }
.ll-shelf .bk { flex: none; width: 26px; height: 100%; align-self: stretch; display: flex; flex-direction: column; justify-content: center; align-items: center; font-family: var(--font-brush); font-size: 15px; letter-spacing: 2px; color: #ffe9a3; writing-mode: vertical-rl; background: linear-gradient(90deg, #8f1d13, #c8331f 50%, #8f1d13); box-shadow: inset -2px 0 4px rgba(0, 0, 0, .5); text-shadow: 0 1px 0 #3f0a06; margin-right: 2px; }
.ll-shelf .av { flex: none; }
.ll-shelf .av .avatar { --as: 64px; }
.ll-shelf .bd { flex: 1 1 auto; min-width: 0; }
.ll-shelf .bd .t { font-size: 16px; font-weight: 700; color: #ffe9a3; text-shadow: 0 1px 0 #000; }
.ll-shelf .bd .t small { font-weight: 400; font-size: 11px; color: #e8d3a3; margin-left: 5px; }
.ll-shelf .bd .s { font-size: 11px; color: #e8d3a3; margin-top: 2px; }
.ll-shelf .bd .ll-rw { margin-top: 4px; }
.ll-shelf .rt { flex: none; }
.ll-shelf.locked { filter: saturate(.4) brightness(.72); }
.ll-shelf.done .bk { background: linear-gradient(90deg, #215c34, #3f8f5a 50%, #215c34); }

/* ---------- 后山秘境 ---------- */
.ll-cave .ll-scene { height: 150px; }
.ll-grid { display: grid; grid-template-columns: repeat(3, 118px); gap: 10px; justify-content: center; padding: 10px 0 4px; perspective: 800px; }
.ll-card { position: relative; width: 118px; height: 118px; cursor: pointer; transform-style: preserve-3d; transition: transform .55s cubic-bezier(.4, 1.4, .6, 1); }
.ll-card .f, .ll-card .b { position: absolute; inset: 0; border-radius: 8px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.ll-card .f { background: radial-gradient(circle at 50% 40%, #3a2a1a 0%, #1a0f08 70%, #0d0704 100%); box-shadow: 0 0 0 2px #b8860b, 0 0 0 3px #3a1d0c, inset 0 0 14px rgba(0, 0, 0, .8), 0 3px 6px rgba(0, 0, 0, .6); }
.ll-card .f::before { content: ''; position: absolute; inset: 7px; border: 1px solid rgba(242, 194, 69, .45); border-radius: 5px; }
.ll-card .f .q { font-family: var(--font-brush); font-size: 46px; color: #f2c245; text-shadow: 0 0 10px rgba(255, 210, 80, .7), 0 2px 0 #3a1d0c; }
.ll-card .f .sm { font-size: 11px; color: #e8d3a3; letter-spacing: 1px; }
.ll-card .b { transform: rotateY(180deg); background: var(--tex-paper), linear-gradient(180deg, #f7ecd0, #e2cb95); box-shadow: 0 0 0 2px #f2c245, 0 0 0 3px #3a1d0c, 0 3px 6px rgba(0, 0, 0, .6); color: var(--ink); }
.ll-card .b svg { width: 46px; height: 46px; }
.ll-card .b .nm { font-family: var(--font-brush); font-size: 17px; letter-spacing: 1px; }
.ll-card .b .tp { font-size: 10px; color: var(--ink-soft); }
.ll-card.flipped { transform: rotateY(180deg); }
.ll-card.dim { opacity: .35; pointer-events: none; }
.ll-card.locked { pointer-events: none; }
.ll-card.locked .f .q { color: #6a5a40; text-shadow: none; }
.ll-card:hover:not(.flipped):not(.dim) .f { box-shadow: 0 0 0 2px #fff0b3, 0 0 0 4px #f2c245, 0 0 12px 3px rgba(255, 210, 80, .6), inset 0 0 14px rgba(0, 0, 0, .8); }
.ll-layer { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 8px 0; flex-wrap: wrap; }
.ll-layer .l { width: 30px; height: 26px; line-height: 26px; text-align: center; border-radius: 4px; font-family: var(--font-body); font-size: 12px; font-weight: 700; color: #7a1e12; background: var(--bg-gold); box-shadow: 0 0 0 1px #5a3800; }
.ll-layer .l.done { background: linear-gradient(180deg, #a4dba3, #3f8f5a); color: #fff; box-shadow: 0 0 0 1px #163d22; }
.ll-layer .l.cur { background: var(--bg-red); color: #ffe08a; box-shadow: 0 0 0 1px #3f0a06, 0 0 8px rgba(255, 90, 60, .8); }
.ll-layer .l.lock { background: linear-gradient(180deg, #b9b9b9, #6a6a6a); color: #333; box-shadow: 0 0 0 1px #333; }
.ll-goods { display: flex; flex-direction: column; gap: 6px; }
.ll-good { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 6px; background: rgba(43, 29, 18, .08); box-shadow: inset 0 0 0 1px rgba(90, 60, 20, .3); }
.ll-good .bd { flex: 1 1 auto; min-width: 0; font-size: 13px; }
.ll-good .bd .n { font-weight: 700; }
.ll-good .bd .d { font-size: 11px; color: var(--ink-soft); }
.ll-good .price { color: var(--ink); }
.ll-good .price .v { color: var(--ink); text-shadow: none; }
.ll-good.sold { opacity: .5; }

/* ---------- 弹窗内通用 ---------- */
.ll-modal-rank .ll-rank { margin: 0; }
.ll-modal-rank .ll-rank .rr { height: 36px; }
.ll-dmg { text-align: center; padding: 6px 0 2px; }
.ll-dmg .n { font-family: var(--font-dmg); font-size: 40px; font-weight: 900; color: #d8321f; text-shadow: 0 1px 0 #fff, 0 0 2px #7e1a10, 0 2px 4px rgba(0, 0, 0, .4); line-height: 1.1; letter-spacing: 1px; }
.ll-dmg .l { font-family: var(--font-brush); font-size: 16px; letter-spacing: 3px; color: var(--ink-soft); }
.ll-dmg .k { margin-top: 6px; font-size: 13px; color: var(--ink); }
.ll-dmg .k b { color: var(--red); font-family: var(--font-body); }
.ll-result { text-align: center; }
.ll-result .big { font-family: var(--font-brush); font-size: 46px; line-height: 1.1; letter-spacing: 6px; padding-left: 6px; }
.ll-result .big.win { color: var(--red); text-shadow: 0 2px 0 rgba(255, 245, 210, .9), 0 0 8px rgba(216, 50, 31, .3); }
.ll-result .big.lose { color: #4f5b7a; text-shadow: 0 2px 0 rgba(255, 245, 210, .9); }
.ll-result .sub { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.ll-result .sub b { color: var(--ink); }
.ll-story { font-size: 13px; line-height: 1.7; color: var(--ink); text-indent: 2em; padding: 4px 2px; }
.ll-story-ttl { font-family: var(--font-brush); font-size: 20px; text-align: center; letter-spacing: 3px; color: var(--red); margin-bottom: 4px; }
.ll-heal-list { display: flex; justify-content: center; gap: 14px; padding: 6px 0; }
.ll-heal-list .item { --is: 60px; }
.ll-rank-me { text-align: center; padding: 6px; font-size: 13px; color: var(--ink-soft); }
.ll-rank-me b { color: var(--red); font-size: 18px; font-family: var(--font-brush); }

/* ---------- 名侠传记（补充：人物页头图 / 图谱星图 / 列表筛选） ---------- */
.ll-bio-head { background-size: 448px auto; background-position: center 30%; background-repeat: no-repeat; background-color: #2a1f16; }
.ll-bio-head::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 5, 2, .55) 0%, rgba(10, 5, 2, .25) 40%, rgba(232, 211, 163, 0) 76%, var(--paper) 100%); }
.ll-bio-head .fig::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 26px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(255, 210, 80, .55), rgba(255, 210, 80, 0) 70%); z-index: -1; }
.ll-bio-head .txt .tt .qtag { vertical-align: 1px; margin-left: 2px; }
.ll-bio-head .txt .fa b { color: #ffe08a; font-family: var(--font-body); }
.ll-bio-back.btn { min-width: 0; height: 28px; line-height: 24px; padding: 0 10px; font-size: 14px; letter-spacing: 0; }
.ll-bio-filter { display: flex; justify-content: center; padding: 8px 0 0; }
.ll-bio-card .own { position: absolute; left: 0; right: 0; top: 58px; z-index: 2; text-align: center; font-family: var(--font-brush); font-size: 15px; letter-spacing: 3px; color: #ffe9a3; background: rgba(0, 0, 0, .6); padding: 2px 0; text-shadow: 0 1px 0 #000; }
.ll-bio-card .full { position: absolute; left: 4px; bottom: 50px; z-index: 2; font-family: var(--font-brush); font-size: 13px; letter-spacing: 1px; color: #7a1e12; background: var(--bg-gold); padding: 0 6px; border-radius: 3px; box-shadow: 0 0 0 1px #5a3800, 0 0 6px rgba(255, 210, 80, .8); transform: rotate(-8deg); }
.ll-bio-card .seal { z-index: 2; }
.ll-chips .item.inline { --is: 22px; display: inline-flex; vertical-align: middle; margin-right: 2px; }
.ll-chips .item.inline .box { border-width: 1px; }
.ll-chips .item.inline .nm, .ll-chips .item.inline .n { display: none; }
/* 图谱 */
.ll-atlas .ln { stroke: rgba(190, 170, 230, .28); stroke-width: 1.5; stroke-dasharray: 4 5; }
.ll-atlas .ln.on { stroke-width: 2.5; stroke-dasharray: none; filter: drop-shadow(0 0 4px rgba(255, 210, 80, .9)); }
.ll-atlas .nd { cursor: pointer; }
.ll-atlas .nd .halo { fill: rgba(140, 120, 200, .16); stroke: rgba(190, 170, 230, .3); stroke-width: 1; }
.ll-atlas .nd .core { fill: #2e2546; stroke: #8a7ab0; stroke-width: 1.5; }
.ll-atlas .nd.on .halo { fill: rgba(255, 210, 80, .28); stroke: rgba(255, 230, 150, .6); animation: llAtlasPulse 2.2s ease-in-out infinite; }
.ll-atlas .nd.on .core { stroke: #fff6cf; stroke-width: 1.5; filter: drop-shadow(0 0 6px rgba(255, 220, 100, 1)); }
.ll-atlas .nd.aw .halo { stroke: rgba(200, 140, 255, .55); }
.ll-atlas .nd.aw.on .core { filter: drop-shadow(0 0 8px rgba(255, 200, 255, 1)); }
.ll-atlas .node-n { font-family: var(--font-brush); font-size: 12px; fill: #a89bc4; text-anchor: middle; letter-spacing: 1px; }
.ll-atlas .nd.on .node-n { fill: #ffe08a; }
.ll-atlas .nd.aw .node-n { fill: #d8b0ff; }
.ll-atlas .nd.aw.on .node-n { fill: #ffd6ff; }
@keyframes llAtlasPulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
/* 章节卡补充 */
.ll-chap .hd .st .stars svg { width: 15px; height: 15px; }
.ll-chap .st-lab svg { width: 14px; height: 14px; vertical-align: -2px; }
.ll-chap .req span svg { width: 14px; height: 14px; vertical-align: -3px; }
.ll-chap .en .ll-units { display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 4px; padding: 0; overflow-x: auto; scrollbar-width: none; }
.ll-chap .en .ll-units::-webkit-scrollbar { display: none; }
.ll-chap .en .ll-units .avatar { --as: 36px; }
.ll-chap .en .ll-units .avatar .nm { font-size: 10px; max-width: 44px; }
.ll-chap .en .ll-units .avatar .lv { font-size: 9px; min-width: 16px; height: 13px; line-height: 13px; }
.ll-chap .en .ll-units .avatar .badge { transform: scale(.85); transform-origin: right top; }
.ll-chap .en .ll-units .avatar .bs { font-size: 10px; line-height: 14px; padding: 0 4px; }
.ll-chap.done .hd { background: linear-gradient(180deg, #3f8f5a, #215c34); }
.ll-chap.done.awaken .hd { background: linear-gradient(180deg, #7b3fb5, #3a1a5c); }
.ll-chap .ft .ll-rw .r { color: var(--ink-soft); }
.ll-chap .cnt { top: 44px; font-family: var(--font-brush); font-size: 12px; letter-spacing: 1px; color: #b8860b; }
.ll-chap-req { justify-content: center; margin-bottom: 4px; }

/* ---------- 修正 ---------- */
/* 血战襄阳场景：左侧大层数与说明文字错开 */
.ll-panel[data-mode="tower"] .ll-desc { margin: 6px 24px 0 96px; text-align: left; }
/* theme.css 的 .avatar .lv 锚在整个 .avatar 底部，带名字时会盖住名字；本组页面内改锚到头像框底部 */
.ll-root .avatar .lv, .ll-modal-rank .avatar .lv, .modal-body .ll-units .avatar .lv, .modal-body .ll-hp .avatar .lv { bottom: auto; top: calc(var(--as) - 14px); }
