

.ab-hint { margin: 0 0 8px; font-size: var(--kh-fs-sm); color: var(--kh-muted); line-height: 1.5; word-break: keep-all; }
.ab-pages { list-style: none; margin: 0; padding: 0; line-height: normal; color: var(--kh-text); }
.ab-page { border-top: 1px solid var(--kh-border); }
.ab-row, .ab-expand { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 6px 0; }
.ab-head { flex: 0 0 auto; min-width: 3.5em; max-width: 8.5em; display: flex; flex-direction: column; gap: 3px; }
.ab-name { font-family: var(--kh-font-serif); font-weight: 800; font-size: 15px; overflow-wrap: anywhere; }
.ab-page.is-default .ab-name { color: var(--kh-paper-dim); }
.ab-badges { display: flex; flex-wrap: wrap; gap: 3px; }
.ab-badge { display: inline-block; padding: 1px 6px; border-radius: 999px; font-size: 12px; font-weight: 800; line-height: 1.35; white-space: nowrap; }
.ab-badge--hunt { background: rgba(182, 134, 46, .16); color: var(--kh-gold-text); border: 1px solid rgba(182, 134, 46, .38); }
.ab-badge--duel { background: rgba(176, 46, 46, .14); color: var(--kh-cinnabar); border: 1px solid rgba(176, 46, 46, .35); }

.ab-arts { flex: 1 1 auto; min-width: 0; display: flex; gap: 3px; overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 14px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 14px), transparent); }
.ab-art { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; overflow: hidden;
    border: 1px solid var(--glass-stroke); background: var(--kh-surface-2); font-size: 12px; font-weight: 800; color: var(--kh-muted); }
.ab-art img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ab-art.is-unusable { opacity: .4; position: relative; }
.ab-art.is-unusable::after { content: ""; position: absolute; left: -2px; right: -2px; top: 50%; height: 2px; background: var(--kh-crimson); transform: rotate(-35deg); }
.ab-empty { font-style: normal; font-size: var(--kh-fs-sm); color: var(--kh-muted); }
.ab-actions { flex: 0 0 auto; display: flex; gap: 6px; }
.ab-actions .kh-btn, .ab-menu .kh-btn, .ab-expand .kh-btn { margin: 0; min-height: 40px; white-space: nowrap; }
.ab-more { min-width: 40px; padding-left: 8px; padding-right: 8px; }
.ab-menu { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; padding: 0 0 10px; }
.ab-menu .kh-btn.is-active { border-color: var(--kh-cinnabar); color: var(--kh-cinnabar); opacity: .75; }
.ab-expand { border-top: 1px solid var(--kh-border); }
.ab-expand .ab-name { color: var(--kh-gold-text); }
.ab-expand .kh-btn { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; font-variant-numeric: tabular-nums; }
.ab-expand .kh-btn.is-short { color: var(--kh-crimson); }
.ab-max { margin: 0; padding: 12px 0 4px; border-top: 1px solid var(--kh-border); font-size: var(--kh-fs-sm); color: var(--kh-muted); }
