                                                                                  
.egcs-punishments { color:var(--mid-text,#e1e4eb); --ep-panel:var(--mid-panel,#171c24); --ep-line:var(--mid-border,#2b3340); }
.egcs-punishments [hidden] { display:none!important; }
html body .egcs-punishments { font:500 15px/1.5 Montserrat,sans-serif; }
html body .egcs-punishments .ep-dialog:not([open]) { display:none!important; }
html body .egcs-punishments .ep-tabs a { color:var(--mid-muted,#a1a9b8)!important; }
html body .egcs-punishments .ep-tabs a[aria-current="page"] { color:var(--mid-text,#e5e8ef)!important; background:var(--mid-accent-soft,#242e3e)!important; }
html body .egcs-punishments .ep-person { color:var(--mid-text,#e5e8ef)!important; }
html body .egcs-punishments .ep-search input:not([type="checkbox"]):not([type="radio"]) { background:transparent!important; border:0!important; box-shadow:none!important; }
html body .egcs-punishments .ep-type svg { color:inherit!important; }
.egcs-punishments .ep-heading h1 { font-size:32px; font-weight:750; margin:0 0 26px; }
.egcs-punishments .ep-tabs { display:flex; gap:6px; padding:6px; border:1px solid var(--ep-line); background:#13171e; border-radius:16px; margin-bottom:18px; }
.egcs-punishments .ep-tabs a { padding:13px 22px; color:#9fa8b7; border-radius:11px; font-size:16px; font-weight:650; text-decoration:none; }
.egcs-punishments .ep-tabs a[aria-current="page"] { color:#edf1f8; background:#252e3d; }
.egcs-punishments .ep-search { display:flex; align-items:center; gap:14px; padding:10px 16px; margin:0; background:var(--ep-panel); border:1px solid var(--ep-line); border-radius:16px; }
.egcs-punishments .ep-search svg { width:23px; height:23px; flex-shrink:0; color:#97a2b3; }
.egcs-punishments .ep-search input { flex:1; min-width:0; height:42px; font:inherit; font-size:16px; color:inherit; background:transparent; border:0; box-shadow:none; padding:0; }
.egcs-punishments .ep-search input::placeholder { color:#929cad; opacity:1; }
.egcs-punishments button { font:inherit; cursor:pointer; }
.egcs-punishments .ep-search button,.egcs-punishments .ep-more,.egcs-punishments .ep-retry { background:#a7b6cc; color:#101722; border:0; border-radius:10px; padding:11px 18px; font-weight:650; }
.egcs-punishments button:disabled { cursor:wait; opacity:.65; }
.egcs-punishments :is(button,a,input):focus-visible { outline:2px solid #a7c6ef; outline-offset:3px; }
.egcs-punishments .ep-status { color:#a6afbd; margin:14px 2px; min-height:22px; font-size:13px; }
.egcs-punishments .ep-status.is-error { color:#efb983; }
.egcs-punishments .ep-retry { margin:0 0 16px; }
.egcs-punishments .ep-columns,.egcs-punishments .ep-row { display:grid; grid-template-columns:42px minmax(120px,1.2fr) minmax(125px,1.5fr) minmax(90px,.7fr) minmax(125px,1fr) minmax(125px,1fr) minmax(125px,1.05fr); align-items:center; gap:16px; }
.egcs-punishments .ep-columns { color:#939fae; font-size:12px; padding:14px 20px; }
.egcs-punishments .ep-row { padding:20px; margin:0 0 8px; background:var(--ep-panel); border:1px solid var(--ep-line); border-radius:16px; font-size:14px; line-height:1.5; }
.egcs-punishments .ep-cell { min-width:0; overflow-wrap:anywhere; }
.egcs-punishments .ep-person { display:flex; align-items:center; gap:10px; min-width:0; color:inherit; text-decoration:none; }
.egcs-punishments .ep-avatar { display:grid; place-items:center; flex:0 0 34px; width:34px; height:34px; overflow:hidden; border-radius:50%; color:#b5c4d9; background:#283241; font-size:13px; font-weight:650; }
.egcs-punishments .ep-avatar img { width:100%; height:100%; object-fit:cover; }
.egcs-punishments .ep-name { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.egcs-punishments .ep-type { display:grid; place-items:center; width:34px; height:36px; border:0; border-radius:9px; background:rgba(238,95,115,.1); color:#ef657c; }
.egcs-punishments .ep-type:hover { background:rgba(238,95,115,.2); }
.egcs-punishments .ep-type svg { width:19px; height:19px; }
.egcs-punishments .ep-row.is-ended .ep-type { color:#96a7bd; background:#252d39; }
.egcs-punishments .ep-end.is-ended { color:#99c5b6; }
.egcs-punishments .ep-empty { text-align:center; padding:42px 22px; background:var(--ep-panel); border:1px solid var(--ep-line); border-radius:16px; color:#adb6c6; }
.egcs-punishments .ep-more { display:block; margin:22px auto 0; }
.egcs-punishments .ep-dialog { position:fixed; inset:0; margin:auto!important; width:min(1000px,calc(100% - 32px)); max-height:85dvh; overflow:auto; padding:24px; color:#e1e4eb; background:#171c24; border:1px solid var(--ep-line); border-radius:18px; z-index:9999; }
.egcs-punishments .ep-dialog::backdrop { background:rgba(0,0,0,.7); }
.egcs-punishments .ep-dialog-head { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:22px; }
.egcs-punishments .ep-dialog-head h2 { font-size:20px; margin:0; }
.egcs-punishments .ep-close { display:grid; place-items:center; width:36px; height:36px; background:#242c38; color:inherit; border:1px solid var(--ep-line); border-radius:9px; font-size:24px; }
.egcs-punishments .ep-detail-content { margin-bottom:20px; }
.egcs-punishments .ep-detail-content .ban-row-head { display:none; }
.egcs-punishments .ep-detail-content .ban-details { display:block!important; }
.egcs-punishments .ep-detail-content .ban-details-head,.egcs-punishments .ep-detail-content .ban-details-body { overflow-wrap:anywhere; }
@media(max-width:1200px) {
 .egcs-punishments .ep-columns { display:none; }
 .egcs-punishments .ep-row { grid-template-columns:36px 1fr 1fr; gap:16px; }
 .egcs-punishments .ep-cell[data-label]::before { content:attr(data-label); display:block; font-size:11px; color:#8e9aaa; margin-bottom:5px; }
 .egcs-punishments .ep-cell:nth-child(4) { grid-column:2; }
 .egcs-punishments .ep-cell:nth-child(6) { grid-column:2; }
}
@media(max-width:540px) {
 .egcs-punishments .ep-heading h1 { font-size:27px; margin-bottom:20px; }
 .egcs-punishments .ep-search { gap:9px; padding:9px 12px; }
 .egcs-punishments .ep-search input { font-size:14px; }
 .egcs-punishments .ep-search button { padding:10px; font-size:12px; }
 .egcs-punishments .ep-row { padding:16px; grid-template-columns:32px minmax(0,1fr) minmax(0,1fr); gap:14px 12px; font-size:13px; }
 .egcs-punishments .ep-cell:nth-child(2),.egcs-punishments .ep-cell:nth-child(3),.egcs-punishments .ep-cell:nth-child(7) { grid-column:2 / 4; }
 .egcs-punishments .ep-cell:nth-child(4),.egcs-punishments .ep-cell:nth-child(6) { grid-column:2; }
 .egcs-punishments .ep-row .ep-name { white-space:normal; overflow-wrap:anywhere; }
 .egcs-punishments .ep-dialog { padding:18px; }
 .egcs-punishments .ep-detail-content .ban-details-head { display:none; }
 .egcs-punishments .ep-detail-content .ban-details-body { display:flex; flex-direction:column; align-items:stretch; gap:16px; }
}
