.dpm {
    --dpm-surface: var(--dp-panel, var(--bs-body-bg, Canvas));
    --dpm-raised: var(--dp-panel-raised, var(--bs-tertiary-bg, var(--dpm-surface)));
    --dpm-text: var(--dp-text, var(--bs-body-color, CanvasText));
    --dpm-muted: var(--dp-muted, var(--bs-secondary-color, var(--dpm-text)));
    --dpm-line: var(--dp-line, var(--bs-border-color, color-mix(in srgb, var(--dpm-text) 22%, transparent)));
    --dpm-accent: var(--dp-accent, var(--bs-primary, #2869ac));
    --dpm-accent-soft: var(--dp-accent-soft, color-mix(in srgb, var(--dpm-accent) 16%, var(--dpm-surface)));
    --dpm-link: var(--dp-link, var(--bs-link-color, var(--dpm-accent)));
    --dpm-online: var(--dp-success, var(--bs-success-text-emphasis, light-dark(#147145, #75dfaa)));
    --dpm-primary-fill: var(--dpm-accent);
    --dpm-primary-text: #fff;
    color: var(--dpm-text);
    padding-block: clamp(16px, 2.5vw, 30px) 42px;
}

@supports (color: oklch(from red l c h)) {
    .dpm { --dpm-primary-fill: oklch(from var(--dpm-accent) min(l, .52) c h); }
}

@supports (color: contrast-color(red)) {
    .dpm {
        --dpm-primary-fill: var(--dpm-accent);
        --dpm-primary-text: contrast-color(var(--dpm-primary-fill));
    }
}
.dpm h1 { margin: 0; font-size: clamp(1.45rem, 2.35vw, 2rem); line-height: 1.15; }
.dpm h2 { margin: 17px 0 9px; font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
.dpm-crumb { color: var(--dpm-muted); margin-bottom: 10px; }
.dpm-heading, .dpm-actions, .dpm-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.dpm-heading { justify-content: space-between; margin-bottom: 16px; }
.dpm-grid, .dpm-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; }
.dpm-panel { display: block; background: var(--dpm-surface); border: 1px solid var(--dpm-line); border-radius: 13px; }
.dpm-home-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: clamp(15px, 2.5vw, 36px); padding: clamp(16px, 2.2vw, 28px); margin-bottom: 18px; border: 1px solid var(--dpm-line); border-radius: 20px; background: radial-gradient(ellipse at 5% 0%, color-mix(in srgb, var(--dpm-accent) 15%, transparent), transparent 65%), var(--dpm-surface); }
.dpm-home-hero h1 { max-width: 18ch; font-size: clamp(1.55rem, 2.6vw, 2.2rem); line-height: 1.08; text-wrap: balance; }
.dpm-home-hero p { color: var(--dpm-muted); font-size: .95rem; margin: 9px 0 13px; }
.dpm-home-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 9px 0; border: 1px solid var(--dpm-line); border-radius: 13px; background: var(--dpm-raised); text-align: center; }
.dpm-home-stats > div { position: relative; display: flex; flex-direction: column-reverse; align-items: center; gap: 3px; padding: 4px; }
.dpm-home-stats > div + div::before { content: ''; position: absolute; inset-inline-start: 0; inset-block-start: 50%; transform: translateY(-50%); width: 1px; height: 42px; max-height: 100%; background: color-mix(in srgb, var(--dpm-muted) 65%, var(--dpm-line)); }
.dpm-home-stats dt { color: var(--dpm-muted); font-size: .8rem; }
.dpm-home-stats dd { font-size: clamp(1rem, 2vw, 1.45rem); font-weight: 700; margin: 0; font-variant-numeric: tabular-nums; }
.dpm-home-games { margin-bottom: clamp(26px, 2.3vw, 32px); }
.dpm-game-posters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(42%, 148px), 1fr)); gap: clamp(8px, 1vw, 13px); max-width: 590px; }
.dpm-game-posters .dpm-game { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end; aspect-ratio: 3 / 4; border: 1px solid var(--dpm-line); border-radius: 14px; background: radial-gradient(ellipse at top, var(--dpm-accent-soft), var(--dpm-surface) 70%); color: var(--dpm-text); }
.dpm-game-posters .dpm-game:hover { border-color: var(--dpm-accent); }
.dpm-game-posters .dpm-game[data-game="rust"] { --dpm-poster: url('../images/monitoring-cover-rust.webp'); }
.dpm-game-posters .dpm-game[data-game="cs2"] { --dpm-poster: url('../images/monitoring-cover-cs2.webp'); }
.dpm-game-posters .dpm-game[data-game="cs16"] { --dpm-poster: url('../images/monitoring-cover-cs16.webp'); }
.dpm-game-posters .dpm-game:is([data-game="rust"], [data-game="cs2"], [data-game="cs16"], [data-game="css"], [data-game="minecraft"], [data-game="gmod"], [data-game="dayz"], [data-game="scp-secret-laboratory"], [data-game="arma-reforger"]) { background-image: linear-gradient(180deg, transparent 42%, #080f19f5 95%), var(--dpm-poster); background-size: cover; background-position: center; --dpm-poster-muted: #e2e9f4; }
.dpm-game-posters .dpm-game:is([data-game="rust"], [data-game="cs2"], [data-game="cs16"], [data-game="css"], [data-game="minecraft"], [data-game="gmod"], [data-game="dayz"], [data-game="scp-secret-laboratory"], [data-game="arma-reforger"]) .dpm-poster-copy { color: #fff; }
.dpm-poster-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    min-width: 0;
    padding: clamp(7px, 1vw, 12px);
}
.dpm-poster-copy strong {
    align-self: end;
    color: inherit;
    font-size: .875rem;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: anywhere;
}
.dpm-poster-stats {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.15vw, 18px);
    color: var(--dpm-poster-muted, var(--dpm-muted));
    font-size: .86rem;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}
.dpm-poster-stats > span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}
.dpm-poster-stats i { font-size: 1em; line-height: 1; }
#dpm-servers { scroll-margin-top: 100px; }
@media (max-width: 760px) { .dpm-home-hero { grid-template-columns: 1fr; } .dpm-game-posters { grid-template-columns: repeat(3, minmax(0, 1fr)); } .dpm-poster-copy { font-size: .84rem; overflow-wrap: anywhere; } .dpm-poster-stats { font-size: .75rem; } }
.dpm-category { position: relative; isolation: isolate; overflow: hidden; min-height: 96px; padding: clamp(12px, 1.8vw, 20px); margin-bottom: 10px; border: 1px solid var(--dpm-line); border-radius: 15px; background: var(--dpm-surface); }
.dpm-category:is([data-game="cs2"], [data-game="cs16"], [data-game="css"], [data-game="minecraft"], [data-game="rust"], [data-game="gmod"], [data-game="dayz"], [data-game="scp-secret-laboratory"], [data-game="arma-reforger"])::before { content: ''; position: absolute; z-index: -1; inset: 0 0 0 auto; width: min(52%, 460px); background-image: url('../images/monitoring-games.webp'); background-size: 200% auto; background-position: left center; background-repeat: no-repeat; mask-image: linear-gradient(90deg, transparent, #000 65%); opacity: light-dark(.30, .70); }
.dpm-category[data-game="cs16"]::before { background-position: right center; }
.dpm-category[data-game="rust"]::before {
    background-image: url('../images/monitoring-cover-rust.webp');
    background-size: cover;
    background-position: center 46%;
    opacity: .36;
}
html.dp-timeweb .dpm-category[data-game="rust"]::before { opacity: .68; }
.dpm-category .dpm-actions { align-items: center; }
.dpm-category-copy { flex: 1 1 min(100%, 26rem); min-width: 0; }
.dpm-category-summary { max-width: 64ch; margin: 6px 0 0; color: var(--dpm-muted); font-size: .9rem; line-height: 1.45; text-wrap: pretty; }
@media (max-width: 720px) {
    .dpm-category-copy { flex-basis: 100%; }
    .dpm-category:has(.dpm-category-summary)::before { opacity: .18; }
}
.dpm-category .dpm-actions a { color: inherit; }
.dpm-game-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 13px; }
.dpm-game-tabs a { display: inline-flex; align-items: center; padding: 5px 9px; border: 1px solid transparent; border-radius: 8px; color: inherit; }
.dpm-game-tabs a:is(:hover, .active) { background: var(--dpm-surface); border-color: var(--dpm-line); }
.dpm-game-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 270px); align-items: start; gap: 16px; margin-top: 16px; }
.dpm-game-layout > .dpm-filters { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin: 0; padding: 14px; border: 1px solid var(--dpm-line); border-radius: 12px; background: var(--dpm-surface); }
.dpm-game-layout > .dpm-filters label select { width: 100%; min-width: 0; }
.dpm-game-layout > .dpm-filters .dpm-search { flex: 0 0 auto; min-width: 0; }
.dpm-game-layout > .dpm-filters .dpm-search input { box-sizing: border-box; min-height: 36px; font-size: .875rem; }
.dpm-game-layout > .dpm-filters > label:not(.dpm-search) { display: grid; gap: 4px; font-size: .875rem; }
.dpm-game-layout .dpm-game-select { display: grid; gap: 4px; }
.dpm-game-layout > .dpm-filters { gap: 12px; }
.dpm-game-layout > .dpm-filters .dpm-region-select {
    position: relative;
    isolation: isolate;
    order: -4;
    grid-template-columns: 20px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    align-items: center;
    gap: 0 9px;
    min-height: 56px;
    padding: 7px 11px;
    border: 1px solid var(--dpm-line);
    border-radius: 8px;
    background: var(--dpm-raised);
    cursor: pointer;
}
.dpm-region-select::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 0 0 26%;
    background: var(--dpm-muted);
    opacity: .19;
    pointer-events: none;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 95'%3E%3Cpath d='M4 25 11 16 24 14 33 8 45 12 49 19 59 17 63 22 55 28 49 29 43 37 42 44 46 49 44 54 36 50 30 42 24 39 21 31 12 32zM56 6 70 4 77 8 71 18 64 19 61 13zM45 53 54 51 61 56 70 60 67 70 61 76 59 85 54 91 50 85 51 75 46 68zM88 28 94 16 106 12 114 8 122 14 136 11 143 14 152 10 165 13 173 18 191 17 198 22 190 29 178 28 172 34 173 42 163 48 159 57 153 55 148 47 143 50 140 60 135 59 130 47 121 43 116 48 110 44 111 36 103 32 97 35 91 33zM92 37 104 36 114 44 119 52 114 60 110 71 103 77 99 72 96 62 94 54 86 50 86 43zM153 60 161 63 165 67 159 68zM168 70 175 65 189 68 195 77 191 84 182 83 177 79 166 80z'/%3E%3C/svg%3E") center / cover no-repeat;
}
.dpm-region-select > i { grid-row: 1 / span 2; text-align: center; color: var(--dpm-text); font-size: 16px; }
.dpm-region-select > span { color: var(--dpm-muted); font-size: .75rem; line-height: 1.2; }
.dpm .dpm-region-select select { min-height: 24px; padding: 0 !important; text-align: start; border: 0 !important; border-radius: 0; background-color: transparent !important; box-shadow: none; font-weight: 650; cursor: pointer; }
.dpm .dpm-region-select:focus-within { outline: 2px solid var(--dpm-link); outline-offset: 2px; }
.dpm .dpm-region-select select:focus-visible { outline: none; }
@supports (appearance: base-select) {
    .dpm .dpm-game-layout > .dpm-filters select,
    .dpm .dpm-game-layout > .dpm-filters select::picker(select) { appearance: base-select; }
    .dpm .dpm-game-layout > .dpm-filters select::picker(select) {
        margin-block: 5px;
        padding: 4px;
        border: 1px solid var(--dpm-line);
        border-radius: 9px;
        background: var(--dpm-surface);
        color: var(--dpm-text);
        box-shadow: 0 6px 18px #0003;
    }
    .dpm-game-layout > .dpm-filters select::picker-icon { color: var(--dpm-muted); }
    .dpm-game-layout > .dpm-filters option {
        min-height: 32px;
        padding: 5px 8px;
        border-radius: 6px;
        font-size: .875rem;
    }
    .dpm-game-layout > .dpm-filters option:checked {
        background: var(--dpm-accent-soft);
        color: var(--dpm-link);
        font-weight: 650;
    }
    .dpm-game-layout > .dpm-filters option:is(:hover, :focus-visible) { background: var(--dpm-raised); }
    .dpm .dpm-game-layout > .dpm-filters .dpm-region-select select:focus {
        outline: none !important;
        box-shadow: none !important;
    }
}
.dpm-game-layout .dpm-search { order: -3; }
.dpm-mode-filters, .dpm-player-filters { min-width: 0; margin: 0; padding: 0; border: 0; }
.dpm-mode-filters { order: -2; }
.dpm-player-filters { order: -1; }
.dpm-mode-filters legend, .dpm-player-filters legend { margin-bottom: 6px; font-size: .8125rem; font-weight: 650; color: var(--dpm-muted); }
.dpm-mode-filters > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.dpm-mode-filters label { position: relative; min-width: 0; cursor: pointer; }
.dpm-mode-filters input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
.dpm-mode-filters span { display: grid; place-content: center; justify-items: center; gap: 3px; height: 100%; min-height: 58px; padding: 5px; border: 1px solid transparent; border-radius: 8px; background: var(--dpm-raised); color: var(--dpm-text); font-size: .75rem; text-align: center; overflow-wrap: anywhere; }
.dpm-mode-filters input[value="Deathmatch" i] + span { padding-inline: 2px; }
.dpm-mode-filters i { font-size: 17px; }
.dpm-mode-filters :is(
    input[value=""], input[value="Public"], input[value="Zombie"], input[value="Deathmatch"],
    input[value="Classic"], input[value="AIM"], input[value="CTF"], input[value="Sentry Guns"], input[value="Surf"], input[value="GunGame"],
    input[value="JailBreak"], input[value="Hide and Seek"], input[value="Knife"], input[value="War3FT"]
) + span .ti::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-color: currentColor;
    mask: var(--dpm-mode-icon) center / contain no-repeat;
}
.dpm-mode-filters input[value=""] + span {
    --dpm-mode-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M3%203h7v7H3zm11%200h7v7h-7zM3%2014h7v7H3zm11%200h7v7h-7z%22%2F%3E%3C%2Fsvg%3E");
}
.dpm-mode-filters input[value="Public"] + span {
    --dpm-mode-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M8%203a4%204%200%201%200%200%208%204%204%200%200%200%200-8zM16%205a3%203%200%201%201%200%206%206%206%200%200%200%200-6zM1%2021v-3a7%207%200%200%201%2014%200v3zm16%200v-3a9%209%200%200%200-1-4h1a6%206%200%200%201%206%206v1z%22%2F%3E%3C%2Fsvg%3E");
}
.dpm-mode-filters input[value="Zombie"] + span {
    --dpm-mode-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M12%202c5%200%209%203%209%208v4l-4%202-1%206H8l-1-6-4-2v-4c0-5%204-8%209-8zM6%209v3h4v-2zm8%201v2h4V9zm-4%207v2h4v-2z%22%2F%3E%3C%2Fsvg%3E");
}
.dpm-mode-filters input[value="Deathmatch"] + span {
    --dpm-mode-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M10%202h4v4l3%201%203-2%202%203-3%202v4l3%202-2%203-3-2-3%201v4h-4v-4l-3-1-3%202-2-3%203-2v-4L2%208l2-3%203%202%203-1zm2%206a4%204%200%201%200%200%208%204%204%200%200%200%200-8z%22%2F%3E%3C%2Fsvg%3E");
}
.dpm-mode-filters input[value="Classic"] + span {
    --dpm-mode-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M12%202%2021%205v6c0%205-3%209-9%2012-6-3-9-7-9-12V5zm0%203v14c4-2%206-5%206-8V7z%22%2F%3E%3C%2Fsvg%3E");
}
.dpm-mode-filters input[value="AIM"] + span {
    --dpm-mode-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M11%201h2v3a8%208%200%200%201%207%207h3v2h-3a8%208%200%200%201-7%207v3h-2v-3a8%208%200%200%201-7-7H1v-2h3a8%208%200%200%201%207-7zm1%205a6%206%200%201%200%200%2012%206%206%200%200%200%200-12zm0%204a2%202%200%201%200%200%204%202%202%200%200%200%200-4z%22%2F%3E%3C%2Fsvg%3E");
}
.dpm-mode-filters input[value="CTF"] + span {
    --dpm-mode-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M4%202h2v20H4zm4%202c4-4%208%204%2014%200v10c-6%204-10-4-14%200z%22%2F%3E%3C%2Fsvg%3E");
}
.dpm-mode-filters input[value="Sentry Guns"] + span {
    --dpm-mode-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M3%205h11l2%202h5v3h-5l-2%202h-3v3l5%205h-4l-3-3-3%203H2l5-5v-3H3zM19%203h2v2h-2zM21%2012h2v2h-2z%22%2F%3E%3C%2Fsvg%3E");
}
.dpm-mode-filters input[value="Surf"] + span {
    --dpm-mode-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M2%2019%2022%2011v10H2zM16%203a2%202%200%201%200%200%204%202%202%200%200%200%200-4zM13%207l5%201%203-2%201%202-4%203-3-1-2%202%202%202-7%203-1-2%204-2-2-2-3%201-1-2%204-2%202%201z%22%2F%3E%3C%2Fsvg%3E");
}
.dpm-mode-filters input[value="GunGame"] + span {
    --dpm-mode-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M4%209c0-3%201-5%202-7%201%202%202%204%202%207zM4%2011h4v9H4zM10%2011c0-3%201-5%202-7%201%202%202%204%202%207zM10%2013h4v7h-4zM16%2013c0-3%201-5%202-7%201%202%202%204%202%207zM16%2015h4v5h-4z%22%2F%3E%3C%2Fsvg%3E");
}
.dpm-mode-filters input[value="JailBreak"] + span {
    --dpm-mode-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M3%203h18v3h-2v12h2v3H3v-3h2V6H3zm5%203v12h2.5V6zm5.5%200v12H16V6z%22%2F%3E%3C%2Fsvg%3E");
}
.dpm-mode-filters input[value="Hide and Seek"] + span {
    --dpm-mode-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M14%202h7v20h-7zM8.5%205a3.5%203.5%200%201%200%200%207%203.5%203.5%200%200%200%200-7zM3%2020v-2a5%205%200%200%201%205-5h2l3%202v5z%22%2F%3E%3C%2Fsvg%3E");
}
.dpm-mode-filters input[value="Knife"] + span {
    --dpm-mode-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M21%203c0%205-2%209-8%2013l-3-3%208-8zM9%2012l5%205-1%201-2-1-5%205-3-3%205-5-1-1z%22%2F%3E%3C%2Fsvg%3E");
}
.dpm-mode-filters input[value="War3FT"] + span {
    --dpm-mode-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M12%202%2022%207v6c0%204-4%207-10%2010-6-3-10-6-10-10V7zm-7%207%202%208h2l3-5%203%205h2l2-8h-3l-1%204-2-4h-2l-2%204-1-4z%22%2F%3E%3C%2Fsvg%3E");
}
.dpm-mode-filters :checked + span { border-color: var(--dpm-accent); color: var(--dpm-link); background: var(--dpm-accent-soft); }
.dpm-mode-filters :focus-visible + span { outline: 2px solid var(--dpm-link); outline-offset: 1px; }
.dpm-rust-filters { min-width: 0; margin: 0; padding: 0; border: 0; order: -2; }
.dpm-rust-filters legend { margin-bottom: 6px; color: var(--dpm-muted); font-size: .8125rem; font-weight: 650; }
.dpm-rust-filters > div { display: flex; flex-wrap: wrap; gap: 5px; }
.dpm-rust-filters label { position: relative; cursor: pointer; }
.dpm-rust-filters input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
.dpm-rust-filters span {
    display: block;
    padding: 4px 8px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: var(--dpm-raised);
    color: var(--dpm-text);
    font-size: .75rem;
    line-height: 1.3;
}
.dpm-rust-filters :checked + span { border-color: var(--dpm-accent); background: var(--dpm-accent-soft); color: var(--dpm-link); }
.dpm-rust-filters :focus-visible + span { outline: 2px solid var(--dpm-link); outline-offset: 1px; }
.dpm .dpm-player-filters .dpm-check { justify-content: space-between; min-height: 38px; padding: 6px 8px; border: 1px solid var(--dpm-line); border-radius: 8px; font-size: .8125rem; cursor: pointer; }
.dpm-player-filters .dpm-check + .dpm-check { margin-top: 6px; }
.dpm .dpm-player-filters .dpm-check input[type="checkbox"] { appearance: none; flex: 0 0 32px; width: 32px; height: 18px; padding: 2px; border: 1px solid var(--dpm-line); border-radius: 999px; background: var(--dpm-raised); cursor: pointer; }
.dpm-player-filters input::before { content: ''; display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--dpm-muted); }
.dpm .dpm-player-filters .dpm-check input:checked { background: var(--dpm-primary-fill); }
.dpm-player-filters input:checked::before { margin-inline-start: auto; background: var(--dpm-primary-text); }
.dpm-player-filters input:focus-visible { outline: 2px solid var(--dpm-link); outline-offset: 2px; }
.dpm-game-results { grid-column: 1; grid-row: 1; min-width: 0; padding: 0; overflow: hidden; }
.dpm-game-results h2 { margin: 0; padding: 13px 15px; border-bottom: 1px solid var(--dpm-line); font-size: 1rem; }
.dpm-game-results .dpm-table { border: 0; border-radius: 0; background: transparent; }
.dpm-filter-reset { display: inline-flex; align-self: center; align-items: center; gap: 6px; min-height: 34px; padding-inline: 8px; font-size: .8125rem; font-weight: 550; }
.dpm .dpm-filter-reset { color: var(--dpm-muted) !important; text-decoration: none !important; }
.dpm .dpm-filter-reset:is(:hover, :focus-visible) { color: var(--dpm-link) !important; }
.dpm-filter-reset i { font-size: .9375rem; }
.dpm-filter-reset:focus-visible { outline: 2px solid var(--dpm-link); outline-offset: 2px; border-radius: 5px; }
@media (pointer: coarse) { .dpm-filter-reset { min-height: 44px; } }
.dpm-game-results .dpm-server-name img { flex: none; }
.dpm-rank-medal { position: relative; display: inline-grid; place-items: start center; flex: 0 0 21px; width: 21px; height: 24px; }
.dpm-rank-medal-1 { --dpm-medal-face: #ffe48b; --dpm-medal-edge: #a77309; --dpm-medal-ink: #513200; }
.dpm-rank-medal-2 { --dpm-medal-face: #e7edf5; --dpm-medal-edge: #788598; --dpm-medal-ink: #28364c; }
.dpm-rank-medal-3 { --dpm-medal-face: #eeb889; --dpm-medal-edge: #9a582e; --dpm-medal-ink: #512a16; }
.dpm-rank-medal::before { content: ''; position: absolute; top: 12px; width: 14px; height: 12px; background: var(--dpm-medal-edge); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 76%, 0 100%); }
.dpm-rank-medal > span { position: relative; display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid var(--dpm-medal-edge); border-radius: 50%; background: var(--dpm-medal-face); color: var(--dpm-medal-ink); font-size: 12px; font-weight: 750; line-height: 1; font-variant-numeric: tabular-nums; }
.dpm-game-results .dpm-players > span:first-child { display: inline-block; padding: 2px 7px; border-radius: 6px; background: var(--dpm-raised); }
.dpm-game-results tbody tr:is(:hover, :has(.dpm-server-name a:focus-visible, .dpm-row-popover:popover-open)) .dpm-players > span:first-child { background: var(--dpm-surface); box-shadow: inset 0 0 0 1px var(--dpm-line); }
.dpm-game-results .dpm-occupancy { display: none; }
.dpm-results-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--dpm-line); }
.dpm-game-results .dpm-results-bar h2 { margin: 0; padding: 0; border: 0; }
.dpm-results-tools:not([hidden]) { display: flex; align-items: center; gap: 5px; }
.dpm-results-tools button { white-space: nowrap; font-size: .8125rem; }
.dpm-results-search:not([hidden]) { display: block; padding: 9px 12px; }
.dpm-results-search .dpm-search { display: block; position: relative; }
.dpm-results-search input { min-height: 36px; }
.dpm-results-sort { position: fixed; inset: auto; margin: 0; min-width: 174px; padding: 8px; border: 1px solid var(--dpm-line); border-radius: 9px; background: var(--dpm-surface); color: var(--dpm-text); box-shadow: 0 6px 18px #0003; }
.dpm .dpm-results-sort .dpm-sort-filter { display: block; }
.dpm-results-sort .dpm-sidebar-options { display: grid; gap: 2px; padding: 0; background: transparent; }
.dpm .dpm-game-layout .dpm-results-sort .dpm-sort-filter span { display: flex; justify-content: flex-start; padding-inline: 8px; gap: 8px; }
.dpm-results-sort label span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; }
.dpm-results-sort label input:checked + span::before { background: currentColor; }
.dpm .dpm-game-layout .dpm-results-sort .dpm-sort-filter input:checked + span { background: var(--dpm-accent-soft); color: var(--dpm-link); box-shadow: none; }
.dpm .dpm-results-sort label:hover span { background: var(--dpm-raised); }
.dpm-game-results .dpm-table table { table-layout: fixed; min-width: 0; }
.dpm-game-results thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.dpm-col-players { width: clamp(65px, 9vw, 94px); }
.dpm-col-map { width: clamp(70px, 14vw, 156px); }
.dpm-col-actions { width: 44px; }
.dpm-game-results .dpm-table tbody td { padding-block: 10px; font-size: .875rem; }
.dpm-game-results .dpm-table tbody tr:is(:hover, :has(.dpm-server-name a:focus-visible, .dpm-row-popover:popover-open)) { background: transparent; }
.dpm-game-results .dpm-table tbody tr:is(:hover, :has(.dpm-server-name a:focus-visible, .dpm-row-popover:popover-open)) > td { background: var(--dpm-raised); }
.dpm-game-results .dpm-table tbody tr > td:first-child { border-start-start-radius: 7px; border-end-start-radius: 7px; }
.dpm-game-results .dpm-table tbody tr > td:last-child { border-start-end-radius: 7px; border-end-end-radius: 7px; }
.dpm-game-results .dpm-map { overflow: hidden; text-overflow: ellipsis; color: var(--dpm-muted); }
.dpm-game-results .dpm-server-name { align-items: center; gap: 6px; }
html.dp-public .main-wrapper .dpm .dpm-game-results .dpm-server-name a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--dpm-text) !important; text-decoration: none !important; }
html.dp-public .main-wrapper .dpm .dpm-game-results tr:hover .dpm-server-name a,
html.dp-public .main-wrapper .dpm .dpm-game-results .dpm-server-name a:is(:hover, :focus-visible) { color: var(--dpm-link) !important; }
.dpm-game-results .dpm-table .dpm-row-action { padding: 2px 4px; text-align: center; }
.dpm-row-trigger { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--dpm-muted); font-size: 19px; }
.dpm-row-trigger:is(:hover, :focus-visible) { background: var(--dpm-raised); color: var(--dpm-link); }
.dpm-row-popover { position: fixed; inset: auto; margin: 0; padding: 5px; min-width: 155px; border: 1px solid var(--dpm-line); border-radius: 9px; background: var(--dpm-surface); color: var(--dpm-text); box-shadow: 0 6px 18px #0003; }
.dpm-row-popover > :is(a, button, span) { display: block; padding: 6px 9px; font-size: .875rem; white-space: nowrap; }
.dpm-row-popover > button { width: 100%; border: 0; border-radius: 5px; background: transparent; color: inherit; text-align: start; }
.dpm-row-popover > :is(a, button):is(:hover, :focus-visible) { background: var(--dpm-raised); }
@media (max-width: 850px) {
    .dpm-game-layout { grid-template-columns: minmax(0, 1fr); }
    .dpm-game-layout > .dpm-filters, .dpm-game-results { grid-column: auto; grid-row: auto; }
    .dpm-game-results .dpm-table table { min-width: 0; }
}
.dpm-content { padding: clamp(11px, 2vw, 17px); margin-bottom: 12px; }
.dpm-form { display: grid; gap: 9px; }
.dpm-form + .dpm-form { margin-top: 12px; }
.dpm-form > button { justify-self: start; }
.dpm label { display: grid; gap: 4px; min-width: 0; }
.dpm label.dpm-check { display: flex; align-items: center; gap: 7px; }
.dpm :is(input:not(:is([type="checkbox"], [type="radio"])), select, textarea, .dpm-button) { background: var(--dpm-raised); border: 1px solid var(--dpm-line); border-radius: 8px; color: inherit; padding: 6px 10px; max-width: 100%; }
.dpm .dpm-button { font-weight: 650; display: inline-block; }
.dpm .dpm-button, html.dp-public .main-wrapper .dpm .dpm-button { color: var(--dpm-text) !important; }
.dpm .dpm-button.primary, html.dp-public .main-wrapper .dpm .dpm-button.primary { background: var(--dpm-primary-fill) !important; border-color: var(--dpm-primary-fill) !important; color: var(--dpm-primary-text) !important; }
.dpm .dpm-button:not(.primary):hover { border-color: var(--dpm-accent); }
.dpm .dpm-button.primary:hover { box-shadow: 0 0 0 2px color-mix(in srgb, var(--dpm-accent) 38%, transparent); }
.dpm .dpm-home-hero .dpm-button { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 6px; font-size: 14px; line-height: 18px; }
.dpm :is(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--dpm-link); outline-offset: 2px; }
.dpm input::placeholder, .dpm textarea::placeholder { color: var(--dpm-muted); opacity: 1; }
.dpm .dpm-actions form { margin: 0; }
.dpm .dpm-actions { align-items: end; }
.dpm-filters { align-items: end; margin-bottom: 12px; }
.dpm-filters .dpm-search { position: relative; flex: 0 1 340px; min-width: min(100%, 230px); }
.dpm-search i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--dpm-muted); pointer-events: none; }
.dpm .dpm-search input { width: 100%; padding-inline-start: 37px; }
.dpm-status-filter { display: flex; flex-wrap: wrap; gap: 3px; min-width: 0; margin: 0; padding: 3px; border: 1px solid var(--dpm-line); border-radius: 8px; background: var(--dpm-raised); }
.dpm-status-filter label { position: relative; cursor: pointer; }
.dpm-status-filter input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
.dpm-status-filter span { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 8px; border: 1px solid transparent; border-radius: 5px; font-size: .875rem; white-space: nowrap; }
.dpm-status-filter input:checked + span { background: var(--dpm-accent-soft); border-color: var(--dpm-accent); color: var(--dpm-text); }
.dpm-status-filter input:focus-visible + span { outline: 2px solid var(--dpm-link); outline-offset: 1px; }
.dpm .dpm-check input[type="checkbox"] { appearance: auto; position: static; opacity: 1; width: 16px; height: 16px; accent-color: var(--dpm-accent); margin: 0; }
.dpm-table { overflow-x: auto; }
.dpm-table table { width: 100%; min-width: 540px; }
.dpm-table :is(td, th) { padding: 9px clamp(9px, 1.1vw, 15px); text-align: start; border-bottom: 1px solid var(--dpm-line); }
.dpm-table th { color: var(--dpm-muted); }
.dpm-table tbody tr:hover { background: color-mix(in srgb, var(--dpm-raised) 16%, transparent); }
.dpm-table tr:last-child td { border-bottom: none; }
.dpm-server-name { display: flex; align-items: baseline; gap: 10px; }
.dpm-server-name a { color: inherit; font-weight: 650; overflow-wrap: anywhere; }
.dpm-server-name a:hover { text-decoration: underline; }
.dpm-status-dot { flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--dpm-muted); }
.dpm-status-dot.online { background: #178451; background: light-dark(#178451, #64e8a6); box-shadow: 0 0 0 2px color-mix(in srgb, currentColor 16%, transparent); color: light-dark(#178451, #64e8a6); }
.dpm-map, .dpm-ping, .dpm-players { white-space: nowrap; }
.dpm-players { min-width: 112px; font-variant-numeric: tabular-nums; }
.dpm-occupancy { display: block; height: 5px; max-width: 142px; margin-top: 5px; border-radius: 20px; background: color-mix(in srgb, var(--dpm-accent) 24%, var(--dpm-raised)); overflow: hidden; }
.dpm-occupancy span { display: block; height: 100%; background: var(--dpm-accent); border-radius: inherit; }
.dpm-status, .dpm-muted { color: var(--dpm-muted); }
.dpm-status.online { color: var(--dpm-online); }
.dpm-status::before { content: ''; display: inline-block; vertical-align: middle; width: .55em; height: .55em; margin-inline-end: .4em; background: currentColor; border-radius: 50%; }
.dpm-metrics { margin: 13px 0 0; }
.dpm-metrics dd { font-weight: 650; margin: 0; }
.dpm-server-profile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(235px, 300px); gap: 12px; align-items: start; }
.dpm-server-profile > .dpm-panel, .dpm-profile-sidebar > .dpm-panel { min-width: 0; padding: clamp(12px, 1.7vw, 20px); }
.dpm-server-profile .dpm-profile-header { grid-column: 1 / -1; padding-block: clamp(14px, 2vw, 25px); background: linear-gradient(110deg, var(--dpm-accent-soft), transparent 70%), var(--dpm-surface); }
.dpm-profile-header {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    --dpm-profile-art: none;
    --dpm-profile-art-size: cover;
    --dpm-profile-art-position: center;
}
.dpm-profile-header:is([data-game="cs16"], [data-game="cs2"]) {
    --dpm-profile-art: url('../images/monitoring-games.webp');
    --dpm-profile-art-size: 200% auto;
}
.dpm-profile-header[data-game="cs16"] { --dpm-profile-art-position: right center; }
.dpm-profile-header[data-game="cs2"] { --dpm-profile-art-position: left center; }
.dpm-profile-header[data-game="rust"] { --dpm-profile-art: url('../images/monitoring-cover-rust.webp'); }
/* CS 1.6 screenshots: GameBanana mods 663496, 587007 and 39544. */
.dpm-profile-header[data-game="cs16"][data-background-mode] {
    --dpm-profile-art-size: cover;
    --dpm-profile-art-position: center 55%;
}
.dpm-profile-header[data-background-mode="zombie"] { --dpm-profile-art: url('../images/monitoring-cs16-zombie.webp'); }
.dpm-profile-header[data-background-mode="jailbreak"] { --dpm-profile-art: url('../images/monitoring-cs16-jailbreak.webp'); }
.dpm-profile-header[data-background-mode="deathmatch"] { --dpm-profile-art: url('../images/monitoring-cs16-deathmatch.webp'); }
.dpm-profile-header::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0 0 0 auto;
    width: min(65%, 760px);
    background: var(--dpm-profile-art) var(--dpm-profile-art-position) / var(--dpm-profile-art-size) no-repeat;
    mask-image: linear-gradient(90deg, transparent, #000);
    opacity: .32;
    opacity: light-dark(.24, .38);
    pointer-events: none;
}
.dpm-profile-crumb { margin-bottom: 16px; font-size: .8125rem; overflow-wrap: anywhere; }
@media (max-width: 600px) {
    .dpm-profile-header::before { opacity: .16; --dpm-profile-art-size: cover; }
    .dpm-profile-crumb { margin-bottom: 10px; }
}
.dpm-profile-title h1 { margin: 5px 0 9px; font-size: clamp(1.4rem, 2.6vw, 2.25rem); overflow-wrap: anywhere; }
.dpm-profile-game, .dpm-profile-meta, .dpm-profile-metrics dt { display: flex; align-items: center; gap: 7px; }
.dpm-profile-game, .dpm-profile-meta { color: var(--dpm-muted); font-size: .8125rem; }
.dpm-profile-meta { flex-wrap: wrap; gap: 6px 12px; }
.dpm-profile-meta .dpm-status { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 6px; background: var(--dpm-raised); font-weight: 650; }
.dpm-profile-meta .dpm-status.online { color: light-dark(#146744, #78e6ad); background: color-mix(in srgb, currentColor 13%, var(--dpm-surface)); }
.dpm-server-country { display: inline-flex; align-items: center; gap: 6px; }
.dpm-server-country img { border-radius: 3px; }
.dpm-server-profile h2 { margin: 0 0 11px; font-size: 1rem; }
.dpm-profile-metrics { display: grid; grid-template-columns: 1.35fr 1fr .65fr; gap: 8px; margin: 0; }
.dpm-profile-metrics > div { min-width: 0; padding: 9px 10px; border-radius: 8px; background: var(--dpm-raised); }
.dpm-profile-metrics dt { color: var(--dpm-muted); font-size: .8125rem; }
.dpm-profile-metrics dt i { color: var(--dpm-link); }
.dpm-profile-metrics dd { margin: 4px 0 0; font-size: clamp(1rem, 1.75vw, 1.35rem); font-weight: 650; overflow-wrap: anywhere; }
.dpm-profile-metrics dd.dpm-profile-capacity { margin-top: 6px; color: var(--dpm-muted); font-size: .75rem; font-weight: 500; }
.dpm-profile-capacity .dpm-occupancy { max-width: none; margin: 0 0 4px; }
.dpm-profile-sidebar { grid-column: 2; grid-row: 2 / span 4; display: grid; min-width: 0; gap: 12px; }
.dpm-profile-connect { display: grid; gap: 7px; }
.dpm-profile-address { color: var(--dpm-muted); font-size: .8125rem; }
.dpm-profile-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px; }
.dpm-profile-copy input { width: 100%; min-width: 0; font: .8125rem ui-monospace, Consolas, monospace; }
.dpm-profile-connect .dpm-button { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; }
.dpm-copy-feedback { color: var(--dpm-muted); font-size: .75rem; }
.dpm-copy-feedback:empty { display: none; }
.dpm-player-toggle { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 5px; padding: 0 3px; background: transparent; color: var(--dpm-link); font: inherit; cursor: pointer; }
.dpm-player-toggle:hover { background: var(--dpm-accent-soft); }
.dpm-player-toggle:focus-visible { outline: 2px solid var(--dpm-link); outline-offset: 2px; }
.dpm-player-toggle i { font-size: .875rem; }
.dpm-player-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.dpm-profile-players { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--dpm-line); }
.dpm-profile-players h3 { margin: 0 0 6px; font-size: .9375rem; }
.dpm-profile-players p { margin: 0; font-size: .875rem; }
.dpm-profile-player-scroll { max-height: 280px; overflow: auto; }
.dpm-profile-player-scroll table { width: 100%; font-size: .875rem; }
.dpm-profile-player-scroll th, .dpm-profile-player-scroll td { padding: 6px 8px; text-align: start; border-bottom: 1px solid var(--dpm-line); overflow-wrap: anywhere; }
.dpm-profile-player-scroll th { position: sticky; top: 0; background: var(--dpm-surface); color: var(--dpm-muted); }
.dpm-profile-player-scroll :is(th, td):last-child { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dpm-profile-details dl { margin: 0; }
.dpm-profile-details dl > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-block: 7px; }
.dpm-profile-details dl > div + div { border-top: 1px solid var(--dpm-line); }
.dpm-profile-details dt { color: var(--dpm-muted); font-weight: 500; }
.dpm-profile-details dd { margin: 0; text-align: end; font-weight: 650; overflow-wrap: anywhere; }
.dpm-profile-about { overflow-wrap: anywhere; }
.dpm-profile-about p { margin: 0 0 8px; }
.dpm-profile-about a { display: inline-block; margin-inline-end: 12px; }
@media (max-width: 800px) {
    .dpm-server-profile { grid-template-columns: minmax(0, 1fr); }
    .dpm-profile-sidebar { grid-column: 1; grid-row: 2; }
}
@media (max-width: 420px) {
    .dpm-profile-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dpm-profile-online { grid-column: 1 / -1; }
}
@media (pointer: coarse) {
    .dpm-profile-connect .dpm-button, .dpm-profile-copy input { min-height: 44px; }
}
.dpm-requests { margin-top: 12px; }
.dpm-requests .dpm-actions { margin-top: 8px; }
.dpm details form { margin-top: 12px; }
.dpm-add-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.dpm-add-layout > .dpm-content { margin-bottom: 0; padding: clamp(14px, 2vw, 22px); min-width: 0; }
.dpm .dpm-add-panel-title { display: flex; align-items: center; gap: 8px; margin: 0 0 15px; font-size: 1.05rem; line-height: 1.3; }
.dpm-add-panel-title i { color: var(--dpm-link); }
.dpm-add-layout .dpm-form p { margin: 0; }
.dpm-add-layout .dpm-form label { font-size: .875rem; font-weight: 600; }
.dpm-add-layout .dpm-form :is(input, select, textarea) { font-family: inherit; font-size: .9375rem; font-weight: 400; }
.dpm-endpoint-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
.dpm-endpoint-grid > label { min-width: 0; }
.dpm-add-project { min-width: 0; margin-top: 5px; padding-top: 12px; border-top: 1px solid var(--dpm-line); }
.dpm-add-submit { justify-content: flex-end; margin-top: 4px; }
.dpm-add-submit .dpm-button { font-family: inherit; font-size: .875rem; }
.dpm-form-notice { padding: 10px 14px; border: 1px solid var(--dpm-line); border-inline-start: 3px solid var(--dpm-accent); border-radius: 8px; background: var(--dpm-raised); }
.dpm-add-preview { background: linear-gradient(150deg, color-mix(in srgb, var(--dpm-accent) 7%, transparent), transparent 65%), var(--dpm-surface); }
.dpm-preview-result { padding: clamp(12px, 2vw, 20px); border: 1px solid var(--dpm-line); border-radius: 10px; background: var(--dpm-raised); }
.dpm-preview-identity { display: flex; align-items: start; gap: 12px; }
.dpm-preview-identity > i { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 9px; background: var(--dpm-accent-soft); color: var(--dpm-link); font-size: 1.25rem; }
.dpm-preview-identity > div { min-width: 0; }
.dpm-preview-identity .dpm-status { display: block; margin-top: 4px; font-size: .8125rem; }
.dpm-add-preview h3 { margin: 0 0 3px; font-size: 1rem; overflow-wrap: anywhere; }
.dpm-preview-meta { margin: 0; color: var(--dpm-muted); font-size: .8125rem; overflow-wrap: anywhere; }
.dpm-preview-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--dpm-line); font-size: .875rem; }
.dpm-preview-metrics div:nth-child(3n+2), .dpm-preview-metrics div:nth-child(3n+3) { padding-inline-start: 10px; border-inline-start: 1px solid var(--dpm-line); }
.dpm-preview-metrics dt, .dpm-my-metrics dt { color: var(--dpm-muted); font-weight: 500; overflow-wrap: anywhere; }
.dpm-preview-metrics dd { margin: 2px 0 0; color: var(--dpm-link); overflow-wrap: anywhere; }
.dpm-my-servers { margin-top: 24px; }
.dpm-my-list { margin: 0; padding: 0; list-style: none; }
.dpm-my-list li + li { border-top: 1px solid var(--dpm-line); }
.dpm .dpm-my-list .dpm-my-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, .8fr) 104px; align-items: center; gap: 14px; padding: 11px 15px; border-radius: 9px; color: var(--dpm-text) !important; }
.dpm-my-row:hover { background: var(--dpm-raised); }
.dpm-my-identity, .dpm-my-status { display: flex; align-items: center; gap: 9px; min-width: 0; }
.dpm-my-identity strong, .dpm-my-address { display: block; overflow-wrap: anywhere; }
.dpm-my-identity strong { line-height: 1.3; font-size: .9375rem; }
.dpm-my-address, .dpm-my-status { color: var(--dpm-muted); font-size: .8125rem; }
.dpm-my-status { justify-content: flex-end; }
.dpm-my-identity > i, .dpm-my-empty > i { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 8px; background: var(--dpm-accent-soft); color: var(--dpm-link); }
.dpm-my-metrics { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; font-size: .8125rem; }
.dpm-my-metrics dd { margin: 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.dpm-my-empty { display: flex; align-items: center; gap: 10px; padding: 11px 15px; color: var(--dpm-muted); }
.dpm-my-empty p { margin: 0; font-size: .875rem; }
@media (max-width: 760px) { .dpm-add-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 540px) {
    .dpm-endpoint-grid { grid-template-columns: minmax(0, 1fr); }
    .dpm-add-submit { justify-content: flex-start; }
    .dpm .dpm-my-list .dpm-my-row { grid-template-columns: minmax(0, 1fr) auto; gap: 9px; padding: 10px; }
    .dpm-my-metrics { grid-column: 1 / -1; grid-row: 2; padding-inline-start: 43px; }
    .dpm-my-status { grid-column: 2; grid-row: 1; gap: 4px; }
}
.dpm [hidden] { display: none !important; }

.dpm-server-catalog { font-family: inherit; background: transparent; border: 0; }
.dpm-server-toolbar { padding: 0 0 7px; background: transparent; }
.dpm .dpm-server-title { margin: 0 0 11px; font-size: 1.25rem; line-height: 1.25; font-weight: 700; }
.dpm-server-toolbar .dpm-filters { gap: 8px; margin: 0; align-items: center; }
.dpm-catalog-search { display: flex; align-items: center; gap: 8px; flex: 0 1 390px; min-width: 0; max-width: 100%; margin-inline-start: auto; }
.dpm-server-toolbar .dpm-search { flex: 1 1 0; min-width: 0; }
.dpm-server-toolbar .dpm-search input,
.dpm-server-toolbar .dpm-button { font-family: inherit; font-size: .875rem; line-height: 20px; min-height: 36px; }
.dpm-server-toolbar .dpm-button { display: inline-flex; align-items: center; font-weight: 650; padding-inline: 12px; }
.dpm-server-toolbar .dpm-status-filter { padding: 3px; gap: 2px; }
.dpm-server-toolbar .dpm-status-filter span { min-height: 28px; padding: 3px 9px; font-size: .875rem; line-height: 18px; font-weight: 500; }
.dpm-server-toolbar .dpm-status-filter input:checked + span { font-weight: 650; }
.dpm-server-toolbar .dpm-status-filter label:hover span { background: var(--dpm-accent-soft); }
.dpm-server-catalog .dpm-table { border: 0; border-radius: 0; background: transparent; }
.dpm-server-catalog table { border-collapse: separate; border-spacing: 0 10px; }
.dpm-server-catalog .dpm-table:not(.dpm-category-table) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.dpm-server-catalog .dpm-table th { background: transparent; border: 0; font-size: .8125rem; font-weight: 650; }
.dpm-server-catalog .dpm-table :is(th, td) { padding: 9px 13px; }
.dpm-server-catalog .dpm-table :is(th, td):first-child { padding-inline-start: 18px; }
.dpm-server-catalog .dpm-table :is(th, td):last-child { padding-inline-end: 18px; }
.dpm-server-catalog .dpm-table tbody td { padding-block: 11px; border-block: 1px solid var(--dpm-line); background: var(--dpm-surface); background: light-dark(var(--dpm-surface), var(--dp-header-bg, var(--dpm-surface))); font-size: .875rem; line-height: 1.4; }
.dpm-server-catalog .dpm-table tbody td:first-child { border-inline-start: 1px solid var(--dpm-line); border-start-start-radius: 9px; border-end-start-radius: 9px; }
.dpm-server-catalog .dpm-table tbody td:last-child { border-inline-end: 1px solid var(--dpm-line); border-start-end-radius: 9px; border-end-end-radius: 9px; }
.dpm-server-catalog .dpm-table tbody tr:hover { background: transparent; }
.dpm-server-catalog .dpm-table tbody tr:is(:hover, :focus-within) td { background: var(--dpm-raised); }
.dpm-server-catalog .dpm-table tbody tr:is(:hover, :focus-within) td { background: light-dark(var(--dpm-raised), color-mix(in srgb, var(--dp-header-bg, var(--dpm-surface)) 92%, var(--dpm-text))); }
.dpm-server-catalog .dpm-server-name { gap: 8px; align-items: center; }
.dpm .dpm-server-catalog .dpm-table .dpm-server-name a { color: var(--dpm-text) !important; font-weight: 650; text-decoration: none !important; }
.dpm .dpm-server-catalog .dpm-table .dpm-server-name a:hover { color: var(--dpm-link) !important; }
.dpm-server-catalog .dpm-ping { font-variant-numeric: tabular-nums; }
.dpm-server-catalog .dpm-occupancy { height: 4px; }
.dpm-table tr[id^="dpm-server-row-"] { scroll-margin-block-start: 100px; }
.dpm-catalog-more { display: flex; justify-content: center; padding: 10px 11px 11px; }
.dpm .dpm-status-filter { gap: 5px; padding: 0; border: 0; background: transparent; }
.dpm .dpm-status-filter span { min-height: 36px; padding-inline: 9px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; }
.dpm .dpm-status-filter label:hover span { background: transparent; color: var(--dpm-link); }
.dpm .dpm-status-filter input:checked + span { border-bottom-color: var(--dpm-accent); background: transparent; color: var(--dpm-link); font-weight: 650; }
.dpm .dpm-sort-filter span { min-height: 32px; padding-inline: 9px; border: 0; border-radius: 6px; }
.dpm .dpm-sort-filter input:checked + span { background: var(--dpm-primary-fill); color: var(--dpm-primary-text); font-weight: 500; }
.dpm .dpm-sort-filter input:checked + span:hover { background: var(--dpm-primary-fill); color: var(--dpm-primary-text); }
.dpm .dpm-game-layout .dpm-status-filter { display: block; }
.dpm-sidebar-options { display: flex; gap: 3px; padding: 3px; border-radius: 8px; background: var(--dpm-raised); }
.dpm-game-layout .dpm-status-filter legend { float: none; width: auto; margin: 0 0 4px; padding: 0; font-size: .8125rem; font-weight: 650; color: var(--dpm-muted); }
.dpm-game-layout .dpm-status-filter label { flex: 1; min-width: 0; }
.dpm .dpm-game-layout .dpm-status-filter span { display: flex; justify-content: center; min-height: 32px; padding-inline: 4px; border: 0; border-radius: 6px; font-size: .8125rem; }
.dpm .dpm-game-layout .dpm-status-filter input:checked + span { background: var(--dpm-surface); color: var(--dpm-link); box-shadow: 0 1px 3px #0002; font-weight: 650; }
@media (pointer: coarse) { .dpm .dpm-game-layout .dpm-status-filter span { min-height: 44px; } }
.dpm .dpm-catalog-more .dpm-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 36px; padding-inline: 15px; background: var(--dpm-surface); border: 0; color: var(--dpm-link) !important; font-size: .875rem; }
.dpm .dpm-catalog-more .dpm-button::after { content: ''; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.dpm .dpm-catalog-more .dpm-button:is(:hover, :focus-visible) { background: var(--dpm-raised); }
@media (pointer: coarse) { .dpm .dpm-catalog-more .dpm-button { min-height: 44px; } }

@media (max-width: 560px) {
    .dpm-server-toolbar { padding: 0 0 7px; }
    .dpm-catalog-search { flex-basis: 100%; }
    .dpm-server-toolbar .dpm-status-filter span { padding-inline: 6px; }
}

@media (pointer: coarse) {
    .dpm :is(.dpm-button, .dpm-game-tabs a) { min-height: 44px; display: inline-flex; align-items: center; }
    .dpm :is(input:not(:is([type="checkbox"], [type="radio"])), select, .dpm-status-filter span) { min-height: 44px; }
    .dpm-server-toolbar :is(.dpm-search input, .dpm-button, .dpm-status-filter span) { min-height: 44px; }
    .dpm .dpm-status-filter span { min-height: 44px; }
}

.dpm-list-mode-icon { display: grid; flex: 0 0 34px; height: 34px; place-items: center; border-radius: 7px; background: var(--dpm-raised); color: var(--dpm-link); font-size: 18px; }
.dpm-list-server-caption { display: grid; min-width: 0; gap: 2px; }
.dpm-list-server-caption small { color: var(--dpm-muted); font-size: .75rem; }

.dpm-config-summary {
    display: flex;
    align-items: center;
    gap: 8px 12px;
    list-style: none;
    cursor: pointer;
}
.dpm-config-summary::-webkit-details-marker { display: none; }
.dpm-config-title { display: flex; align-items: center; gap: 6px; margin-inline-end: auto; font-weight: 650; }
.dpm-config-count { color: var(--dpm-muted); text-align: end; }
.dpm-config-chevron { flex: none; color: var(--dpm-muted); font-size: 1rem; }
.dpm-profile-details[open] > .dpm-config-summary .dpm-config-chevron { transform: rotate(180deg); }
@media (max-width: 420px) {
    .dpm-config-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
    .dpm-config-count { grid-column: 1; grid-row: 2; }
    .dpm-config-chevron { grid-column: 2; grid-row: 1; }
}

.dpm-game-results .dpm-category-cards {
    padding: 0 12px 12px;
    border: 0;
    background: transparent;
}
.dpm-category-cards table { display: block; }
.dpm-category-cards colgroup { display: none; }
.dpm-category-cards tbody {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 10px;
}
.dpm-category-cards tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "name actions" "map players";
    align-items: center;
    gap: 6px 12px;
    min-width: 0;
    padding: 11px;
    border: 1px solid var(--dpm-line);
    border-radius: 10px;
    background: var(--dpm-surface);
}
.dpm-game-results .dpm-category-cards tbody tr > td { min-width: 0; padding: 0; border: 0; background: transparent; }
.dpm-game-results .dpm-category-cards tbody tr[data-dpm-server-id] { position: relative; }
.dpm-game-results .dpm-category-cards tbody tr[data-dpm-server-id]:is(:hover, :focus-within, :has(.dpm-row-popover:popover-open)) {
    background: var(--dpm-raised);
    border-color: var(--dpm-accent);
}
.dpm-game-results .dpm-category-cards tbody tr[data-dpm-server-id]:is(:hover, :focus-within, :has(.dpm-row-popover:popover-open)) > td {
    background: transparent;
}
.dpm-category-cards .dpm-server-name a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    cursor: pointer;
}
.dpm-category-cards .dpm-server-name a:focus-visible::after {
    outline: 2px solid var(--dpm-accent);
    outline-offset: -2px;
}
.dpm-category-cards .dpm-row-trigger { position: relative; z-index: 2; }
.dpm-category-cards tbody td:first-child { grid-area: name; }
.dpm-category-cards .dpm-map { grid-area: map; }
.dpm-category-cards .dpm-players { grid-area: players; justify-self: end; }
.dpm-category-cards .dpm-row-action { grid-area: actions; justify-self: end; }
.dpm-category-cards tbody tr:not([data-dpm-server-id]) { display: block; grid-column: 1 / -1; }

