/*!
 * Bans pages — visual styles for the ban appeals list (/bans) and single
 * ban appeal view (/bans/ban?id=X). Loaded only on those routes.
 */

/* ============================================================
   Ban appeal — single page redesign
   ============================================================ */

.bp-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    background: rgba(255, 255, 255, 0.04);
    color: #b8c0d0;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s, border-color 0.3s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.1px;
}
.bp-back:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.10);
    text-decoration: none;
    transform: translateX(-2px);
}
.bp-back i { font-size: 15px; transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.bp-back:hover i { transform: translateX(-2px); }

.bp {
    --bp-success: #48c388;
    --bp-success-rgb: 72, 195, 136;
    --bp-success-bg: rgba(72, 195, 136, 0.10);
    --bp-success-border: rgba(72, 195, 136, 0.32);

    --bp-warning: #e5b878;
    --bp-warning-rgb: 229, 184, 120;
    --bp-warning-bg: rgba(229, 184, 120, 0.10);
    --bp-warning-border: rgba(229, 184, 120, 0.32);

    --bp-danger: #e57878;
    --bp-danger-rgb: 229, 120, 120;
    --bp-danger-bg: rgba(229, 120, 120, 0.10);
    --bp-danger-border: rgba(229, 120, 120, 0.32);

    --bp-card-bg: #2c2f38;
    --bp-card-border: rgba(255, 255, 255, 0.07);
    --bp-icon-gradient: rgba(72, 195, 136, 0.10);
    --bp-text: #e7ebf3;
    --bp-text-muted: #9aa0ad;
    --bp-text-dim: #6e7280;

    /* spacing system (8pt) */
    --bp-s1: 4px;
    --bp-s2: 8px;
    --bp-s3: 12px;
    --bp-s4: 16px;
    --bp-s5: 20px;
    --bp-s6: 24px;
    --bp-s7: 32px;
    --bp-s8: 40px;

    /* easings */
    --bp-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --bp-ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

    --bp-shadow-1: 0 12px 32px -16px rgba(0, 0, 0, 0.55);
    --bp-shadow-2: 0 12px 32px -16px rgba(0, 0, 0, 0.55);
    --bp-shadow-3: 0 18px 40px -16px rgba(0, 0, 0, 0.55);
    --bp-shadow-glow: 0 12px 32px -16px rgba(0, 0, 0, 0.55);
    --bp-tracking: 0.18em;

    display: flex;
    flex-direction: column;
    gap: var(--bp-s4);
    margin-top: var(--bp-s1);

    --bp-accent: var(--bp-success);
    --bp-accent-rgb: var(--bp-success-rgb);
    --bp-accent-bg: var(--bp-success-bg);
    --bp-accent-border: var(--bp-success-border);
}
.bp--warning { --bp-accent: var(--bp-warning); --bp-accent-rgb: var(--bp-warning-rgb); --bp-accent-bg: var(--bp-warning-bg); --bp-accent-border: var(--bp-warning-border); }
.bp--danger  { --bp-accent: var(--bp-danger);  --bp-accent-rgb: var(--bp-danger-rgb);  --bp-accent-bg: var(--bp-danger-bg);  --bp-accent-border: var(--bp-danger-border); }

/* ───── HERO ───── */
.bp-hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--bp-s5);
    padding: 26px 28px;
    background: var(--bp-card-bg);
    border: 1px solid var(--bp-card-border);
    border-radius: 14px;
    box-shadow: var(--bp-shadow-2);
    overflow: hidden;
    animation: bpFadeIn 0.4s var(--bp-ease) both;
    isolation: isolate;
}
.bp-hero::before {
    content: 'CASE';
    position: absolute;
    z-index: 0;
    bottom: -22px;
    right: -8px;
    font-family: 'Open Sans', system-ui, sans-serif;
    font-size: 130px;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.045);
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}
.bp-hero::after { display: none; }
.bp-hero > * { position: relative; z-index: 1; }

.bp-hero__avatar {
    position: relative;
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(var(--bp-accent-rgb), 0.30);
    transition: border-color 0.22s ease;
}
.bp-hero__avatar:hover {
    border-color: rgba(var(--bp-accent-rgb), 0.55);
}
.bp-hero__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bp-hero__dot {
    position: absolute;
    right: -3px;
    bottom: -3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bp-accent);
    border: 3px solid #2a2a33;
    box-shadow: 0 0 0 1px rgba(var(--bp-accent-rgb), 0.45);
}

.bp-hero__main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bp-hero__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--bp-s4);
    flex-wrap: wrap;
}
.bp-hero__title {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.15;
}
.bp-hero__nick {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bp-hero__login {
    font-size: 12px;
    font-weight: 500;
    color: #747995;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
}
.bp-hero__login::before {
    content: '';
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--bp-accent);
    opacity: 0.7;
    transition: opacity 0.2s ease;
}
.bp-hero__login:hover { color: var(--bp-accent); text-decoration: none; }
.bp-hero__login:hover::before { opacity: 1; }

/* Status pill — IDENTICAL to appeal-card__status */
.bp-hero__status {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 11px 5px 9px;
    background: rgba(var(--bp-accent-rgb), 0.16);
    color: var(--bp-accent);
    border: 1px solid rgba(var(--bp-accent-rgb), 0.36);
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.bp-hero__status i { font-size: 12px; line-height: 1; }

.bp-hero__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    margin-top: 2px;
}
.bp-hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 11px;
    font-weight: 500;
    color: #b8c0d0;
    transition: color 0.2s ease;
}
.bp-hero__chip:hover { color: #fff; transform: none; }
.bp-hero__chip i {
    color: var(--bp-accent);
    opacity: 0.7;
    font-size: 13px;
    flex-shrink: 0;
}

/* ───── GRID ───── */
.bp-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    grid-template-areas:
        "main     aside"
        "comments aside";
    gap: var(--bp-s4);
    align-items: start;
}
.bp-main { grid-area: main; }
.bp-aside { grid-area: aside; }
.bp-comments-wrap { grid-area: comments; min-width: 0; }
.bp-main, .bp-aside, .bp-comments-wrap {
    display: flex;
    flex-direction: column;
    gap: var(--bp-s4);
    min-width: 0;
}

@media (max-width: 991.98px) {
    .bp-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "main"
            "aside"
            "comments";
    }
}

/* ───── CARD ───── */
.bp-card {
    position: relative;
    background: var(--bp-card-bg);
    border: 1px solid var(--bp-card-border);
    border-radius: 14px;
    padding: var(--bp-s5);
    box-shadow: var(--bp-shadow-2);
    transition: border-color 0.18s ease;
    animation: bpFadeIn 0.4s var(--bp-ease) both;
    overflow: hidden;
}
.bp-card::before {
    content: '';
    position: absolute;
    left: 0; top: 14px; bottom: 14px;
    width: 2px;
    background: var(--bp-accent);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.bp-main > .bp-card:nth-child(1) { animation-delay: 0.04s; }
.bp-main > .bp-card:nth-child(2) { animation-delay: 0.10s; }
.bp-main > .bp-card:nth-child(3) { animation-delay: 0.16s; }
.bp-main > .bp-card:nth-child(4) { animation-delay: 0.22s; }
.bp-main > .bp-card:nth-child(5) { animation-delay: 0.28s; }
.bp-aside > .bp-card:nth-child(1) { animation-delay: 0.06s; }
.bp-aside > .bp-card:nth-child(2) { animation-delay: 0.12s; }
.bp-aside > .bp-card:nth-child(3) { animation-delay: 0.18s; }
.bp-aside > .bp-card:nth-child(4) { animation-delay: 0.24s; }

.bp-card:not(.bp-decision):not(.bp-actions-card):hover {
    border-color: rgba(var(--bp-accent-rgb), 0.30);
}
.bp-card:not(.bp-decision):not(.bp-actions-card):hover::before { opacity: 0.55; }

/* Card hierarchy modifiers */
.bp-card--secondary { padding: var(--bp-s4) var(--bp-s5); border-radius: 12px; }

@keyframes bpFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.bp-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: var(--bp-s4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.bp-card__icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(var(--bp-accent-rgb), 0.10);
    border: 1px solid rgba(var(--bp-accent-rgb), 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bp-accent);
    font-size: 17px;
}
.bp-card__title-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
    min-width: 0;
}
.bp-card__title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.15px;
}
.bp-card__sub {
    font-size: 11px;
    font-weight: 500;
    color: var(--bp-text-muted);
    letter-spacing: 0.1px;
}
.bp-card__badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--bp-text);
    font-size: 11.5px;
    font-weight: 600;
    transition: background 0.2s var(--bp-ease-soft), border-color 0.2s var(--bp-ease-soft);
}
.bp-card:hover .bp-card__badge {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
}
.bp-card__badge i { font-size: 13px; color: var(--bp-accent); }

/* ───── INFO ROWS (ban info) ───── */
.bp-info {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.04);
}
.bp-info__row {
    display: grid;
    grid-template-columns: minmax(140px, 180px) 1fr;
    gap: var(--bp-s4);
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.012);
    transition: background 0.3s var(--bp-ease-soft);
    margin: 0;
    align-items: center;
}
.bp-info__row:hover { background: rgba(255, 255, 255, 0.025); }
.bp-info__row--accent {
    position: relative;
    background:
        linear-gradient(90deg, rgba(var(--bp-accent-rgb), 0.14) 0%, rgba(var(--bp-accent-rgb), 0.02) 100%);
    border-left: 3px solid var(--bp-accent);
    padding: 16px 16px 16px 16px;
}
.bp-info__row--accent::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(400px 80px at 0% 50%, rgba(var(--bp-accent-rgb), 0.12), transparent 70%);
    pointer-events: none;
}
.bp-info__row--accent:hover {
    background:
        linear-gradient(90deg, rgba(var(--bp-accent-rgb), 0.20) 0%, rgba(var(--bp-accent-rgb), 0.04) 100%);
}
.bp-info__row--accent .bp-info__label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
}
.bp-info__row--accent .bp-info__label i {
    font-size: 16px;
    animation: bpSoftPulse 3.4s ease-in-out infinite;
}
@keyframes bpSoftPulse {
    0%, 100% { opacity: 0.85; transform: scale(1); }
    50%      { opacity: 1;    transform: scale(1.06); }
}
.bp-info__row--accent .bp-info__value {
    font-size: 14.5px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.1px;
    position: relative;
}
.bp-info__label {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    color: var(--bp-text-muted);
}
.bp-info__label i { font-size: 14px; color: var(--bp-text-muted); }
.bp-info__row--accent .bp-info__label,
.bp-info__row--accent .bp-info__label i { color: var(--bp-accent); }
.bp-info__value {
    margin: 0;
    margin-inline-start: 0;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    word-break: break-word;
    line-height: 1.4;
}
.bp-info__link {
    background: none;
    border: 0;
    padding: 0;
    color: var(--bp-accent);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.16s;
}
.bp-info__link:hover { opacity: 0.78; }
.bp-info__link i { font-size: 13px; }

/* ───── Subgroup label inside .bp-info ───── */
.bp-info__group {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px 8px;
    margin-top: 4px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bp-text-muted);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0%, transparent 80%);
    border-top: 1px dashed rgba(255, 255, 255, 0.06);
}
.bp-info__group i {
    font-size: 13px;
    color: var(--bp-accent);
    opacity: 0.82;
}

.bp-info__value--mono {
    font-family: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
    font-size: 12.5px;
    letter-spacing: 0.02em;
    color: #e8eaf2;
}

/* Inline gamer profile inside .bp-info (admin avatar + nick link) */
.bp-info__value a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: #fff;
    padding: 3px 9px 3px 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.18s var(--bp-ease-soft), border-color 0.18s var(--bp-ease-soft);
    max-width: 100%;
    line-height: 1;
}
.bp-info__value a:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(var(--bp-accent-rgb), 0.45);
}
.bp-info__value a img,
.bp-info__value img.small_us_av {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.3);
    margin: 0;
    padding: 0;
    display: block;
}
.bp-info__value a i {
    font-style: normal;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ───── APPEAL TEXT (readable quote-block) ───── */
.bp-text {
    position: relative;
    padding: 18px 22px 18px 28px;
    background: rgba(0, 0, 0, 0.20);
    border-radius: 12px;
    border-left: 3px solid rgba(var(--bp-accent-rgb), 0.45);
    color: #d8dae5;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    word-break: break-word;
}
.bp-text::before {
    content: '\201C';
    position: absolute;
    left: 10px;
    top: -2px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 48px;
    line-height: 1;
    color: var(--bp-accent);
    opacity: 0.22;
    pointer-events: none;
}
.bp-text p { margin: 0 0 12px; }
.bp-text p:last-child { margin-bottom: 0; }
.bp-text a { color: var(--bp-accent); text-decoration: none; border-bottom: 1px dashed rgba(var(--bp-accent-rgb), 0.4); transition: border-color 0.18s; }
.bp-text a:hover { border-bottom-color: var(--bp-accent); }
.bp-text img { max-width: 100%; height: auto; border-radius: 8px; margin: 10px 0; }
.bp-text strong, .bp-text b { color: #fff; font-weight: 700; }

/* ───── EVIDENCE (file cards + gallery) ───── */
.bp-evidence { display: flex; flex-direction: column; gap: 14px; }

.bp-evidence-empty {
    display: flex;
    align-items: center;
    gap: var(--bp-s4);
    padding: 18px 20px;
    background:
        radial-gradient(ellipse 200px 80px at 50% 50%, rgba(255, 255, 255, 0.02), transparent 70%),
        rgba(0, 0, 0, 0.20);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}
.bp-evidence-empty__icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bp-text-dim);
    font-size: 22px;
}
.bp-evidence-empty__text { display: flex; flex-direction: column; gap: 3px; line-height: 1.25; }
.bp-evidence-empty__title { font-size: 13px; font-weight: 700; color: #c0c4d4; letter-spacing: -0.05px; }
.bp-evidence-empty__sub { font-size: 11.5px; font-weight: 500; color: var(--bp-text-muted); letter-spacing: 0.1px; }

/* file card — matching list aesthetic */
.bp-file {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    background:
        linear-gradient(135deg, rgba(var(--bp-accent-rgb), 0.06) 0%, transparent 55%),
        linear-gradient(180deg, rgba(46, 46, 57, 0.6) 0%, rgba(32, 32, 42, 0.85) 100%);
    border: 1px solid rgba(var(--bp-accent-rgb), 0.22);
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.bp-file:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--bp-accent-rgb), 0.42);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}
.bp-file__icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: rgba(var(--bp-accent-rgb), 0.16);
    border: 1px solid rgba(var(--bp-accent-rgb), 0.32);
    color: var(--bp-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background 0.22s ease;
}
.bp-file:hover .bp-file__icon {
    background: rgba(var(--bp-accent-rgb), 0.22);
}

