/* 閻羅殿頁（#/yanluo）：敵方陣型格子圖；表格 / 格子都走捲動外框，屬性色沿用 herobf.css 的 .e-* */
.yl-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.yl-tabs a { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--chip); color: var(--fg); text-decoration: none; font-size: 14px; }
.yl-tabs a.on { background: var(--accent-bg); border-color: var(--accent); color: var(--accent); font-weight: 600; }
.yl-form { overflow-x: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px; margin-bottom: 12px; }
.yl-grid { display: grid; grid-template-columns: 34px repeat(5, minmax(104px, 1fr)); gap: 6px; min-width: 600px; }
.yl-rowh { display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); }
.yl-cell { border: 1px solid var(--line); border-radius: 8px; padding: 6px; font-size: 12.5px; line-height: 1.4; background: var(--bg); min-width: 0; }
.yl-cell.boss { border-color: var(--accent); background: var(--accent-bg); }
.yl-cell .pos { color: var(--muted); font-size: 11px; }
.yl-cell img { display: block; width: 48px; height: 48px; object-fit: contain; margin: 2px auto; }
.yl-cell .nm { font-weight: 600; text-align: center; word-break: break-all; }
.yl-cell .hp { text-align: center; font-variant-numeric: tabular-nums; }
.yl-cell .hb-bar { min-width: 0; margin-top: 3px; font-size: 11px; line-height: 17px; }
.yl-cell .hb-bar span { min-width: 0; padding: 0 2px; }
.yl-sw { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; margin: 6px 0; }
.yl-est { color: var(--muted); }
.yl-src { color: var(--muted); font-size: 11px; }
.yl-ok { color: #1a7f37; font-weight: 600; }
.yl-bad { color: #c62828; font-weight: 600; }
@media (prefers-color-scheme: dark) { .yl-ok { color: #4ac26b; } .yl-bad { color: #ff7b72; } }
