@font-face {
    font-family: 'DDZ Geist';
    src: url('https://geistfont.vercel.app/GeistVF.ttf') format('truetype');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

.bans-body,
.bans-body *,
.bans-body *::before,
.bans-body *::after {
    box-sizing: border-box;
}

.bans-body {
    --ban-accent: #e63950;
    --ban-accent-bright: #ff4058;
    --ban-accent-soft: rgba(230, 57, 80, 0.1);
    --ban-green: #00e58a;
    --ban-bg: #02050a;
    --ban-panel: rgba(8, 14, 24, 0.58);
    --ban-line: rgba(255, 255, 255, 0.07);
    --ban-muted: #7c8da2;
    --ban-font: 'DDZ Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-height: 100vh;
    margin: 0;
    padding-top: 80px;
    background: var(--ban-bg);
    color: #e8edf3;
    font-family: var(--ban-font);
    font-weight: 500;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Bans tipografisi site navigasyonuna ve footer'a taşmasın. */
.bans-body > .navbar,
.bans-body > .mobile-bottom-nav,
.bans-body > .ddz-footer {
    font-family: var(--font-main, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
    font-synthesis: auto;
    font-weight: 400;
}

.bans-body > .navbar button,
.bans-body > .navbar a,
.bans-body > .navbar span,
.bans-body > .mobile-bottom-nav a,
.bans-body > .mobile-bottom-nav span,
.bans-body > .ddz-footer a,
.bans-body > .ddz-footer p,
.bans-body > .ddz-footer span,
.bans-body > .ddz-footer h4 {
    font-family: inherit;
}

.bans-body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(rgba(230, 57, 80, 0.024) 1px, transparent 1px),
        linear-gradient(90deg, rgba(230, 57, 80, 0.024) 1px, transparent 1px),
        radial-gradient(circle at 24% 8%, rgba(230, 57, 80, 0.055), transparent 30rem),
        radial-gradient(circle at 75% 45%, rgba(30, 54, 82, 0.08), transparent 36rem);
    background-size: 48px 48px, 48px 48px, auto, auto;
}

.bans-shell {
    width: 100%;
    max-width: 1540px;
    min-height: calc(100vh - 80px);
    margin: 0 auto;
    padding: 54px 20px 88px;
}

.bans-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 48px;
}

.bans-eyebrow {
    display: block;
    margin-bottom: 17px;
    color: var(--ban-accent-bright);
    font-size: 0.68rem;
    font-weight: 650;
    letter-spacing: 2.6px;
    text-transform: uppercase;
}

.bans-header h1 {
    margin: 0;
    color: #f8fafc;
    font-family: var(--ban-font);
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.95;
}

.bans-header p {
    margin: 16px 0 0;
    color: #91a0b2;
    font-size: 0.96rem;
    font-weight: 500;
}

.bans-count {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 122px;
    padding: 12px 16px;
    border: 1px solid var(--ban-line);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.018);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
    color: #aab5c2;
    font-size: 0.76rem;
}

.bans-count i {
    color: var(--ban-accent-bright);
    font-size: 0.82rem;
}

.bans-count strong {
    color: #f8fafc;
    font-size: 0.96rem;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
}

.bans-notice {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px;
    margin-bottom: 28px;
    padding: 24px 26px;
    border: 1px solid var(--ban-line);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.012);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.018);
    font-family: var(--font-main, 'Inter', sans-serif);
}

.bans-notice > div {
    min-width: 0;
}

.bans-notice > i {
    margin-top: 2px;
    color: var(--ban-accent-bright);
    font-size: 1rem;
}

.bans-notice h2 {
    margin: 0 0 14px;
    color: #f4f7fa;
    font-family: var(--font-main, 'Inter', sans-serif);
    font-size: 0.86rem;
    font-weight: 650;
    letter-spacing: -0.01em;
}

.bans-notice p {
    margin: 0 0 10px;
    color: #95a3b4;
    font-size: 0.78rem;
    font-family: var(--font-main, 'Inter', sans-serif);
    font-weight: 400;
    line-height: 1.72;
    overflow-wrap: anywhere;
}

.bans-notice p:last-child {
    margin-bottom: 0;
}

.bans-notice strong,
.bans-notice b {
    color: #f2f5f8;
    font-weight: 650;
}