/* Demo file expired/removed (3-day TTL placeholder) */
.bp-file--gone {
    background: linear-gradient(180deg, rgba(46, 46, 57, 0.45) 0%, rgba(32, 32, 42, 0.55) 100%);
    border-color: rgba(255, 255, 255, 0.06);
    cursor: default;
    opacity: 0.78;
}
.bp-file--gone:hover { transform: none; box-shadow: none; border-color: rgba(255, 255, 255, 0.06); }
.bp-file--gone .bp-file__icon {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.07);
    color: var(--bp-text-muted, #8c92a4);
}
.bp-file--gone .bp-file__name {
    color: var(--bp-text-muted, #8c92a4);
    text-decoration: line-through;
    text-decoration-color: rgba(255, 255, 255, 0.2);
}

.bp-file--ecd {
    background:
        linear-gradient(135deg, rgba(95, 168, 255, 0.10) 0%, transparent 55%),
        linear-gradient(180deg, rgba(46, 46, 57, 0.6) 0%, rgba(32, 32, 42, 0.85) 100%);
    border-color: rgba(95, 168, 255, 0.32);
}
.bp-file--ecd:hover {
    border-color: rgba(95, 168, 255, 0.55);
    box-shadow: 0 12px 26px -10px rgba(95, 168, 255, 0.35);
}
.bp-file--ecd .bp-file__icon {
    background: rgba(95, 168, 255, 0.18);
    border-color: rgba(95, 168, 255, 0.40);
    color: #5fa8ff;
}

.bp-attach {
    margin-top: 6px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.20);
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
}
.bp-attach__head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--bp-text-muted, #8c92a4);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 10px;
}
.bp-attach__head i { color: var(--bp-accent, #6cdfa3); font-size: 15px; }
.bp-attach__hint {
    margin-left: auto;
    font-size: 10.5px;
    color: var(--bp-accent, #6cdfa3);
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.02em;
    padding: 3px 8px;
    background: rgba(108, 223, 163, 0.10);
    border-radius: 6px;
}

.bp-reject__hint {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--bp-text-muted, #b8c0d0);
    line-height: 1.5;
}
.bp-reject__input {
    width: 100%;
    min-height: 130px;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.30);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    outline: none;
    resize: vertical;
    transition: border-color 0.18s ease, box-shadow 0.22s ease;
    box-sizing: border-box;
}
.bp-reject__input::placeholder { color: rgba(255, 255, 255, 0.30); }
.bp-reject__input:focus {
    border-color: rgba(255, 107, 107, 0.55);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.10);
}
.bp-reject__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.bp-reject__counter {
    font-size: 11.5px;
    color: var(--bp-text-muted, #b8c0d0);
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}
.bp-reject__counter span { color: #fff; font-weight: 700; }
.bp-reject__buttons {
    display: flex;
    gap: 8px;
    margin-left: auto;
}
.bp-reject__buttons .bp-btn {
    padding: 10px 16px;
    font-size: 13px;
}

.bp-talk__sysmsg {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
}
.bp-talk__sysmsg strong { display: block; margin-bottom: 4px; font-size: 12.5px; letter-spacing: 0.02em; }
.bp-talk__sysmsg--reject {
    background: rgba(255, 107, 107, 0.10);
    border-left: 3px solid #ff6b6b;
    color: #ffe1e1;
}
.bp-talk__sysmsg--reject strong { color: #ff9b9b; }
.bp-attach__zones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
	margin-bottom: 22px;
}
.bp-attach__zone {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    cursor: pointer;
    color: #fff;
    transition: background 0.18s ease, transform 0.18s ease;
    margin: 0;
    outline: none;
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    overflow: hidden;
}
.bp-attach__zone:hover, .bp-attach__zone.is-drop, .bp-attach__zone:focus-visible {
    background: rgba(108, 223, 163, 0.10);
    transform: translateY(-1px);
}
.bp-attach__zone.is-busy { opacity: 0.6; pointer-events: none; }
.bp-attach__zone > i {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(108, 223, 163, 0.14);
    color: #6cdfa3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}
.bp-attach__txt {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.2;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}
.bp-attach__txt strong {
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bp-attach__txt span {
    font-size: 10.5px;
    color: var(--bp-text-muted, #8c92a4);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bp-attach__status {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 12px;
    font-weight: 600;
    color: var(--bp-text-muted, #8c92a4);
}
.bp-attach__status.is-success { background: rgba(108, 223, 163, 0.14); color: #b6f3d2; }
.bp-attach__status.is-error   { background: rgba(255, 107, 107, 0.14); color: #ffb4ba; }
.bp-attach__status.is-progress{ background: rgba(247, 206, 104, 0.12); color: #ffe7b5; }

@media (max-width: 575.98px) {
    .bp-attach__zones { grid-template-columns: 1fr; }
}

.bp-demo-card {
    display: flex;
    align-items: stretch;
    gap: 14px;
    padding: 10px;
    background: linear-gradient(180deg, #2a2d36 0%, #1f222a 100%);
    border-radius: 14px;
    box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.55);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease;
}
.bp-demo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -10px rgba(0, 0, 0, 0.65);
}
.bp-demo-card__cover {
    flex-shrink: 0;
    width: 128px;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    background: #14161c;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.30);
}
.bp-demo-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bp-demo-card__cover i { font-size: 32px; }
.bp-demo-card__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 4px 0;
}
.bp-demo-card__map {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.005em;
    text-transform: lowercase;
}
.bp-demo-card__right {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    max-width: 280px;
    padding: 4px 0;
}
.bp-demo-card__name {
    color: rgba(255, 255, 255, 0.55);
    font-size: 11.5px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
    letter-spacing: 0.005em;
    text-align: right;
    max-width: 100%;
}
.bp-demo-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
}
.bp-demo-card__chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    background: rgba(0, 0, 0, 0.32);
    color: rgba(255, 255, 255, 0.82);
    border-radius: 7px;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
}
.bp-demo-card__chip i { font-size: 13px; opacity: 0.78; }
.bp-demo-card__chip--time {
    color: #fff;
    font-variant-numeric: tabular-nums;
    background: rgba(0, 0, 0, 0.48);
}
.bp-demo-card__chip--time i { color: #b6f3d2; opacity: 1; }
.bp-demo-card__cta {
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: radial-gradient(100% 100% at 50% 0, #4fea9f 0, #38644f 100%);
    color: #062e1d;
    font-size: 12.5px;
    font-weight: 800;
    border-radius: 10px;
    text-decoration: none;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.18);
    box-shadow: 0 6px 14px -6px rgba(56, 100, 79, 0.55);
    transition: transform 0.18s, box-shadow 0.22s, filter 0.18s;
    flex-shrink: 0;
    white-space: nowrap;
    line-height: 1;
    margin-right: 4px;
}
.bp-demo-card__cta i { font-size: 16px; }
.bp-demo-card__cta:hover {
    color: #062e1d;
    text-decoration: none;
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow: 0 12px 22px -8px rgba(56, 100, 79, 0.65);
}

@media (max-width: 575.98px) {
    .bp-demo-card { padding: 8px; gap: 10px; border-radius: 12px; flex-wrap: wrap; }
    .bp-demo-card__cover { width: 96px; }
    .bp-demo-card__map { font-size: 13.5px; }
    .bp-demo-card__name { font-size: 10.5px; max-width: none; }
    .bp-demo-card__right { max-width: 100%; flex: 1 1 100%; align-items: stretch; }
    .bp-demo-card__chip { font-size: 10.5px; padding: 3px 7px; }
    .bp-demo-card__cta { padding: 8px 12px; font-size: 11.5px; justify-content: center; }
    .bp-demo-card__cta i { font-size: 14px; }
}
.bp-file__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.bp-file__name {
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: -0.1px;
}
.bp-file__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.bp-file__chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #b8c0d0;
    font-size: 11px;
    font-weight: 500;
}
.bp-file__chip i { font-size: 12px; color: var(--bp-accent); opacity: 0.75; }
.bp-file__action {
    flex: 0 0 auto;
    color: var(--bp-accent);
    font-size: 20px;
    transition: transform 0.22s ease;
    opacity: 0.7;
}
.bp-file:hover .bp-file__action {
    transform: translateX(3px);
    opacity: 1;
}

.bp-gallery {
    background: linear-gradient(180deg, rgba(46, 46, 57, 0.30) 0%, rgba(0, 0, 0, 0.32) 100%);
    border: 0;
    border-radius: 14px;
    padding: 14px;
}
.bp-gallery__head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--bp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin: 0 0 12px;
}
.bp-gallery__head i { color: var(--bp-accent); font-size: 15px; }
.bp-gallery__count {
    margin-left: auto;
    padding: 3px 10px;
    background: rgba(108, 223, 163, 0.14);
    color: var(--bp-accent, #6cdfa3);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
}

.bp-shots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
}
.bp-shot {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    background: #14161c;
    cursor: zoom-in;
    text-decoration: none;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0;
    padding: 0;
    max-width: none;
}
.bp-shot:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 32px -14px rgba(0, 0, 0, 0.65);
    text-decoration: none;
}
.bp-shot__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
}
.bp-shot:hover .bp-shot__img { transform: scale(1.06); }
.bp-shot__zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.55));
    color: #fff;
    opacity: 0;
    transition: opacity 0.22s ease;
    pointer-events: none;
}
.bp-shot:hover .bp-shot__zoom { opacity: 1; }
.bp-shot__zoom i {
    font-size: 26px;
    background: rgba(0, 0, 0, 0.55);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

@media (max-width: 575.98px) {
    .bp-shots { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
    .bp-gallery { padding: 12px; }
}

/* ───── PLAYER STATS ───── */
.bp-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(95px, 1fr));
    gap: 8px;
}
.bp-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 9px;
}
.bp-stat--warn {
    background: rgba(255, 140, 140, 0.06);
    border-color: rgba(255, 140, 140, 0.28);
}
.bp-stat__label {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--bp-text-muted);
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.bp-stat__value {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.3px;
    font-feature-settings: 'tnum';
}
.bp-stat--warn .bp-stat__value { color: var(--bp-danger); }
.bp-suspicion {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    padding: 12px 14px;
    background: rgba(255, 140, 140, 0.07);
    border: 1px solid rgba(255, 140, 140, 0.28);
    border-radius: 10px;
}
.bp-suspicion > i {
    flex: 0 0 auto;
    font-size: 22px;
    color: var(--bp-danger);
    line-height: 1;
    margin-top: 2px;
}
.bp-suspicion__title {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--bp-danger);
    margin-bottom: 5px;
}
.bp-suspicion ul { margin: 0; padding-left: 18px; list-style: disc; }
.bp-suspicion li { color: #d8b8b8; font-size: 12px; font-weight: 500; line-height: 1.4; }

/* ───── DECISION CARD (matching list aesthetic) ───── */
.bp .bp-decision {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 22px 20px 20px 24px;
    background:
        radial-gradient(ellipse 70% 80% at 50% -10%, rgba(var(--bp-accent-rgb), 0.10) 0%, transparent 60%),
        var(--bp-card-bg);
    border: 1px solid rgba(var(--bp-accent-rgb), 0.28);
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    min-height: 140px;
}
.bp .bp-decision::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--bp-accent), rgba(var(--bp-accent-rgb), 0.5));
    box-shadow: 0 0 14px rgba(var(--bp-accent-rgb), 0.22);
}
.bp .bp-decision__icon {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(var(--bp-accent-rgb), 0.16);
    border: 1px solid rgba(var(--bp-accent-rgb), 0.36);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bp-accent);
    font-size: 26px;
    position: relative;
    z-index: 1;
}
.bp .bp-decision__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    line-height: 1.2;
    width: 100%;
}
.bp .bp-decision__label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--bp-text-muted);
    text-transform: uppercase;
    letter-spacing: 1.4px;
}
.bp .bp-decision__value {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.3px;
}
.bp .bp-decision__by {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    color: var(--bp-text-muted);
    line-height: 1.3;
}
.bp .bp-decision__by a {
    color: var(--bp-accent);
    text-decoration: none;
    font-weight: 700;
    margin-left: 2px;
}
.bp .bp-decision__by a:hover { text-decoration: underline; }

/* ───── STEPS (premium animated timeline) ───── */
.bp-steps {
    margin: 0;
    padding: 0 0 0 2px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--bp-s2);
}
.bp-steps__item {
    position: relative;
    display: flex;
    gap: var(--bp-s4);
    align-items: flex-start;
    padding: var(--bp-s1) 0;
    animation: bpStepIn 0.5s var(--bp-ease) both;
}
.bp-steps__item:nth-child(1) { animation-delay: 0.10s; }
.bp-steps__item:nth-child(2) { animation-delay: 0.20s; }
.bp-steps__item:nth-child(3) { animation-delay: 0.30s; }
@keyframes bpStepIn {
    from { opacity: 0; transform: translateX(-8px); }
    to   { opacity: 1; transform: translateX(0); }
}
/* Connect line (rail) */
.bp-steps__item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 13px;
    top: 30px;
    bottom: -10px;
    width: 2px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}
/* Filled rail for done steps with smooth scale-y */
.bp-steps__item--done:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 13px;
    top: 30px;
    bottom: -10px;
    width: 2px;
    background: linear-gradient(180deg, var(--bp-success) 0%, rgba(var(--bp-success-rgb), 0.4) 100%);
    border-radius: 2px;
    box-shadow: 0 0 6px rgba(var(--bp-success-rgb), 0.35);
    animation: bpFillLine 0.8s var(--bp-ease) both;
    transform-origin: top;
}
@keyframes bpFillLine {
    from { transform: scaleY(0); }
    to   { transform: scaleY(1); }
}
.bp-steps__bullet {
    flex: 0 0 auto;
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bp-text-dim);
    font-size: 13px;
    z-index: 1;
    transition: transform 0.22s ease;
}
.bp-steps__item--done .bp-steps__bullet {
    background: rgba(var(--bp-success-rgb), 0.16);
    border-color: rgba(var(--bp-success-rgb), 0.36);
    color: var(--bp-success);
}
.bp-steps__item--current .bp-steps__bullet {
    background: rgba(var(--bp-warning-rgb), 0.16);
    border-color: rgba(var(--bp-warning-rgb), 0.42);
    color: var(--bp-warning);
}
.bp-steps__item--current .bp-steps__bullet i { animation: bpSpin 1.6s linear infinite; }
.bp-steps__item--final .bp-steps__bullet {
    background: rgba(var(--bp-accent-rgb), 0.16);
    border-color: rgba(var(--bp-accent-rgb), 0.42);
    color: var(--bp-accent);
}
@keyframes bpSpin { to { transform: rotate(360deg); } }
.bp-steps__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1.3;
    min-width: 0;
    padding-top: 3px;
}
.bp-steps__label {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.05px;
}
.bp-steps__item--pending .bp-steps__label { color: var(--bp-text-dim); font-weight: 500; }
.bp-steps__meta {
    font-size: 11px;
    font-weight: 500;
    color: var(--bp-text-muted);
    letter-spacing: 0.1px;
}

/* ───── ACTIONS (matching list aesthetic) ───── */
.bp-actions { display: flex; flex-direction: column; gap: var(--bp-s2); }
.bp-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.03);
    color: #b8c0d0;
    font-family: Montserrat, sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
    line-height: 1;
    text-align: center;
    letter-spacing: 0.1px;
}
.bp-btn i { font-size: 16px; }
.bp-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.10);
    transform: translateY(-1px);
}
.bp-btn:active { transform: translateY(0); }

/* PRIMARY (approve) */
.bp-btn--success {
    background: linear-gradient(135deg, rgba(72, 195, 136, 0.30) 0%, rgba(72, 195, 136, 0.18) 100%);
    color: #fff;
    border-color: rgba(72, 195, 136, 0.45);
    font-weight: 700;
}
.bp-btn--success:hover {
    background: linear-gradient(135deg, rgba(72, 195, 136, 0.42) 0%, rgba(72, 195, 136, 0.28) 100%);
    border-color: rgba(72, 195, 136, 0.65);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -4px rgba(72, 195, 136, 0.30);
}

/* SECONDARY (reject) */
.bp-btn--danger {
    background: rgba(255, 121, 121, 0.10);
    border-color: rgba(255, 121, 121, 0.36);
    color: var(--bp-danger);
    font-weight: 700;
}
.bp-btn--danger:hover {
    background: rgba(255, 121, 121, 0.18);
    color: #ff9f9f;
    border-color: rgba(255, 121, 121, 0.55);
    transform: translateY(-1px);
}

/* GHOST (delete) */
.bp-btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.05);
    color: var(--bp-text-dim);
}
.bp-btn--ghost:hover {
    background: rgba(255, 121, 121, 0.06);
    border-color: rgba(255, 121, 121, 0.24);
    color: var(--bp-danger);
}

