:root {
    /* Deep Dark Minimalist Palette */
    --bg-base: #000000;
    --bg-surface: #0a0a0a;
    --bg-surface-hover: #111111;
    --bg-pill: #1a1a1a;

    /* Text */
    --text-primary: #ededed;
    --text-secondary: #888888;
    --text-muted: #555555;

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);

    /* Accents (Muted & Elegant) */
    --accent-primary: #ffffff;
    --accent-success: #33ff99;
    --accent-warning: #ffcc00;
    --accent-danger: #ff5555;
    --accent-blue: #3399ff;

    /* Shadows & Effects */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.8);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.9);
    --glass-blur: blur(24px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    min-height: 100vh;
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Particle Canvas Background */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Background Noise Texture */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 50;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Subtle Top Glow */
.ambient-light {
    position: fixed;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 50vh;
    background: radial-gradient(ellipse at bottom, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Typography elements */
.font-mono {
    font-family: 'JetBrains Mono', 'Menlo', 'Monaco', 'Courier New', monospace;
}

/* Layout */
.layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 64px;
    position: relative;
    z-index: 10;
}

/* Top Navigation */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 40px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    color: var(--accent-primary);
}

.brand-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

h1 {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.badge {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--bg-pill);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    font-weight: 600;
}

.connection-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.status-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-indicator.online {
    background-color: var(--accent-success);
    box-shadow: 0 0 8px rgba(51, 255, 153, 0.4);
}

/* Navigation Tabs */
.nav-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 32px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 4px;
    width: fit-content;
}

.nav-tab {
    padding: 8px 20px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-tab:hover {
    color: var(--text-primary);
    background: var(--bg-surface-hover);
}

.nav-tab.active {
    background: var(--text-primary);
    color: var(--bg-base);
}

/* Report Cards */
.report-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    animation: fade-in 0.4s ease forwards;
    opacity: 0;
}

.report-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
    background: var(--bg-surface-hover);
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.report-id {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
}