@media (max-width: 640px) {
    .dpm-home-games .dpm-game-posters .dpm-game { min-height: 124px; }
    .dpm-server-catalog .dpm-table:not(.dpm-category-table) tr[data-dpm-server-id] {
        position: relative;
        scroll-margin-top: 132px;
    }
    .dpm-server-catalog .dpm-table:not(.dpm-category-table) .dpm-server-name a::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 9px;
        cursor: pointer;
    }
    .dpm-server-catalog .dpm-table:not(.dpm-category-table) .dpm-server-name a:focus-visible::after {
        outline: 2px solid var(--dpm-accent);
        outline-offset: -2px;
    }
    .dpm-server-catalog .dpm-table:not(.dpm-category-table) table { display: block; min-width: 0; }
    .dpm-server-catalog .dpm-table:not(.dpm-category-table) tbody { display: grid; gap: 8px; }
    .dpm-server-catalog .dpm-table:not(.dpm-category-table) tbody tr {
        display: grid;
        grid-template-columns: max-content max-content minmax(0, 1fr) max-content;
        align-items: center;
        gap: 6px 8px;
        padding: 10px 12px;
        border: 1px solid var(--dpm-line);
        border-radius: 9px;
    }
    .dpm-server-catalog .dpm-table:not(.dpm-category-table) tbody tr,
    .dpm-server-catalog .dpm-table:not(.dpm-category-table) tbody tr:hover {
        background: light-dark(var(--dpm-surface), var(--dp-header-bg, var(--dpm-surface)));
    }
    .dpm-server-catalog .dpm-table:not(.dpm-category-table) tbody tr:focus-within { border-color: var(--dpm-accent); }
    .dpm-server-catalog .dpm-table:not(.dpm-category-table) tbody tr > td {
        min-width: 0;
        padding: 0;
        border: 0;
        background: transparent;
    }
    .dpm-server-catalog .dpm-table:not(.dpm-category-table) tbody td:first-child { grid-column: 1 / -1; }
    .dpm-server-catalog .dpm-table:not(.dpm-category-table) .dpm-server-name a { min-width: 0; overflow-wrap: anywhere; }
    .dpm-server-catalog .dpm-table:not(.dpm-category-table) .dpm-map { grid-column: 3 / -1; white-space: normal; overflow-wrap: anywhere; }
    .dpm-server-catalog .dpm-table:not(.dpm-category-table) .dpm-players { grid-column: 1 / 4; }
    .dpm-server-catalog .dpm-table:not(.dpm-category-table) .dpm-ping {
        grid-column: 4;
        align-self: start;
        text-align: end;
    }
    .dpm-server-catalog .dpm-table:not(.dpm-category-table) .dpm-occupancy {
        margin-top: 4px;
    }
    @media (hover: hover) {
        .dpm-server-catalog .dpm-table:not(.dpm-category-table) tr[data-dpm-server-id]:hover {
            background: var(--dpm-raised);
            border-color: var(--dpm-accent);
        }
    }
}