/* ───── HEATMAP (animated, with hover tooltip + today highlight) ───── */
.bp-heatmap-summary {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 14px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.20);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 9px;
    font-size: 11.5px;
    color: var(--bp-text-muted);
    font-weight: 500;
}
.bp-heatmap-summary b {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    font-feature-settings: 'tnum';
}
.bp-heatmap { display: flex; flex-direction: column; gap: 7px; }
.bp-heatmap-row {
    position: relative;
    display: grid;
    grid-template-columns: 30px 1fr 28px;
    gap: 10px;
    align-items: center;
    padding: 4px 6px;
    border-radius: 7px;
    cursor: default;
    transition: background 0.18s;
    animation: bpHeatmapIn 0.45s ease both;
}
.bp-heatmap-row:nth-child(1) { animation-delay: 0.05s; }
.bp-heatmap-row:nth-child(2) { animation-delay: 0.10s; }
.bp-heatmap-row:nth-child(3) { animation-delay: 0.15s; }
.bp-heatmap-row:nth-child(4) { animation-delay: 0.20s; }
.bp-heatmap-row:nth-child(5) { animation-delay: 0.25s; }
.bp-heatmap-row:nth-child(6) { animation-delay: 0.30s; }
.bp-heatmap-row:nth-child(7) { animation-delay: 0.35s; }
@keyframes bpHeatmapIn {
    from { opacity: 0; transform: translateX(-4px); }
    to   { opacity: 1; transform: translateX(0); }
}
.bp-heatmap-row:hover { background: rgba(255, 255, 255, 0.03); }
.bp-heatmap-row--today {
    background: rgba(var(--bp-success-rgb), 0.06);
    box-shadow: inset 0 0 0 1px rgba(var(--bp-success-rgb), 0.16);
}
.bp-heatmap-day {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--bp-text-muted);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.bp-heatmap-row--today .bp-heatmap-day {
    color: var(--bp-success);
    font-weight: 800;
}
.bp-heatmap-track {
    position: relative;
    height: 9px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
}
.bp-heatmap-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--bp-fill-w, 0%);
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(255, 140, 140, 0.45) 0%, rgba(255, 140, 140, 0.85) 100%);
    box-shadow: 0 0 8px rgba(255, 140, 140, 0.30);
    animation: bpHeatmapFill 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s both;
}
@keyframes bpHeatmapFill {
    from { width: 0; }
    to   { width: var(--bp-fill-w, 0%); }
}
.bp-heatmap-row--today .bp-heatmap-fill {
    background: linear-gradient(90deg, rgba(var(--bp-success-rgb), 0.55) 0%, rgba(var(--bp-success-rgb), 1) 100%);
    box-shadow: 0 0 12px rgba(var(--bp-success-rgb), 0.45);
}
.bp-heatmap-row--empty .bp-heatmap-fill { background: rgba(255, 255, 255, 0.05); box-shadow: none; }
.bp-heatmap-count {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-align: right;
    font-feature-settings: 'tnum';
}
.bp-heatmap-row--empty .bp-heatmap-count { color: #555766; font-weight: 500; }
/* CSS tooltip on hover */
.bp-heatmap-row[data-tip]::after {
    content: attr(data-tip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 4px);
    transform: translateX(-50%) translateY(4px);
    padding: 5px 10px;
    background: #1a1a22;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s, transform 0.18s;
    z-index: 5;
}
.bp-heatmap-row[data-tip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ───── DISCUSSION (chat-style bubbles) ───── */
.bp-talk__editor {
    margin-bottom: 16px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: border-color 0.22s ease;
}
.bp-talk__editor:focus-within { border-color: rgba(var(--bp-accent-rgb), 0.30); }

.bp-talk__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.bp-talk__toolbar-left { display: flex; gap: 8px; align-items: center; }

.bp-card #send_btn {
    background: linear-gradient(135deg, rgba(72, 195, 136, 0.28) 0%, rgba(72, 195, 136, 0.16) 100%);
    color: #fff;
    border: 1px solid rgba(72, 195, 136, 0.42);
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    height: auto;
    transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}
.bp-card #send_btn:hover {
    background: linear-gradient(135deg, rgba(72, 195, 136, 0.38) 0%, rgba(72, 195, 136, 0.24) 100%);
    border-color: rgba(72, 195, 136, 0.6);
    color: #fff;
    transform: translateY(-1px);
}

.bp-card #smile_btn {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.bp-card #smile_btn:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(var(--bp-accent-rgb), 0.32);
    transform: scale(1.06);
}

.bp-talk__hint {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #6c6c80;
    font-size: 11px;
    font-weight: 500;
}
.bp-talk__hint i { font-size: 13px; }

.bp-talk__guest {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    margin-bottom: 14px;
    background:
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.012) 0 12px, transparent 12px 24px),
        rgba(0, 0, 0, 0.20);
    border: 1px dashed rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    color: #8e8ea4;
    font-size: 12.5px;
    font-weight: 500;
}
.bp-talk__guest i { color: var(--bp-accent); font-size: 16px; }

.bp-talk__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.bp-talk__list > .loader { align-self: center; padding: 24px 0; }
.bp-talk__list > .empty-element {
    padding: 32px 16px;
    text-align: center;
    color: #6c6c80;
    font-size: 12.5px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.18);
    border-radius: 10px;
    border: 1px dashed rgba(255, 255, 255, 0.06);
}

/* COMMENT — clean chat layout */
.bp-talk__list .comment {
    position: relative;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 12px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    margin: 0;
    align-items: start;
    animation: bpFadeIn 0.35s ease both;
}

/* Avatar — round, accent ring, hover scale */
.bp-talk__list .comment > a:first-child {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.02);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
    display: block;
    line-height: 0;
    grid-row: span 2;
    align-self: start;
    float: none;
    padding: 0;
    background: rgba(0, 0, 0, 0.2);
}
.bp-talk__list .comment:hover > a:first-child {
    border-color: rgba(var(--bp-accent-rgb), 0.45);
    box-shadow: 0 0 0 3px rgba(var(--bp-accent-rgb), 0.12);
}
.bp-talk__list .comment > a:first-child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    padding: 0;
    top: auto;
    left: auto;
    position: static;
    background: none;
    border-radius: 0;
    margin: 0;
}

/* Bubble — clean card, lighter than parent for contrast, no triangle */
.bp-talk__list .comment .message {
    position: relative;
    min-width: 0;
    width: auto;
    float: none;
    left: auto;
    padding: 10px 14px 11px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: border-color 0.22s ease, background 0.22s ease;
}
.bp-talk__list .comment:hover .message {
    border-color: rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
}

/* Header row */
.bp-talk__list .comment .message .info {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 4px;
    height: auto;
    line-height: 1.2;
}
.bp-talk__list .comment .message .info .author {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
    flex-wrap: wrap;
}

/* Author name — picks up role color via inline style */
.bp-talk__list .comment .message .info .author > a {
    position: relative;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    letter-spacing: -0.05px;
    transition: opacity 0.2s ease;
}
.bp-talk__list .comment .message .info .author > a:hover { opacity: 0.85; text-decoration: none; }

/* Time — subtle inline text, no pill */
.bp-talk__list .comment .message .info .author .date_short {
    color: #6f758f;
    font-size: 10.5px;
    font-weight: 500;
    flex-shrink: 0;
    letter-spacing: 0.1px;
    background: none;
    border: 0;
    padding: 0;
    position: relative;
    padding-left: 8px;
}
.bp-talk__list .comment .message .info .author .date_short::before {
    content: '·';
    position: absolute;
    left: 0;
    color: #4a4f63;
    font-weight: 700;
}

.bp-talk__list .comment .message .info b {
    display: flex;
    align-items: center;
    margin: 0;
    font-weight: normal;
}
.bp-talk__list .comment .dell_message {
    opacity: 0;
    transition: opacity 0.18s, color 0.18s, background 0.18s;
    font-size: 14px;
    color: #555766;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.bp-talk__list .comment:hover .dell_message { opacity: 0.7; }
.bp-talk__list .comment .dell_message:hover { opacity: 1; color: var(--bp-danger); background: rgba(255, 121, 121, 0.12); }

/* Body */
.bp-talk__list .comment .with_code,
.bp-talk__list .comment .with_code p {
    color: #d8dae5;
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.6;
    word-break: break-word;
    margin: 0 0 4px;
}
.bp-talk__list .comment .with_code p:last-child { margin-bottom: 0; }
.bp-talk__list .comment .with_code a {
    color: var(--bp-accent);
    text-decoration: none;
    border-bottom: 1px dashed rgba(var(--bp-accent-rgb), 0.4);
}
.bp-talk__list .comment .with_code a:hover { border-bottom-color: var(--bp-accent); }

/* Author's role color (from inline style) creates a soft glow on hover */
.bp-talk__list .comment .author > a {
    text-shadow: 0 0 12px transparent;
    transition: opacity 0.2s ease, text-shadow 0.3s ease;
}
.bp-talk__list .comment:hover .author > a {
    text-shadow: 0 0 14px currentColor;
}

/* ───── ASIDE: smaller cards, tighter spacing (secondary hierarchy) ───── */
.bp-aside .bp-card:not(.bp-decision) {
    padding: 18px 20px;
}
.bp-aside .bp-card__head {
    margin-bottom: 14px;
    padding-bottom: 12px;
}
.bp-aside .bp-card__icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
    border-radius: 9px;
}
.bp-aside .bp-card__title { font-size: 13px; }
.bp-aside .bp-card__sub { font-size: 11px; }

/* ───── ASIDE on desktop — natural flow, no clipping ───── */
@media (min-width: 992px) {
    .bp-aside {
        align-self: start;
    }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — mobile-first adaptive layout
   ═══════════════════════════════════════════════════════════ */

/* ── Tablet (≤991px): single column layout ── */
@media (max-width: 991.98px) {
    .bp { gap: 12px; }
    .bp-grid { grid-template-columns: 1fr; gap: 12px; }
    .bp-aside { order: 2; gap: 12px; }
    .bp-decision { order: -1; }
    .bp-hero { padding: 20px 22px 20px 28px; gap: 18px; }
    .bp-hero__avatar { width: 70px; height: 70px; border-radius: 13px; }
    .bp-hero__nick { font-size: 22px; }
    .bp-card { padding: 18px 20px; }
    .bp-card--secondary, .bp-aside .bp-card:not(.bp-decision) { padding: 18px 20px; }
}

/* ── Mobile (≤767px): compact spacing, touch-friendly ── */
@media (max-width: 767.98px) {
    .heading_block {
        flex-wrap: wrap;
        gap: 10px;
    }
    .bp-back {
        font-size: 11.5px;
        padding: 8px 12px;
    }
    .bp-back span { display: inline; }

    .bp-hero {
        gap: 14px;
        padding: 18px 18px 18px 24px;
    }
    .bp-hero::before { width: 3px; }
    .bp-hero__avatar { width: 60px; height: 60px; border-radius: 12px; }
    .bp-hero__dot { width: 14px; height: 14px; border-width: 2.5px; right: -2px; bottom: -2px; }
    .bp-hero__nick { font-size: 19px; letter-spacing: -0.3px; }
    .bp-hero__login { font-size: 11.5px; }

    .bp-hero__top {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 8px;
    }
    .bp-hero__status {
        font-size: 9.5px;
        padding: 4px 10px 4px 8px;
    }
    .bp-hero__meta {
        gap: 4px 10px;
        padding-top: 8px;
    }
    .bp-hero__chip { font-size: 10.5px; }
    .bp-hero__chip i { font-size: 12px; }

    .bp-card { padding: 16px 18px; border-radius: 12px; }
    .bp-card__head {
        gap: 10px;
        padding-bottom: 11px;
        margin-bottom: 13px;
    }
    .bp-card__icon { width: 32px; height: 32px; font-size: 15px; border-radius: 9px; }
    .bp-card__title { font-size: 13.5px; }
    .bp-card__sub { font-size: 10.5px; }

    /* Info rows: stack label/value vertically */
    .bp-info__row {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 11px 14px;
    }
    .bp-info__row--accent { padding: 13px 14px; }
    .bp-info__label { font-size: 10.5px; }
    .bp-info__value { font-size: 13px; }

    /* Appeal text */
    .bp-text {
        padding: 16px 18px 16px 22px;
        font-size: 13.5px;
        line-height: 1.65;
    }
    .bp-text::before { font-size: 40px; left: 8px; }

    /* File card */
    .bp-file { padding: 11px 12px; gap: 10px; }
    .bp-file__icon { width: 38px; height: 38px; font-size: 18px; border-radius: 10px; }
    .bp-file__name { font-size: 13px; }
    .bp-file__chip { font-size: 10.5px; }

    /* Gallery */
    .bp-gallery { padding: 12px; }
    .bp-gallery__grid #imgs {
        grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
        gap: 6px;
    }

    /* Decision card */
    .bp-decision { padding: 18px 18px 16px; gap: 12px; }
    .bp-decision__icon { width: 50px; height: 50px; font-size: 22px; border-radius: 13px; }
    .bp-decision__value { font-size: 18px; }

    /* Steps */
    .bp-steps__item { gap: 12px; }
    .bp-steps__bullet { width: 26px; height: 26px; font-size: 12px; }
    .bp-steps__item:not(:last-child)::before,
    .bp-steps__item--done:not(:last-child)::after { left: 12px; top: 28px; }

    /* Touch-friendly buttons (44px min height) */
    .bp-btn {
        padding: 13px 14px;
        font-size: 13px;
        min-height: 44px;
    }
    .bp-btn--success { padding: 13px 16px; min-height: 46px; }
    .bp-btn i { font-size: 17px; }

    /* Heatmap */
    .bp-heatmap-summary {
        padding: 9px 11px;
        font-size: 11px;
    }
    .bp-heatmap-summary b { font-size: 13px; }
    .bp-heatmap-row { grid-template-columns: 26px 1fr 24px; gap: 8px; }
    .bp-heatmap-day { font-size: 10px; }

    /* Discussion */
    .bp-talk__editor { padding: 10px; }
    .bp-talk__list { gap: 12px; padding-top: 16px; }
    .bp-talk__list .comment {
        grid-template-columns: 36px 1fr;
        gap: 10px;
    }
    .bp-talk__list .comment > a:first-child {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }
    .bp-talk__list .comment .message { padding: 9px 12px 10px; border-radius: 11px; }
    .bp-talk__list .comment .message .info {
        flex-wrap: wrap;
        gap: 4px 8px;
        margin-bottom: 3px;
    }
    .bp-talk__list .comment .message .info .author > a { font-size: 12.5px; }
    .bp-talk__list .comment .message .info .author .date_short { font-size: 10px; }
    .bp-talk__list .comment .with_code,
    .bp-talk__list .comment .with_code p { font-size: 13px; line-height: 1.55; }

    /* Send button */
    .bp-card #send_btn {
        padding: 11px 18px;
        min-height: 42px;
        font-size: 12px;
        flex: 1;
    }
    .bp-talk__toolbar { gap: 8px; }
    .bp-talk__toolbar-left { flex: 1; }
    .bp-talk__hint { font-size: 10.5px; }
}

/* ── Small mobile (≤575px): stack hero + minimal padding ── */
@media (max-width: 575.98px) {
    .bp-hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 18px 18px 18px 22px;
    }
    .bp-hero__avatar { width: 64px; height: 64px; }
    .bp-hero__main { width: 100%; }
    .bp-hero__nick {
        font-size: 18px;
        white-space: normal;
        word-break: break-word;
    }
    .bp-hero__top {
        flex-direction: column-reverse;
        align-items: flex-start;
        width: 100%;
    }

    /* Cards even more compact */
    .bp-card { padding: 14px 16px; }
    .bp-card__head {
        padding-bottom: 10px;
        margin-bottom: 12px;
    }

    /* Card head badge stacks if needed */
    .bp-card__badge { font-size: 10.5px; padding: 3px 8px; }

    /* Decision compact */
    .bp-decision { padding: 16px 14px 14px; }
    .bp-decision__icon { width: 46px; height: 46px; font-size: 20px; }
    .bp-decision__value { font-size: 17px; }
    .bp-decision__label { font-size: 9.5px; letter-spacing: 1px; }

    /* Reduce action buttons gap */
    .bp-actions { gap: 6px; }

    /* Heatmap rows tighter */
    .bp-heatmap-row { grid-template-columns: 22px 1fr 22px; gap: 6px; padding: 3px 4px; }

    /* Talk hint hides on tiny screens */
    .bp-talk__hint { display: none; }
    .bp-talk__toolbar-left { width: 100%; gap: 6px; }
}

