

#server-status-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 560px), 1fr)); gap: 20px; }
.server-overview { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.server-overview-head { display: flex; align-items: center; gap: 18px; min-height: 76px; padding: 14px 20px; border-bottom: 1px solid var(--dg-border-soft); }
.server-pulse-status { display: grid; gap: 5px; min-width: 130px; }
.server-pulse-status strong { color: #fff; font-size: 16px; font-weight: 700; }
.status-pill { width: max-content; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--dg-highlight); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.status-pill::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 6px 1px 0; border-radius: 50%; background: currentColor; }
.status-pill-muted { color: var(--dg-text-dim); }
.tps-graph { flex: 1; min-width: 80px; height: 44px; }
.tps-graph svg { display: block; width: 100%; height: 100%; overflow: visible; }
.tps-graph polyline { stroke: var(--dg-highlight); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .88; }
.tps-graph.is-empty::after { content: "Warte auf TPS-Daten"; display: block; padding-top: 14px; color: var(--dg-text-dim); font-size: 10px; text-align: center; }
.server-tps { min-width: 96px; text-align: right; }
.server-tps > span { display: block; color: #fff; font-size: 18px; font-weight: 700; }
.server-tps small { color: var(--dg-text-dim); font-size: 10px; letter-spacing: .1em; }
.server-overview .server-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-bottom: 1px solid var(--dg-border-soft); }
.server-overview .server-metric { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; min-width: 0; padding: 14px 20px; border-right: 1px solid var(--dg-border-soft); }
.server-overview .server-metric:last-child { border-right: 0; }
.metric-label { display: inline-flex; align-items: center; gap: 7px; color: var(--dg-text-dim); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.metric-label i { font-size: 13px; }
.metric-value { overflow: hidden; color: #fff; font-size: 15px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.metric-tag { padding: 2px 9px; border-radius: 99px; background: rgba(246, 189, 56, .12); color: var(--dg-warn); font-size: 12px; }
.server-overview .highlight-label { color: var(--dg-text-dim); }
.highlight-value { color: var(--dg-highlight); }
.home-player-card { display: flex; flex-direction: column; }
.player-list-heading { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid var(--dg-border-soft); }
.player-list-title { color: var(--dg-text); font-size: 13.5px; font-weight: 700; }
.player-list-count { color: var(--dg-text-dim); font-size: 11px; }
.player-list-entry, .player-list-empty { display: flex; align-items: center; min-height: 44px; padding: 0 20px; color: var(--dg-text-muted); }
.player-list-entry { gap: 8px; border-bottom: 1px solid var(--dg-border-soft); color: var(--dg-text); font-weight: 600; transition: background-color .15s ease, color .15s ease; }
.player-list-entry:last-child { border-bottom: 0; }
.player-list-entry:hover { background: rgba(255, 255, 255, .03); color: var(--dg-highlight); }
.player-verified { color: var(--dg-highlight); font-size: 13px; }

.page > .card, .page > .statistics-card, .page > .teamler-card { margin-bottom: 20px; }
.statistics-card { overflow: visible; padding: 24px; }
.teamler-card { padding: 24px; }
.team-member-category { gap: 10px; margin: 26px 0 0; }
.team-member-category:first-child { margin-top: 18px; }
.team-member-category h3 { color: var(--dg-text-dim); font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: 1.7px; text-transform: uppercase; }
.team-member-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.team-member-card { position: relative; min-height: 92px; gap: 10px; padding: 13px 14px 13px 16px; overflow: hidden; border-color: var(--dg-border); border-left: 3px solid var(--team-role-color, var(--dg-highlight)); border-radius: 10px; background: var(--dg-panel-raised); }
.team-member-card::before { content: ''; position: absolute; top: 15px; left: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--team-role-color, var(--dg-highlight)); }
.team-member-card-rank { justify-content: flex-start; padding-left: 13px; color: var(--team-role-color, var(--dg-highlight)); font-family: var(--font-body); font-size: 12px; font-weight: 700; line-height: 1.1; text-align: left; }
.team-member-card-rank .role-color-dot { display: none; }
.team-member-card-person { gap: 11px; }
.team-member-avatar { width: 38px; height: 38px; border: 0; border-radius: 10px; background: #1a2230; }
.team-member-avatar-fallback { display: grid; flex: 0 0 38px; place-items: center; color: var(--team-role-color, var(--dg-highlight)); font-size: 15px; font-weight: 700; }
.team-member-card-person strong { max-width: 100%; font-size: 14px; font-weight: 700; }
.team-member-card-person span { font-family: var(--font-body); font-size: 10px; }

.report-action-popover { position: fixed; z-index: 2300; display: grid; gap: 4px; min-width: 168px; padding: 6px; border: 1px solid var(--dg-border); border-radius: 9px; background: var(--dg-panel); }
.report-action-popover button { min-height: 34px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; color: var(--dg-text); font: 700 13px var(--dg-font-body); text-align: left; }
.report-action-popover button:hover { background: var(--dg-highlight-soft); color: var(--dg-highlight); }
.report-action-popover button.is-danger:hover { background: rgba(232, 100, 109, .12); color: var(--dg-danger); }
.dg-row-actions { display: inline-flex; align-items: center; justify-content: flex-end; gap: 7px; width: 100%; }
.dg-row-more, .dg-icon-action { display: inline-grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--dg-border); border-radius: 8px; background: transparent; color: var(--dg-text-muted); cursor: pointer; }
.dg-row-more:hover, .dg-icon-action:hover { border-color: var(--dg-highlight); background: var(--dg-highlight-soft); color: var(--dg-highlight); }
.dg-icon-action.is-danger:hover { border-color: rgba(232, 100, 109, .55); background: rgba(232, 100, 109, .1); color: var(--dg-danger); }

.dg-report-status { display: inline-flex; align-items: center; gap: 6px; min-height: 22px; padding: 2px 9px; border-radius: 999px; font-family: var(--font-body); font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap; }
.dg-report-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.dg-report-status--open { color: var(--dg-highlight); background: var(--dg-highlight-soft); }
.dg-report-status--in-progress { color: var(--dg-warn); background: rgba(242, 182, 68, .14); }
.dg-report-status--completed { color: var(--dg-ok); background: rgba(78, 209, 141, .14); }
.dg-report-status--denied { color: var(--dg-danger); background: rgba(239, 113, 128, .14); }
.dg-report-status--ignored, .dg-report-status--unknown { color: #94a1b1; background: rgba(148, 161, 177, .1); }

textarea { resize: none; }
.dg-ra-permission-group { margin: 14px 0 0; }
.dg-ra-permission-group h4 { margin: 0 0 8px; color: var(--dg-highlight); font: 700 .78rem/1 var(--dg-font-display); letter-spacing: .08em; text-transform: uppercase; }
[id^="pop-"]:not([id^="pop-overlay-"]), .popup-box, .modal-content { box-sizing: border-box; max-width: calc(100vw - 32px); }
.popup-body, [id^="popup-body-"] { min-width: 0; }
.popup-body textarea, .popup-body input, [id^="popup-body-"] textarea, [id^="popup-body-"] input, [id^="popup-body-"] select { box-sizing: border-box; max-width: 100%; }
.popup-preset-label { display: grid; gap: 6px; color: var(--dg-text-muted); }
.dg-moderation-overlay { z-index: 1500; }
.dg-moderation-dialog { width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; gap: 0; }
.dg-moderation-dialog::before { display: none; }
.dg-moderation-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--dg-line); }
.dg-moderation-head h3 { margin: 0; color: var(--dg-text); font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.dg-dialog-close { width: 34px; height: 34px; border: 0; border-radius: 8px; background: transparent; color: var(--dg-text-muted); cursor: pointer; font-size: 26px; line-height: 1; }
.dg-dialog-close:hover { background: rgba(255, 255, 255, .07); color: var(--dg-text); }
.dg-moderation-body { display: grid; gap: 16px; padding-top: 18px; }
.dg-moderation-dialog .popup-player, .dg-moderation-dialog p { margin: 0; }
.dg-moderation-dialog .popup-preset-label, .dg-moderation-dialog .dg-moderation-reason { display: grid; gap: 7px; color: var(--dg-text-muted); font-size: 13px; }
.dg-moderation-dialog select, .dg-moderation-dialog textarea, .dg-moderation-dialog .duration-field input { width: 100%; box-sizing: border-box; border: 1px solid var(--dg-line); border-radius: 8px; padding: 10px 12px; background: rgba(4, 10, 16, .72); color: var(--dg-text); font: inherit; }
.dg-moderation-dialog textarea:focus, .dg-moderation-dialog .duration-field input:focus { border-color: color-mix(in srgb, var(--dg-highlight) 55%, transparent); background: rgba(15, 20, 28, .95); outline: 0; }
.dg-moderation-dialog .dg-moderation-reason textarea { min-height: 88px; resize: vertical; }
.dg-moderation-duration { display: grid; gap: 7px; }
.dg-moderation-duration > span { color: var(--dg-text-muted); font-size: 13px; }
.dg-moderation-dialog .duration-grid-modal { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dg-moderation-dialog .duration-field { gap: 6px; color: var(--dg-text-muted); font-size: 13px; }
.dg-moderation-dialog .popup-buttons { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--dg-line); }
.dg-moderation-dialog .popup-btn { min-width: 118px; justify-content: center; }
.dg-moderation-dialog .popup-btn i { margin-right: 7px; }
.player-list-entry-button { width: 100%; border: 0; background: transparent; cursor: pointer; text-align: left; }
.home-quick-access { position: fixed; z-index: 1200; inset: 0; pointer-events: none; }
.home-quick-access__backdrop { position: absolute; inset: 0; background: rgba(7, 10, 14, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); pointer-events: auto; }
.home-quick-access__panel { position: absolute; top: 0; right: 0; display: flex; flex-direction: column; width: min(380px, 100vw); height: 100%; overflow-y: auto; border-left: 1px solid rgba(255, 255, 255, .08); background: #0b0f14; pointer-events: auto; scrollbar-width: thin; }
.home-quick-access__header { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 20px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.home-quick-access__header .page-eyebrow { margin: 0; }
.home-quick-access__header button { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #b8c2cf; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.home-quick-access__header button:hover { border-color: rgba(255, 255, 255, .06); background: rgba(8, 13, 20, .45); color: #fff; }
.home-quick-access__hero { padding: 18px 20px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.home-quick-access__identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.home-quick-access__avatar { display: grid; flex-shrink: 0; place-items: center; width: 46px; height: 46px; border: 2px solid rgba(255, 255, 255, .1); border-radius: 12px; background: rgba(255, 255, 255, .06); color: #fff; font-size: 1.05rem; font-weight: 700; }
.home-quick-access__identity > div { display: grid; gap: 3px; min-width: 0; }
.home-quick-access__identity strong { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; color: #fff; font-size: 1rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.home-quick-access__identity > div > span { overflow-wrap: anywhere; color: var(--dg-text-dim); font-size: .75rem; }
.home-quick-access__panel > section { display: grid; gap: 10px; padding: 16px 20px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.home-quick-access__panel .profile-section-label { display: flex; align-items: center; gap: 8px; margin: 0; color: #8d98a8; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.home-quick-access__panel .profile-section-label::before { content: ""; width: 3px; height: 12px; border-radius: 999px; background: rgba(0, 206, 220, .72); }
.home-quick-access__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-quick-access__stats > .profile-section-label { grid-column: 1 / -1; }
.home-quick-access__stats > div { display: grid; gap: 3px; padding: 10px 8px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 10px; background: rgba(20, 25, 35, .55); text-align: center; }
.home-quick-access__stats strong { color: var(--dg-highlight); font-size: 1.1rem; font-weight: 700; line-height: 1.1; }
.home-quick-access__stats small { color: var(--dg-text-muted); font-size: .62rem; letter-spacing: .07em; text-transform: uppercase; }
.home-quick-sanction { display: inline-flex; flex-direction: column; gap: 2px; width: max-content; max-width: 100%; padding: 6px 11px; border: 1px solid color-mix(in srgb, var(--dg-highlight) 30%, transparent); border-radius: 8px; background: color-mix(in srgb, var(--dg-highlight) 8%, transparent); color: var(--dg-highlight); }
.home-quick-sanction strong { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; }
.home-quick-sanction small { color: var(--dg-text-muted); font-size: .72rem; }
.home-quick-sanction.is-danger { border-color: rgba(239, 91, 100, .35); background: rgba(239, 91, 100, .08); color: #ff8a92; }
.home-quick-sanction.is-clear { border-color: rgba(74, 222, 128, .28); background: rgba(74, 222, 128, .07); color: var(--dg-ok); }
.home-quick-access__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-quick-access__actions > .profile-section-label { grid-column: 1 / -1; }
.home-quick-access__actions .btn-action { --qa-color: var(--dg-highlight); justify-content: flex-start; gap: 10px; min-height: 42px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; background: rgba(11, 15, 20, .7); color: #fff; font-size: .86rem; font-weight: 600; transform: none; }
.home-quick-access__actions .btn-action i { color: var(--qa-color); font-size: 15px; }
.home-quick-access__actions .btn-action:hover { border-color: color-mix(in srgb, var(--qa-color) 45%, transparent); background: color-mix(in srgb, var(--qa-color) 8%, transparent); color: #fff; transform: none; }
.home-quick-access__actions .btn-action--ban { --qa-color: var(--dg-danger); }
.home-quick-access__actions .btn-action--mute { --qa-color: var(--dg-highlight); }
.home-quick-access__actions .btn-action--warn { --qa-color: var(--dg-warn); }
.home-quick-access__actions .btn-action--watchlist { --qa-color: var(--dg-info); }
.home-quick-access__activity ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.home-quick-access__activity li { display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 10px; align-items: start; }
.home-quick-access__activity li > span { width: 6px; height: 6px; margin-top: 6px; border-radius: 50%; background: var(--dg-highlight); }
.home-quick-access__activity li strong, .home-quick-access__activity li small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-quick-access__activity li strong { color: #e6eef6; font-size: .82rem; font-weight: 600; }
.home-quick-access__activity li small { color: var(--dg-text-dim); font-size: .74rem; }
.home-quick-access__activity li.is-empty { grid-template-columns: 1fr; }
.home-quick-access__notes > small { color: var(--dg-text-muted); font-size: .8rem; }
.home-quick-access__notes textarea { width: 100%; min-height: 72px; resize: none; }
.home-quick-access__notes .btn-profile { width: 100%; min-height: 38px; margin: 0; }
.home-quick-access__note-history { display: grid; gap: 8px; max-height: 170px; overflow: auto; }
.home-quick-access__note-history > article { display: grid; gap: 3px; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 10px; background: rgba(255, 255, 255, .02); }
.home-quick-access__note-history header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.home-quick-access__note-history header span { display: inline-flex; gap: 8px; }
.home-quick-access__note-history header button { padding: 0; border: 0; background: transparent; color: var(--dg-highlight); font-size: .72rem; cursor: pointer; }
.home-quick-access__note-history header button[data-quick-note-delete] { color: var(--dg-danger); }
.home-quick-access__note-history strong { color: #e6eef6; font-size: .8rem; font-weight: 600; }
.home-quick-access__note-history > article > small { color: var(--dg-text-dim); font-size: .7rem; }
.home-quick-access__note-history p { margin: 2px 0 0; color: var(--dg-text-muted); font-size: .8rem; line-height: 1.45; white-space: pre-wrap; }
.home-quick-access__profile { display: inline-flex; align-items: center; justify-content: center; margin: auto 20px 20px; min-height: 42px; border: 1px solid color-mix(in srgb, var(--dg-highlight) 50%, transparent); border-radius: 10px; background: color-mix(in srgb, var(--dg-highlight) 14%, transparent); color: var(--dg-highlight); font-size: .86rem; font-weight: 600; text-decoration: none; transform: none; }
.home-quick-access__profile:hover { border-color: var(--dg-highlight); background: color-mix(in srgb, var(--dg-highlight) 22%, transparent); color: #fff; transform: none; }

.player-manager-cards { display: grid; }
.pm-count { color: var(--dg-text-muted); font-size: 13px; }
.pm-count b { color: var(--dg-highlight); font-size: 15px; }
.player-manager-search { margin-left: auto; }
.pm-table tbody tr { cursor: pointer; }
.pm-table tbody tr:focus-visible { outline: none; }
.pm-table tbody tr:focus-visible td { background: rgba(var(--dg-highlight-rgb), .06); }
.pm-name { display: block; color: #fff; font-weight: 600; }
.pm-id { display: block; margin-top: 2px; color: var(--dg-text-dim); font-size: .78rem; }
.pm-status { display: inline-flex; align-items: center; gap: 6px; color: var(--dg-text-muted); font-size: 12px; font-weight: 600; }
.pm-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pm-status--active { color: var(--dg-highlight); }
.pm-status--warning { color: var(--dg-warn); }
.pm-status--danger { color: var(--dg-danger); }
.pm-table td.pm-action { min-width: 0; text-align: right; }
.dg-empty-row.is-error td { color: var(--dg-danger); }

@media (max-width: 520px) {
  .dg-moderation-dialog .duration-grid-modal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.role-permission-row, .whitelist-server-card, .user-profile-card {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  background: rgba(255, 255, 255, .02);
}

.report-action-menu-items { z-index: 1200; border-color: var(--dg-border); border-radius: 8px; background: var(--dg-panel); box-shadow: none !important; }

.dg-panel-permission-group { margin: 22px 0 0; }
.dg-panel-permission-group h4 { margin: 0 0 8px; color: var(--dg-highlight); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.dg-panel-permission-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 7px; }
.dg-panel-permission-grid .permission-toggle { min-height: 44px; }

.sidebar-nav .nav-link,
.topbar-account-trigger,
.dg-table th,
.dg-table td,
.dg-table-action,
.popup-btn,
.permission-toggle strong,
.permission-toggle small { font-family: var(--dg-font-body); }
.sidebar-nav .nav-link,
.dg-table th,
.dg-table-action,
.popup-btn,
.permission-toggle strong { font-weight: 700; }

.dg-panel-permission-group > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; cursor: pointer; list-style: none; }
.dg-panel-permission-group > summary::-webkit-details-marker { display: none; }
.dg-panel-permission-group > summary small { color: var(--dg-text-muted); font-size: 11px; }
.dg-perm-summary-meta { display: inline-flex; align-items: center; gap: 18px; }
.dg-perm-toolbar { display: flex; align-items: center; gap: 10px; }
.dg-perm-toolbar .dg-permission-search { flex: 1; }
.dg-perm-bulk { flex-shrink: 0; min-height: 30px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; background: transparent; color: #c4cdd8; font-size: 12px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: border-color .15s ease, color .15s ease, background .15s ease; }
.dg-perm-bulk:hover { border-color: color-mix(in srgb, var(--dg-highlight) 50%, transparent); background: color-mix(in srgb, var(--dg-highlight) 8%, transparent); color: var(--dg-highlight); }
.dg-perm-bulk--all { min-height: 40px; padding: 0 16px; border-radius: 8px; }
.dg-panel-permission-group:not([open]) { padding-bottom: 10px; }
.dg-panel-permission-catalog { display: grid; gap: 10px; }
.dg-permission-search { width: 100%; min-height: 40px; box-sizing: border-box; border: 1px solid var(--dg-border); border-radius: 8px; background: var(--dg-control-bg); color: var(--dg-text); padding: 0 12px; }
.dg-permission-search:focus { outline: 0; border-color: var(--dg-highlight); }

.dg-log-event, .dg-audit-action { display: inline-flex; align-items: center; width: max-content; max-width: 100%; min-height: 24px; padding: 2px 9px; overflow: hidden; border: 1px solid var(--dg-border); border-radius: 6px; background: var(--dg-panel-raised); color: #9cacbd; font-size: 11px; font-weight: 600; line-height: 1; text-overflow: ellipsis; white-space: nowrap; }
.dg-log-event::before, .dg-audit-action::before { content: ''; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: currentColor; opacity: .9; }
.dg-log-event { color: var(--dg-highlight); background: var(--dg-highlight-soft); }
.dg-audit-action--success { color: var(--dg-ok); border-color: rgba(78, 209, 141, .25); background: rgba(78, 209, 141, .08); }
.dg-audit-action--danger { color: var(--dg-danger); border-color: rgba(239, 113, 128, .28); background: rgba(239, 113, 128, .08); }
.dg-audit-action--warning { color: var(--dg-warn); border-color: rgba(242, 182, 68, .26); background: rgba(242, 182, 68, .08); }

#ban .dg-row-actions, #mute .dg-row-actions, #warn .dg-row-actions, #watchlist .dg-row-actions { display: inline-flex !important; flex-direction: row !important; align-items: center !important; justify-content: flex-end; gap: 7px; width: 100%; }
#ban .btn-action_active_ban, #mute .btn-action_active_mute, #warn .btn-action_active_warn, #watchlist .btn-action_active_wl { min-width: 0 !important; min-height: 34px !important; padding: 0 12px !important; border-radius: 8px !important; font-size: 12px !important; white-space: nowrap; }
#ban .dg-row-more, #mute .dg-row-more, #warn .dg-icon-action, #watchlist .dg-icon-action { flex: 0 0 34px; min-width: 34px !important; min-height: 34px !important; }
#ban .dg-table tbody td:last-child, #mute .dg-table tbody td:last-child, #warn .dg-table tbody td:last-child, #watchlist .dg-table tbody td:last-child { min-width: 126px; white-space: nowrap; }

.dg-appeal-dialog { width: min(100% - 32px, 530px); padding: 0; overflow: hidden; border-radius: 14px; }.dg-appeal-dialog__header { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 13px; align-items: start; padding: 23px 27px 18px; border-bottom: 1px solid var(--dg-border); }.dg-appeal-dialog__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(var(--dg-highlight-rgb), .12); color: var(--dg-highlight); }.dg-appeal-dialog h3 { margin: 1px 0 5px; font-size: 20px; }.dg-appeal-dialog__header p { margin: 0; color: var(--dg-text-muted); font-size: 12px; line-height: 1.55; }.dg-appeal-dialog__close { border: 0; background: transparent; color: var(--dg-text-muted); cursor: pointer; font-size: 15px; }.dg-appeal-dialog__content { display: grid; gap: 18px; padding: 21px 27px; }.dg-appeal-dialog .dg-modal-label { display: grid; gap: 7px; color: var(--dg-text-muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }.dg-appeal-dialog .dg-modal-label > b { color: var(--dg-highlight); }.dg-appeal-dialog textarea { min-height: 164px; resize: none; }.dg-appeal-dialog__counter { margin-top: -2px; color: var(--dg-text-muted); text-align: right; font: 11px var(--dg-font-mono); }.dg-appeal-dialog__notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid rgba(242, 182, 68, .25); border-radius: 9px; background: rgba(242, 182, 68, .055); color: var(--dg-text-muted); font-size: 11px; line-height: 1.42; }.dg-appeal-dialog__notice i { margin-top: 1px; color: var(--dg-warn); }.dg-appeal-dialog .popup-buttons { padding: 0 27px 27px; }.dg-appeal-dialog .popup-btn-save { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 43px; background: var(--dg-highlight); color: #061214; }

.server-native-whitelist {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  color: var(--dg-highlight);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}
.server-native-whitelist[hidden] { display: none !important; }
.server-native-whitelist--inline {
  margin-left: 10px;
  padding: 4px 7px;
  border: 1px solid rgba(var(--dg-highlight-rgb), .3);
  border-radius: 7px;
  background: rgba(var(--dg-highlight-rgb), .08);
}

@media (max-width: 860px) {
  .server-overview-head { align-items: flex-start; flex-wrap: wrap; }
  .tps-graph { order: 3; flex-basis: 100%; }
  .server-tps { margin-left: auto; }
  .server-overview .server-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .server-overview .server-metric:nth-child(2) { border-right: 0; }
  .server-overview .server-metric:nth-child(-n + 2) { border-bottom: 1px solid var(--dg-border-soft); }
  .statistics-card { padding: 16px; overflow-x: auto; }
}

#team .teamler-card, #role .teamler-card, #adminuser .teamler-card, #moderation-config .teamler-card, #whitelist .teamler-card, #server-console, #stats-dashboard {
  padding: 0;
  border: 0;
  background: none;
}

#team .teamler-card::before, #role .teamler-card::before, #adminuser .teamler-card::before, #moderation-config .teamler-card::before, #whitelist .teamler-card::before, #server-console::before, #stats-dashboard::before { display: none; }
#team .teamler-card:hover, #role .teamler-card:hover, #adminuser .teamler-card:hover, #moderation-config .teamler-card:hover, #whitelist .teamler-card:hover, #server-console:hover, #stats-dashboard:hover { border: 0; }
.stats-panel { padding: 20px; border: 1px solid var(--dg-line); border-radius: var(--dg-r-lg); background: var(--dg-card); }
.stats-panel h3 { margin: 0 0 12px; color: #fff; font-size: 1rem; }
.stats-tile { border: 1px solid var(--dg-line); background: var(--dg-card); }
.dg-role-sync-summary article, .role-chip-card { background: var(--dg-card); }