.dpm-game-posters .dpm-game[data-game="css"] {
    --dpm-poster: url('../images/monitoring-cover-css.jpg');
}
.dpm-game-posters:has([data-game="css"]) {
    max-width: 768px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 760px) {
    .dpm-game-posters:has([data-game="css"]) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 400px;
    }
    .dpm-game-posters .dpm-poster-copy { padding-inline: 8px; }
    .dpm-game-posters .dpm-poster-copy strong { font-size: .8rem; }
    .dpm-game-posters .dpm-poster-stats { gap: 10px; font-size: .75rem; }
}
.dpm-category[data-game="css"]::before {
    background-image: url('../images/monitoring-cover-css.jpg');
    background-size: cover;
    background-position: center 33%;
}

.dpm-game-posters .dpm-game[data-game="minecraft"] {
    --dpm-poster: url('../images/category-cover-minecraft.png');
}
.dpm-category[data-game="minecraft"]::before {
    background-image: url('../images/category-cover-minecraft.png');
    background-size: cover;
    background-position: center 32%;
}
@media (min-width: 990px) {
    .dpm-game-posters:has([data-game="minecraft"]) {
        max-width: 963px;
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.dpm-game-posters .dpm-game[data-game="gmod"] {
    --dpm-poster: url('../images/category-cover-gmod.png');
}
.dpm-category[data-game="gmod"]::before {
    background-image: url('../images/category-cover-gmod.png');
    background-size: cover;
    background-position: center 35%;
}
@media (min-width: 1190px) {
    .dpm-game-posters:has([data-game="gmod"]) {
        max-width: 1158px;
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.dpm-game-posters .dpm-game[data-game="dayz"] {
    --dpm-poster: url('../images/monitoring-cover-dayz.jpg');
}
.dpm-category[data-game="dayz"]::before {
    background-image: url('../images/monitoring-cover-dayz.jpg');
    background-size: cover;
    background-position: center 38%;
}
@media (min-width: 1370px) {
    .dpm-game-posters:has([data-game="dayz"]) {
        max-width: 1353px;
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }
}

.dpm-game-posters .dpm-game[data-game="scp-secret-laboratory"] {
    --dpm-poster: url('../images/monitoring-cover-scpsl.jpg');
}
.dpm-category[data-game="scp-secret-laboratory"]::before {
    background-image: url('../images/monitoring-cover-scpsl.jpg');
    background-size: cover;
    background-position: center 38%;
}

.dpm-game-posters .dpm-game[data-game="arma-reforger"] {
    --dpm-poster: url('../images/monitoring-cover-arma-reforger.jpg');
}
.dpm-category[data-game="arma-reforger"]::before {
    background-image: url('../images/monitoring-banner-arma-reforger.jpg');
    background-size: cover;
    background-position: center;
}