/* ── Tiny mobile (≤390px): edge-case minimal ── */
@media (max-width: 389.98px) {
    .bp-hero { padding: 16px 16px 16px 20px; }
    .bp-hero__avatar { width: 56px; height: 56px; border-radius: 11px; }
    .bp-hero__nick { font-size: 17px; }
    .bp-card { padding: 13px 14px; border-radius: 11px; }
    .bp-card__icon { width: 30px; height: 30px; font-size: 14px; }
    .bp-info__row { padding: 10px 12px; }
    .bp-text { padding: 14px 16px 14px 20px; font-size: 13px; }
    .bp-btn { padding: 12px 12px; font-size: 12.5px; }
    .bp-talk__list .comment { gap: 8px; grid-template-columns: 32px 1fr; }
    .bp-talk__list .comment > a:first-child { width: 32px; height: 32px; min-width: 32px; }
    .bp-talk__list .comment .message { padding: 8px 11px 9px; }
    .bp-back span { display: none; }
    .bp-back { padding: 8px 10px; }
    .bp-back i { font-size: 16px; }
}

/* ── Touch devices (no hover): always show delete buttons ── */
@media (hover: none) {
    .bp-talk__list .comment .dell_message { opacity: 0.45; }
    .bp-card:not(.bp-decision):not(.bp-actions-card):hover { transform: none; }
    .bp-hero__avatar:hover { transform: none; }
    .bp-file:hover { transform: none; }
    .bp-talk__list .comment:hover > a:first-child { transform: none; }
    .bp-btn:hover { transform: none; }
}

/* === Bans index — editorial redesign === */

.bans-hero {
    --bh-panel: #2c2f38;
    --bh-border: rgba(255, 255, 255, 0.07);
    --bh-border-strong: rgba(255, 255, 255, 0.12);
    --bh-text: #e7ebf3;
    --bh-muted: #9aa0ad;
    --bh-dim: #6e7280;
    --bh-accent: #48c388;
    --bh-tracking: 0.18em;

    position: relative;
    overflow: hidden;
    padding: 32px 32px 28px;
    margin-bottom: 14px;
    background: var(--bh-panel);
    border: 1px solid var(--bh-border);
    border-radius: 14px;
    box-shadow: 0 12px 32px -16px rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
    gap: 18px;
    isolation: isolate;
}
.bans-hero__number {
    position: absolute;
    z-index: 0;
    bottom: -22px;
    right: -8px;
    font-family: 'Open Sans', system-ui, sans-serif;
    font-size: 150px;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.045);
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}
.bans-hero__top {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.bans-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: var(--bh-tracking);
    text-transform: uppercase;
    color: var(--bh-muted);
}
.bans-hero__eyebrow-rule {
    width: 22px;
    height: 1px;
    background: var(--bh-border-strong);
    flex-shrink: 0;
}
.bans-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 18px 0 22px;
    height: 44px;
    background: var(--bh-accent);
    border-radius: 10px;
    color: #0a1f15;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.18s ease, transform 0.15s ease;
    white-space: nowrap;
}
.bans-hero__cta-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: rgba(0, 0, 0, 0.14);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 16px;
}
.bans-hero__cta:hover {
    background: #5cd29a;
    color: #0a1f15;
    text-decoration: none;
}
.bans-hero__cta:hover .bans-hero__cta-arrow { transform: translateX(3px); }

.bans-hero__title {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--bh-text);
    letter-spacing: -0.5px;
}
.bans-hero__title em { font-style: normal; color: var(--bh-accent); }

.bans-hero__desc {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--bh-muted);
    max-width: 620px;
}

.bans-hero__meta {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--bh-border);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--bh-dim);
}
.bans-hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--bh-muted);
}
.bans-hero__chip i {
    font-size: 14px;
    color: var(--bh-accent);
    opacity: 0.85;
}

@media (max-width: 767.98px) {
    .bans-hero { padding: 22px 20px; gap: 14px; }
    .bans-hero__title { font-size: 22px; }
    .bans-hero__desc { font-size: 13px; }
    .bans-hero__number { font-size: 100px; bottom: -16px; right: -6px; }
    .bans-hero__cta { width: 100%; }
}

/* ============================================================
   Ban appeals — list (case archive)
   ============================================================ */

.appeals-board {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
}

.appeals-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 4px;
}
.appeals-section-header__rule {
    width: 22px;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}
.appeals-section-header__title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9aa0ad;
    flex: 1;
}
.appeals-section-header__hint {
    font-size: 11px;
    color: #6e7280;
    font-variant-numeric: tabular-nums;
}

.appeals-pagination {
    margin-top: 6px;
    display: flex;
    justify-content: center;
}

/* ─── Stats / filters ─── */

.appeals-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.appeals-stat {
    --stat-color: #9aa0ad;
    --stat-rgb: 154, 160, 173;

    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #2c2f38;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    box-shadow: 0 12px 32px -16px rgba(0, 0, 0, 0.55);
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
    overflow: hidden;
}
.appeals-stat::before {
    content: '';
    position: absolute;
    left: 0; top: 14px; bottom: 14px;
    width: 2px;
    background: var(--stat-color);
    opacity: 0;
    transition: opacity 0.22s ease;
}
.appeals-stat:hover {
    border-color: rgba(var(--stat-rgb), 0.30);
    text-decoration: none;
    transform: translateY(-1px);
}
.appeals-stat:hover::before { opacity: 0.5; }
.appeals-stat.is-active {
    border-color: rgba(var(--stat-rgb), 0.45);
    background: linear-gradient(180deg, rgba(var(--stat-rgb), 0.06), transparent 60%), #2c2f38;
}
.appeals-stat.is-active::before { opacity: 1; }

.appeals-stat--all       { --stat-color: #9aa0ad; --stat-rgb: 154, 160, 173; }
.appeals-stat--pending   { --stat-color: #e5b878; --stat-rgb: 229, 184, 120; }
.appeals-stat--approved  { --stat-color: #48c388; --stat-rgb: 72, 195, 136; }
.appeals-stat--rejected  { --stat-color: #e57878; --stat-rgb: 229, 120, 120; }

.appeals-stat__icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--stat-rgb), 0.10);
    border: 1px solid rgba(var(--stat-rgb), 0.22);
    color: var(--stat-color);
    font-size: 17px;
    transition: background 0.18s ease;
}
.appeals-stat__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}
.appeals-stat__value {
    font-size: 20px;
    font-weight: 800;
    color: #e7ebf3;
    letter-spacing: -0.4px;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
.appeals-stat__label {
    font-size: 10.5px;
    font-weight: 700;
    color: #6e7280;
    text-transform: uppercase;
    letter-spacing: 0.10em;
}
.appeals-stat__check { display: none; }

/* ─── List of cards ─── */

.appeals-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.appeal-card {
    --row-accent: #9aa0ad;
    --row-rgb: 154, 160, 173;

    position: relative;
    display: flex;
    flex-direction: column;
    padding: 16px 18px;
    background: #2c2f38;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    box-shadow: 0 12px 32px -16px rgba(0, 0, 0, 0.55);
    color: #e7ebf3;
    text-decoration: none;
    transition: border-color 0.18s ease, transform 0.18s ease;
    overflow: hidden;
    gap: 14px;
}
.appeal-card::before {
    content: '';
    position: absolute;
    left: 0; top: 14px; bottom: 14px;
    width: 2px;
    background: var(--row-accent);
    opacity: 0;
    transition: opacity 0.22s ease;
}
.appeal-card:hover {
    border-color: rgba(var(--row-rgb), 0.35);
    text-decoration: none;
    color: #fff;
    transform: translateY(-1px);
}
.appeal-card:hover::before { opacity: 0.55; }

.appeal-card--success { --row-accent: #48c388; --row-rgb: 72, 195, 136; }
.appeal-card--warning { --row-accent: #e5b878; --row-rgb: 229, 184, 120; }
.appeal-card--danger  { --row-accent: #e57878; --row-rgb: 229, 120, 120; }

.appeal-card__stripe { display: none; }

.appeal-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.appeal-card__id {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6e7280;
    line-height: 1;
}
.appeal-card__id-label { color: #6e7280; }
.appeal-card__id-value {
    color: #9aa0ad;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
    text-transform: none;
    font-size: 12px;
}
.appeal-card__status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid transparent;
    white-space: nowrap;
}
.appeal-card__status i { font-size: 11px; line-height: 1; }
.appeal-card__status--success {
    background: rgba(72, 195, 136, 0.10);
    color: #48c388;
    border-color: rgba(72, 195, 136, 0.32);
}
.appeal-card__status--warning {
    background: rgba(229, 184, 120, 0.10);
    color: #e5b878;
    border-color: rgba(229, 184, 120, 0.32);
}
.appeal-card__status--danger {
    background: rgba(229, 120, 120, 0.10);
    color: #e57878;
    border-color: rgba(229, 120, 120, 0.32);
}

.appeal-card__player {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.appeal-card__avatar {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: border-color 0.18s ease;
}
.appeal-card:hover .appeal-card__avatar { border-color: rgba(var(--row-rgb), 0.40); }
.appeal-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.appeal-card__player-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1.2;
    min-width: 0;
    flex: 1;
}
.appeal-card__nick {
    font-size: 14px;
    font-weight: 700;
    color: #e7ebf3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: -0.2px;
}
.appeal-card__author {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 500;
    color: #6e7280;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}
.appeal-card__author i {
    font-size: 12px;
    line-height: 1;
    color: #6e7280;
}
.appeal-card__author span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.appeal-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: auto;
}
.appeal-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: #9aa0ad;
    min-width: 0;
    overflow: hidden;
    max-width: 100%;
}
.appeal-card__meta-item i {
    color: #6e7280;
    font-size: 13px;
    flex-shrink: 0;
}
.appeal-card__meta-item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ─── Empty state ─── */

.ban-apps-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 56px 28px;
    background: #2c2f38;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    box-shadow: 0 12px 32px -16px rgba(0, 0, 0, 0.55);
    color: #9aa0ad;
    gap: 12px;
    text-align: center;
}
.ban-apps-empty i {
    font-size: 32px;
    color: #48c388;
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(72, 195, 136, 0.08);
    border: 1px solid rgba(72, 195, 136, 0.22);
}
.ban-apps-empty span {
    font-size: 14px;
    font-weight: 700;
    color: #e7ebf3;
    letter-spacing: -0.2px;
}

/* ─── Responsive ─── */

@media (max-width: 991.98px) {
    .appeals-stats { grid-template-columns: repeat(2, 1fr); }
    .appeals-list { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .appeals-stat { padding: 12px 14px; gap: 10px; }
    .appeals-stat__value { font-size: 18px; }
}

/* ═══════════════════════════════════════════════════════════
   Trust Score — moderator helper card
   ═══════════════════════════════════════════════════════════ */

.bp .bp-score {
    --score-color: var(--bp-success);
    --score-rgb: var(--bp-success-rgb);
    overflow: hidden;
}
.bp .bp-score--success { --score-color: var(--bp-success); --score-rgb: var(--bp-success-rgb); }
.bp .bp-score--warning { --score-color: var(--bp-warning); --score-rgb: var(--bp-warning-rgb); }
.bp .bp-score--danger  { --score-color: var(--bp-danger);  --score-rgb: var(--bp-danger-rgb); }

/* Gauge */
.bp .bp-score__gauge-wrap {
    position: relative;
    width: 144px;
    height: 144px;
    min-height: 144px;
    margin: 4px auto 14px;
    flex-shrink: 0;
}
.bp .bp-score__gauge {
    width: 144px;
    height: 144px;
    display: block;
    overflow: visible;
}
.bp-score__gauge-bg { stroke: rgba(255, 255, 255, 0.05); }
.bp-score__gauge-fg {
    stroke: var(--score-color);
    transition: stroke-dashoffset 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 0 6px rgba(var(--score-rgb), 0.36));
    animation: bpScoreFill 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
@keyframes bpScoreFill {
    from { stroke-dashoffset: 276.46; }
}
.bp-score__gauge-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}
.bp-score__value {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -1.2px;
    font-feature-settings: 'tnum';
    text-shadow: 0 0 18px rgba(var(--score-rgb), 0.32);
}
.bp-score__label {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--score-color);
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-top: 2px;
}

/* Factors */
.bp-score__factors {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 12px;
}
.bp-score__factor {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 8px 11px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 9px;
    transition: border-color 0.22s ease, background 0.22s ease;
}
.bp-score__factor:hover {
    border-color: rgba(255, 255, 255, 0.07);
    background: rgba(0, 0, 0, 0.22);
}
.bp-score__factor-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.bp-score__factor--good .bp-score__factor-icon {
    background: rgba(72, 195, 136, 0.12);
    border: 1px solid rgba(72, 195, 136, 0.24);
    color: var(--bp-success);
}
.bp-score__factor--bad .bp-score__factor-icon {
    background: rgba(255, 121, 121, 0.10);
    border: 1px solid rgba(255, 121, 121, 0.28);
    color: var(--bp-danger);
}
.bp-score__factor-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.2;
    min-width: 0;
}
.bp-score__factor-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--bp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.bp-score__factor-value {
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bp-score__factor-sign {
    font-size: 12.5px;
    font-weight: 800;
    font-feature-settings: 'tnum';
    flex-shrink: 0;
}
.bp-score__factor--good .bp-score__factor-sign { color: var(--bp-success); }
.bp-score__factor--bad  .bp-score__factor-sign { color: var(--bp-danger); }

/* Hint */
.bp-score__hint {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 10px;
    margin-top: 2px;
    border-top: 1px dashed rgba(255, 255, 255, 0.06);
    font-size: 10.5px;
    font-weight: 500;
    color: var(--bp-text-muted);
    letter-spacing: 0.1px;
}
.bp-score__hint i { font-size: 13px; color: var(--bp-text-muted); }

/* Responsive */
@media (max-width: 767.98px) {
    .bp-score__gauge-wrap { width: 124px; height: 124px; }
    .bp-score__value { font-size: 32px; }
}

/* ═══════════════════════════════════════════════════════════
   Add appeal — submission wizard
   ═══════════════════════════════════════════════════════════ */

.bp-grid--form { grid-template-columns: minmax(0, 1fr) 320px; }

/* ───── STEPPER ───── */
.ba-stepper {
    list-style: none;
    margin: 0;
    padding: 18px 22px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    background: var(--bp-card-bg);
    border: 1px solid var(--bp-card-border);
    border-radius: 14px;
    position: relative;
}
.ba-stepper__step {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 8px;
    z-index: 1;
}
.ba-stepper__step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: calc(100% - 8px);
    right: -8px;
    top: 22px;
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    z-index: -1;
}
.ba-stepper__step.is-done:not(:last-child)::after,
.ba-stepper__step.is-active:not(:last-child)::after {
    background: linear-gradient(90deg, rgba(var(--bp-success-rgb), 0.55), rgba(var(--bp-success-rgb), 0.15));
}
.ba-stepper__bullet {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bp-text-muted);
    font-weight: 800;
    font-size: 14px;
    font-feature-settings: "tnum";
    transition: all 0.3s var(--bp-ease);
}
.ba-stepper__bullet span { line-height: 1; }
.ba-stepper__step.is-active .ba-stepper__bullet {
    background: var(--bp-success-bg);
    border-color: var(--bp-success-border);
    color: var(--bp-success);
    box-shadow: 0 0 0 4px rgba(var(--bp-success-rgb), 0.08), 0 4px 12px rgba(var(--bp-success-rgb), 0.20);
}
.ba-stepper__step.is-done .ba-stepper__bullet {
    background: var(--bp-success-bg);
    border-color: rgba(var(--bp-success-rgb), 0.5);
    color: var(--bp-success);
}
.ba-stepper__step.is-done .ba-stepper__bullet span { display: none; }
.ba-stepper__step.is-done .ba-stepper__bullet::before {
    content: "\eba8";
    font-family: "boxicons" !important;
    font-size: 18px;
}
.ba-stepper__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
    min-width: 0;
}
.ba-stepper__label {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.1px;
}
.ba-stepper__step:not(.is-active):not(.is-done) .ba-stepper__label { color: var(--bp-text-muted); }
.ba-stepper__sub {
    font-size: 11px;
    font-weight: 500;
    color: var(--bp-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ───── STEP-NUM badge ───── */
.ba-form-card .bp-card__head { position: relative; }
.ba-stepnum {
    flex: 0 0 auto;
    padding: 4px 10px;
    background: rgba(var(--bp-accent-rgb), 0.10);
    border: 1px solid rgba(var(--bp-accent-rgb), 0.24);
    border-radius: 999px;
    color: var(--bp-accent);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.ba-card__head--sub {
    margin-top: 4px !important;
    margin-bottom: 14px !important;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.07) !important;
}
.ba-section-divider {
    height: 1px;
    margin: 22px -20px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}

/* ───── FIELDS ───── */
.ba-field {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ba-field__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #d8dae5;
    letter-spacing: 0.1px;
    margin: 0;
}
.ba-field__hint {
    font-size: 10.5px;
    font-weight: 500;
    color: var(--bp-text-muted);
    text-transform: lowercase;
    letter-spacing: 0.1px;
}

/* Select */
.ba-select-wrap { position: relative; }
.ba-select-wrap .ba-select__icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bp-accent);
    font-size: 17px;
    pointer-events: none;
}
.ba-select-wrap .ba-select__caret {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bp-text-muted);
    font-size: 18px;
    pointer-events: none;
}
.ba-select {
    width: 100%;
    padding: 12px 40px 12px 42px;
    background: rgba(0, 0, 0, 0.20);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
    transition: border-color 0.22s ease, background 0.22s ease;
}
.ba-select:hover { border-color: rgba(255, 255, 255, 0.10); }
.ba-select:focus {
    border-color: rgba(var(--bp-accent-rgb), 0.45);
    background: rgba(0, 0, 0, 0.28);
    box-shadow: 0 0 0 3px rgba(var(--bp-accent-rgb), 0.10);
}
.ba-select option { background: #2a2a33; color: #fff; }

/* Input */
.ba-input-wrap {
    position: relative;
    flex: 1;
    min-width: 0;
}
.ba-input__icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bp-text-muted);
    font-size: 17px;
    pointer-events: none;
    transition: color 0.2s ease;
}
.ba-input-wrap:focus-within .ba-input__icon { color: var(--bp-accent); }
.ba-input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    background: rgba(0, 0, 0, 0.20);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    outline: none;
    transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}