.bans-notice strong,
.bans-notice p:nth-of-type(3) b {
    color: var(--ban-accent-bright);
}

.bans-notice mark {
    padding: 2px 5px;
    border-radius: 4px;
    color: var(--ban-accent-bright);
    background: rgba(230, 57, 80, 0.1);
    font: inherit;
    font-size: 0.72rem;
}

.bans-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.bans-search {
    position: relative;
    width: min(420px, 100%);
    flex: 0 1 420px;
}

.bans-search i {
    position: absolute;
    top: 50%;
    left: 14px;
    color: #67788c;
    font-size: 0.76rem;
    transform: translateY(-50%);
}

.bans-search input {
    width: 100%;
    height: 42px;
    padding: 0 14px 0 40px;
    border: 1px solid var(--ban-line);
    border-radius: 10px;
    outline: none;
    color: #eef2f6;
    background: rgba(255, 255, 255, 0.02);
    font: 500 0.76rem var(--ban-font);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.bans-search input::placeholder {
    color: #637386;
}

.bans-search input:focus {
    border-color: rgba(230, 57, 80, 0.5);
    background: rgba(255, 255, 255, 0.027);
    box-shadow: 0 0 0 3px rgba(230, 57, 80, 0.08);
}

.bans-filter-group {
    display: flex;
    align-items: center;
    gap: 3px;
}

.bans-filter-group button {
    height: 34px;
    padding: 0 13px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: #8493a5;
    background: transparent;
    font: 500 0.7rem var(--ban-font);
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.18s, border-color 0.18s, background 0.18s;
}

.bans-filter-group button:hover {
    color: #dce3ea;
    background: rgba(255, 255, 255, 0.025);
}

.bans-filter-group button.active {
    border-color: rgba(230, 57, 80, 0.12);
    color: var(--ban-accent-bright);
    background: rgba(230, 57, 80, 0.1);
}

.bans-filter-divider {
    width: 1px;
    height: 22px;
    margin: 0 3px;
    background: var(--ban-line);
}

.bans-result-line {
    min-height: 18px;
    margin-bottom: 8px;
    color: #5f7084;
    font-size: 0.66rem;
    text-align: right;
}

.bans-list {
    overflow: hidden;
    border: 1px solid var(--ban-line);
    border-radius: 12px;
    background: rgba(5, 10, 17, 0.52);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.bans-table-scroll {
    overflow-x: auto;
}

.bans-table {
    width: 100%;
    min-width: 1060px;
    border-collapse: collapse;
}

.bans-table th {
    padding: 13px 16px;
    border-bottom: 1px solid var(--ban-line);
    color: #536477;
    background: rgba(255, 255, 255, 0.012);
    font-size: 0.59rem;
    font-weight: 650;
    letter-spacing: 1.35px;
    text-align: left;
    text-transform: uppercase;
}

.bans-table th:first-child,
.bans-table td:first-child {
    padding-left: 20px;
}

.bans-table th:last-child,
.bans-table td:last-child {
    padding-right: 20px;
}

.bans-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.045);
    color: #acb8c5;
    font-size: 0.74rem;
    font-weight: 500;
    vertical-align: middle;
}

.ban-row {
    transition: background 0.18s;
}

.ban-row:hover {
    background: rgba(230, 57, 80, 0.025);
}

.ban-row:last-child td {
    border-bottom: 0;
}

.ban-row[hidden] {
    display: none;
}

.ban-person strong,
.ban-person span {
    display: block;
}

.ban-person strong {
    color: #f4f7fa;
    font-size: 0.78rem;
    font-weight: 650;
}

.ban-person span {
    margin-top: 3px;
    color: #8291a3;
    font-size: 0.66rem;
}

.ban-type {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 0.64rem;
    font-weight: 650;
    white-space: nowrap;
}

.ban-type.warning {
    color: #ff9348;
    background: rgba(255, 123, 0, 0.1);
}

.ban-type.removal {
    color: var(--ban-accent-bright);
    background: rgba(230, 57, 80, 0.12);
}

.ban-reason {
    max-width: 430px;
    line-height: 1.45;
}

.ban-reason > span,
.ban-reason > small {
    display: block;
}

.ban-reason > span {
    color: #b9c4cf;
}