.report-status {
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.status-open {
    background: rgba(255, 85, 85, 0.12);
    color: var(--accent-danger);
    border: 1px solid rgba(255, 85, 85, 0.2);
}

.status-taken {
    background: rgba(255, 204, 0, 0.12);
    color: var(--accent-warning);
    border: 1px solid rgba(255, 204, 0, 0.2);
}

.report-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.info-label {
    color: var(--text-secondary);
}

.info-value {
    color: var(--text-primary);
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
}

.report-reason {
    margin-top: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    border-left: 2px solid var(--text-muted);
}

.reason-label {
    color: var(--text-secondary);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}

.reason-text {
    color: var(--text-primary);
    font-size: 13px;
}

.report-time {
    margin-top: 12px;
    font-size: 11px;
    color: var(--text-muted);
    text-align: right;
}

/* Metrics Section */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.metric-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.metric-title {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.metric-icon {
    color: var(--text-muted);
}

.metric-value-container {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.metric-value {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.metric-trend {
    font-size: 12px;
    font-weight: 500;
}

.metric-trend.positive {
    color: var(--text-secondary);
}

.metric-trend.negative {
    color: var(--accent-danger);
}

/* Pulse Animation for Critical Header */
.pulse-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.alert-icon {
    color: var(--accent-danger);
    position: relative;
    z-index: 2;
}

.danger-alert .metric-value {
    color: var(--accent-danger);
}

.pulse-ring {
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: rgba(255, 85, 85, 0.2);
    border-radius: 50%;
    animation: pulse-animation 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    z-index: 1;
}

@keyframes pulse-animation {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Toolbar */
.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.search-container {
    position: relative;
    flex: 1;
    min-width: 240px;
    max-width: 400px;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    transition: color 0.2s;
}

.search-container input {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 8px 36px 8px 36px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
}

.search-container input:focus {
    border-color: var(--border-hover);
    background: var(--bg-surface-hover);
}

.search-container input:focus+.search-icon {
    color: var(--text-primary);
}

.shortcut-hint {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-pill);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    pointer-events: none;
}

.filters-container {
    display: flex;
    gap: 12px;
}

.select-wrapper {
    position: relative;
}

select {
    appearance: none;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 8px 32px 8px 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}

select:hover {
    border-color: var(--border-hover);
}

.select-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

/* Data Grid */
.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.page-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'JetBrains Mono', monospace;
    outline: none;
}

.page-btn:hover:not(:disabled) {
    border-color: var(--border-hover);
    background: var(--bg-surface-hover);
    transform: translateY(-2px);
}

.page-btn.active {
    background: var(--text-primary);
    color: var(--bg-base);
    border-color: var(--text-primary);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-dots {
    color: var(--text-muted);
    font-weight: bold;
    padding: 0 4px;
}

/* Base Card */
.entity-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    animation: fade-in 0.4s ease forwards;
    opacity: 0;
}

/* Hover effect */
.entity-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
    background: var(--bg-surface-hover);
}

@keyframes fade-in {
    to {
        opacity: 1;
    }
}

/* Card Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.identity {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
    padding-right: 16px;
}

.entity-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.entity-id {
    font-size: 11px;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Threat Score */
.threat-score-wrapper {
    text-align: right;
}

.threat-score {
    font-size: 18px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.threat-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-top: 4px;
    display: block;
}

/* Categories Data */
.metrics-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 16px;
    margin-top: 16px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.metric-row-small {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.metric-label {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.metric-label svg {
    color: var(--text-muted);
}

.metric-val {
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-primary);
}

.metric-val.alert {
    color: var(--accent-danger);
}

/* Timestamps */
.timestamps {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
}

/* Status Messages */
.system-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 20px;
    text-align: center;
    gap: 12px;
    border: 1px dashed var(--border-subtle);
    border-radius: 8px;
}

.system-message p {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.muted-text {
    color: var(--text-muted);
    font-size: 12px;
}

.muted-icon {
    color: var(--text-muted);
    opacity: 0.5;
    margin-bottom: 8px;
}

/* Loader */
.loader {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-subtle);
    border-top-color: var(--text-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .layout {
        padding: 0 16px 32px;
    }

    .toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-container {
        max-width: none;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================ */
/* LOGIN PAGE                                   */
/* ============================================ */

.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    z-index: 10;
    padding: 20px;
}

.login-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 380px;
    box-shadow: var(--shadow-md);
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.login-header h1 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 8px;
}

.login-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-group label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.input-group input {
    width: 100%;
    background: var(--bg-base);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 10px 14px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
}

.input-group input:focus {
    border-color: var(--border-hover);
    background: var(--bg-surface-hover);
}

.login-error {
    font-size: 12px;
    color: var(--accent-danger);
    text-align: center;
    margin: 0;
}

.login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    background: var(--text-primary);
    color: var(--bg-base);
    border: none;
    border-radius: 6px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    margin-top: 8px;
}

.login-btn:hover {
    opacity: 0.85;
}

/* ============================================ */
/* ADMIN CHECKS                                 */
/* ============================================ */

.logout-btn {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.logout-btn:hover {
    border-color: var(--accent-danger);
    color: var(--accent-danger);
}

.section-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.create-check-section {
    margin-bottom: 40px;
}

.create-check-form .form-row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.create-check-form .input-group {
    flex: 1;
}

.create-check-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--text-primary);
    color: var(--bg-base);
    border: none;
    border-radius: 6px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
    height: 40px;
}

.create-check-btn:hover {
    opacity: 0.85;
}

.checks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 16px;
}

.check-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.2s ease, border-color 0.2s ease;
    animation: fade-in 0.4s ease forwards;
    opacity: 0;
}

.check-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-hover);
}

.check-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.check-player-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
    display: block;
}

.check-reason {
    font-size: 12px;
    color: var(--text-secondary);
    display: block;
    margin-top: 4px;
}

.check-status-badge {
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.status-active {
    background: rgba(51, 255, 153, 0.12);
    color: var(--accent-success);
    border: 1px solid rgba(51, 255, 153, 0.2);
}

.check-verdict {
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.verdict-clean {
    background: rgba(51, 255, 153, 0.12);
    color: var(--accent-success);
    border: 1px solid rgba(51, 255, 153, 0.2);
}

.verdict-cheats {
    background: rgba(255, 85, 85, 0.12);
    color: var(--accent-danger);
    border: 1px solid rgba(255, 85, 85, 0.2);
}

.verdict-refused {
    background: rgba(255, 204, 0, 0.12);
    color: var(--accent-warning);
    border: 1px solid rgba(255, 204, 0, 0.2);
}

.check-card-meta {
    display: flex;
    gap: 16px;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.check-card-actions {
    display: flex;
    gap: 8px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 16px;
}

.check-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-surface-hover);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    border-radius: 6px;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.check-action-btn:hover {
    border-color: var(--border-hover);
}

.check-action-btn.primary {
    background: var(--text-primary);
    color: var(--bg-base);
    border-color: var(--text-primary);
}

.check-action-btn.copied {
    border-color: var(--accent-success);
    color: var(--accent-success);
}

/* ============================================ */
/* CHECK PAGE LAYOUT                            */
/* ============================================ */

.check-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 0;
    height: 100vh;
    position: relative;
    z-index: 10;
}

.check-left {
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    overflow-y: auto;
}

.check-right {
    display: flex;
    flex-direction: column;
    background: var(--bg-surface);
    border-left: 1px solid var(--border-subtle);
}

/* Check Header */
.check-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
}

