/* 静态页专用样式 —— 只被 i/ s/ r/ 下的页面引用，不参与 SPA。
   配色与站点一致（从 style.css 的 :root 抄同一套变量），但布局是「文档流」而非应用壳：
   这类页面首屏就要能读，所以不放 hero 大图、不依赖任何 JS。 */
:root{
  --bg:#111827; --bg2:#1f2937; --bg3:#374151; --line:#000; --soft:rgba(255,255,255,.08);
  --ink:#f3f4f6; --ink2:#d1d5db; --mut:#9ca3af; --mut2:#6b7280;
  --gold:#d4b06a; --gold2:#a8813c;
  --r-common:#9aa4ab; --r-uncommon:#4caf50; --r-rare:#3b82f6; --r-epic:#a855f7; --r-legendary:#f59e0b;
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);
  font:16px/1.65 -apple-system,"Segoe UI","Microsoft YaHei",system-ui,sans-serif;
  -webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{display:block}
.sw{max-width:1080px;margin:0 auto;padding:18px 18px 56px}

/* 面包屑 */
.sc{font-size:13px;color:var(--mut);margin:4px 0 14px;line-height:1.9}
.sc a{color:var(--mut)}
.sc a:hover{color:var(--gold)}
.sc i{color:var(--mut2);font-style:normal;margin:0 2px}
.sc span{color:var(--ink2)}

