.ceb-block { --ceb-border:#d7d7d7; --ceb-head:#efefef; --ceb-text:#222; color:var(--ceb-text); }
.ceb-character { margin:0 0 28px; }
.ceb-table-scroll { width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; border:1px solid var(--ceb-border); background:#fff; }
.ceb-spec-table { width:100%; min-width:100%; border-collapse:collapse; margin:0; background:#fff; table-layout:fixed; }
.ceb-spec-table th, .ceb-spec-table td { border-right:1px solid var(--ceb-border); border-bottom:1px solid var(--ceb-border); text-align:center; vertical-align:middle; padding:10px 14px; word-break:break-word; }
.ceb-spec-table th:last-child, .ceb-spec-table td:last-child { border-right:0; }
.ceb-spec-table tbody tr:last-child td { border-bottom:0; }
.ceb-spec-table thead th { background:var(--ceb-head); font-weight:700; white-space:nowrap; }
.ceb-spec-table .ceb-character-col { width:34%; min-width:180px; }
.ceb-character-cell { min-width:180px; }
.ceb-character-link { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; color:inherit; text-decoration:none; }
.ceb-character-link:hover .ceb-character-name { text-decoration:underline; }
.ceb-character-image { width:72px !important; height:72px !important; aspect-ratio:1/1; object-fit:cover; border-radius:4px; display:block; }
.ceb-character-image--empty { background:#f1f1f1; border:1px solid #ddd; }
.ceb-character-name { font-weight:700; line-height:1.35; }
.ceb-spec-cell { white-space:normal; }
.ceb-spec-value { display:inline-flex; align-items:center; justify-content:center; gap:6px; }
.ceb-spec-icon { width:30px !important; height:30px !important; object-fit:cover; vertical-align:middle; border-radius:3px; flex:none; }
.ceb-character-notes-wrap { border:1px solid var(--ceb-border); border-top:0; padding:14px 18px; background:#fff; }
.ceb-character-notes { margin:0 0 0 1.3em !important; padding:0 !important; }
.ceb-character-notes li { margin:0; padding:10px 0; line-height:1.7; }
.ceb-character-notes li + li { border-top:1px dotted #cfcfcf; }
.ceb-character-notes a { text-decoration:underline; }
@media (max-width: 600px) {
    .ceb-character { margin-bottom:22px; }
    .ceb-table-scroll { overflow:visible; }
    .ceb-spec-table { min-width:0; table-layout:auto; }
    .ceb-spec-table thead { display:none; }
    .ceb-spec-table,
    .ceb-spec-table tbody { display:block; width:100%; }
    .ceb-spec-table tbody tr {
        display:flex;
        flex-wrap:wrap;
        width:100%;
    }
    .ceb-spec-table td {
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:flex-start;
        width:auto;
        min-width:0;
        text-align:center;
        padding:0;
        border-right:1px solid var(--ceb-border);
        border-bottom:1px solid var(--ceb-border);
        background:#fff;
        box-sizing:border-box;
    }
    .ceb-spec-table td:first-child {
        flex:0 0 100%;
        width:100%;
        border-right:0;
        padding:16px 12px;
    }
    .ceb-spec-table td.ceb-spec-cell {
        flex:1 1 90px;
    }
    .ceb-spec-table td.ceb-spec-cell:last-child { border-right:0; }
    .ceb-character-cell { text-align:center; }
    .ceb-character-link { gap:8px; }
    .ceb-character-image { width:64px !important; height:64px !important; }
    .ceb-spec-cell { gap:0; }
    .ceb-spec-cell::before {
        content:attr(data-label);
        display:block;
        width:100%;
        box-sizing:border-box;
        padding:8px 6px;
        font-weight:700;
        color:var(--ceb-text);
        border-bottom:1px solid var(--ceb-border);
        background:#fafafa;
        line-height:1.3;
    }
    .ceb-spec-value {
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:6px;
        width:100%;
        min-height:62px;
        padding:10px 6px 12px;
        box-sizing:border-box;
        text-align:center;
    }
    .ceb-spec-icon { width:28px !important; height:28px !important; }
    .ceb-character-notes-wrap { padding:12px 14px; }
}