.ba-input::placeholder { color: var(--bp-text-dim); }
.ba-input:hover { border-color: rgba(255, 255, 255, 0.10); }
.ba-input:focus {
    border-color: rgba(var(--bp-accent-rgb), 0.45);
    background: rgba(0, 0, 0, 0.28);
    box-shadow: 0 0 0 3px rgba(var(--bp-accent-rgb), 0.10);
}
.ba-input-row { display: flex; gap: 8px; align-items: stretch; }
.ba-input-row .ba-btn { flex-shrink: 0; }

/* TinyMCE wrap polish */
.ba-form-card #text {
    width: 100%;
    min-height: 120px;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.20);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 13.5px;
    line-height: 1.55;
    outline: none;
    resize: vertical;
}
.ba-form-card .tox-tinymce {
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 10px !important;
    overflow: hidden;
}
.ba-form-card .tox-tinymce:focus-within {
    border-color: rgba(var(--bp-accent-rgb), 0.45) !important;
    box-shadow: 0 0 0 3px rgba(var(--bp-accent-rgb), 0.10);
}

/* ───── TIP CARDS ───── */
.ba-tip {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 13px 14px;
    border-radius: 10px;
    margin: 14px 0;
    line-height: 1.5;
}
.ba-tip > i {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-top: 1px;
}
.ba-tip__body { flex: 1; min-width: 0; font-size: 12.5px; color: #d8dae5; }
.ba-tip__body strong {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}
.ba-tip__body span,
.ba-tip__body p {
    display: block;
    margin: 0;
    font-weight: 400;
    color: #b8c0d0;
}
.ba-tip__body ul,
.ba-tip__body ol {
    margin: 4px 0 0;
    padding-left: 18px;
    color: #b8c0d0;
}
.ba-tip__body li { margin-bottom: 3px; font-size: 12px; }
.ba-tip__body code {
    padding: 1px 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    font-family: "Consolas", "Menlo", monospace;
    font-size: 11.5px;
    color: #fff;
}
.ba-tip__body a {
    color: var(--bp-accent);
    text-decoration: none;
    border-bottom: 1px dashed rgba(var(--bp-accent-rgb), 0.4);
}
.ba-tip__body a:hover { border-bottom-color: var(--bp-accent); }
.ba-tip__small { font-weight: 500; color: var(--bp-text-muted); font-size: 11px; }

.ba-tip--info {
    background: rgba(72, 195, 136, 0.04);
    border: 1px solid rgba(72, 195, 136, 0.16);
}
.ba-tip--info > i { background: rgba(72, 195, 136, 0.12); color: var(--bp-success); }
.ba-tip--good {
    background: rgba(72, 195, 136, 0.06);
    border: 1px solid rgba(72, 195, 136, 0.22);
}
.ba-tip--good > i { background: rgba(72, 195, 136, 0.16); color: var(--bp-success); }
.ba-tip--bad {
    background: rgba(255, 121, 121, 0.05);
    border: 1px solid rgba(255, 121, 121, 0.20);
}
.ba-tip--bad > i { background: rgba(255, 121, 121, 0.12); color: var(--bp-danger); }
.ba-tip--compact {
    margin-top: 14px;
    margin-bottom: 0;
    padding: 10px 12px;
}
.ba-tip--compact .ba-tip__body { font-size: 11.5px; }
.ba-tip--compact > i { width: 22px; height: 22px; font-size: 14px; }

/* ───── BUTTONS (form) ───── */
.ba-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.04);
    color: #b8c0d0;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
    line-height: 1;
    white-space: nowrap;
}
.ba-btn i { font-size: 16px; }
.ba-btn:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.10);
    transform: translateY(-1px);
}
.ba-btn--primary {
    background: linear-gradient(135deg, rgba(72, 195, 136, 0.30) 0%, rgba(72, 195, 136, 0.18) 100%);
    border-color: rgba(72, 195, 136, 0.45);
    color: #fff;
}
.ba-btn--primary:hover {
    background: linear-gradient(135deg, rgba(72, 195, 136, 0.42) 0%, rgba(72, 195, 136, 0.28) 100%);
    border-color: rgba(72, 195, 136, 0.65);
    color: #fff;
    box-shadow: 0 8px 20px -4px rgba(72, 195, 136, 0.30);
}
.ba-btn--xl { padding: 14px 24px; font-size: 14px; border-radius: 11px; }
.ba-btn--xl i { font-size: 18px; }

/* ───── SUBMIT BAR ───── */
.ba-submit-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px dashed rgba(255, 255, 255, 0.07);
    flex-wrap: wrap;
}
.ba-submit-bar__hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--bp-text-muted);
}
.ba-submit-bar__hint i { color: var(--bp-accent); font-size: 16px; }

/* ───── ASIDE ───── */
.ba-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ba-checklist__item {
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
    font-weight: 500;
    color: #d8dae5;
    line-height: 1.35;
}
.ba-checklist__item i {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.ba-checklist__item--good i { background: rgba(72, 195, 136, 0.12); color: var(--bp-success); }
.ba-checklist__item--bad i { background: rgba(255, 121, 121, 0.10); color: var(--bp-danger); }

.ba-timing {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    overflow: hidden;
}
.ba-timing__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    background: rgba(255, 255, 255, 0.012);
    transition: background 0.22s ease;
}
.ba-timing__row:hover { background: rgba(255, 255, 255, 0.025); }
.ba-timing__label {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--bp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.ba-timing__value {
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    font-feature-settings: "tnum";
}

.ba-faq {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
    padding: 4px 0;
}
.ba-faq:last-child { border-bottom: 0; }
.ba-faq summary {
    list-style: none;
    cursor: pointer;
    padding: 10px 4px 10px 28px;
    font-size: 12.5px;
    font-weight: 600;
    color: #d8dae5;
    position: relative;
    transition: color 0.22s ease;
}
.ba-faq summary::-webkit-details-marker { display: none; }
.ba-faq summary::before {
    content: "+";
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: rgba(var(--bp-accent-rgb), 0.10);
    color: var(--bp-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    transition: transform 0.22s ease, background 0.22s ease;
}
.ba-faq[open] summary::before {
    transform: translateY(-50%) rotate(45deg);
    background: rgba(var(--bp-accent-rgb), 0.20);
}
.ba-faq summary:hover { color: #fff; }
.ba-faq__body {
    padding: 4px 4px 12px 28px;
    font-size: 12px;
    color: #b8c0d0;
    line-height: 1.5;
}

/* Search results placement */
#search_ban_res_min,
#search_ban_res_full { margin-top: 14px; }
#bans_table:empty { display: none; }

/* ───── RESPONSIVE ───── */
@media (max-width: 991.98px) {
    .bp-grid--form { grid-template-columns: 1fr; }
    .ba-stepper { padding: 14px 16px; gap: 8px; }
    .ba-stepper__bullet { width: 32px; height: 32px; font-size: 13px; }
    .ba-stepper__step { gap: 9px; }
    .ba-stepper__step:not(:last-child)::after { top: 20px; }
    .ba-stepper__label { font-size: 12px; }
    .ba-stepper__sub { font-size: 10.5px; }
}
@media (max-width: 575.98px) {
    .ba-stepper {
        padding: 14px 12px;
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .ba-stepper__step:not(:last-child)::after { display: none; }
    .ba-stepper__step { padding: 6px 4px; }

    .ba-input-row { flex-direction: column; }
    .ba-input-row .ba-btn { width: 100%; }

    .ba-submit-bar { flex-direction: column; align-items: stretch; }
    .ba-submit-bar__hint { justify-content: center; }
    .ba-btn--xl { width: 100%; }

    .ba-tip { padding: 11px 12px; gap: 10px; }
    .ba-tip > i { width: 24px; height: 24px; font-size: 14px; }
    .ba-tip__body strong { font-size: 12.5px; }
    .ba-tip__body { font-size: 12px; }

    .ba-section-divider { margin: 18px -16px; }
}

/* ════════════════════════════════════════════════
   Plain-text appeal textarea  (replaces TinyMCE)
   ════════════════════════════════════════════════ */
.ba-textarea-wrap {
    position: relative;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(0, 0, 0, 0.22) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: border-color 0.22s var(--bp-ease-soft), box-shadow 0.28s var(--bp-ease-soft), transform 0.22s var(--bp-ease-soft);
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}
.ba-textarea-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(140deg, rgba(var(--bp-accent-rgb), 0) 0%, rgba(var(--bp-accent-rgb), 0) 60%, rgba(var(--bp-accent-rgb), 0.35) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s var(--bp-ease-soft);
}
.ba-textarea-wrap:focus-within::before { opacity: 1; }
.ba-textarea-wrap:focus-within {
    border-color: rgba(var(--bp-accent-rgb), 0.55);
    box-shadow:
        0 0 0 4px rgba(var(--bp-accent-rgb), 0.10),
        0 18px 40px -16px rgba(var(--bp-accent-rgb), 0.32);
}
.ba-textarea {
    display: block;
    width: 100%;
    min-height: 180px;
    padding: 18px 20px 16px;
    background: transparent;
    border: 0;
    outline: 0;
    resize: vertical;
    color: #fff;
    font-family: inherit;
    font-size: 14.5px;
    line-height: 1.65;
    box-shadow: none;
    letter-spacing: 0.005em;
}
.ba-textarea::placeholder {
    color: rgba(255, 255, 255, 0.32);
    line-height: 1.65;
}
.ba-textarea-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px 11px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.30));
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 11.5px;
    color: var(--bp-text-muted);
}
.ba-textarea-tip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    letter-spacing: 0.02em;
}
.ba-textarea-tip i {
    font-size: 14px;
    color: var(--bp-accent);
    opacity: 0.85;
}
.ba-textarea-counter {
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    letter-spacing: 0.02em;
}
.ba-textarea-counter span {
    color: #fff;
    font-weight: 700;
}

/* ════════════════════════════════════════════════
   Screenshot uploader
   ════════════════════════════════════════════════ */
.ba-uploader {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ba-uploader__drop {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px 20px;
    border-radius: 16px;
    border: 1.5px dashed rgba(var(--bp-accent-rgb), 0.35);
    background:
        radial-gradient(ellipse at 50% 40%, rgba(var(--bp-accent-rgb), 0.10), transparent 65%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0.10) 100%);
    cursor: pointer;
    overflow: hidden;
    text-align: center;
    transition:
        border-color 0.25s var(--bp-ease-soft),
        background 0.25s var(--bp-ease-soft),
        transform 0.25s var(--bp-ease-soft),
        box-shadow 0.25s var(--bp-ease-soft);
    margin: 0;
}
.ba-uploader__drop::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(var(--bp-accent-rgb), 0.07) 0, transparent 30%),
        radial-gradient(circle at 80% 80%, rgba(var(--bp-accent-rgb), 0.05) 0, transparent 35%);
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.3s var(--bp-ease-soft);
}
.ba-uploader__drop:hover {
    border-color: rgba(var(--bp-accent-rgb), 0.65);
    background:
        radial-gradient(ellipse at 50% 40%, rgba(var(--bp-accent-rgb), 0.16), transparent 65%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.12) 100%);
    transform: translateY(-2px);
    box-shadow: 0 16px 36px -16px rgba(var(--bp-accent-rgb), 0.40);
}
.ba-uploader__drop:hover::before { opacity: 1; }
.ba-uploader__drop:hover .ba-uploader__icon {
    transform: translateY(-3px) scale(1.05);
    box-shadow: inset 0 0 0 1px rgba(var(--bp-accent-rgb), 0.45), 0 12px 26px -10px rgba(var(--bp-accent-rgb), 0.55);
}
.ba-uploader__icon {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 30% 30%, rgba(var(--bp-accent-rgb), 0.32), rgba(var(--bp-accent-rgb), 0.10) 70%);
    color: var(--bp-accent);
    font-size: 32px;
    box-shadow: inset 0 0 0 1px rgba(var(--bp-accent-rgb), 0.30), 0 6px 18px -6px rgba(var(--bp-accent-rgb), 0.30);
    transition: transform 0.3s var(--bp-ease-soft), box-shadow 0.3s var(--bp-ease-soft);
    animation: baUploaderFloat 4s ease-in-out infinite;
}
@keyframes baUploaderFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-3px); }
}
.ba-uploader__text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.4;
    min-width: 0;
    text-align: center;
}
.ba-uploader__text strong {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.005em;
}
.ba-uploader__text span {
    color: var(--bp-text-muted);
    font-size: 12.5px;
}
.ba-uploader__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
}
.ba-uploader__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}
.ba-uploader__grid:empty { display: none; }

/* Override the global #imgs .thumbnail rule (max-width: 100px) by raising
   specificity with the ID selector qualified by our class. */
#imgs.ba-uploader__grid .thumbnail,
#imgs.ba-uploader__grid .thumbnail-img {
    max-width: none;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: block;
    object-fit: cover;
    border-radius: 0;
}

.ba-uploader__thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.36);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: transform 0.22s var(--bp-ease-soft), border-color 0.22s var(--bp-ease-soft), box-shadow 0.22s var(--bp-ease-soft);
    animation: baThumbIn 0.32s var(--bp-ease) both;
}
@keyframes baThumbIn {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}
.ba-uploader__thumb:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--bp-accent-rgb), 0.55);
    box-shadow: 0 14px 30px -12px rgba(var(--bp-accent-rgb), 0.40);
}
.ba-uploader__thumb::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 55%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.65));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.22s var(--bp-ease-soft);
}
.ba-uploader__thumb:hover::after { opacity: 1; }
.ba-uploader-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    border: 0;
    background: rgba(0, 0, 0, 0.66);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.18s var(--bp-ease-soft), transform 0.18s var(--bp-ease-soft), background 0.18s var(--bp-ease-soft);
    z-index: 4;
}
.ba-uploader__thumb:hover .ba-uploader-remove,
.ba-uploader-remove:focus {
    opacity: 1;
    transform: scale(1);
}
.ba-uploader-remove:hover {
    background: rgba(220, 53, 69, 0.95);
    transform: scale(1.08);
}
.ba-uploader-remove i { font-size: 18px; }
.ba-uploader__error:empty { display: none; }
.ba-uploader__error-msg {
    margin: 0;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(220, 53, 69, 0.10);
    border: 1px solid rgba(220, 53, 69, 0.35);
    color: #ffb4ba;
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 575.98px) {
    .ba-textarea { min-height: 150px; padding: 16px 16px 14px; font-size: 14px; }
    .ba-textarea-foot { padding: 9px 14px 10px; font-size: 11px; }
    .ba-uploader__drop { padding: 22px 14px; gap: 10px; }
    .ba-uploader__icon { width: 56px; height: 56px; font-size: 28px; border-radius: 16px; }
    .ba-uploader__text strong { font-size: 14px; }
    .ba-uploader__text span { font-size: 12px; }
    .ba-uploader__grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
    .ba-uploader-remove { opacity: 1; transform: scale(1); width: 26px; height: 26px; }
}