/* 详情头 */
.dh{display:flex;gap:20px;align-items:flex-start;justify-content:space-between;margin:0 0 18px}
.dhx{flex:1 1 auto;min-width:0}
.dh h1{margin:0;font-size:29px;line-height:1.28;letter-spacing:-.2px;display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.dh .en{margin:3px 0 0;color:var(--mut);font-size:14px;letter-spacing:.02em}
.dh .ds{margin:10px 0 0;color:var(--ink2);font-size:15px;max-width:64ch}
.dh .tg{margin-top:10px;display:flex;flex-wrap:wrap;gap:6px}
.dh .pz{margin:8px 0 0;color:var(--mut2);font-size:12.5px}
.ic{border-radius:8px;background:var(--bg2);object-fit:contain;flex:none}
.dh > .ic{width:96px;height:96px;padding:6px;border:1px solid var(--soft)}

/* 徽章 */
.bd{display:inline-block;font-size:11.5px;line-height:1.7;padding:1px 8px;border-radius:20px;
  border:1px solid var(--soft);color:var(--ink2);background:rgba(255,255,255,.04);font-weight:600;
  vertical-align:middle;white-space:nowrap}
.bd-t{color:var(--gold);border-color:rgba(212,176,106,.45);background:rgba(212,176,106,.1)}
.bd-r{color:var(--ink);border-color:var(--soft);background:rgba(255,255,255,.07)}
.bd-on{color:#86efac;border-color:rgba(134,239,172,.35);background:rgba(134,239,172,.08)}

/* 两栏 */
.cols{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:16px;align-items:start}
.cl,.cr{min-width:0}
.cl > .card + .card,.cr > .card + .card{margin-top:16px}

/* 卡片 */
.card{background:var(--bg2);border:1px solid var(--soft);border-radius:12px;padding:15px 17px}
.card h2{margin:0 0 11px;font-size:16px;font-weight:700;display:flex;align-items:center;gap:8px;
  padding-bottom:9px;border-bottom:1px solid var(--soft)}
.card h2.sh{margin:26px 0 12px;font-size:15.5px}
.pl{font-size:11.5px;font-weight:600;color:var(--mut);background:rgba(255,255,255,.06);
  padding:1px 8px;border-radius:20px;border:1px solid var(--soft)}
.hint{margin:10px 0 0;font-size:12.5px;color:var(--mut2);line-height:1.7}
.spa{margin:22px 0 0;font-size:14px}
.spa a{color:var(--gold);border-bottom:1px solid rgba(212,176,106,.4);padding-bottom:1px}

/* 表格 */
table{width:100%;border-collapse:collapse;font-size:14px}
th,td{padding:7px 9px;text-align:left;border-bottom:1px solid rgba(255,255,255,.06);vertical-align:middle}
th{font-size:12px;color:var(--mut);font-weight:600;background:rgba(255,255,255,.03)}
tr:last-child td{border-bottom:none}
td.q,th.q{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--ink2)}
td.sec{font-size:11.5px;letter-spacing:.06em;color:var(--mut2);background:rgba(255,255,255,.02);
  padding:6px 9px;text-transform:none}
td i.e{display:block;font-style:normal;font-size:11px;color:var(--mut2);margin-top:1px}
td em{font-style:normal;color:var(--mut2);font-size:11.5px;margin-left:3px}
.dt th:first-child,.dt td:first-child{width:118px;color:var(--mut)}

/* 实体行 */
a.ent{display:flex;align-items:center;gap:9px;min-width:0;border-radius:8px;transition:background .14s}
a.ent:hover{background:rgba(212,176,106,.1)}
.ent .ez{min-width:0}
.ent .ez b{display:block;font-weight:600;font-size:14px;line-height:1.35;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ent .ez i{display:block;font-style:normal;font-size:11px;color:var(--mut2);line-height:1.35;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
a.ent:hover .ez b{color:var(--gold)}

/* 分类页列表 */
.ph h1{margin:6px 0 4px;font-size:27px;letter-spacing:-.2px}
.ph .sub{margin:0 0 6px;color:var(--mut);font-size:13.5px}
.lsg{display:grid;grid-template-columns:repeat(auto-fill,minmax(232px,1fr));gap:8px}
/* 条目页底部的「同类条目」：只是一串链接，用 chips 排，别让它们连成一句话 */
.sil{display:flex;flex-wrap:wrap;gap:6px}
.sil a{font-size:13px;padding:3px 9px;border-radius:8px;background:rgba(255,255,255,.04);
  border:1px solid var(--soft);transition:background .14s,color .14s}
.sil a:hover{background:rgba(212,176,106,.12);color:var(--gold)}
a.lis{display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:10px;
  background:rgba(255,255,255,.028);border:1px solid transparent;transition:background .14s,border-color .14s}
a.lis:hover{background:rgba(212,176,106,.09);border-color:rgba(212,176,106,.3)}
.ls{min-width:0;flex:1 1 auto}
.ls b{display:block;font-size:13.5px;font-weight:600;line-height:1.35;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ls i{display:block;font-style:normal;font-size:11px;color:var(--mut2);line-height:1.3;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ls .bd{margin-top:3px}
.lq{font-size:11.5px;color:var(--mut2);white-space:nowrap}

/* 首页静态块（插在 SPA 的 #view 里，加载后被覆盖） */
.hhero{text-align:center;padding:30px 12px 24px}
.hhero h1{margin:0 0 8px;font-size:32px;letter-spacing:-.4px}
.hhero p{margin:0;color:var(--ink2);font-size:15px}
.hstats{display:flex;justify-content:center;gap:34px;margin:22px 0 6px}
.hstats b{display:block;font-size:25px;color:var(--gold);font-variant-numeric:tabular-nums;line-height:1.25}
.hstats span{font-size:12px;color:var(--mut)}
.hnote{margin-top:16px !important;font-size:12.5px;color:var(--mut2) !important}
.cidx{margin:2px 0}
.cirow{display:flex;gap:12px;align-items:baseline;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.05)}
.cirow:last-child{border-bottom:none}
.cirow > b{flex:none;width:44px;font-size:12.5px;color:var(--mut);font-weight:600}
.cil{display:flex;flex-wrap:wrap;gap:5px}
.cil a{display:inline-flex;align-items:center;gap:5px;font-size:13.5px;padding:3px 9px;border-radius:8px;
  background:rgba(255,255,255,.04);border:1px solid var(--soft);transition:background .14s,color .14s}
.cil a:hover{background:rgba(212,176,106,.12);color:var(--gold)}
.cil a i{font-style:normal;font-size:11px;color:var(--mut2)}

/* 页脚 */
.sf{margin-top:36px;padding-top:14px;border-top:1px solid var(--soft);color:var(--mut2);font-size:12px;line-height:1.85}
.sf p{margin:0}
.sf a{color:var(--mut)}

@media(max-width:820px){
  .cols{grid-template-columns:1fr}
  .dh{flex-direction:column-reverse;gap:12px}
  .dh > .ic{width:72px;height:72px}
  .dh h1{font-size:24px}
  .lsg{grid-template-columns:1fr}
  .hstats{gap:22px}
  .cirow{flex-direction:column;gap:4px}
  .cirow > b{width:auto}
}

/* ---------------- 地下城：刷新点俯视分布图 ----------------
   与 style.css 同名同画法，保证静态页和 SPA 视觉一致。
   点是官方刷新点坐标的俯视投影，不是实景地图。 */
.warp{margin:6px auto 10px}
.dgnplot{width:100%;height:auto;display:block;border-radius:10px;background:#0b1018;margin:0}
.dgnplot .dgnmap{opacity:.96}
.dgnplot .dgbg{fill:#0b1018;stroke:rgba(255,255,255,.08);stroke-width:1}
.dgnplot .dggrid line{stroke:rgba(255,255,255,.05);stroke-width:1}
.dgnplot .dp{fill:#8d7c55;fill-opacity:.5}
.dgnplot .dp:hover{fill:#e6c98a;fill-opacity:1}
.dgnplot .dp.b{fill:#e8c073;stroke:#0b1018;stroke-width:2.5}
.dgnplot .dp.b:hover{fill:#fff3d0}
.dgnplot.hasimg .dp{fill:#3b86e8;fill-opacity:.8;stroke:#fff;stroke-width:1}
.dgnplot.hasimg .dp:hover{fill:#1450b4;fill-opacity:1}
.dgnplot.hasimg .dp.b{fill:#e8452f;stroke:#fff;stroke-width:2}
.dgnplot.hasimg .dp.b:hover{fill:#a92c1a}
.dgnplot .dlb{fill:#f2dcab;font-size:13px;paint-order:stroke;
  stroke:#0b1018;stroke-width:3.5px;stroke-linejoin:round;pointer-events:none}
.dgnplot.hasimg .dlb{fill:#eaf1f8;stroke:rgba(6,12,20,.9);stroke-width:3px}
.mlg{display:flex;flex-wrap:wrap;gap:14px;font-size:13px;color:var(--mut);margin:2px 0 8px}
.mlg span{display:inline-flex;align-items:center;gap:6px}
.mlg .ld{width:9px;height:9px;border-radius:50%;display:inline-block}
.mlg .ld.n{background:#8d7c55}
.mlg .ld.b{background:#e8c073;box-shadow:0 0 0 2px rgba(232,192,115,.25)}
.mlg .ld.n.onimg{background:#2f6fd0}
.mlg .ld.b.onimg{background:#d9452f;box-shadow:0 0 0 2px rgba(217,69,47,.25)}

/* 地下城的列表行：名字长（The Reflection of Holastri）+ 统计多，232px 的通用格子放不下，
   改成更宽的格子并把统计放到第二行，避免名字被截成 "The Ref..." */
.lsg.wide{grid-template-columns:repeat(auto-fill,minmax(248px,1fr))}
.ls .sd{display:block;font-size:11px;color:var(--mut2);line-height:1.4;margin-top:1px}
