/* Mod log: restricted cases and removal. */

.restrict-box {
    display: flex; flex-direction: column; gap: 8px; padding: 14px;
    border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border);
}
.restrict-box h3 { margin: 0; }
.check-pill { padding: 4px 10px; border-radius: 99px; border: 1px solid var(--border); background: var(--surface-2); }
.danger-zone {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px;
    border-radius: 12px; border: 1px solid rgba(255, 122, 138, .35); background: rgba(255, 122, 138, .06);
}
.danger-zone .radio { margin-top: 6px; }
/* Evidence locker */
.evidence { display: flex; flex-direction: column; gap: 10px; }
.evidence-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.evidence-item { margin: 0; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); }
.evidence-item > img, .evidence-item > video { width: 100%; height: 120px; object-fit: cover; background: #000; cursor: zoom-in; }
.evidence-item figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 6px 8px; font-size: 13px; }
.evidence-item figcaption > div { flex-basis: 100%; }
.evidence-item figcaption .icon-btn { margin-left: auto; }
.evidence-text { margin: 0; padding: 8px; max-height: 120px; overflow: auto; font-size: 12px; white-space: pre-wrap; word-break: break-word; }
.evidence-drop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px; border: 1px dashed var(--border); border-radius: 12px; }
.evidence-drop input:not([type]) { flex: 1 1 200px; }
.evidence-drop.busy { opacity: .6; pointer-events: none; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(0, 0, 0, .8); cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; }

/* Player heads and a compact cases table */
.mc-head { flex: none; border-radius: 4px; image-rendering: pixelated; background: var(--surface-3); box-shadow: 0 2px 6px rgba(0, 0, 0, .25), 0 0 0 1px rgba(255, 255, 255, .06); }
.mc-head.missing { visibility: hidden; }
.head-name { display: inline-flex; align-items: center; gap: 9px; min-width: 0; vertical-align: middle; }
.head-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.head-text > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.head-title { display: flex; align-items: center; gap: 10px; }
.cases-table .table td { white-space: nowrap; padding-top: 9px; padding-bottom: 9px; }
.cases-table .reason-cell { display: block; max-width: min(46ch, 38vw); overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.cases-table tr:hover .reason-cell { color: var(--text); }
.type-pill { font-weight: 700; }
.type-ban, .type-ipban, .type-tempban { color: var(--danger); border-color: rgba(255, 122, 138, .35); background: rgba(255, 122, 138, .1); }
.type-mute, .type-tempmute, .type-ipmute { color: var(--warn); border-color: rgba(247, 201, 92, .35); background: rgba(247, 201, 92, .1); }
.type-warn, .type-warning { color: var(--sky); border-color: rgba(124, 196, 250, .35); background: rgba(124, 196, 250, .1); }
.type-kick { color: var(--violet); border-color: rgba(167, 139, 250, .35); background: rgba(167, 139, 250, .1); }
/* On narrow screens the table scrolls sideways inside its card, never the page. */
div.cases-table:not(.data-table) { overflow-x: auto; }