/* Touch devices: always show remove button + drop zone hover state */
@media (hover: none) {
    .ba-uploader-remove { opacity: 1; transform: scale(1); }
    .ba-uploader__icon { animation: none; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .ba-uploader__icon { animation: none; }
    .ba-uploader__thumb { animation: none; }
}

/* ════════════════════════════════════════════════════════════════
   Apply-for-unban page (.ab-*) — full rewrite, gaming/admin style
   ════════════════════════════════════════════════════════════════ */

.ab-app {
    --ab-accent: #48c388;
    --ab-accent-rgb: 72, 195, 136;
    --ab-accent-hover: #5cd29a;
    --ab-warn: #e5b878;
    --ab-warn-rgb: 229, 184, 120;
    --ab-danger: #e57878;
    --ab-danger-rgb: 229, 120, 120;
    --ab-bg-1: #25282f;
    --ab-bg-2: #2c2f38;
    --ab-bg-3: rgba(0, 0, 0, 0.22);
    --ab-bg-4: rgba(255, 255, 255, 0.04);
    --ab-line: rgba(255, 255, 255, 0.07);
    --ab-line-strong: rgba(255, 255, 255, 0.12);
    --ab-text: #e7ebf3;
    --ab-text-muted: #9aa0ad;
    --ab-text-dim: #6e7280;
    --ab-radius: 14px;
    --ab-radius-sm: 10px;
    --ab-radius-xs: 8px;
    --ab-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.30);
    --ab-shadow-md: 0 12px 32px -16px rgba(0, 0, 0, 0.55);
    --ab-shadow-lg: 0 18px 40px -16px rgba(0, 0, 0, 0.55);
    --ab-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ab-ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
    --ab-tracking: 0.18em;

    color: var(--ab-text);
    font-size: 14px;
    line-height: 1.5;
    margin-top: 4px;
    padding-bottom: 24px;
}

/* ─── Topbar — editorial hero with watermark ─── */
.ab-topbar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 28px 32px 24px;
    background: var(--ab-bg-2);
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius);
    margin-bottom: 14px;
    box-shadow: var(--ab-shadow-md);
    overflow: hidden;
    isolation: isolate;
}
.ab-topbar::before {
    content: 'APPEAL';
    position: absolute;
    z-index: 0;
    bottom: -22px;
    right: -8px;
    font-family: 'Open Sans', system-ui, sans-serif;
    font-size: 130px;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.045);
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}
.ab-topbar__left {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.ab-topbar__title { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ab-topbar__h {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.4px;
    color: var(--ab-text);
    line-height: 1.15;
}
.ab-topbar__sub {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: var(--ab-tracking);
    text-transform: uppercase;
    color: var(--ab-text-muted);
    order: -1;
    margin-bottom: 2px;
}
.ab-topbar__sub::before {
    content: '';
    width: 22px;
    height: 1px;
    background: var(--ab-line-strong);
}
.ab-topbar__right {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.ab-iconbtn {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: var(--ab-radius-sm);
    background: var(--ab-bg-3);
    color: var(--ab-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.18s var(--ab-ease-soft), transform 0.18s var(--ab-ease-soft);
}
.ab-iconbtn:hover {
    background: var(--ab-bg-4);
    transform: translateX(-2px);
}
.ab-iconbtn i { font-size: 19px; }

/* ─── Buttons ─────────────────────────────────────────────────── */
.ab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 16px;
    border: 1px solid var(--ab-line-strong);
    border-radius: var(--ab-radius-sm);
    background: var(--ab-bg-3);
    color: var(--ab-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.18s var(--ab-ease-soft), border-color 0.18s var(--ab-ease-soft), transform 0.18s var(--ab-ease-soft), box-shadow 0.22s var(--ab-ease-soft);
    user-select: none;
}
.ab-btn i { font-size: 16px; }
.ab-btn:hover { background: var(--ab-bg-4); transform: translateY(-1px); color: #fff; text-decoration: none; }
.ab-btn:active { transform: translateY(0); }
.ab-btn:focus-visible { outline: 2px solid var(--ab-accent); outline-offset: 2px; }
.ab-btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }
.ab-btn.is-loading { opacity: 0.8; pointer-events: none; }
.ab-btn.is-loading::after {
    content: '';
    width: 14px; height: 14px;
    margin-left: 6px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: abSpin 0.7s linear infinite;
}
@keyframes abSpin { to { transform: rotate(360deg); } }

.ab-btn--ghost { background: transparent; border-color: var(--ab-line); color: var(--ab-text-muted); }
.ab-btn--ghost:hover { background: var(--ab-bg-3); color: #fff; border-color: var(--ab-line-strong); }

.ab-btn--accent {
    background: linear-gradient(180deg, rgba(var(--ab-accent-rgb), 0.18), rgba(var(--ab-accent-rgb), 0.10));
    border-color: rgba(var(--ab-accent-rgb), 0.35);
    color: var(--ab-accent);
}
.ab-btn--accent:hover {
    background: linear-gradient(180deg, rgba(var(--ab-accent-rgb), 0.26), rgba(var(--ab-accent-rgb), 0.14));
    border-color: rgba(var(--ab-accent-rgb), 0.55);
    color: #d4ffe9;
    box-shadow: 0 8px 22px -8px rgba(var(--ab-accent-rgb), 0.40);
}

.ab-btn--primary {
    background: var(--ab-accent);
    border-color: var(--ab-accent);
    color: #0a1f15;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 800;
    text-shadow: none;
}
.ab-btn--primary:hover {
    background: var(--ab-accent-hover);
    border-color: var(--ab-accent-hover);
    color: #0a1f15;
}

.ab-btn--xl { padding: 0 22px; height: 52px; font-size: 13px; border-radius: var(--ab-radius); }
.ab-btn--full { width: 100%; }

/* ─── Quota ring ─────────────────────────────────────────────── */
.ab-quota {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 6px;
    background: var(--ab-bg-3);
    border: 1px solid var(--ab-line);
    border-radius: 999px;
    transition: border-color 0.22s, background 0.22s;
}
.ab-quota.is-warn { border-color: rgba(var(--ab-warn-rgb), 0.45); }
.ab-quota.is-full { border-color: rgba(var(--ab-danger-rgb), 0.55); background: rgba(var(--ab-danger-rgb), 0.10); }
.ab-quota__ring { width: 32px; height: 32px; flex-shrink: 0; }
.ab-quota__bg { stroke: rgba(255, 255, 255, 0.10); }
.ab-quota__fg { stroke: var(--ab-accent); transition: stroke-dashoffset 0.5s var(--ab-ease), stroke 0.3s; }
.ab-quota.is-warn .ab-quota__fg { stroke: var(--ab-warn); }
.ab-quota.is-full .ab-quota__fg { stroke: var(--ab-danger); }
.ab-quota__text { display: flex; flex-direction: column; gap: 1px; line-height: 1.1; }
.ab-quota__used { font-size: 12px; font-weight: 700; color: #fff; }
.ab-quota__lim { font-size: 10px; color: var(--ab-text-muted); letter-spacing: 0.02em; }

/* ─── View container ─────────────────────────────────────────── */
.ab-view { display: block; }
.ab-view[hidden] { display: none !important; }

/* ─── Toolbar (search + filter chip row) ─────────────────────── */
.ab-toolbar {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 12px;
}
.ab-search {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}
.ab-search__icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ab-text-muted);
    font-size: 18px;
    pointer-events: none;
}
.ab-search__input {
    width: 100%;
    height: 46px;
    padding: 0 42px 0 42px;
    background: var(--ab-bg-3);
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius-sm);
    color: var(--ab-text);
    font-size: 14px;
    outline: none;
    transition: border-color 0.18s, background 0.18s;
}
.ab-search__input:focus {
    border-color: var(--ab-accent);
    background: rgba(0, 0, 0, 0.30);
}
.ab-search__input::placeholder { color: var(--ab-text-dim); }
.ab-search__clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: var(--ab-text-muted);
    cursor: pointer;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ab-search__clear:hover { background: var(--ab-bg-3); color: #fff; }
.ab-search__clear i { font-size: 18px; }
.ab-search__spin {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    gap: 3px;
    pointer-events: none;
}
.ab-search__spin span {
    width: 4px; height: 4px;
    background: var(--ab-accent);
    border-radius: 50%;
    animation: abPulse 1s infinite ease-in-out;
}
.ab-search__spin span:nth-child(2) { animation-delay: 0.15s; }
.ab-search__spin span:nth-child(3) { animation-delay: 0.30s; }
@keyframes abPulse { 0%,100%{opacity:.3;transform:scale(.8);} 50%{opacity:1;transform:scale(1);} }

/* ─── Server filter chip row ─────────────────────────────────── */
.ab-server-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.ab-chip, .ab-server-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--ab-bg-2);
    border: 1px solid var(--ab-line);
    border-radius: 8px;
    color: var(--ab-text-muted);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s var(--ab-ease-soft), border-color 0.18s var(--ab-ease-soft), color 0.18s var(--ab-ease-soft);
    white-space: nowrap;
    flex-shrink: 0;
}
.ab-chip:hover, .ab-server-card:hover {
    border-color: var(--ab-line-strong);
    color: var(--ab-text);
}
.ab-chip i, .ab-server-card i { font-size: 14px; }
.ab-chip.is-active, .ab-server-card.is-active {
    background: rgba(72, 195, 136, 0.10);
    border-color: rgba(72, 195, 136, 0.40);
    color: var(--ab-accent);
}

.ab-server-card { padding: 9px 13px 9px 13px; }
.ab-server-card__main { display: flex; flex-direction: column; gap: 1px; line-height: 1.15; align-items: flex-start; }
.ab-server-card__name { font-size: 12.5px; font-weight: 700; }
.ab-server-card__addr { font-size: 10.5px; color: var(--ab-text-dim); font-weight: 500; }
.ab-server-card__kind {
    margin-left: 4px;
    padding: 2px 7px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ab-text-muted);
}
.ab-server-card.is-blank .ab-server-card__kind {
    background: rgba(var(--ab-warn-rgb), 0.16);
    color: var(--ab-warn);
}
.ab-server-card.is-active .ab-server-card__addr { color: rgba(255, 255, 255, 0.65); }
.ab-server-card.is-active .ab-server-card__kind { background: rgba(0, 0, 0, 0.20); color: #fff; }

/* ─── Results: skeleton + empty + grid ───────────────────────── */
.ab-results { display: block; }
.ab-skeleton {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}
.ab-skel-card {
    height: 156px;
    border-radius: var(--ab-radius);
    background:
        linear-gradient(110deg, var(--ab-bg-2) 30%, var(--ab-bg-3) 50%, var(--ab-bg-2) 70%);
    background-size: 250% 100%;
    animation: abShimmer 1.4s infinite;
    border: 1px solid var(--ab-line);
}
@keyframes abShimmer { 0%{background-position:100% 0;} 100%{background-position:-100% 0;} }

.ab-empty {
    text-align: center;
    padding: 48px 24px;
    background: var(--ab-bg-2);
    border: 1px dashed var(--ab-line-strong);
    border-radius: var(--ab-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.ab-empty__icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--ab-bg-3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}
.ab-empty__icon i { font-size: 28px; color: var(--ab-text-muted); }
.ab-empty__title { font-size: 16px; font-weight: 700; color: #fff; }
.ab-empty__sub { font-size: 13px; color: var(--ab-text-muted); margin-bottom: 12px; }

.ab-bans {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}
.ab-bans:empty { display: none; }

/* ─── Ban card ───────────────────────────────────────────────── */
.ab-bancard {
    --bc-accent: var(--ab-danger);
    --bc-accent-rgb: var(--ab-danger-rgb);
    position: relative;
    background: var(--ab-bg-2);
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius);
    box-shadow: var(--ab-shadow-md);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.18s var(--ab-ease-soft), transform 0.18s var(--ab-ease-soft);
    overflow: hidden;
    animation: abFadeUp 0.32s var(--ab-ease) both;
    animation-delay: calc(var(--i, 0) * 28ms);
}
@keyframes abFadeUp { from{opacity:0;transform:translateY(8px);} to{opacity:1;transform:translateY(0);} }
.ab-bancard::before {
    content: '';
    position: absolute;
    left: 0; top: 14px; bottom: 14px;
    width: 2px;
    background: var(--bc-accent);
    opacity: 0;
    transition: opacity 0.22s var(--ab-ease);
}
.ab-bancard:hover {
    border-color: rgba(var(--bc-accent-rgb), 0.35);
    transform: translateY(-1px);
}
.ab-bancard:hover::before { opacity: 0.55; }
.ab-bancard--success { --bc-accent: var(--ab-accent); --bc-accent-rgb: var(--ab-accent-rgb); }
.ab-bancard--warning { --bc-accent: var(--ab-warn); --bc-accent-rgb: var(--ab-warn-rgb); }

.ab-bancard__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}
.ab-bancard__nick {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 800;
    color: #fff;
    font-size: 14.5px;
    min-width: 0;
}
.ab-bancard__nick i { color: var(--bc-accent); font-size: 16px; }
.ab-bancard__nick span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 180px;
}
.ab-bancard__server {
    flex-shrink: 0;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--ab-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.ab-bancard__reason {
    background: rgba(0, 0, 0, 0.22);
    border-radius: var(--ab-radius-xs);
    padding: 8px 10px;
    border: 1px solid var(--ab-line);
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ab-bancard__label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ab-text-dim);
    font-weight: 700;
}
.ab-bancard__value {
    font-size: 12.5px;
    color: var(--ab-text);
    line-height: 1.4;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ab-bancard__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    font-size: 11.5px;
    color: var(--ab-text-muted);
}
.ab-bancard__meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1.2;
}
.ab-bancard__meta i { font-size: 13px; color: var(--ab-text-dim); }
.ab-bancard__btn {
    margin-top: 2px;
    padding: 9px 12px;
    background: linear-gradient(180deg, rgba(var(--ab-accent-rgb), 0.18), rgba(var(--ab-accent-rgb), 0.08));
    border: 1px solid rgba(var(--ab-accent-rgb), 0.40);
    border-radius: var(--ab-radius-sm);
    color: var(--ab-accent);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.18s var(--ab-ease-soft);
}
.ab-bancard__btn:hover {
    background: linear-gradient(180deg, var(--ab-accent), #4cb98a);
    color: #062e1d;
    border-color: var(--ab-accent);
    box-shadow: 0 10px 22px -10px rgba(var(--ab-accent-rgb), 0.55);
    transform: translateY(-1px);
}
.ab-bancard__btn i { font-size: 15px; }

/* ─── Selected ban summary (appeal view header) ──────────────── */
.ab-selected {
    margin-bottom: 14px;
}
.ab-selected__hero {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    background:
        linear-gradient(135deg, rgba(var(--ab-accent-rgb), 0.10) 0%, transparent 60%),
        var(--ab-bg-2);
    border: 1px solid var(--ab-line-strong);
    border-radius: var(--ab-radius);
    border-left: 3px solid var(--ab-accent);
    box-shadow: var(--ab-shadow-sm);
}
.ab-selected__hero--custom { border-left-color: var(--ab-warn); }
.ab-selected__hero--custom { background: linear-gradient(135deg, rgba(var(--ab-warn-rgb), 0.10) 0%, transparent 60%), var(--ab-bg-2); }
.ab-selected__icon {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--ab-accent-rgb), 0.30), rgba(var(--ab-accent-rgb), 0.10));
    color: var(--ab-accent);
    font-size: 22px;
    box-shadow: inset 0 0 0 1px rgba(var(--ab-accent-rgb), 0.30);
}
.ab-selected__hero--custom .ab-selected__icon {
    background: linear-gradient(135deg, rgba(var(--ab-warn-rgb), 0.30), rgba(var(--ab-warn-rgb), 0.10));
    color: var(--ab-warn);
    box-shadow: inset 0 0 0 1px rgba(var(--ab-warn-rgb), 0.30);
}
.ab-selected__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.ab-selected__nick {
    font-size: 18px; font-weight: 800; color: #fff;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ab-selected__chips { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.ab-selected__chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    color: var(--ab-text-muted);
}
.ab-selected__chip i { font-size: 13px; color: var(--ab-text-dim); }
.ab-selected__chip--bid { color: var(--ab-accent); font-weight: 700; }
.ab-selected__reason {
    font-size: 12.5px;
    color: var(--ab-text);
    line-height: 1.5;
    padding-top: 4px;
    border-top: 1px dashed var(--ab-line);
}
.ab-selected__label {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ab-text-dim);
    font-weight: 700;
}
.ab-selected__row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.ab-selected__row .ab-selected__value { font-weight: 700; color: #fff; font-size: 13px; }
.ab-selected__row .ab-input { flex: 1 1 200px; min-width: 0; }

.ab-input {
    padding: 9px 12px;
    background: var(--ab-bg-3);
    border: 1px solid var(--ab-line-strong);
    border-radius: var(--ab-radius-sm);
    color: var(--ab-text);
    font-size: 13px;
    outline: none;
    transition: border-color 0.18s, box-shadow 0.22s;
}
.ab-input:focus {
    border-color: rgba(var(--ab-accent-rgb), 0.55);
    box-shadow: 0 0 0 3px rgba(var(--ab-accent-rgb), 0.10);
}
.ab-input::placeholder { color: var(--ab-text-dim); }

/* ─── Form grid ──────────────────────────────────────────────── */
.ab-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 14px;
    align-items: start;
}
.ab-form-main, .ab-form-aside {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

/* ─── Generic card ───────────────────────────────────────────── */
.ab-card {
    background: var(--ab-bg-2);
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius);
    padding: 22px;
    box-shadow: var(--ab-shadow-md);
}
.ab-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--ab-line);
}
.ab-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(72, 195, 136, 0.10);
    border: 1px solid rgba(72, 195, 136, 0.22);
    color: var(--ab-accent);
    font-size: 17px;
    flex-shrink: 0;
}
.ab-card__title-wrap { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.ab-card__title { margin: 0; font-size: 14px; font-weight: 700; color: #fff; line-height: 1.2; }
.ab-card__sub { font-size: 11.5px; color: var(--ab-text-muted); }
.ab-card__badge {
    margin-left: auto;
    padding: 4px 10px;
    background: var(--ab-bg-3);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: var(--ab-text-muted);
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

/* ─── Textarea box ───────────────────────────────────────────── */
.ab-textarea-box {
    border-radius: var(--ab-radius-sm);
    background: var(--ab-bg-3);
    border: 1px solid var(--ab-line);
    overflow: hidden;
    transition: border-color 0.18s;
}
.ab-textarea-box:focus-within {
    border-color: var(--ab-accent);
}
.ab-textarea-box textarea {
    width: 100%;
    min-height: 160px;
    padding: 14px 16px;
    background: transparent;
    border: 0;
    outline: 0;
    resize: vertical;
    color: var(--ab-text);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: none;
    display: block;
}
.ab-textarea-box textarea::placeholder { color: var(--ab-text-dim); }
.ab-textarea-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 14px 9px;
    background: var(--ab-bg-2);
    border-top: 1px solid var(--ab-line);
    font-size: 11.5px;
    color: var(--ab-text-muted);
}
.ab-textarea-tip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.ab-textarea-tip i { font-size: 14px; color: var(--ab-accent); }
.ab-textarea-tip.is-bad { color: var(--ab-danger); }
.ab-textarea-tip.is-bad i { color: var(--ab-danger); }
.ab-textarea-tip.is-good { color: var(--ab-accent); }
.ab-textarea-counter { font-variant-numeric: tabular-nums; color: var(--ab-text-muted); font-weight: 600; }
.ab-textarea-counter span { color: #fff; font-weight: 700; }

.ab-saveinfo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 5px 10px;
    background: rgba(var(--ab-accent-rgb), 0.10);
    border-radius: 6px;
    font-size: 11px;
    color: var(--ab-accent);
    font-weight: 600;
    animation: abFadeUp 0.3s var(--ab-ease) both;
}
.ab-saveinfo i { font-size: 13px; }

/* ─── Drop zones ─────────────────────────────────────────────── */
.ab-drop {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 28px 20px;
    border-radius: var(--ab-radius);
    border: 1px dashed var(--ab-line-strong);
    background: var(--ab-bg-3);
    cursor: pointer;
    text-align: center;
    transition: border-color 0.18s var(--ab-ease-soft), background 0.18s var(--ab-ease-soft);
    margin: 0;
}
.ab-drop:hover, .ab-drop:focus-visible {
    border-color: var(--ab-accent);
    background: rgba(72, 195, 136, 0.04);
    outline: none;
}
.ab-drop.is-drop {
    border-color: var(--ab-accent);
    background: rgba(72, 195, 136, 0.08);
    border-style: solid;
}
.ab-drop__icon {
    width: 44px; height: 44px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(72, 195, 136, 0.10);
    border: 1px solid rgba(72, 195, 136, 0.22);
    color: var(--ab-accent);
    font-size: 22px;
}
.ab-drop__text { display: flex; flex-direction: column; gap: 2px; line-height: 1.35; }
.ab-drop__text strong { color: #fff; font-size: 13.5px; font-weight: 700; }
.ab-drop__text span { color: var(--ab-text-muted); font-size: 11.5px; }
.ab-drop__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* ─── Image grid (uploaded thumbs) ───────────────────────────── */
.ab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 12px;
}
.ab-grid:empty { display: none; }
.ab-thumb {
    position: relative;
    border-radius: var(--ab-radius-sm);
    overflow: hidden;
    background: var(--ab-bg-3);
    border: 1px solid var(--ab-line);
    aspect-ratio: 4 / 3;
    display: flex;
    flex-direction: column;
    animation: abFadeUp 0.3s var(--ab-ease) both;
}
.ab-thumb__media { position: absolute; inset: 0; }
.ab-thumb__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-thumb__bar {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}
.ab-thumb__bar span {
    display: block;
    height: 100%;
    background: var(--ab-accent);
    transition: width 0.18s linear;
}
.ab-thumb__foot {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 6px 8px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10.5px;
    color: #fff;
    font-weight: 700;
    z-index: 1;
}
.ab-thumb.is-uploading .ab-thumb__foot { background: rgba(0, 0, 0, 0.55); }
.ab-thumb__ok { color: var(--ab-accent); display: inline-flex; align-items: center; gap: 2px; }
.ab-thumb__err { color: var(--ab-danger); display: inline-flex; align-items: center; gap: 2px; }
.ab-thumb.is-error { border-color: rgba(var(--ab-danger-rgb), 0.45); }
.ab-thumb.is-error .ab-thumb__media { opacity: 0.45; }
.ab-thumb__rm {
    position: absolute;
    top: 6px; right: 6px;
    width: 26px; height: 26px;
    border-radius: 8px;
    border: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.18s var(--ab-ease-soft);
    z-index: 3;
}
.ab-thumb:hover .ab-thumb__rm, .ab-thumb__rm:focus { opacity: 1; transform: scale(1); }
.ab-thumb__rm:hover { background: var(--ab-danger); }
.ab-thumb__rm i { font-size: 16px; }

/* ─── Demo file list ─────────────────────────────────────────── */
.ab-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.ab-list:empty { display: none; }
.ab-fileitem {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--ab-bg-3);
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius-sm);
    transition: border-color 0.2s, transform 0.2s var(--ab-ease-soft);
    overflow: hidden;
    animation: abFadeUp 0.3s var(--ab-ease) both;
}
.ab-fileitem:hover { transform: translateY(-1px); border-color: var(--ab-line-strong); }
.ab-fileitem.is-error { border-color: rgba(var(--ab-danger-rgb), 0.45); background: rgba(var(--ab-danger-rgb), 0.05); }
.ab-fileitem__icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(var(--ab-accent-rgb), 0.25), rgba(var(--ab-accent-rgb), 0.08));
    color: var(--ab-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}
