/* Zgłoszenia 1.1.0 (TerroCS) - styl HUD jak LK Top / Demka: ścięte rogi, Anton, czerwona belka */
.zgl {
    --zgl-red: var(--brand-orange, #d51718);
    --zgl-bg: rgba(21, 21, 21, 0.8);
    --zgl-line: color-mix(in srgb, #383838 30%, transparent);
    --zgl-soft: var(--transparent-5-w, rgba(255, 255, 255, .05));
    --zgl-soft2: var(--transparent-10-w, rgba(255, 255, 255, .1));
    --zgl-green: #3fb27f;
    --zgl-amber: #e0a43a;
    --zgl-gray: #8a8a8a;
    --zgl-cut: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
    --zgl-cut-s: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    --zgl-cut-xs: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
    color: var(--text-default);
    font-family: var(--font-family-1);
}
.zgl * { box-sizing: border-box; }
.zgl a { text-decoration: none; }
.zgl svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- nagłówek + zakładki ---------- */
.zgl-header {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.6rem 1.8rem 1.4rem;
    margin-bottom: 1rem;
    background: var(--zgl-bg);
    border: 1px solid var(--zgl-line);
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}
.zgl-header::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    height: 2px; width: 100%;
    background: var(--zgl-red);
    box-shadow: 0 0 8px var(--zgl-red);
}
.zgl-header__badge {
    display: inline-block;
    padding: .25rem .8rem;
    margin-bottom: .6rem;
    font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: #fff;
    background: var(--zgl-red);
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.zgl-header__title {
    margin: 0 0 .3rem;
    font-family: 'Anton', var(--font-family-1), sans-serif;
    font-size: 30px; font-weight: 400; letter-spacing: .03em; text-transform: uppercase;
    color: var(--text-default);
}
.zgl-header__subtitle { margin: 0; font-size: var(--font-size-m); color: var(--text-custom); opacity: .6; }
.zgl-tabs { display: flex; gap: .4rem; flex-wrap: wrap; }
.zgl-tabs__btn, .zgl-chip, .zgl-btn, .zgl-pager__btn, .zgl-back {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    min-height: 36px;
    padding: .45rem 1.05rem;
    font-family: var(--font-family-1);
    font-size: 11px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap;
    color: var(--text-custom);
    background: var(--zgl-soft);
    border: none; border-radius: 0;
    clip-path: var(--zgl-cut-s);
    cursor: pointer;
    transition: .2s;
}
.zgl-tabs__btn:hover, .zgl-chip:hover, .zgl-btn--ghost:hover, .zgl-pager__btn:hover, .zgl-back:hover { background: var(--zgl-soft2); color: var(--text-default); }
.zgl-tabs__btn.active, .zgl-chip.active, .zgl-pager__btn.active { background: var(--zgl-red); color: #fff; }
.zgl-btn { background: var(--zgl-red); color: #fff; }
.zgl-btn:hover { color: #fff; filter: brightness(1.15); }
.zgl-btn--ghost { background: var(--zgl-soft); color: var(--text-custom); }
.zgl-btn--danger { background: rgba(213, 23, 24, .15); color: #ff6b6b; }
.zgl-btn--danger:hover { background: var(--zgl-red); color: #fff; }
.zgl-btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- kafelki ---------- */
.zgl-tiles {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: .5rem;
    margin-bottom: .75rem;
}
.zgl-tiles--stats { grid-template-columns: repeat(4, 1fr); }
.zgl-tile {
    position: relative;
    display: flex; flex-direction: column; gap: .15rem;
    padding: .9rem 1.1rem;
    background: var(--zgl-bg);
    border: 1px solid var(--zgl-line);
    clip-path: var(--zgl-cut);
    transition: .2s;
    color: var(--text-default);
}
.zgl-tile b { font-family: 'Anton', var(--font-family-1), sans-serif; font-weight: 400; font-size: 28px; line-height: 1.1; color: var(--text-default); }
.zgl-tile span { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-custom); opacity: .65; }
.zgl-tile::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 0; width: 2px; background: transparent; transition: .2s; }
a.zgl-tile:hover { background: rgba(32, 32, 32, .9); }
a.zgl-tile:hover::before, .zgl-tile.active::before { background: var(--zgl-red); box-shadow: 0 0 8px var(--zgl-red); }
.zgl-tile.active { background: linear-gradient(90deg, rgba(213, 23, 24, .14), var(--zgl-bg) 70%); }
.zgl-tile--pending b { color: var(--zgl-amber); }
.zgl-tile--punished b { color: var(--zgl-red); }
.zgl-tile--closed b { color: var(--zgl-green); }
.zgl-tile--valid b { color: var(--zgl-red); }
.zgl-tile--invalid b { color: var(--zgl-gray); }

/* ---------- pasek: serwery + szukaj ---------- */
.zgl-toolbar {
    display: flex; gap: .5rem; align-items: center; justify-content: space-between; flex-wrap: wrap;
    padding: .5rem;
    margin-bottom: .75rem;
    background: var(--zgl-bg);
    border: 1px solid var(--zgl-line);
    clip-path: var(--zgl-cut);
}
.zgl-chips { display: flex; gap: .4rem; flex-wrap: wrap; }
.zgl-chip { font-family: 'Anton', var(--font-family-1), sans-serif; font-weight: 400; font-size: 13px; }
.zgl-chip i {
    font-style: normal; font-family: var(--font-family-1); font-size: 10px; font-weight: 700;
    padding: .1rem .4rem; background: rgba(0, 0, 0, .3);
    clip-path: var(--zgl-cut-xs);
}
.zgl-search { display: flex; flex: 0 1 300px; min-width: 220px; }
.zgl-search input {
    flex: 1; min-width: 0; height: 36px; padding: 0 .9rem;
    color: var(--text-default); background: var(--zgl-soft); border: none; outline: none;
    font-size: 13px;
    clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px);
}
.zgl-search input:focus { background: var(--zgl-soft2); }
.zgl-search button {
    width: 40px; height: 36px; border: none; cursor: pointer; color: #fff; background: var(--zgl-red);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
    display: grid; place-items: center;
}
.zgl-filterinfo {
    display: flex; gap: 1rem; align-items: center;
    padding: .55rem 1rem; margin-bottom: .75rem;
    font-size: 13px; color: var(--text-custom);
    background: rgba(213, 23, 24, .1);
    border-left: 2px solid var(--zgl-red);
}
.zgl-filterinfo a { color: var(--zgl-red); font-weight: 600; margin-left: auto; }

/* ---------- karta ---------- */
.zgl-card {
    position: relative;
    padding: 1.1rem 1.25rem;
    margin-bottom: .75rem;
    background: var(--zgl-bg);
    border: 1px solid var(--zgl-line);
    clip-path: var(--zgl-cut);
}
.zgl-card__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.zgl-card__title {
    margin: 0 0 .9rem;
    font-family: 'Anton', var(--font-family-1), sans-serif;
    font-size: 16px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase;
    color: var(--text-default);
}
.zgl-card__row .zgl-card__title { margin-bottom: .9rem; }
.zgl-card__title--mt { margin-top: 1.4rem; }
.zgl-muted { margin: .5rem 0 0; font-size: 12px; color: var(--text-custom); opacity: .55; }
.zgl-link { display: inline-block; margin-top: .7rem; font-size: 12px; font-weight: 600; color: var(--zgl-red); }
.zgl-link:hover { color: #ff4d4e; }

/* ---------- lista ---------- */
.zgl-list { padding: .4rem .4rem .6rem; }
.zgl-list__head, .zgl-row {
    display: grid;
    grid-template-columns: 56px minmax(170px, 1.5fr) minmax(120px, 1.3fr) minmax(110px, 1fr) minmax(120px, 1fr) 150px;
    gap: .9rem;
    align-items: center;
    padding: .55rem .9rem;
}
.zgl-list__head span { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-custom); opacity: .45; }
.zgl-list__head span:last-child { text-align: right; padding-right: 22px; }
.zgl-row {
    position: relative;
    color: var(--text-default);
    border-top: 1px solid rgba(255, 255, 255, .04);
    transition: background .2s;
}
.zgl-row::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: transparent; transition: .2s; }
.zgl-row:hover { background: linear-gradient(90deg, rgba(213, 23, 24, .1), transparent 60%); color: var(--text-default); }
.zgl-row:hover::before { background: var(--zgl-red); box-shadow: 0 0 6px var(--zgl-red); }
.zgl-row b, .zgl-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zgl-row b { font-size: 13px; font-weight: 600; }
.zgl-row small { font-size: 11px; color: var(--text-custom); opacity: .55; }
.zgl-row__date b { font-family: 'Anton', var(--font-family-1), sans-serif; font-weight: 400; font-size: 15px; letter-spacing: .02em; }
.zgl-player { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.zgl-player img { width: 36px; height: 36px; object-fit: cover; flex: none; clip-path: var(--zgl-cut-xs); background: var(--zgl-soft); }
.zgl-player__txt { min-width: 0; }
.zgl-row__reason { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-default); }
.zgl-row__sender, .zgl-row__server { min-width: 0; }
.zgl-row__status { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; }
.zgl-row__arrow { opacity: .3; transition: .2s; }
.zgl-row:hover .zgl-row__arrow { opacity: 1; color: var(--zgl-red); transform: translateX(2px); }

/* ---------- plakietki statusu ---------- */
.zgl-badge {
    display: inline-flex; align-items: center;
    padding: .25rem .6rem;
    font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
    clip-path: var(--zgl-cut-xs);
}
.zgl-badge--lg { padding: .45rem .9rem; font-size: 11px; }
.zgl-badge--pending { background: rgba(224, 164, 58, .16); color: var(--zgl-amber); }
.zgl-badge--closed { background: rgba(63, 178, 127, .15); color: var(--zgl-green); }
.zgl-badge--expired { background: rgba(255, 255, 255, .07); color: var(--zgl-gray); }
.zgl-badge--punished { background: var(--zgl-red); color: #fff; }
.zgl-badge--valid { background: var(--zgl-red); color: #fff; }
.zgl-badge--invalid { background: rgba(255, 255, 255, .1); color: #bdbdbd; }
.zgl-badge--coin { background: rgba(224, 164, 58, .16); color: var(--zgl-amber); }

/* ---------- puste / komunikaty ---------- */
.zgl-empty { padding: 2.2rem 1rem; text-align: center; font-size: 14px; color: var(--text-custom); opacity: .8; }
.zgl-empty.zgl-empty--warn { background: var(--zgl-bg); border: 1px solid var(--zgl-line); clip-path: var(--zgl-cut); }
.zgl-empty .zgl-btn { margin-top: 1rem; }
.zgl-empty__admin p { max-width: 560px; margin: 1rem auto 0; font-size: 12px; opacity: .7; }

/* ---------- stronicowanie ---------- */
.zgl-pager { display: flex; justify-content: center; gap: .35rem; margin: .5rem 0 1rem; flex-wrap: wrap; }
.zgl-pager__btn { min-width: 38px; padding-inline: .6rem; font-size: 13px; }
.zgl-pager__btn.disabled { opacity: .35; pointer-events: none; }
.zgl-pager__dots { align-self: center; opacity: .4; }

/* ---------- szczegóły ---------- */
.zgl-detail-top { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .75rem; }
.zgl-detail-top__title {
    margin: 0 auto 0 .4rem;
    font-family: 'Anton', var(--font-family-1), sans-serif;
    font-size: 24px; font-weight: 400; letter-spacing: .03em; text-transform: uppercase;
}
.zgl-detail-top__title span { color: var(--zgl-red); }
.zgl-detail { display: grid; grid-template-columns: minmax(250px, 1fr) minmax(0, 1.6fr) minmax(260px, 1fr); gap: .75rem; align-items: start; }
.zgl-person { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.zgl-person img { width: 48px; height: 48px; object-fit: cover; clip-path: var(--zgl-cut-s); background: var(--zgl-soft); }
.zgl-person--big img { width: 64px; height: 64px; }
.zgl-person > div:not(.zgl-person__links) > a { display: block; font-size: 15px; font-weight: 700; color: var(--text-default); }
.zgl-person > div:not(.zgl-person__links) > a:hover { color: var(--zgl-red); }
.zgl-person small { display: inline-block; margin-top: .15rem; font-size: 12px; color: var(--text-custom); opacity: .6; cursor: copy; }
.zgl-person small:hover { opacity: 1; }
.zgl-person__links { display: flex; gap: .4rem; margin-left: auto; }
.zgl-sub { margin: 1.2rem 0 .6rem; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-custom); opacity: .5; }
.zgl-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; margin-top: .9rem; }
.zgl-sub + .zgl-mini { margin-top: 0; }
.zgl-mini--5 { grid-template-columns: repeat(5, 1fr); }
.zgl-mini > div { padding: .55rem .6rem; background: var(--zgl-soft); clip-path: var(--zgl-cut-xs); min-width: 0; }
.zgl-mini b { display: block; font-family: 'Anton', var(--font-family-1), sans-serif; font-weight: 400; font-size: 18px; white-space: nowrap; }
.zgl-mini span { display: block; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--text-custom); opacity: .55; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zgl-mini__kd--hi b { color: var(--zgl-red); }
.zgl-mini__kd--mid b { color: var(--zgl-amber); }
.zgl-mini__kd--lo b { color: var(--zgl-green); }
/* 1.3 - sesja zgłoszonego */
.zgl-mini b small { font-family: var(--font-family-1), sans-serif; font-size: 11px; font-weight: 600; opacity: .6; }
.zgl-mini__warn { box-shadow: inset 3px 0 0 var(--zgl-red); }
.zgl-mini__warn b { color: var(--zgl-red); }
.zgl-sub__score { float: right; font-style: normal; letter-spacing: .04em; opacity: 1; }
.zgl-dl { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; margin: 0; font-size: 13px; }
.zgl-dl dt { color: var(--text-custom); opacity: .55; font-weight: 500; }
.zgl-dl dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.zgl-dl dd small { opacity: .55; font-weight: 500; }
.zgl-dl dd[data-zgl-copy] { cursor: copy; }
.zgl-reason { border-left: 2px solid var(--zgl-red); background: linear-gradient(90deg, rgba(213, 23, 24, .14), var(--zgl-bg) 55%); }
.zgl-reason p { margin: 0; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.zgl-lr { list-style: none; margin: .5rem 0 0; padding: 0; font-size: 12px; }
.zgl-lr li { display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; padding: .35rem 0; border-top: 1px solid rgba(255, 255, 255, .04); }
.zgl-lr span { opacity: .7; }
.zgl-history { list-style: none; margin: .6rem 0 0; padding: 0; }
.zgl-history a { display: grid; grid-template-columns: 105px 1fr auto; gap: .8rem; align-items: center; padding: .45rem .5rem; font-size: 12px; color: var(--text-default); border-top: 1px solid rgba(255, 255, 255, .04); }
.zgl-history a:hover { background: var(--zgl-soft); }
.zgl-history span { opacity: .55; }
.zgl-history b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zgl-card--punished { border-left: 2px solid var(--zgl-red); }
.zgl-punish b { display: block; font-family: 'Anton', var(--font-family-1), sans-serif; font-weight: 400; font-size: 18px; color: var(--zgl-red); text-transform: uppercase; letter-spacing: .03em; }
.zgl-punish span { display: block; margin-top: .2rem; font-size: 13px; font-weight: 600; }
.zgl-punish small { display: block; margin-top: .3rem; font-size: 11px; opacity: .6; }
.zgl-reward {
    margin-top: .9rem; padding: .55rem .8rem;
    font-family: 'Anton', var(--font-family-1), sans-serif; font-size: 16px; color: var(--zgl-amber);
    background: rgba(224, 164, 58, .12); clip-path: var(--zgl-cut-xs);
}
.zgl-reward span { display: block; font-family: var(--font-family-1); font-size: 11px; color: var(--text-custom); opacity: .7; }

/* ---------- czat ---------- */
.zgl-chat__list { list-style: none; margin: 0; padding: 0; max-height: 640px; overflow-y: auto; scrollbar-width: thin; }
.zgl-chat__msg { padding: .55rem .65rem; border-top: 1px solid rgba(255, 255, 255, .04); }
.zgl-chat__msg--target { background: rgba(213, 23, 24, .1); border-left: 2px solid var(--zgl-red); }
.zgl-chat__msg--sender { background: rgba(224, 164, 58, .08); border-left: 2px solid var(--zgl-amber); }
.zgl-chat__meta { display: flex; align-items: center; gap: .5rem; font-size: 12px; }
.zgl-chat__meta i { font-style: normal; font-size: 10px; padding: .05rem .35rem; background: var(--zgl-soft2); text-transform: uppercase; opacity: .7; }
.zgl-chat__meta time { margin-left: auto; font-size: 11px; opacity: .45; }
.zgl-chat__msg p { margin: .2rem 0 0; font-size: 13px; overflow-wrap: anywhere; }
.zgl-team--t { color: #e4b54a; }
.zgl-team--ct { color: #6fa8e6; }
.zgl-team--spec { color: var(--text-custom); }
.zgl-chat__note { margin-top: .8rem; }
.zgl-chat--sender { margin-bottom: 1rem; }
.zgl-chat--sender .zgl-chat__msg { background: rgba(224, 164, 58, .08); border-left: 2px solid var(--zgl-amber); }
.zgl-chat--sender .zgl-chat__list { max-height: 420px; }

/* ---------- statystyki ---------- */
.zgl-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.zgl-legend { display: flex; gap: 1rem; margin-bottom: .9rem; font-size: 11px; color: var(--text-custom); }
.zgl-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.zgl-legend__sw { width: 10px; height: 10px; display: inline-block; }
.zgl-legend__sw--rest { background: #5c5c5c; }
.zgl-legend__sw--hit { background: var(--zgl-red); }
.zgl-bars { display: flex; align-items: stretch; gap: 3px; height: 180px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.zgl-bars__col { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; cursor: default; }
.zgl-bars__col:hover { background: rgba(255, 255, 255, .03); }
.zgl-bars__bar { display: flex; flex-direction: column; gap: 2px; min-height: 0; }
.zgl-bars__bar i { display: block; min-height: 2px; }
.zgl-bars__rest { background: #5c5c5c; border-radius: 3px 3px 0 0; }
.zgl-bars__hit { background: var(--zgl-red); }
.zgl-bars__rest:only-child { border-radius: 3px 3px 0 0; }
.zgl-bars__col:hover .zgl-bars__rest { background: #787878; }
.zgl-bars__x { position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); font-size: 10px; opacity: 0; white-space: nowrap; color: var(--text-custom); }
.zgl-bars__x--show { opacity: .5; }
.zgl-hbars { list-style: none; margin: 0; padding: 0; }
.zgl-hbars li { display: grid; grid-template-columns: minmax(90px, 160px) 1fr 40px; gap: .8rem; align-items: center; padding: .35rem 0; font-size: 13px; }
.zgl-hbars__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-default); }
a.zgl-hbars__label:hover { color: var(--zgl-red); }
.zgl-hbars__track { height: 10px; background: var(--zgl-soft); }
.zgl-hbars__track i { display: block; height: 100%; background: var(--zgl-red); border-radius: 0 3px 3px 0; min-width: 2px; }
.zgl-hbars b { text-align: right; font-weight: 700; }
.zgl-hours { display: flex; align-items: flex-end; gap: 2px; height: 90px; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.zgl-hours__col { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; }
.zgl-hours__col i { display: block; width: 100%; background: #5c5c5c; border-radius: 3px 3px 0 0; }
.zgl-hours__col:hover i { background: var(--zgl-red); }
.zgl-hours__col span { position: absolute; bottom: -16px; left: 0; font-size: 10px; opacity: .5; }
.zgl-top { list-style: none; margin: 0; padding: 0; }
.zgl-top a { display: grid; grid-template-columns: 22px 32px 1fr auto auto; gap: .7rem; align-items: center; padding: .45rem .4rem; color: var(--text-default); border-top: 1px solid rgba(255, 255, 255, .04); }
.zgl-top a:hover { background: var(--zgl-soft); }
.zgl-top em { font-style: normal; font-family: 'Anton', var(--font-family-1), sans-serif; opacity: .45; text-align: center; }
.zgl-top li:first-child em { color: var(--zgl-red); opacity: 1; }
.zgl-top img { width: 32px; height: 32px; object-fit: cover; clip-path: var(--zgl-cut-xs); }
.zgl-top b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zgl-top span { font-weight: 700; font-size: 13px; white-space: nowrap; }
.zgl-top small { font-weight: 500; opacity: .5; font-size: 11px; }

/* ---------- ustawienia ---------- */
.zgl-settings { display: block; }
.zgl-checks { list-style: none; margin: 0 0 1rem; padding: 0; font-size: 13px; }
.zgl-checks li { padding: .35rem 0 .35rem 1.5rem; position: relative; }
.zgl-checks li::before { position: absolute; left: 0; font-weight: 700; }
.zgl-checks li.ok::before { content: "✓"; color: var(--zgl-green); }
.zgl-checks li.bad::before { content: "!"; color: var(--zgl-amber); }
.zgl-checks code { padding: .1rem .35rem; background: var(--zgl-soft2); font-size: 12px; }
.zgl-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.zgl-actions--end { justify-content: flex-end; margin-bottom: 1rem; }
.zgl-form { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1rem; margin-bottom: .8rem; }
.zgl-form label { display: flex; flex-direction: column; gap: .35rem; font-size: 12px; color: var(--text-custom); }
.zgl-form__wide { grid-column: 1 / -1; }
.zgl-form input { height: 38px; padding: 0 .8rem; color: var(--text-default); background: var(--zgl-soft); border: none; outline: none; clip-path: var(--zgl-cut-xs); }
.zgl-form input:focus, .zgl-form textarea:focus, .zgl-form select:focus { background: var(--zgl-soft2); }
.zgl-form textarea { padding: .6rem .8rem; min-height: 120px; resize: vertical; color: var(--text-default); background: var(--zgl-soft); border: none; outline: none; clip-path: var(--zgl-cut-xs); font: 13px/1.5 var(--font-family-1); }
.zgl-form select { height: 38px; padding: 0 .8rem; color: var(--text-default); background: #1d1d1d; border: none; outline: none; clip-path: var(--zgl-cut-xs); }
.zgl-switch { display: flex; gap: .8rem; align-items: flex-start; padding: .5rem 0; cursor: pointer; font-size: 13px; }
.zgl-switch input { display: none; }
.zgl-switch i { flex: none; position: relative; width: 38px; height: 20px; margin-top: 1px; background: var(--zgl-soft2); transition: .2s; clip-path: var(--zgl-cut-xs); }
.zgl-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; background: var(--text-custom); transition: .2s; }
.zgl-switch input:checked + i { background: var(--zgl-red); }
.zgl-switch input:checked + i::after { left: 21px; background: #fff; }
.zgl-switch small { display: block; font-size: 11px; opacity: .55; margin-top: .15rem; }

/* ---------- dymek i toast ---------- */
.zgl-tip {
    position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none;
    padding: .4rem .65rem; font-size: 12px; font-weight: 600; color: #fff;
    background: rgba(12, 12, 12, .95); border-left: 2px solid var(--brand-orange, #d51718);
    opacity: 0; transition: opacity .12s;
}
.zgl-tip.show { opacity: 1; }
.zgl-toast {
    position: fixed; right: 20px; top: 20px; z-index: 10000;
    padding: .8rem 1.2rem; color: #fff; font-size: 13px; font-weight: 600;
    opacity: 0; transform: translateY(-10px); transition: .3s;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.zgl-toast.show { opacity: 1; transform: none; }
.zgl-toast--success { background: #2e7d32; }
.zgl-toast--error { background: var(--brand-orange, #d51718); }

/* ---------- responsywność ---------- */
@media (max-width: 1200px) {
    .zgl-detail { grid-template-columns: 1fr 1.4fr; }
    .zgl-detail .zgl-col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 992px) {
    .zgl-list__head { display: none; }
    .zgl-row { grid-template-columns: 48px 1fr auto; grid-template-areas: "date player status" "date reason reason" "date server server"; row-gap: .3rem; }
    .zgl-row__date { grid-area: date; align-self: start; }
    .zgl-row .zgl-player { grid-area: player; }
    .zgl-row__reason { grid-area: reason; }
    .zgl-row__sender { display: none; }
    .zgl-row__server { grid-area: server; }
    .zgl-row__server b, .zgl-row__server small { display: inline; }
    .zgl-row__server small::before { content: " · "; }
    .zgl-row__status { grid-area: status; }
    .zgl-tiles { grid-template-columns: repeat(3, 1fr); }
    .zgl-tiles--stats { grid-template-columns: repeat(2, 1fr); }
    .zgl-grid2, .zgl-detail { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
    .zgl-header { padding: 1.2rem; }
    .zgl-header__title { font-size: 24px; }
    .zgl-tiles { grid-template-columns: repeat(2, 1fr); }
    .zgl-mini--5 { grid-template-columns: repeat(3, 1fr); }
    .zgl-form { grid-template-columns: 1fr; }
    .zgl-search { flex-basis: 100%; }
    .zgl-hbars li { grid-template-columns: 90px 1fr 34px; }
}
.zgl-settings .zgl-muted { margin: 0 0 .9rem; }

/* ---------- decyzja (1.1) ---------- */
.zgl-decide { border-left: 2px solid var(--zgl-amber); }
.zgl-decide--v1 { border-left-color: var(--zgl-red); background: linear-gradient(90deg, rgba(213, 23, 24, .12), var(--zgl-bg) 60%); }
.zgl-decide--v2 { border-left-color: var(--zgl-gray); }
.zgl-decide__choice { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; margin-bottom: .6rem; }
.zgl-decide__btn {
    min-height: 44px; border: none; cursor: pointer;
    font-family: 'Anton', var(--font-family-1), sans-serif; font-size: 15px; letter-spacing: .04em; text-transform: uppercase;
    color: var(--text-custom); background: var(--zgl-soft); clip-path: var(--zgl-cut-s); transition: .2s;
}
.zgl-decide__btn:hover { background: var(--zgl-soft2); color: var(--text-default); }
.zgl-decide__btn--valid.active { background: var(--zgl-red); color: #fff; }
.zgl-decide__btn--invalid.active { background: #5c5c5c; color: #fff; }
.zgl-decide__presets { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .6rem; }
.zgl-decide__presets[hidden], .zgl-decide__form[hidden] { display: none; }
.zgl-decide__presets button {
    padding: .35rem .6rem; border: none; cursor: pointer; font-size: 11px; font-weight: 600;
    color: var(--text-custom); background: var(--zgl-soft); clip-path: var(--zgl-cut-xs); transition: .2s;
}
.zgl-decide__presets button:hover, .zgl-decide__presets button.active { background: var(--zgl-soft2); color: var(--text-default); }
.zgl-decide__presets button.active { box-shadow: inset 2px 0 0 var(--zgl-red); }
.zgl-decide__text {
    width: 100%; height: 38px; padding: 0 .8rem; margin-bottom: .6rem;
    color: var(--text-default); background: var(--zgl-soft); border: none; outline: none; clip-path: var(--zgl-cut-xs); font-size: 13px;
}
.zgl-decide__text:focus { background: var(--zgl-soft2); }
.zgl-decide__save { width: 100%; }
.zgl-verdict { margin-bottom: .8rem; }
.zgl-verdict b { display: block; font-family: 'Anton', var(--font-family-1), sans-serif; font-weight: 400; font-size: 20px; letter-spacing: .03em; text-transform: uppercase; }
.zgl-decide--v1 .zgl-verdict b { color: var(--zgl-red); }
.zgl-decide--v2 .zgl-verdict b { color: #bdbdbd; }
.zgl-verdict span { display: block; margin-top: .2rem; font-size: 14px; font-weight: 600; }
.zgl-verdict small { display: block; margin-top: .3rem; font-size: 11px; opacity: .6; }
.zgl-decide--done .zgl-decide__form { margin-top: .8rem; padding-top: .8rem; border-top: 1px solid rgba(255, 255, 255, .06); }