.check-player {
    font-size: 18px;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
}

.check-reason-text {
    font-size: 12px;
    color: var(--text-secondary);
    display: block;
    margin-top: 2px;
}

.check-timer-block {
    text-align: right;
}

.check-timer {
    font-size: 24px;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-primary);
}

.check-status-label {
    font-size: 11px;
    color: var(--accent-success);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-top: 2px;
}

/* Screen Share */
.screen-share-area {
    flex: 1;
    min-height: 300px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.screen-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    display: none;
}

.screen-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 12px;
    color: var(--text-muted);
    font-size: 13px;
}

/* Media Controls */
.media-controls {
    display: flex;
    gap: 8px;
}

.media-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.media-btn:hover {
    border-color: var(--border-hover);
    background: var(--bg-surface-hover);
}

.media-btn.active {
    background: rgba(51, 255, 153, 0.12);
    border-color: rgba(51, 255, 153, 0.3);
    color: var(--accent-success);
}

/* Screen Settings */
.screen-settings {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

.settings-select {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    border-radius: 6px;
    padding: 6px 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    cursor: pointer;
    outline: none;
    transition: all 0.2s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 24px;
}

.settings-select:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.settings-select:focus {
    border-color: var(--border-hover);
}

.settings-select option {
    background: var(--bg-base);
    color: var(--text-primary);
}

/* Verdict Panel */
.verdict-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 20px;
}

.verdict-panel h3 {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.verdict-buttons {
    display: flex;
    gap: 8px;
}

.verdict-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 12px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    background: var(--bg-base);
    color: var(--text-secondary);
}

.verdict-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.verdict-btn.verdict-clean:hover {
    border-color: rgba(51, 255, 153, 0.4);
    color: var(--accent-success);
}

.verdict-btn.verdict-cheats:hover {
    border-color: rgba(255, 85, 85, 0.4);
    color: var(--accent-danger);
}

.verdict-btn.verdict-refused:hover {
    border-color: rgba(255, 204, 0, 0.4);
    color: var(--accent-warning);
}

/* Verdict Result */
.verdict-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: normal;
    animation: slide-up 0.4s ease-out;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.verdict-result.verdict-clean {
    border-color: rgba(51, 255, 153, 0.3);
    color: var(--accent-success);
    box-shadow: 0 0 30px rgba(51, 255, 153, 0.05);
}

.verdict-result.verdict-cheats {
    border-color: rgba(255, 85, 85, 0.3);
    color: var(--accent-danger);
    box-shadow: 0 0 30px rgba(255, 85, 85, 0.05);
}

.verdict-result.verdict-refused {
    border-color: rgba(255, 204, 0, 0.3);
    color: var(--accent-warning);
    box-shadow: 0 0 30px rgba(255, 204, 0, 0.05);
}

.verdict-result span {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes slide-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================ */
/* CHAT                                         */
/* ============================================ */

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-subtle);
}

.chat-header h3 {
    font-size: 14px;
    font-weight: 500;
}

.chat-online {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    max-width: 85%;
}

.chat-message.admin {
    align-self: flex-start;
}

.chat-message.player {
    align-self: flex-end;
}

.msg-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}

.msg-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
}

.msg-name.admin-name {
    color: var(--text-primary);
    opacity: 0.9;
}

.msg-time {
    font-size: 10px;
    color: var(--text-muted);
}

.msg-text {
    font-size: 13px;
    color: var(--text-primary);
    background: var(--bg-base);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    line-height: 1.4;
    word-break: break-word;
}

.chat-message.admin .msg-text {
    border-color: var(--border-subtle);
}

.chat-system-message {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    padding: 4px 0;
}

.chat-input-form {
    display: flex;
    padding: 12px 16px;
    border-top: 1px solid var(--border-subtle);
    gap: 8px;
}

.chat-input-form input {
    flex: 1;
    background: var(--bg-base);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 8px 14px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.chat-input-form input:focus {
    border-color: var(--border-hover);
}

.chat-send-btn {
    background: var(--text-primary);
    color: var(--bg-base);
    border: none;
    border-radius: 6px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.2s;
}

.chat-send-btn:hover {
    opacity: 0.8;
}

/* ============================================ */
/* CHECK PAGE RESPONSIVE                        */
/* ============================================ */

@media (max-width: 768px) {
    .check-layout {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 100vh;
    }

    .check-right {
        border-left: none;
        border-top: 1px solid var(--border-subtle);
        height: 400px;
    }

    .create-check-form .form-row {
        flex-direction: column;
    }

    .verdict-buttons {
        flex-direction: column;
    }
}