.ab-fileitem__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ab-fileitem__name {
    font-size: 13px; font-weight: 600; color: #fff;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ab-fileitem__meta { display: flex; align-items: center; gap: 12px; font-size: 11px; color: var(--ab-text-muted); }
.ab-fileitem__ok { color: var(--ab-accent); display: inline-flex; align-items: center; gap: 3px; font-weight: 600; }
.ab-fileitem__err { color: var(--ab-danger); display: inline-flex; align-items: center; gap: 3px; font-weight: 600; }
.ab-fileitem__bar {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: rgba(0, 0, 0, 0.5);
}
.ab-fileitem__bar span { display: block; height: 100%; background: var(--ab-accent); transition: width 0.18s linear; }
.ab-fileitem__rm {
    width: 30px; height: 30px;
    border: 0;
    background: transparent;
    color: var(--ab-text-muted);
    cursor: pointer;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.18s var(--ab-ease-soft);
}
.ab-fileitem__rm:hover { background: rgba(var(--ab-danger-rgb), 0.15); color: var(--ab-danger); }
.ab-fileitem__rm i { font-size: 18px; }

/* ─── FAQ block ──────────────────────────────────────────────── */
.ab-faq-block {
    margin-top: 12px;
    background: var(--ab-bg-3);
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius-sm);
    padding: 0;
}
.ab-faq-block summary {
    list-style: none;
    cursor: pointer;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ab-text-muted);
    user-select: none;
}
.ab-faq-block summary::-webkit-details-marker { display: none; }
.ab-faq-block summary i { font-size: 15px; color: var(--ab-accent); }
.ab-faq-block summary::after {
    content: '+';
    margin-left: auto;
    font-size: 18px;
    line-height: 1;
    color: var(--ab-text-dim);
    transition: transform 0.2s;
}
.ab-faq-block[open] summary::after { content: '−'; }
.ab-faq-block__body {
    padding: 4px 14px 14px;
    font-size: 12.5px;
    color: var(--ab-text);
    line-height: 1.55;
}
.ab-faq-block__body ol,
.ab-faq-block__body ul { margin: 4px 0 6px; padding-left: 20px; }
.ab-faq-block__body li { margin-bottom: 3px; }
.ab-faq-block__body p { margin: 0 0 6px; }
.ab-faq-block__body code {
    background: rgba(255, 255, 255, 0.07);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 11.5px;
    color: var(--ab-accent);
    font-family: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
    word-break: break-all;
}
.ab-faq-block__body kbd {
    display: inline-block;
    padding: 1px 7px;
    margin: 0 2px;
    background: linear-gradient(180deg, #3a3d49 0%, #2c2f3a 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom-width: 2px;
    border-radius: 5px;
    font-family: ui-monospace, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
    line-height: 1.3;
    vertical-align: baseline;
}

/* Sub-sections inside the help block */
.ab-faq__sec {
    margin-top: 12px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.18);
    border-left: 2px solid rgba(var(--ab-accent-rgb), 0.45);
    border-radius: 0 8px 8px 0;
}
.ab-faq__sec:first-child { margin-top: 4px; }
.ab-faq__sec h4 {
    margin: 0 0 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.005em;
}
.ab-faq__sec h4 i {
    font-size: 14px;
    color: var(--ab-accent);
}
.ab-faq__sec--warn {
    background: rgba(var(--ab-warn-rgb), 0.08);
    border-left-color: var(--ab-warn);
}
.ab-faq__sec--warn h4 i { color: var(--ab-warn); }
.ab-faq__tip {
    margin: 6px 0 0 !important;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    font-size: 11.5px;
    color: var(--ab-text-muted);
    display: flex;
    align-items: flex-start;
    gap: 6px;
}
.ab-faq__tip i {
    font-size: 14px;
    color: var(--ab-warn);
    flex-shrink: 0;
    margin-top: 1px;
}

/* ─── Aside ──────────────────────────────────────────────────── */
.ab-aside-card { padding: 14px; }
.ab-checklist {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.ab-checklist li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--ab-text);
}
.ab-checklist li i {
    width: 22px; height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--ab-accent-rgb), 0.16);
    color: var(--ab-accent);
    font-size: 14px;
    flex-shrink: 0;
}
.ab-checklist li.bad i { background: rgba(var(--ab-danger-rgb), 0.16); color: var(--ab-danger); }
.ab-checklist li.bad { color: var(--ab-text-muted); }

.ab-timing {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--ab-line);
    border-radius: var(--ab-radius-xs);
    overflow: hidden;
}
.ab-timing > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: var(--ab-bg-3);
    font-size: 12.5px;
}
.ab-timing > div span { color: var(--ab-text-muted); }
.ab-timing > div b { color: #fff; font-weight: 700; font-size: 12.5px; }

.ab-submit-btn { width: 100%; }
.ab-form-aside__note {
    margin: 12px 0 0;
    font-size: 10.5px;
    color: var(--ab-text-dim);
    text-align: center;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

/* ─── Sticky mobile bar ──────────────────────────────────────── */
.ab-mobile-bar {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 100;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--ab-bg-1);
    border-top: 1px solid var(--ab-line-strong);
    box-shadow: 0 -8px 22px -10px rgba(0, 0, 0, 0.5);
    align-items: center;
    gap: 10px;
}
.ab-mobile-bar__quota {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.ab-mobile-bar__quota svg { width: 28px; height: 28px; }
.ab-mobile-bar__bg { stroke: rgba(255, 255, 255, 0.10); }
.ab-mobile-bar__fg { stroke: var(--ab-accent); transition: stroke-dashoffset 0.5s var(--ab-ease); }

.ab-flow {
    list-style: none;
    margin: 0 0 14px;
    padding: 16px 20px;
    background: var(--ab-bg-2);
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--ab-shadow-md);
    position: relative;
}
.ab-flow::before { display: none; }
.ab-flow__step {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0;
    flex-shrink: 0;
    color: var(--ab-text-dim);
    transition: color 0.22s var(--ab-ease-soft);
}
.ab-flow__num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    font-weight: 800;
    background: var(--ab-bg-3);
    border: 1px solid var(--ab-line);
    color: var(--ab-text-muted);
    transition: all 0.25s var(--ab-ease-soft);
    flex-shrink: 0;
    line-height: 1;
}
.ab-flow__num i { font-size: 16px; line-height: 1; }
.ab-flow__label {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.005em;
    white-space: nowrap;
}
.ab-flow__line {
    flex: 1 1 auto;
    height: 2px;
    background: var(--ab-line);
    border-radius: 2px;
    min-width: 16px;
    transition: background 0.4s var(--ab-ease-soft);
}
.ab-flow__step.is-done {
    color: var(--ab-accent);
}
.ab-flow__step.is-done .ab-flow__num {
    background: var(--ab-accent);
    border-color: var(--ab-accent);
    color: #0a1f15;
}
.ab-flow__step.is-active {
    color: var(--ab-text);
}
.ab-flow__step.is-active .ab-flow__num {
    background: rgba(72, 195, 136, 0.14);
    border-color: var(--ab-accent);
    color: var(--ab-accent);
}
.ab-flow__line.is-done {
    background: var(--ab-accent);
}