.ban-reason > small {
    margin-top: 4px;
    color: #607186;
    font-size: 0.62rem;
}

.ban-admin-note {
    margin-top: 7px !important;
    padding-left: 8px;
    border-left: 2px solid rgba(230, 57, 80, 0.4);
    color: #8d9caf !important;
    line-height: 1.5;
}

.ban-admin-note b {
    color: #d7dfe7;
    font-weight: 650;
}

.ban-points {
    color: #d2dae2;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ban-points small {
    color: #65768a;
    font-size: inherit;
}

.ban-proof {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border: 1px solid rgba(230, 57, 80, 0.2);
    border-radius: 7px;
    color: var(--ban-accent-bright);
    background: rgba(230, 57, 80, 0.055);
    font-size: 0.64rem;
    font-weight: 650;
    text-decoration: none;
    transition: border-color 0.18s, background 0.18s, color 0.18s;
}

.ban-proof:hover {
    border-color: rgba(230, 57, 80, 0.45);
    color: #fff;
    background: rgba(230, 57, 80, 0.13);
}

.ban-dash {
    color: #4e5f73;
}

.ban-date {
    color: #91a0b1;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ban-duration {
    font-size: 0.66rem;
    font-weight: 650;
    white-space: nowrap;
}

.ban-duration.active {
    color: var(--ban-accent-bright);
}

.ban-duration.expired {
    color: var(--ban-green);
}

.bans-state {
    padding: 64px 24px 70px;
    text-align: center;
}

.bans-state[hidden] {
    display: none;
}

.bans-state i {
    margin-bottom: 13px;
    color: rgba(230, 57, 80, 0.55);
    font-size: 1.8rem;
}

.bans-state h2 {
    margin: 0 0 6px;
    color: #edf2f7;
    font-family: var(--ban-font);
    font-size: 1rem;
    font-weight: 650;
}

.bans-state p {
    margin: 0;
    color: #687a90;
    font-size: 0.75rem;
}

.bans-state.error i {
    color: #ff9348;
}

@media (max-width: 1050px) {
    .bans-toolbar {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .bans-search {
        width: 100%;
        flex-basis: 100%;
    }
}

@media (max-width: 760px) {
    .bans-body {
        padding-top: 68px;
        padding-bottom: 70px;
    }

    .bans-shell {
        width: 100%;
        max-width: none;
        padding: 36px 14px 60px;
    }

    .bans-header {
        align-items: flex-start;
        margin-bottom: 32px;
    }

    .bans-header h1 {
        font-size: 2.8rem;
    }

    .bans-count {
        min-width: auto;
    }

    .bans-notice {
        grid-template-columns: 1fr;
        padding: 19px;
    }

    .bans-filter-divider {
        display: none;
    }

    .bans-filter-group {
        max-width: 100%;
        flex-wrap: wrap;
        overflow: visible;
    }

    .bans-result-line {
        display: none;
    }

    .bans-list {
        border: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .bans-table-scroll {
        overflow: visible;
    }

    .bans-table,
    .bans-table tbody,
    .bans-table tr,
    .bans-table td {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .bans-table {
        min-width: 0;
    }

    .bans-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .bans-table .ban-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px 16px;
        margin-bottom: 10px;
        padding: 17px;
        border: 1px solid var(--ban-line);
        border-left: 3px solid var(--ban-accent);
        border-radius: 11px;
        background: rgba(5, 10, 17, 0.74);
        overflow: hidden;
    }

    .bans-table .ban-row[hidden] {
        display: none;
    }

    .bans-table td,
    .bans-table td:first-child,
    .bans-table td:last-child {
        padding: 0;
        border: 0;
        overflow-wrap: anywhere;
    }

    .bans-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 5px;
        color: #536477;
        font-size: 0.57rem;
        font-weight: 650;
        letter-spacing: 1.2px;
        text-transform: uppercase;
    }

    .bans-table td:nth-child(1),
    .bans-table td:nth-child(3) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {
    .bans-header {
        flex-direction: column;
        gap: 20px;
    }

    .bans-count {
        align-self: flex-start;
        margin-top: 0;
    }

    .bans-filter-group button {
        padding: 0 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ban-row,
    .bans-filter-group button,
    .ban-proof {
        transition: none;
    }
}