.ab-quality-card {
    background: var(--ab-bg-2);
    border-color: var(--ab-line);
    box-shadow: var(--ab-shadow-md);
    padding: 22px;
    border-radius: var(--ab-radius);
}
.ab-quality-card .ab-card__head { padding-bottom: 10px; margin-bottom: 12px; }
.ab-quality-card .ab-card__title-wrap { line-height: 1.2; }
.ab-quality-card .ab-card__sub { white-space: nowrap; }
.ab-quality-card .ab-submit-btn { margin-top: 14px; }
.ab-quality {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ab-quality__gauge {
    position: relative;
    width: 116px;
    height: 116px;
    margin: 4px auto 2px;
}
.ab-quality__gauge svg { width: 100%; height: 100%; display: block; }
.ab-quality__bg { stroke: rgba(255, 255, 255, 0.07); }
.ab-quality__fg {
    stroke: var(--ab-text-dim);
    transition: stroke-dashoffset 0.6s var(--ab-ease), stroke 0.4s;
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.4));
}
.ab-quality__gauge.is-low   .ab-quality__fg { stroke: var(--ab-danger); }
.ab-quality__gauge.is-mid   .ab-quality__fg { stroke: var(--ab-warn); }
.ab-quality__gauge.is-good  .ab-quality__fg { stroke: var(--ab-accent); }
.ab-quality__gauge.is-great .ab-quality__fg { stroke: var(--ab-accent); filter: drop-shadow(0 0 12px rgba(var(--ab-accent-rgb), 0.65)); }
.ab-quality__center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    pointer-events: none;
}
.ab-quality__pct {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.5px;
}
.ab-quality__label {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--ab-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.10em;
}
.ab-quality__gauge.is-good  .ab-quality__label,
.ab-quality__gauge.is-great .ab-quality__label { color: var(--ab-accent); }
.ab-quality__gauge.is-mid   .ab-quality__label { color: var(--ab-warn); }
.ab-quality__gauge.is-low   .ab-quality__label { color: var(--ab-danger); }

.ab-checklist--live {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ab-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid var(--ab-line);
    transition: background 0.22s var(--ab-ease-soft), border-color 0.22s var(--ab-ease-soft);
}
.ab-check__bullet {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--ab-line);
    color: var(--ab-text-dim);
    transition: all 0.25s var(--ab-ease-soft);
    margin-top: 1px;
}
.ab-check__bullet i { font-size: 14px; line-height: 1; }
.ab-check__txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ab-check__lbl {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ab-text);
    line-height: 1.25;
}
.ab-check__hint {
    font-size: 10.5px;
    color: var(--ab-text-muted);
    line-height: 1.3;
    letter-spacing: 0.02em;
}
.ab-check.is-done {
    background: rgba(var(--ab-accent-rgb), 0.07);
    border-color: rgba(var(--ab-accent-rgb), 0.30);
}
.ab-check.is-done .ab-check__bullet {
    background: var(--ab-accent);
    border-color: var(--ab-accent);
    color: #062e1d;
    box-shadow: 0 0 0 3px rgba(var(--ab-accent-rgb), 0.16);
}
.ab-check.is-done .ab-check__lbl { color: #fff; }
.ab-check.is-done .ab-check__hint { color: var(--ab-accent); }

.ab-aside-card--mute {
    background: var(--ab-bg-2);
    border-color: var(--ab-line);
    padding: 14px;
    border-radius: 14px;
}
.ab-aside-card--mute .ab-card__head { padding-bottom: 10px; margin-bottom: 10px; }
.ab-aside-card--mute .ab-card__title { font-size: 13px; }
.ab-aside-card--mute .ab-timing > div { padding: 8px 12px; font-size: 12px; }

.ab-result-count {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    background: var(--ab-bg-3);
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius-sm);
    color: var(--ab-text-muted);
    font-size: 12.5px;
    font-weight: 700;
    height: 44px;
    white-space: nowrap;
}
.ab-result-count i { font-size: 14px; color: var(--ab-accent); }
.ab-result-count [data-result-count] { color: #fff; }

.ab-recent {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 6px 0;
    flex-wrap: wrap;
}
.ab-recent__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: var(--ab-text-dim);
    font-weight: 700;
    flex-shrink: 0;
}
.ab-recent__list {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    flex: 1;
}
.ab-recent__chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: var(--ab-bg-2);
    border: 1px solid var(--ab-line);
    border-radius: 999px;
    color: var(--ab-text-muted);
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s var(--ab-ease-soft);
}
.ab-recent__chip:hover {
    background: var(--ab-bg-3);
    color: #fff;
    border-color: rgba(var(--ab-accent-rgb), 0.40);
    transform: translateY(-1px);
}
.ab-recent__chip i { font-size: 13px; opacity: 0.7; }

.ab-link-input {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--ab-bg-3);
    border: 1px solid var(--ab-line-strong);
    border-radius: var(--ab-radius-sm);
    transition: border-color 0.18s, box-shadow 0.22s;
}
.ab-link-input:focus-within {
    border-color: rgba(var(--ab-accent-rgb), 0.55);
    box-shadow: 0 0 0 3px rgba(var(--ab-accent-rgb), 0.10);
}
.ab-link-input__icon {
    position: absolute;
    left: 14px;
    color: var(--ab-text-muted);
    font-size: 18px;
    pointer-events: none;
}
.ab-link-input__field {
    flex: 1;
    width: 100%;
    padding: 12px 42px 12px 42px;
    background: transparent;
    border: 0;
    outline: 0;
    color: var(--ab-text);
    font-size: 13px;
    font-family: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
    letter-spacing: 0.01em;
}
.ab-link-input__field::placeholder {
    color: var(--ab-text-dim);
    font-family: inherit;
}
.ab-link-input__clear {
    position: absolute;
    right: 8px;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: var(--ab-text-muted);
    cursor: pointer;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ab-link-input__clear:hover { background: var(--ab-bg-2); color: #fff; }
.ab-link-input__clear i { font-size: 18px; }
.ab-link-input__hint {
    margin: 8px 0 0;
    padding: 0;
    font-size: 11.5px;
    color: var(--ab-text-muted);
    line-height: 1.5;
}
.ab-link-input__hint code {
    background: rgba(255, 255, 255, 0.05);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 11px;
    color: var(--ab-accent);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.ab-bancard__pill {
    flex-shrink: 0;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    border: 1px solid currentColor;
    line-height: 1.4;
}
.ab-bancard.sev-perm  .ab-bancard__pill,
.ab-bancard.sev-perm  { --bc-accent: #ff6b6b; --bc-accent-rgb: 255, 107, 107; }
.ab-bancard.sev-wall  { --bc-accent: #b56bff; --bc-accent-rgb: 181, 107, 255; }
.ab-bancard.sev-aim   { --bc-accent: #ff8a4f; --bc-accent-rgb: 255, 138, 79; }
.ab-bancard.sev-cheat { --bc-accent: #ff5e93; --bc-accent-rgb: 255, 94, 147; }
.ab-bancard.sev-toxic { --bc-accent: #f7ce68; --bc-accent-rgb: 247, 206, 104; }
.ab-bancard.sev-multi { --bc-accent: #5fa8ff; --bc-accent-rgb: 95, 168, 255; }
.ab-bancard.sev-tk    { --bc-accent: #ffb84d; --bc-accent-rgb: 255, 184, 77; }
.ab-bancard.sev-other { --bc-accent: var(--ab-danger); --bc-accent-rgb: var(--ab-danger-rgb); }

.ab-bancard__pill {
    color: var(--bc-accent);
    background: rgba(var(--bc-accent-rgb), 0.10);
    border-color: rgba(var(--bc-accent-rgb), 0.40);
}
.ab-bancard__server-line {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--ab-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}
.ab-bancard__server-line i { font-size: 13px; color: var(--bc-accent); opacity: 0.7; }

/* Premium hover glow on cards */
.ab-bancard {
    border-radius: 16px;
}
.ab-bancard:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--bc-accent-rgb), 0.55);
    box-shadow:
        0 22px 40px -16px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(var(--bc-accent-rgb), 0.18),
        0 12px 30px -12px rgba(var(--bc-accent-rgb), 0.30);
}
.ab-bancard__btn {
    transition: all 0.22s var(--ab-ease-soft);
    overflow: hidden;
    position: relative;
}
.ab-bancard__btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.12) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.5s var(--ab-ease);
    pointer-events: none;
}
.ab-bancard:hover .ab-bancard__btn::after { transform: translateX(100%); }

/* Hide the older small server pill in card head — replaced by sev-pill */
.ab-bancard__server { display: none; }

.ab-mobile-bar__stats {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.ab-mobile-bar__stat {
    position: relative;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ab-mobile-bar__stat svg {
    width: 36px; height: 36px;
    position: absolute;
    inset: 0;
}
.ab-mobile-bar__stat span {
    position: relative;
    z-index: 1;
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.ab-mobile-bar__chips {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}
.ab-mobile-bar__chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--ab-text-muted);
    line-height: 1;
}
.ab-mobile-bar__chip i { font-size: 13px; }
.ab-mobile-bar__chip.is-ok { background: rgba(var(--ab-accent-rgb), 0.16); color: var(--ab-accent); }

/* Mobile responsive tweaks for the new pieces */
@media (max-width: 767.98px) {
    .ab-flow { flex-wrap: nowrap; overflow-x: auto; padding: 10px 12px; gap: 6px; }
    .ab-flow__label { font-size: 11px; }
    .ab-flow__line { min-width: 12px; }
    .ab-quality-card { padding: 14px; }
    .ab-quality__gauge { width: 108px; height: 108px; }
    .ab-quality__pct { font-size: 24px; }
    .ab-recent { gap: 6px; margin-bottom: 8px; }
    .ab-recent__label { display: none; }
    .ab-result-count { padding: 0 10px; height: 40px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .ab-flow__step.is-active .ab-flow__num { animation: none; }
    .ab-bancard__btn::after { display: none; }
}


.ab-toasts {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    pointer-events: none;
    width: 380px;
    max-width: calc(100vw - 40px);
}
.ab-toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #2a2d36;        /* default — overridden per type below */
    border: 0;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    box-shadow:
        0 20px 40px -12px rgba(0, 0, 0, 0.75),
        0 8px 16px -8px rgba(0, 0, 0, 0.55);
    opacity: 0;
    transform: translateX(110%);
    transition:
        opacity 0.28s var(--ab-ease-soft),
        transform 0.36s var(--ab-ease);
    width: 100%;
}
.ab-toast.is-shown { opacity: 1; transform: translateX(0); }

/* Filled icon badge */
.ab-toast__ic {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.22);
}
.ab-toast__ic i { font-size: 22px; line-height: 1; }

/* Text */
.ab-toast > span:not(.ab-toast__ic):not(.ab-toast__close) {
    flex: 1;
    min-width: 0;
    word-break: break-word;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.005em;
}

/* Close button */
.ab-toast__close {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.20);
    color: rgba(255, 255, 255, 0.78);
    border-radius: 7px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.16s var(--ab-ease-soft), color 0.16s var(--ab-ease-soft);
}
.ab-toast__close:hover { background: rgba(0, 0, 0, 0.40); color: #fff; }
.ab-toast__close i { font-size: 18px; line-height: 1; }

/* ── Type variants — fully filled with brand color, no decorative strips ── */
.ab-toast--success {
    background: linear-gradient(180deg, #2f9461 0%, #267850 100%);
    box-shadow:
        0 20px 40px -12px rgba(var(--ab-accent-rgb), 0.50),
        0 8px 16px -8px rgba(0, 0, 0, 0.50);
}
.ab-toast--error {
    background: linear-gradient(180deg, #c64346 0%, #a83536 100%);
    box-shadow:
        0 20px 40px -12px rgba(var(--ab-danger-rgb), 0.50),
        0 8px 16px -8px rgba(0, 0, 0, 0.50);
}
.ab-toast--info {
    background: linear-gradient(180deg, #c79a3c 0%, #a87f29 100%);
    box-shadow:
        0 20px 40px -12px rgba(var(--ab-warn-rgb), 0.50),
        0 8px 16px -8px rgba(0, 0, 0, 0.50);
}

/* ─── Lightbox (screenshot zoom) ─────────────────────────────── */
.ab-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 8, 12, 0.78);
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    opacity: 0;
    transition: opacity 0.22s var(--ab-ease-soft);
    padding: 56px 24px 80px;
}
.ab-lightbox[hidden] { display: none !important; }
.ab-lightbox.is-open { opacity: 1; }
.ab-lightbox__stage {
    position: relative;
    max-width: min(1400px, 100%);
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ab-lightbox__img {
    max-width: 100%;
    max-height: calc(100vh - 140px);
    object-fit: contain;
    border-radius: 12px;
    box-shadow:
        0 30px 60px -20px rgba(0, 0, 0, 0.75),
        0 0 0 1px rgba(255, 255, 255, 0.06);
    background: #0a0a10;
    transform: scale(0.96);
    opacity: 0;
    transition: transform 0.30s var(--ab-ease), opacity 0.30s var(--ab-ease-soft);
}
.ab-lightbox.is-open .ab-lightbox__img { transform: scale(1); opacity: 1; }
.ab-lightbox__caption {
    position: absolute;
    bottom: 24px;
    left: 0; right: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 12.5px;
    letter-spacing: 0.02em;
    font-weight: 600;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.ab-lightbox__close,
.ab-lightbox__nav {
    position: absolute;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(20, 20, 28, 0.78);
    color: #fff;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.18s var(--ab-ease-soft);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.ab-lightbox__close { top: 16px; right: 16px; z-index: 2; }
.ab-lightbox__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.ab-lightbox__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }
.ab-lightbox__close:hover { background: rgba(var(--ab-danger-rgb), 0.85); border-color: rgba(var(--ab-danger-rgb), 0.85); }
.ab-lightbox__nav:hover {
    background: rgba(var(--ab-accent-rgb), 0.20);
    border-color: rgba(var(--ab-accent-rgb), 0.55);
    color: var(--ab-accent);
}
.ab-lightbox__nav--prev:hover { transform: translateY(-50%) translateX(-2px); }
.ab-lightbox__nav--next:hover { transform: translateY(-50%) translateX(2px); }
.ab-lightbox__close i { font-size: 22px; }
.ab-lightbox__nav i { font-size: 24px; }

/* ─── Zoom-trigger overlay on thumbnails ─────────────────────── */
.ab-thumb__zoom {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    cursor: zoom-in;
    overflow: hidden;
    display: block;
}
.ab-thumb__zoom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.32s var(--ab-ease-soft);
}
.ab-thumb__zoom:hover img { transform: scale(1.06); }
.ab-thumb__zoom-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.45));
    opacity: 0;
    transition: opacity 0.22s var(--ab-ease-soft);
    pointer-events: none;
}
.ab-thumb__zoom-icon i {
    font-size: 26px;
    background: rgba(0, 0, 0, 0.6);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.ab-thumb:hover .ab-thumb__zoom-icon,
.ab-thumb__zoom:focus-visible .ab-thumb__zoom-icon { opacity: 1; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .ab-form-grid { grid-template-columns: 1fr; }
    .ab-bans { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
    .ab-skeleton { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}
@media (max-width: 767.98px) {
    .ab-app { padding-bottom: 80px; }
    .ab-topbar { padding: 12px 14px; }
    .ab-topbar__h { font-size: 16px; }
    .ab-topbar__sub { font-size: 11px; }
    .ab-topbar__right .ab-btn { display: none; }
    .ab-quota__lim { display: none; }
    .ab-quota { padding: 4px 10px 4px 4px; }
    .ab-quota__ring { width: 28px; height: 28px; }
    .ab-toolbar { flex-direction: column; align-items: stretch; gap: 8px; }
    .ab-toolbar .ab-btn { width: 100%; }
    .ab-bans { grid-template-columns: 1fr; }
    .ab-skeleton { grid-template-columns: 1fr; }
    .ab-skel-card { height: 130px; }
    .ab-server-card__addr { display: none; }
    .ab-mobile-bar { display: flex; }
    .ab-form-aside .ab-submit-btn,
    .ab-form-aside__note { display: none; }
    .ab-selected__hero { padding: 12px 14px; gap: 12px; }
    .ab-selected__icon { width: 38px; height: 38px; font-size: 18px; }
    .ab-selected__nick { font-size: 16px; }
    .ab-toasts { left: 12px; right: 12px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); width: auto; }
    .ab-toast { min-width: 0; max-width: none; width: 100%; }
    .ab-lightbox { padding: 50px 12px 70px; }
    .ab-lightbox__close, .ab-lightbox__nav { width: 40px; height: 40px; border-radius: 10px; }
    .ab-lightbox__nav i { font-size: 22px; }
    .ab-lightbox__caption { font-size: 11.5px; bottom: 14px; padding: 0 16px; }
}
@media (max-width: 480px) {
    .ab-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
    .ab-thumb__rm { opacity: 1; transform: scale(1); }
    .ab-card { padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .ab-bancard, .ab-thumb, .ab-fileitem, .ab-saveinfo { animation: none; }
    .ab-skel-card { animation: none; }
    .ab-search__spin span { animation: none; }
}
