/* FearHelper dashboard skin.
   Presentation only: the markup, API calls and renderer logic stay the same. */

:root {
    --fh-bg: #06070a;
    --fh-bg-soft: #090b10;
    --fh-panel: #0c0f15;
    --fh-panel-2: #10141c;
    --fh-panel-3: #151a24;
    --fh-line: rgba(148, 163, 184, 0.12);
    --fh-line-strong: rgba(148, 163, 184, 0.22);
    --fh-text: #eef2f9;
    --fh-text-2: #c6cfdf;
    --fh-muted: #8b97ab;
    --fh-dim: #5f6b7f;
    --fh-blue: #5b7cfa;
    --fh-blue-2: #7f9bff;
    --fh-cyan: #53e0ff;
    --fh-green: #4ade80;
    --fh-amber: #e6b45e;
    --fh-rose: #f07178;
    --fh-radius: 16px;
    --fh-radius-sm: 10px;
    --fh-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    --fh-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
    --fh-shadow: 0 24px 70px -40px rgba(0, 0, 0, 0.95);

    --bg-primary: var(--fh-bg);
    --bg-secondary: var(--fh-panel);
    --bg-tertiary: var(--fh-panel-2);
    --bg-card: var(--fh-panel);
    --border-color: var(--fh-line);
    --text-primary: var(--fh-text);
    --text-secondary: var(--fh-text-2);
    --text-muted: var(--fh-muted);
    --accent-primary: var(--fh-blue);
    --accent-secondary: var(--fh-blue-2);
    --success: var(--fh-green);
    --warning: var(--fh-amber);
    --error: var(--fh-rose);
    --danger: var(--fh-rose);

    --glass-fill: var(--fh-panel);
    --glass-fill-hover: var(--fh-panel-2);
    --glass-fill-active: var(--fh-panel-3);
    --glass-surface: rgba(10, 12, 18, 0.88);
    --glass-sheet: #0d1017;
    --glass-well: #080a0f;
    --glass-hairline: var(--fh-line);
    --glass-edge: var(--fh-line-strong);
    --glass-lift: 0 1px 0 rgba(255, 255, 255, 0.035) inset;
    --glass-lift-high: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 30px 80px -36px rgba(0, 0, 0, 0.9);
    --glass-well-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
    --glass-blur: none;
    --glass-blur-surface: none;
    --glass-accent-gradient: linear-gradient(180deg, #6b89ff, #4d70ef);
    --glass-accent-glow: 0 10px 26px -14px rgba(91, 124, 250, 0.85);
    --radius-card: var(--fh-radius);
    --radius-pill: 999px;
}

body.page {
    background-color: var(--fh-bg) !important;
    background-image:
        radial-gradient(64rem 44rem at 50% -18%, rgba(75, 103, 224, 0.14), transparent 62%),
        radial-gradient(38rem 30rem at 100% 6%, rgba(83, 224, 255, 0.035), transparent 60%),
        linear-gradient(180deg, #06070a 0%, #080a0f 54%, #06070a 100%) !important;
    background-attachment: fixed;
    color: var(--fh-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.page::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.032) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 80% 62% at 50% 0%, #000 8%, transparent 78%);
    mask-image: radial-gradient(ellipse 80% 62% at 50% 0%, #000 8%, transparent 78%);
}

body.page::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 70% 55% at 50% 18%, transparent 40%, rgba(0, 0, 0, 0.32) 100%);
}

body.page .container {
    position: relative;
    z-index: 1;
}

body.page ::selection {
    background: rgba(91, 124, 250, 0.36);
    color: #fff;
}

body.page :focus-visible {
    outline: 2px solid var(--fh-cyan);
    outline-offset: 2px;
}

body.page .header,
body.page .sidebar,
body.page .footer,
body.page .players-section,
body.page .player-card,
body.page .evasion-card,
body.page .evasion-modal,
body.page .menu-card,
body.page .content-section,
body.page .tech-item,
body.page .account-card {
    border-radius: var(--fh-radius);
}

/* ── Shell ───────────────────────────────────────────────────────────────── */

body.page .header {
    background: rgba(9, 11, 16, 0.86) !important;
    border: 1px solid var(--fh-line) !important;
    border-radius: 14px !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset !important;
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    backdrop-filter: blur(16px) saturate(1.2);
    padding: 9px 12px !important;
    margin-bottom: 0 !important;
}

body.page .header-content {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-height: 40px;
}

body.page .header-title-section {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    justify-self: start;
}

body.page .header h1,
body.page .header .logo-container {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    min-width: 0;
}

body.page .header h1::before {
    display: none;
}

body.page .header h1.logo-container svg {
    width: 31px;
    height: 31px;
    flex: none;
    filter: drop-shadow(0 4px 12px rgba(53, 91, 255, 0.32));
}

body.page .header h1 .logo-text {
    color: var(--fh-text);
    font-family: var(--fh-display);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1;
}

body.page .fh-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: var(--fh-text);
    text-decoration: none;
}

body.page .fh-brand-logo {
    width: 31px;
    height: 31px;
    flex: none;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(53, 91, 255, 0.32));
}

body.page .fh-brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1;
}

body.page .fh-brand-copy strong {
    font-family: var(--fh-display);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.04em;
}

body.page .fh-brand-copy small {
    margin-top: 3px;
    color: var(--fh-dim);
    font-family: var(--fh-mono);
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 0.18em;
}

body.page .nav-buttons {
    display: flex;
    align-items: center;
    justify-self: center;
    gap: 3px;
    padding: 3px;
    border: 1px solid var(--fh-line);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.26);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}

body.page .nav-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--fh-muted);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: none;
    transform: none;
    transition: background 160ms ease, color 160ms ease;
}

body.page .nav-btn::before {
    display: none;
}

body.page .nav-btn svg {
    width: 14px;
    height: 14px;
    opacity: 0.72;
}

body.page .nav-btn:hover {
    background: rgba(255, 255, 255, 0.055);
    color: var(--fh-text);
    transform: none;
    box-shadow: none;
}

body.page .nav-btn.active {
    background: linear-gradient(180deg, #6b89ff, #4d70ef);
    color: #fff;
    box-shadow: 0 8px 22px -12px rgba(91, 124, 250, 0.9), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

body.page .nav-btn.active svg {
    opacity: 0.95;
}

body.page .fh-header-status {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-self: end;
    min-width: 0;
}

body.page .fh-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 26px;
    padding: 0 10px;
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 999px;
    background: rgba(74, 222, 128, 0.06);
    color: #9ef0bd;
    font-family: var(--fh-mono);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

body.page .fh-live-pill i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--fh-green);
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.85);
    animation: fh-pulse 2.4s ease-in-out infinite;
}

body.page .fh-live-pill.is-offline {
    border-color: var(--fh-line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--fh-dim);
}

body.page .fh-live-pill.is-offline i {
    background: var(--fh-dim);
    box-shadow: none;
    animation: none;
}

body.page .fh-header-link {
    color: var(--fh-muted);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: color 160ms ease;
}

body.page .fh-header-link:hover {
    color: var(--fh-text);
}

body.page .info-icon {
    width: 25px;
    height: 25px;
    margin-left: 2px;
    border: 1px solid var(--fh-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--fh-muted);
    box-shadow: none;
}

body.page .info-icon::before {
    display: none;
}

body.page .info-icon:hover {
    border-color: var(--fh-line-strong);
    background: rgba(255, 255, 255, 0.06);
    color: var(--fh-text);
    transform: none;
    box-shadow: none;
}

body.page .info-tooltip-content {
    border: 1px solid var(--fh-line-strong);
    border-radius: 12px;
    background: #0d1017;
    box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.9);
}

/* ── Sidebar ─────────────────────────────────────────────────────────────── */

body.page .sidebar {
    background: linear-gradient(180deg, #0b0e14, #090b10) !important;
    border: 1px solid var(--fh-line) !important;
    border-radius: 16px !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset !important;
    padding: 10px !important;
}

body.page-players .sidebar-brand {
    display: none !important;
}

body.page .sidebar-brand-text {
    font-family: var(--fh-display);
    font-size: 14px;
    letter-spacing: -0.03em;
}

body.page .sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

body.page .sidebar-nav::before {
    content: 'WORKSPACE';
    padding: 2px 8px 7px;
    color: var(--fh-dim);
    font-family: var(--fh-mono);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.18em;
}

body.page .sidebar-item {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 9px 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--fh-muted);
    font-size: 12.5px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    box-shadow: none;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

body.page .sidebar-item svg {
    width: 16px;
    height: 16px;
    flex: none;
    opacity: 0.72;
}

body.page .sidebar-item:hover {
    background: rgba(255, 255, 255, 0.035);
    border-color: var(--fh-line);
    color: var(--fh-text);
}

body.page .sidebar-item.active {
    background: linear-gradient(90deg, rgba(91, 124, 250, 0.17), rgba(91, 124, 250, 0.06));
    border-color: rgba(91, 124, 250, 0.24);
    color: #dce5ff;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

body.page .sidebar-item.active svg {
    opacity: 1;
    color: var(--fh-blue-2);
}

body.page .sidebar-count {
    margin-left: auto;
    padding: 2px 6px;
    border: 1px solid var(--fh-line);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--fh-muted);
    font-family: var(--fh-mono);
    font-size: 9px;
    line-height: 1.4;
}

body.page .sidebar-item.active .sidebar-count {
    border-color: rgba(91, 124, 250, 0.3);
    background: rgba(91, 124, 250, 0.14);
    color: #c9d5ff;
}

body.page .sidebar-count.has-items {
    border-color: rgba(240, 113, 120, 0.28);
    background: rgba(240, 113, 120, 0.1);
    color: #f4a7ab;
}

body.page .sidebar-foot {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: auto;
    padding-top: 9px;
    padding-left: 0;
    border-top: 1px solid var(--fh-line);
    border-left: 0;
}

body.page .sidebar-foot-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 9px;
    border-radius: 8px;
    color: var(--fh-dim);
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease;
}

body.page .sidebar-foot-link:hover {
    background: rgba(255, 255, 255, 0.035);
    color: var(--fh-text-2);
}

body.page .sidebar-foot-link span {
    display: inline;
}

body.page .sidebar-foot-link svg {
    opacity: 0.7;
}

body.page .footer {
    background: transparent !important;
    border: 0 !important;
    border-top: 1px solid var(--fh-line) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 10px 2px 2px !important;
}

body.page .footer-content {
    gap: 12px;
}

body.page .footer-text,
body.page .footer-link {
    color: var(--fh-dim);
    font-size: 10.5px;
}

body.page .footer-link:hover {
    color: var(--fh-text);
    background: transparent;
}

body.page .footer-copyright {
    padding: 0;
    border: 0;
    background: transparent;
}

body.page .footer-link-telegram {
    color: #7dd3fc;
}

body.page .footer-link-telegram:hover {
    color: #bae6fd;
}

/* ── Players layout ──────────────────────────────────────────────────────── */

body.page-players .container {
    padding: 10px;
    gap: 10px;
}

body.page-players .main-content {
    gap: 0;
    padding: 0;
}

body.page-players .players-container-two {
    gap: 10px;
}

body.page-players .players-section {
    position: relative;
    padding: 12px !important;
    background: linear-gradient(180deg, rgba(15, 19, 27, 0.96), rgba(10, 12, 18, 0.98)) !important;
    border: 1px solid var(--fh-line) !important;
    border-radius: 18px !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.035) inset !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

body.page-players .section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

body.page-players .section-header h2 {
    margin: 0;
    color: var(--fh-text);
    font-family: var(--fh-display);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.035em;
}

body.page-players .section-header.unconfigured-header h2 {
    color: var(--fh-amber);
}

body.page-players .section-count {
    min-width: 30px;
    margin-left: auto;
    padding: 2px 8px;
    border: 1px solid var(--fh-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--fh-muted);
    font-family: var(--fh-mono);
    font-size: 9px;
    font-weight: 600;
    text-align: center;
}

body.page-players .section-header.configured-header .section-count {
    border-color: rgba(91, 124, 250, 0.24);
    background: rgba(91, 124, 250, 0.1);
    color: #b8c7ff;
}

body.page-players .section-header.unconfigured-header .section-count {
    border-color: rgba(230, 180, 94, 0.24);
    background: rgba(230, 180, 94, 0.08);
    color: var(--fh-amber);
}

body.page-players .section-controls {
    margin-bottom: 7px;
}

body.page-players .filter-toggle {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 7px 9px;
    border: 1px solid var(--fh-line);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.022);
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease;
}

body.page-players .filter-toggle:hover {
    border-color: var(--fh-line-strong);
    background: rgba(255, 255, 255, 0.03);
}

body.page-players .toggle-label {
    color: var(--fh-muted);
    font-size: 10.5px;
    font-weight: 500;
}

body.page-players .toggle-slider {
    width: 30px;
    height: 17px;
    border: 1px solid var(--fh-line-strong);
    background: #1a1f29;
    box-shadow: none;
}

body.page-players .toggle-slider::before {
    width: 11px;
    height: 11px;
    background: #8f9bb0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

body.page-players .filter-toggle input[type="checkbox"]:checked + .toggle-slider {
    border-color: rgba(91, 124, 250, 0.55);
    background: var(--fh-blue);
}

body.page-players .filter-toggle input[type="checkbox"]:checked + .toggle-slider::before {
    background: #fff;
    transform: translateX(13px);
}

body.page-players .filter-toggle input[type="checkbox"]:checked ~ .toggle-label {
    color: var(--fh-text-2);
}

body.page-players .players-filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-bottom: 7px;
}

body.page-players .pf-chip {
    min-height: 26px;
    padding: 4px 10px;
    border: 1px solid var(--fh-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.022);
    color: var(--fh-muted);
    font-size: 10.5px;
    font-weight: 600;
    box-shadow: none;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

body.page-players .pf-chip:hover {
    border-color: var(--fh-line-strong);
    background: rgba(255, 255, 255, 0.045);
    color: var(--fh-text);
}

body.page-players .pf-chip.active {
    border-color: rgba(91, 124, 250, 0.42);
    background: rgba(91, 124, 250, 0.15);
    color: #cdd8ff;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

body.page-players .pf-count {
    margin-left: auto;
    color: var(--fh-dim);
    font-family: var(--fh-mono);
    font-size: 9px;
}

/* Single search field: the input itself stays transparent, the wrapper draws the pill. */
body.page-players .search-container {
    position: relative;
    display: flex;
    align-items: center;
    height: 40px;
    margin: 0 0 8px;
    padding: 0 12px;
    border: 1px solid var(--fh-line);
    border-radius: 10px;
    background: rgba(5, 7, 11, 0.72);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.025) inset;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

body.page-players .search-container.focused {
    border-color: rgba(91, 124, 250, 0.5);
    background: rgba(7, 10, 16, 0.9);
    box-shadow: 0 0 0 3px rgba(91, 124, 250, 0.1), 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}

body.page-players .search-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    width: 15px;
    height: 15px;
    color: var(--fh-dim);
    pointer-events: none;
    transform: translateY(-50%);
    transition: color 160ms ease;
}

body.page-players .search-container.focused .search-icon {
    color: var(--fh-blue-2);
}

body.page-players .search-container .search-input,
body.page-players .search-input {
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0 34px 0 28px;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--fh-text);
    font: 500 12px/1.4 Inter, sans-serif;
    outline: none;
}

body.page-players .search-input::placeholder {
    color: var(--fh-dim);
}

body.page-players .clear-search-btn {
    position: absolute;
    right: 7px;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    padding: 0;
    border: 1px solid var(--fh-line);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--fh-muted);
    transform: translateY(-50%);
    cursor: pointer;
}

body.page-players .clear-search-btn:hover {
    border-color: var(--fh-line-strong);
    background: rgba(255, 255, 255, 0.07);
    color: var(--fh-text);
}

body.page-players .players-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding-right: 5px;
    scroll-behavior: smooth;
}

body.page-players .players-list::-webkit-scrollbar {
    width: 7px;
}

body.page-players .players-list::-webkit-scrollbar-track {
    background: transparent;
}

body.page-players .players-list::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.24);
    background-clip: padding-box;
}

body.page-players .players-list::-webkit-scrollbar-thumb:hover {
    background: rgba(91, 124, 250, 0.55);
    background-clip: padding-box;
}

body.page-players .empty-state {
    color: var(--fh-muted);
}

body.page-players .empty-state p {
    font-size: 12px;
}

body.page-players .evasion-spinner {
    color: var(--fh-blue-2);
}

/* ── Player card ─────────────────────────────────────────────────────────── */

body.page-players .player-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 11px !important;
    border: 1px solid var(--fh-line) !important;
    border-radius: 13px !important;
    background: linear-gradient(180deg, rgba(17, 21, 29, 0.98), rgba(11, 14, 20, 0.99)) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 14px 30px -26px rgba(0, 0, 0, 0.9) !important;
    overflow: hidden;
    opacity: 1;
    transform: none;
    max-height: none;
    animation: fh-card-in 0.36s cubic-bezier(0.22, 0.8, 0.24, 1) both;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

body.page-players .player-card.card-hide {
    animation: fh-card-out 0.24s ease forwards;
    pointer-events: none;
}

body.page-players .player-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    z-index: 2;
    width: 2px;
    border-radius: 0 2px 2px 0;
    background: transparent;
}

body.page-players .player-card.has-difference::before {
    background: var(--fh-rose);
}

body.page-players .player-card.unconfigured-player::before {
    background: var(--fh-amber);
}

body.page-players .player-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(91, 124, 250, 0.12), transparent 68%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

body.page-players .player-card:hover {
    border-color: rgba(91, 124, 250, 0.32) !important;
    background: linear-gradient(180deg, rgba(19, 24, 34, 0.99), rgba(12, 15, 22, 0.99)) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 22px 44px -28px rgba(29, 55, 140, 0.55) !important;
    transform: translateY(-1px);
}

body.page-players .player-card:hover::after {
    opacity: 1;
}

body.page-players .player-card > * {
    position: relative;
    z-index: 1;
}

body.page-players .pc-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

body.page-players .pc-avatar-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    flex: none;
}

body.page-players .pc-avatar-wrap::after {
    content: '';
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 7px;
    height: 7px;
    border: 2px solid #0f131b;
    border-radius: 50%;
    background: var(--fh-green);
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.65);
}

body.page-players .player-avatar {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 11px;
    background: #0b0e14;
    object-fit: contain;
    box-shadow: 0 6px 16px -10px rgba(0, 0, 0, 0.9);
}

body.page-players .pc-avatars .player-avatar {
    width: 34px;
    height: 34px;
}

body.page-players .pc-identity {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

body.page-players .pc-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

body.page-players .player-name {
    overflow: hidden;
    color: var(--fh-text);
    font-family: var(--fh-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.page-players .pc-name-row .player-name:hover {
    color: var(--fh-blue-2);
}

body.page-players .player-steamid {
    overflow: hidden;
    color: var(--fh-dim);
    font-family: var(--fh-mono);
    font-size: 9px;
    letter-spacing: 0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.page-players .pc-flag {
    flex: none;
    padding: 2px 5px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-family: var(--fh-mono);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.4;
    text-transform: uppercase;
    white-space: nowrap;
}

body.page-players .pc-flag.unconfigured {
    border-color: rgba(230, 180, 94, 0.24);
    background: rgba(230, 180, 94, 0.08);
    color: var(--fh-amber);
}

body.page-players .pc-flag.diff {
    border-color: rgba(240, 113, 120, 0.24);
    background: rgba(240, 113, 120, 0.08);
    color: #f4a7ab;
}

body.page-players .pc-diff-line {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 9px;
    margin-top: 1px;
    color: var(--fh-muted);
    font-size: 9px;
}

body.page-players .account-date-info {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: auto;
    max-width: 100%;
    margin-top: 1px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--fh-dim);
    font-size: 9px;
    line-height: 1.35;
}

body.page-players .account-date-info svg {
    width: 10px;
    height: 10px;
    flex: none;
    opacity: 0.65;
}

body.page-players .account-date-text {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 5px;
}

body.page-players .account-date-full {
    color: var(--fh-dim);
    font-size: 9px;
}

body.page-players .account-date-relative {
    color: var(--fh-muted);
    font-size: 9px;
}

body.page-players .pc-head-side {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-self: end;
}

body.page-players .pc-ping {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 42px;
    padding: 3px 6px;
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 6px;
    background: rgba(74, 222, 128, 0.06);
    color: #9ef0bd;
    font-family: var(--fh-mono);
    font-size: 9px;
    font-weight: 600;
    line-height: 1.3;
    justify-content: center;
}

body.page-players .pc-ping::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 7px currentColor;
}

body.page-players .pc-ping.high {
    border-color: rgba(230, 180, 94, 0.24);
    background: rgba(230, 180, 94, 0.08);
    color: var(--fh-amber);
}

body.page-players .pc-server {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: none;
    margin: 1px 0 0;
    padding: 7px 8px;
    border: 1px solid rgba(148, 163, 184, 0.09);
    border-radius: 9px;
    background: rgba(0, 0, 0, 0.16);
    text-align: left;
}

body.page-players .game-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: none;
    padding: 3px 5px 3px 4px;
    border: 1px solid rgba(91, 124, 250, 0.24);
    border-radius: 6px;
    background: rgba(91, 124, 250, 0.08);
    color: #c3d0ff;
    font-family: var(--fh-mono);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1;
}

body.page-players .game-type-badge.game-type-csgo {
    border-color: rgba(230, 180, 94, 0.26);
    background: rgba(230, 180, 94, 0.08);
    color: var(--fh-amber);
}

body.page-players .game-type-icon {
    width: 15px;
    height: 15px;
    object-fit: contain;
}

body.page-players .server-details-compact {
    display: flex;
    flex: 1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 11px;
    min-width: 0;
    max-width: 100%;
}

body.page-players .server-detail-line {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    overflow: hidden;
    color: var(--fh-muted);
    font-size: 10px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.page-players .server-detail-line:first-child {
    color: var(--fh-text-2);
    font-size: 11px;
    font-weight: 600;
}

body.page-players .server-detail-line svg {
    width: 11px;
    height: 11px;
    flex: none;
    color: var(--fh-dim);
    opacity: 0.9;
}

body.page-players .server-detail-line .server-detail-value {
    overflow: hidden;
    text-overflow: ellipsis;
}

body.page-players .server-detail-line .server-dot {
    color: var(--fh-dim);
    opacity: 0.55;
}

body.page-players .pc-server-ip {
    color: var(--fh-dim);
    font-family: var(--fh-mono);
    font-size: 9.5px;
}

body.page-players .pc-server-right {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    flex: none;
}

body.page-players .pc-copy-ip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    padding: 0;
    border: 1px solid var(--fh-line);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--fh-dim);
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

body.page-players .pc-copy-ip:hover {
    border-color: var(--fh-line-strong);
    background: rgba(255, 255, 255, 0.06);
    color: var(--fh-text);
}

body.page-players .player-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
}

body.page-players .stat-box {
    padding: 6px 8px;
    border: 1px solid rgba(148, 163, 184, 0.09);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.022);
    text-align: center;
}

body.page-players .stat-label-small {
    color: var(--fh-dim);
    font-family: var(--fh-mono);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body.page-players .stat-value-small {
    margin-top: 2px;
    color: var(--fh-text);
    font-family: var(--fh-display);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
}

body.page-players .stat-value-small.kills {
    color: #8fa7ff;
}

body.page-players .stat-value-small.deaths {
    color: #f0a0a5;
}

body.page-players .stat-value-small.kd-value {
    color: #c8bcff;
}

body.page-players .player-actions {
    display: flex;
    align-items: stretch;
    gap: 5px;
    position: relative;
}

body.page-players .pc-connect {
    display: inline-flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid rgba(126, 151, 255, 0.3);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(90, 121, 249, 0.95), rgba(68, 94, 220, 0.95));
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 10px 22px -14px rgba(66, 97, 230, 0.85);
    cursor: pointer;
    transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

body.page-players .pc-connect:hover {
    background: linear-gradient(180deg, #7290ff, #5574ee);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset, 0 14px 28px -14px rgba(80, 108, 255, 0.9);
    transform: translateY(-1px);
}

body.page-players .pc-more-btn {
    width: 34px;
    min-height: 34px;
    flex: none;
    padding: 0;
    border: 1px solid var(--fh-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--fh-muted);
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

body.page-players .pc-more-btn:hover {
    border-color: var(--fh-line-strong);
    background: rgba(255, 255, 255, 0.06);
    color: var(--fh-text);
}

body.page-players .pc-menu,
body.page-players .evasion-more-menu {
    border: 1px solid var(--fh-line-strong);
    border-radius: 10px;
    background: #0d1017;
    box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.95);
}

body.page-players .pc-menu button,
body.page-players .evasion-more-menu button {
    border-radius: 7px;
    color: var(--fh-muted);
    font: 500 11px/1.3 Inter, sans-serif;
}

body.page-players .pc-menu button:hover,
body.page-players .evasion-more-menu button:hover {
    background: rgba(91, 124, 250, 0.12);
    color: var(--fh-text);
}

/* ── Evasion tab ─────────────────────────────────────────────────────────── */

body.page-players .evasion-tab-header {
    gap: 5px;
    margin-bottom: 10px;
    padding: 0 2px;
}

body.page-players .evasion-tab-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--fh-rose);
    font-family: var(--fh-display);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.035em;
}

body.page-players .evasion-tab-title svg {
    color: var(--fh-rose);
    opacity: 0.9;
}

body.page-players .evasion-tab-count {
    padding: 2px 7px;
    border: 1px solid rgba(240, 113, 120, 0.26);
    border-radius: 999px;
    background: rgba(240, 113, 120, 0.08);
    color: #f4a7ab;
    font-family: var(--fh-mono);
    font-size: 9px;
}

body.page-players .evasion-tab-online {
    padding: 2px 7px;
    border: 1px solid rgba(74, 222, 128, 0.22);
    border-radius: 999px;
    background: rgba(74, 222, 128, 0.06);
    color: #9ef0bd;
    font-family: var(--fh-mono);
    font-size: 9px;
}

body.page-players .evasion-tab-hint {
    max-width: 980px;
    color: var(--fh-dim);
    font-size: 10.5px;
    line-height: 1.55;
}

body.page-players .evasion-tab-warning {
    padding: 6px 9px;
    border: 1px solid rgba(230, 180, 94, 0.2);
    border-radius: 7px;
    background: rgba(230, 180, 94, 0.06);
    color: var(--fh-amber);
    font-size: 10px;
}

body.page-players .evasion-toolbar {
    gap: 6px;
    margin: 0 0 10px;
    padding: 8px;
    border: 1px solid var(--fh-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.022);
}

body.page-players .evasion-search {
    position: relative;
    flex: 1 1 200px;
    min-width: 160px;
}

body.page-players .evasion-search svg {
    position: absolute;
    left: 10px;
    top: 50%;
    color: var(--fh-dim);
    pointer-events: none;
    transform: translateY(-50%);
}

body.page-players .evasion-search input {
    width: 100%;
    height: 32px;
    padding: 0 10px 0 30px;
    border: 1px solid var(--fh-line) !important;
    border-radius: 8px !important;
    background: rgba(5, 7, 11, 0.7) !important;
    box-shadow: none !important;
    color: var(--fh-text);
    font: 500 11px/1.4 Inter, sans-serif;
    outline: none;
}

body.page-players .evasion-search input:focus {
    border-color: rgba(91, 124, 250, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(91, 124, 250, 0.08) !important;
}

body.page-players .evasion-search input::placeholder {
    color: var(--fh-dim);
}

body.page-players .evasion-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

body.page-players .ef-chip {
    padding: 5px 9px;
    border: 1px solid var(--fh-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.022);
    color: var(--fh-muted);
    font: 600 10px/1 Inter, sans-serif;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

body.page-players .ef-chip:hover {
    border-color: var(--fh-line-strong);
    background: rgba(255, 255, 255, 0.045);
    color: var(--fh-text);
}

body.page-players .ef-chip.active {
    border-color: rgba(240, 113, 120, 0.32);
    background: rgba(240, 113, 120, 0.1);
    color: #f4a7ab;
}

body.page-players .evasion-sort {
    height: 32px;
    padding: 0 8px;
    border: 1px solid var(--fh-line) !important;
    border-radius: 8px !important;
    background: rgba(5, 7, 11, 0.7) !important;
    color: var(--fh-muted);
    font: 500 10.5px/1.3 Inter, sans-serif;
    outline: none;
    cursor: pointer;
}

body.page-players .evasion-density {
    display: flex;
    gap: 2px;
    height: 32px;
    padding: 2px;
    border: 1px solid var(--fh-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.022);
}

body.page-players .evasion-density button {
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--fh-dim);
    font-size: 11px;
    cursor: pointer;
}

body.page-players .evasion-density button.active {
    background: rgba(91, 124, 250, 0.16);
    color: #c9d5ff;
}

body.page-players .evasion-results {
    color: var(--fh-dim);
    font-family: var(--fh-mono);
    font-size: 9px;
    white-space: nowrap;
}

body.page-players .evasion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 8px;
    align-content: start;
    padding: 0 2px 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.24) transparent;
}

body.page-players .evasion-grid::-webkit-scrollbar {
    width: 7px;
}

body.page-players .evasion-grid::-webkit-scrollbar-track {
    background: transparent;
}

body.page-players .evasion-grid::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.24);
    background-clip: padding-box;
}

body.page-players .evasion-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0 !important;
    border: 1px solid var(--fh-line) !important;
    border-radius: 13px !important;
    background: linear-gradient(180deg, rgba(17, 21, 29, 0.98), rgba(11, 14, 20, 0.99)) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 14px 30px -26px rgba(0, 0, 0, 0.9) !important;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

body.page-players .evasion-card::before {
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 2px;
    border-radius: 0 2px 2px 0;
    background: var(--fh-dim);
}

body.page-players .evasion-card[data-level="certain"]::before { background: var(--fh-rose); }
body.page-players .evasion-card[data-level="high"]::before { background: var(--fh-amber); }
body.page-players .evasion-card[data-level="medium"]::before { background: #c7b46f; }
body.page-players .evasion-card[data-level="low"]::before { background: #6b7280; }

body.page-players .evasion-card:hover {
    border-color: rgba(240, 113, 120, 0.28) !important;
    transform: translateY(-1px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 22px 44px -28px rgba(140, 40, 60, 0.45) !important;
}

body.page-players .evasion-card-top {
    display: flex;
    flex: 0 0 auto;
    align-items: flex-start;
    gap: 9px;
    padding: 11px 10px 8px;
}

body.page-players .evasion-avatar-wrap,
body.page-players .evasion-avatar {
    width: 38px;
    height: 38px;
    flex: none;
}

body.page-players .evasion-avatar {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    object-fit: contain;
}

body.page-players .evasion-avatar-wrap.online::after {
    border-color: #0f131b;
    background: var(--fh-green);
}

body.page-players .evasion-card-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

body.page-players .evasion-name {
    overflow: hidden;
    color: var(--fh-text);
    font-family: var(--fh-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.025em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.page-players .evasion-steamid {
    color: var(--fh-dim);
    font-family: var(--fh-mono);
    font-size: 8.5px;
}

body.page-players .evasion-alt-count {
    color: var(--fh-muted);
    font-size: 9px;
}

body.page-players .evasion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 3px;
}

body.page-players .evasion-chip,
body.page-players .evasion-badge {
    padding: 2px 6px;
    border: 1px solid var(--fh-line);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--fh-muted);
    font-family: var(--fh-mono);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

body.page-players .evasion-chip.online,
body.page-players .evasion-badge.online {
    border-color: rgba(74, 222, 128, 0.22);
    background: rgba(74, 222, 128, 0.06);
    color: #9ef0bd;
}

body.page-players .evasion-badge.danger {
    border-color: rgba(240, 113, 120, 0.24);
    background: rgba(240, 113, 120, 0.08);
    color: #f4a7ab;
}

body.page-players .evasion-badge.neutral {
    border-color: rgba(83, 224, 255, 0.18);
    background: rgba(83, 224, 255, 0.05);
    color: #9adff0;
}

body.page-players .evasion-chip.moved {
    border-color: rgba(255, 179, 71, 0.3);
    background: rgba(255, 179, 71, 0.08);
    color: #ffc98a;
}

body.page-players .evasion-chip.prior-home,
body.page-players .evasion-chip.pool-peers {
    border-color: rgba(201, 184, 255, 0.22);
    background: rgba(201, 184, 255, 0.06);
    color: #c9b8ff;
}

body.page-players .evasion-top-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex: none;
}

body.page-players .evasion-score {
    padding: 4px 7px;
    border: 1px solid rgba(240, 113, 120, 0.28);
    border-radius: 7px;
    background: rgba(240, 113, 120, 0.08);
    color: #f4a7ab;
    font-family: var(--fh-display);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

body.page-players .evasion-score.level-high {
    border-color: rgba(230, 180, 94, 0.26);
    background: rgba(230, 180, 94, 0.08);
    color: var(--fh-amber);
}

body.page-players .evasion-score.level-medium {
    border-color: rgba(199, 180, 111, 0.24);
    background: rgba(199, 180, 111, 0.07);
    color: #d6c88f;
}

body.page-players .evasion-score.level-low,
body.page-players .evasion-score.level-none {
    border-color: var(--fh-line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--fh-muted);
}

body.page-players .evasion-card-actions {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 0;
    padding: 0 10px 8px;
    position: relative;
}

body.page-players .evasion-act-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 9px;
    border: 1px solid var(--fh-line);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--fh-muted);
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

body.page-players .evasion-act-btn:hover {
    border-color: var(--fh-line-strong);
    background: rgba(255, 255, 255, 0.06);
    color: var(--fh-text);
}

body.page-players .evasion-act-btn.connect {
    flex: 1;
    border-color: rgba(126, 151, 255, 0.3);
    background: linear-gradient(180deg, rgba(90, 121, 249, 0.95), rgba(68, 94, 220, 0.95));
    color: #fff;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 10px 22px -14px rgba(66, 97, 230, 0.85);
}

body.page-players .evasion-act-btn.connect:hover {
    background: linear-gradient(180deg, #7290ff, #5574ee);
    color: #fff;
}

body.page-players .evasion-more-btn {
    width: 30px;
    height: 30px;
    flex: none;
    border: 1px solid var(--fh-line);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--fh-muted);
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
}

body.page-players .evasion-more-btn:hover {
    border-color: var(--fh-line-strong);
    background: rgba(255, 255, 255, 0.06);
    color: var(--fh-text);
}

body.page-players .evasion-card-open {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 20px);
    margin: 0 10px 10px;
    padding: 6px 9px;
    border: 1px solid var(--fh-line);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.022);
    color: var(--fh-muted);
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, gap 160ms ease;
}

body.page-players .evasion-card-open:hover {
    border-color: var(--fh-line-strong);
    background: rgba(255, 255, 255, 0.05);
    color: var(--fh-text);
    gap: 6px;
}

body.page-players .evasion-empty {
    color: var(--fh-muted);
}

/* ── Modal ───────────────────────────────────────────────────────────────── */

body.page .evasion-modal-overlay {
    background: rgba(3, 4, 7, 0.68);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

body.page .evasion-modal {
    border: 1px solid var(--fh-line-strong);
    border-radius: 16px;
    background: #0c0f15;
    box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.95);
}

body.page .evasion-modal-header {
    border-bottom: 1px solid var(--fh-line);
}

body.page .evasion-modal-name {
    color: var(--fh-text);
    font-family: var(--fh-display);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.035em;
}

body.page .evasion-modal-close {
    border: 1px solid var(--fh-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--fh-muted);
}

body.page .evasion-modal-close:hover {
    border-color: var(--fh-line-strong);
    background: rgba(255, 255, 255, 0.06);
    color: var(--fh-text);
}

body.page .evasion-modal-tabs {
    border: 1px solid var(--fh-line);
    border-radius: 9px;
    background: rgba(0, 0, 0, 0.2);
}

body.page .evasion-tab-btn {
    border-radius: 7px;
    color: var(--fh-muted);
    font-size: 11px;
    font-weight: 600;
}

body.page .evasion-tab-btn.active {
    background: rgba(91, 124, 250, 0.14);
    color: #dce5ff;
}

body.page .evasion-modal-body {
    background: transparent;
}

body.page .evasion-alt {
    border: 1px solid var(--fh-line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.022);
}

body.page .evasion-alt:hover {
    border-color: var(--fh-line-strong);
    background: rgba(255, 255, 255, 0.04);
}

body.page .evasion-alt.has-fp-ban {
    border-color: rgba(240, 113, 120, 0.22);
    background: rgba(240, 113, 120, 0.04);
}

body.page .evasion-pun-badge {
    border-radius: 4px;
    font-size: 8px;
}

body.page .evasion-history-item {
    border: 1px solid var(--fh-line);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.022);
}

/* ── Home ────────────────────────────────────────────────────────────────── */

body.page-home .container,
body.page-about .container,
body.page-vdf .container {
    height: auto;
    min-height: 100vh;
    overflow: visible;
}

body.page-home .main-content {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 18px 44px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

body.page-home .home-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
    align-items: center;
    gap: 30px;
    padding: 34px 36px;
    border: 1px solid var(--fh-line) !important;
    border-radius: 20px !important;
    background:
        radial-gradient(34rem 20rem at 8% -12%, rgba(91, 124, 250, 0.14), transparent 62%),
        linear-gradient(160deg, rgba(16, 21, 31, 0.96), rgba(8, 10, 15, 0.98)) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, var(--fh-shadow) !important;
    overflow: hidden;
}

body.page-home .home-hero::after {
    content: '';
    position: absolute;
    right: -140px;
    top: -160px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(91, 124, 250, 0.12);
    border-radius: 50%;
    background:
        repeating-radial-gradient(circle at center, rgba(91, 124, 250, 0.08) 0 1px, transparent 1px 42px);
    -webkit-mask-image: radial-gradient(circle at center, #000 20%, transparent 70%);
    mask-image: radial-gradient(circle at center, #000 20%, transparent 70%);
    pointer-events: none;
}

body.page-home .home-hero-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
}

body.page-home .home-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #93a7d8;
    font-family: var(--fh-mono);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

body.page-home .home-hero-kicker::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--fh-cyan);
    box-shadow: 0 0 10px rgba(83, 224, 255, 0.75);
}

body.page-home .home-hero-title {
    max-width: 760px;
    margin: 14px 0 12px;
    color: var(--fh-text);
    font-family: var(--fh-display);
    font-size: clamp(30px, 3.7vw, 46px);
    font-weight: 600;
    letter-spacing: -0.06em;
    line-height: 1.04;
}

body.page-home .home-hero-title span {
    color: #9dafd8;
    background: linear-gradient(90deg, #9dafd8, #d4def4, #9dafd8);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fh-shine 12s linear infinite;
}

body.page-home .home-hero-text {
    max-width: 650px;
    margin: 0;
    color: var(--fh-muted);
    font-size: 13px;
    line-height: 1.7;
}

body.page-home .home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

body.page-home .home-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 15px;
    border: 1px solid rgba(126, 151, 255, 0.32);
    border-radius: 9px;
    background: linear-gradient(180deg, rgba(90, 121, 249, 0.96), rgba(68, 94, 220, 0.96));
    color: #fff;
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 12px 26px -16px rgba(76, 106, 240, 0.9);
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

body.page-home .home-cta:hover {
    background: linear-gradient(180deg, #7290ff, #5574ee);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset, 0 16px 32px -16px rgba(80, 108, 255, 0.95);
    transform: translateY(-1px);
}

body.page-home .home-cta-ghost {
    border-color: var(--fh-line-strong);
    background: rgba(255, 255, 255, 0.025);
    color: var(--fh-text-2);
    box-shadow: none;
}

body.page-home .home-cta-ghost:hover {
    border-color: rgba(83, 224, 255, 0.32);
    background: rgba(83, 224, 255, 0.06);
    color: var(--fh-text);
    box-shadow: none;
}

body.page-home .home-hero-stats {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

body.page-home .home-stat {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 11px 13px;
    border: 1px solid var(--fh-line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.022);
    box-shadow: none;
}

body.page-home .home-stat strong {
    min-width: 50px;
    color: var(--fh-text);
    font-family: var(--fh-display);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1;
}

body.page-home .home-stat span {
    color: var(--fh-muted);
    font-size: 10px;
    line-height: 1.4;
}

body.page-home .menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

body.page-home .menu-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--fh-line) !important;
    border-radius: 16px !important;
    background: linear-gradient(180deg, rgba(15, 19, 27, 0.96), rgba(9, 11, 16, 0.98)) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.035) inset !important;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

body.page-home .menu-card:hover {
    border-color: rgba(91, 124, 250, 0.34) !important;
    transform: translateY(-2px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 22px 44px -28px rgba(30, 55, 140, 0.55) !important;
}

body.page-home .menu-card:first-child::before,
body.page-home .menu-card:last-child::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(91, 124, 250, 0.1), transparent 68%);
    opacity: 0;
    transition: opacity 220ms ease;
}

body.page-home .menu-card:hover::before {
    opacity: 1;
}

body.page-home .card-image-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 178px;
    padding: 0;
    border-bottom: 1px solid var(--fh-line);
    background:
        radial-gradient(24rem 12rem at 50% 100%, rgba(91, 124, 250, 0.12), transparent 70%),
        #0a0c11;
    overflow: hidden;
}

body.page-home .card-image {
    width: 100%;
    height: 100%;
    padding: 12px;
    object-fit: contain;
    filter: saturate(0.9) brightness(0.95);
    transition: transform 360ms ease, filter 360ms ease;
}

body.page-home .menu-card:hover .card-image {
    transform: scale(1.035);
    filter: saturate(1) brightness(1);
}

body.page-home .card-content {
    position: relative;
    z-index: 1;
    padding: 16px 18px 18px;
}

body.page-home .card-title {
    margin: 0;
    color: var(--fh-text);
    font-family: var(--fh-display);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.04em;
}

body.page-home .card-description {
    margin: 6px 0 0;
    color: var(--fh-muted);
    font-size: 11.5px;
    line-height: 1.55;
}

body.page-home .card-content::after {
    content: '\2192';
    position: absolute;
    right: 18px;
    bottom: 18px;
    color: var(--fh-dim);
    font-family: var(--fh-mono);
    font-size: 15px;
    transition: color 180ms ease, transform 180ms ease;
}

body.page-home .menu-card:hover .card-content::after {
    color: var(--fh-cyan);
    transform: translate(2px, -2px);
}

body.page-home .home-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    border: 0 !important;
}

body.page-home .home-feature {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 136px;
    padding: 16px;
    border: 1px solid var(--fh-line) !important;
    border-right: 1px solid var(--fh-line) !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, rgba(15, 19, 27, 0.84), rgba(9, 11, 16, 0.92)) !important;
}

body.page-home .home-feature:last-child {
    border-right: 1px solid var(--fh-line) !important;
}

body.page-home .home-feature-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(91, 124, 250, 0.2);
    border-radius: 8px;
    background: rgba(91, 124, 250, 0.08);
    color: #a9baff;
}

body.page-home .home-feature h3 {
    margin: 0;
    color: var(--fh-text);
    font-family: var(--fh-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

body.page-home .home-feature p {
    margin: 0;
    color: var(--fh-muted);
    font-size: 10.5px;
    line-height: 1.55;
}

/* ── About / VDF pages ───────────────────────────────────────────────────── */

body.page-about .main-content,
body.page-vdf .main-content {
    display: block;
    overflow: visible;
    padding: 0;
}

body.page-about .content-page,
body.page-vdf .upload-section,
body.page-vdf .results-section {
    width: min(1100px, calc(100% - 36px));
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 0 44px;
}

body.page-about .page-title {
    margin: 0 0 16px;
    color: var(--fh-text);
    font-family: var(--fh-display);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 600;
    letter-spacing: -0.06em;
    line-height: 1;
}

body.page-about .content-section {
    margin-bottom: 10px;
    padding: 20px 22px;
    border: 1px solid var(--fh-line) !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, rgba(15, 19, 27, 0.86), rgba(9, 11, 16, 0.94)) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset !important;
}

body.page-about .content-section h2 {
    margin: 0 0 10px;
    color: var(--fh-text);
    font-family: var(--fh-display);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.04em;
}

body.page-about .content-section h3 {
    color: var(--fh-text);
    font-family: var(--fh-display);
    font-size: 13px;
    font-weight: 600;
}

body.page-about .content-section p,
body.page-about .content-section li {
    color: var(--fh-muted);
    font-size: 12px;
    line-height: 1.7;
}

body.page-about .content-section a {
    color: #9fb4ff;
}

body.page-about .content-section ul li::before {
    color: var(--fh-blue-2);
}

body.page-about .content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 10px;
}

body.page-about .content-grid .content-section {
    margin-bottom: 0;
}

body.page-about .tech-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
}

body.page-about .tech-item {
    padding: 12px;
    border: 1px solid var(--fh-line) !important;
    border-radius: 9px !important;
    background: rgba(255, 255, 255, 0.022) !important;
    box-shadow: none !important;
}

body.page-about .tech-item h3 {
    margin: 0 0 4px;
    color: var(--fh-text);
    font-size: 11px;
}

body.page-about .tech-item p {
    margin: 0;
    color: var(--fh-dim);
    font-family: var(--fh-mono);
    font-size: 9px;
}

body.page-about .back-link {
    margin-top: 16px;
}

body.page-about .btn-secondary,
body.page-vdf .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--fh-line-strong);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--fh-text-2);
    font-size: 10.5px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: none;
    transition: background 160ms ease, border-color 160ms ease;
}

body.page-about .btn-secondary:hover,
body.page-vdf .btn-secondary:hover {
    border-color: rgba(83, 224, 255, 0.32);
    background: rgba(83, 224, 255, 0.06);
    color: var(--fh-text);
}

body.page-vdf .upload-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    padding: 48px 26px;
    border: 1px dashed rgba(91, 124, 250, 0.34) !important;
    border-radius: 20px !important;
    background:
        radial-gradient(38rem 22rem at 50% 0%, rgba(91, 124, 250, 0.1), transparent 66%),
        linear-gradient(160deg, rgba(15, 19, 27, 0.84), rgba(9, 11, 16, 0.94)) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.035) inset !important;
}

body.page-vdf .upload-zone:hover,
body.page-vdf .upload-zone.drag-over {
    border-color: rgba(83, 224, 255, 0.55) !important;
    background:
        radial-gradient(38rem 22rem at 50% 0%, rgba(83, 224, 255, 0.08), transparent 66%),
        linear-gradient(160deg, rgba(17, 22, 32, 0.9), rgba(9, 11, 16, 0.94)) !important;
    transform: none;
    box-shadow: none !important;
}

body.page-vdf .upload-icon {
    color: var(--fh-blue-2);
}

body.page-vdf .upload-zone h2 {
    margin: 16px 0 6px;
    color: var(--fh-text);
    font-family: var(--fh-display);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 600;
    letter-spacing: -0.05em;
}

body.page-vdf .upload-zone p {
    max-width: 420px;
    margin: 0;
    color: var(--fh-muted);
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

body.page-vdf .results-header h2 {
    color: var(--fh-text);
    font-family: var(--fh-display);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.05em;
}

body.page-vdf .account-card {
    border: 1px solid var(--fh-line) !important;
    border-radius: 12px !important;
    background: linear-gradient(160deg, rgba(15, 19, 27, 0.9), rgba(9, 11, 16, 0.96)) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset !important;
}

body.page-vdf .account-card:hover {
    border-color: rgba(91, 124, 250, 0.32) !important;
}

body.page-vdf .account-name {
    color: var(--fh-text);
}

body.page-vdf .account-id,
body.page-vdf .account-stats {
    color: var(--fh-dim);
}

/* ── Crosshair ───────────────────────────────────────────────────────────── */

.fh-crosshair {
    position: fixed;
    inset: 0;
    z-index: 10000;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

body.page .fh-crosshair-target {
    outline: 1px solid rgba(126, 158, 255, 0.55);
    outline-offset: 3px;
    transition: outline-color 140ms ease;
}

body.page .fh-crosshair-target:hover {
    outline-color: rgba(126, 158, 255, 0.7);
}

/* ── Motion ──────────────────────────────────────────────────────────────── */

@keyframes fh-card-in {
    from {
        opacity: 0;
        transform: translateY(7px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fh-card-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-5px);
    }
}

@keyframes fh-pulse {
    0%, 100% {
        opacity: 0.55;
        transform: scale(0.9);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

@keyframes fh-shine {
    to {
        background-position: 200% center;
    }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (min-width: 1000px) {
    body.page-players {
        height: 100vh;
        overflow: hidden;
    }

    body.page-players .container {
        display: grid;
        grid-template-columns: 214px minmax(0, 1fr);
        grid-template-rows: auto minmax(0, 1fr) auto;
        grid-template-areas:
            "header header"
            "sidebar main"
            "footer footer";
        height: 100vh;
        padding: 10px;
        gap: 10px;
        overflow: hidden;
    }

    body.page-players .content-area {
        display: contents;
    }

    body.page-players .header {
        grid-area: header;
    }

    body.page-players .sidebar {
        grid-area: sidebar;
        width: 214px;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    body.page-players .sidebar-foot {
        display: flex;
    }

    body.page-players .sidebar-nav {
        flex-direction: column;
    }

    body.page-players .sidebar-item span:not(.sidebar-count) {
        display: inline;
    }

    body.page-players .players-list {
        max-height: none;
    }

    body.page-players .main-content {
        grid-area: main;
        min-height: 0;
        overflow: hidden;
    }

    body.page-players .players-container-two {
        grid-template-columns: 1fr 1fr;
    }

    body.page-players .footer {
        grid-area: footer;
    }
}

@media (max-width: 999px) {
    body.page .header-content {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 8px;
    }

    body.page .nav-buttons {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    body.page .fh-header-status {
        margin-left: auto;
    }

    body.page-players .container {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        overflow: visible;
        padding: 8px;
        gap: 8px;
    }

    body.page-players .content-area {
        display: contents;
    }

    body.page-players .header {
        order: 1;
    }

    body.page-players .sidebar {
        order: 2;
        width: 100%;
        padding: 6px !important;
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    body.page-players .sidebar-brand,
    body.page-players .sidebar-foot {
        display: none;
    }

    body.page-players .sidebar-nav {
        flex-direction: row;
        width: 100%;
        gap: 4px;
    }

    body.page-players .sidebar-nav::before {
        display: none;
    }

    body.page-players .sidebar-item {
        width: auto;
        padding: 7px 11px;
    }

    body.page-players .sidebar-item span:not(.sidebar-count) {
        display: inline;
    }

    body.page-players .main-content {
        order: 3;
        width: 100%;
        min-width: 0;
        overflow: visible;
    }

    body.page-players .tab-section,
    body.page-players .players-container-two,
    body.page-players .players-section,
    body.page-players .players-list {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    body.page-players .players-container-two {
        grid-template-columns: minmax(0, 1fr);
    }

    body.page-players .footer {
        order: 4;
    }

    body.page-players .players-section {
        min-height: 520px;
        max-height: 78vh;
    }

    body.page-players .players-list {
        max-height: none;
    }
}

@media (max-width: 900px) {
    body.page-home .home-hero {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 26px;
    }

    body.page-home .home-hero::after {
        right: -220px;
        top: -220px;
        opacity: 0.7;
    }

    body.page-home .home-hero-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.page-home .home-stat {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 9px 10px;
    }

    body.page-home .home-stat strong {
        min-width: 0;
        font-size: 15px;
    }

    body.page-home .menu-grid,
    body.page-home .home-features {
        grid-template-columns: 1fr;
    }

    body.page-home .card-image-container {
        height: 160px;
    }

    body.page-about .content-grid,
    body.page-about .tech-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    body.page .header-content {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        align-items: center;
    }

    body.page .nav-buttons {
        order: 3;
        grid-column: 1 / -1;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        scrollbar-width: none;
    }

    body.page .nav-buttons::-webkit-scrollbar {
        display: none;
    }

    body.page .fh-header-status {
        grid-column: 2;
    }

    body.page .fh-header-link {
        display: none;
    }

    body.page .fh-brand-copy small {
        display: none;
    }

    body.page-players .players-section {
        max-height: none;
        min-height: 420px;
    }

    body.page-players .player-card,
    body.page-players .pc-head,
    body.page-players .pc-server,
    body.page-players .server-details-compact,
    body.page-players .player-stats,
    body.page-players .player-actions {
        min-width: 0;
    }

    body.page-players .pc-head {
        grid-template-columns: auto minmax(0, 1fr);
    }

    body.page-players .pc-head-side {
        grid-column: 1 / -1;
        justify-self: stretch;
        justify-content: space-between;
        margin-top: -2px;
    }

    body.page-players .pc-server {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    body.page-players .server-details-compact {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px 8px;
    }

    body.page-players .server-detail-line {
        max-width: 100%;
        white-space: normal;
    }

    body.page-players .pc-server-right {
        margin-left: 0;
    }

    body.page-players .player-actions {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: 100%;
    }

    body.page-players .player-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.page-players .pc-menu {
        min-width: 0;
        width: 210px;
        max-width: calc(100vw - 42px);
    }

    body.page-players .evasion-toolbar {
        align-items: stretch;
    }

    body.page-players .evasion-search {
        flex-basis: 100%;
    }

    body.page-home .main-content {
        padding: 16px 12px 32px;
    }

    body.page-home .home-hero {
        padding: 20px;
        border-radius: 16px !important;
    }

    body.page-home .home-hero-title {
        font-size: clamp(27px, 9vw, 38px);
    }

    body.page-home .home-hero-stats {
        grid-template-columns: 1fr;
    }

    body.page-home .home-hero-actions {
        flex-direction: column;
    }

    body.page-home .home-cta {
        width: 100%;
    }

    body.page-about .content-page,
    body.page-vdf .upload-section,
    body.page-vdf .results-section {
        width: calc(100% - 24px);
        padding-top: 16px;
    }

    body.page-about .content-section {
        padding: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.page *,
    body.page *::before,
    body.page *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .fh-crosshair {
        display: none;
    }
}

/* -- Gooey nav / accent spotlight ----------------------------------------- */

body.page .fh-goo-nav {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

body.page .fh-goo-nav > .nav-btn,
body.page .fh-goo-nav > .sidebar-item {
    position: relative;
    z-index: 2;
}

body.page .fh-goo-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    filter: url(#fh-goo-filter);
}

body.page .fh-goo-blob {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    border-radius: var(--fh-goo-radius, 999px);
    background: linear-gradient(180deg, #6f8cff, #4d70ef);
    will-change: transform, width, height;
}

body.page .fh-goo-trail {
    opacity: 1;
    transition:
        transform 0.68s cubic-bezier(0.22, 1, 0.36, 1),
        width 0.68s cubic-bezier(0.22, 1, 0.36, 1),
        height 0.68s cubic-bezier(0.22, 1, 0.36, 1);
}

body.page .fh-goo-active {
    opacity: 1;
    transition:
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        width 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        height 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

body.page .fh-goo-hover {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    opacity: 0;
    border: 1px solid rgba(126, 158, 255, 0.28);
    border-radius: var(--fh-goo-radius, 999px);
    background: rgba(91, 124, 250, 0.16);
    pointer-events: none;
    transition:
        transform 0.18s ease,
        width 0.18s ease,
        height 0.18s ease,
        opacity 0.18s ease;
}

body.page .fh-goo-nav.fh-goo-ready .nav-btn.active,
body.page .fh-goo-nav.fh-goo-ready .sidebar-item.active {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
}

body.page .fh-goo-nav.fh-goo-ready .nav-btn.active svg,
body.page .fh-goo-nav.fh-goo-ready .sidebar-item.active svg {
    color: #fff !important;
}

body.page .fh-goo-nav.fh-goo-ready .sidebar-item.active .sidebar-count {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

body.page .fh-goo-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

body.page-players .evasion-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(91, 124, 250, 0.12), transparent 68%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

body.page-players .evasion-card:hover::after {
    opacity: 1;
}

body.page-players .evasion-card > * {
    position: relative;
    z-index: 1;
}

body.page-players .evasion-card::before {
    z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
    body.page .fh-goo-trail,
    body.page .fh-goo-active,
    body.page .fh-goo-hover {
        transition: none !important;
    }
}
body.page .fh-goo-nav.fh-goo-ready .nav-btn:hover,
body.page .fh-goo-nav.fh-goo-ready .sidebar-item:hover {
    background: transparent !important;
    border-color: transparent !important;
}

/* -- Top navigation: GooeyNav-style white pill on a dark glass frame ------ */

body.page .nav-buttons {
    background: rgba(17, 17, 21, 0.78);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 22px 44px -24px rgba(0, 0, 0, 0.9);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    backdrop-filter: blur(18px) saturate(1.2);
}

body.page .nav-buttons .nav-btn {
    color: #a7a7b0;
}

body.page .nav-buttons .nav-btn:hover {
    color: #f5f5f7;
}

body.page .nav-buttons .nav-btn.active {
    background: #f4f4f6;
    color: #0b0b0e;
    box-shadow: none;
}

body.page .nav-buttons .nav-btn.active svg {
    color: #0b0b0e;
}

body.page .nav-buttons .fh-goo-blob {
    background: linear-gradient(180deg, #ffffff 0%, #e9e9ee 100%);
}

body.page .nav-buttons .fh-goo-hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

body.page .nav-buttons.fh-goo-ready .nav-btn.active {
    background: transparent !important;
    color: #0b0b0e !important;
}

body.page .nav-buttons.fh-goo-ready .nav-btn.active svg {
    color: #0b0b0e !important;
}

/* -- Smooth page and tab transitions -------------------------------------- */

@keyframes fh-page-in {
    from {
        opacity: 0;
        transform: translateY(7px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fh-page-out {
    to {
        opacity: 0;
        transform: translateY(-6px);
    }
}

@keyframes fh-tab-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.page .container {
    animation: fh-page-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.page.fh-leaving .container {
    pointer-events: none;
}

body.page-players .tab-section.active {
    animation: fh-tab-in 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.page a,
body.page button,
body.page .nav-btn,
body.page .sidebar-item,
body.page .player-card,
body.page .evasion-card,
body.page .menu-card,
body.page .home-stat,
body.page .home-feature,
body.page .tech-item,
body.page .pf-chip,
body.page .ef-chip,
body.page .filter-toggle,
body.page .search-container,
body.page .stat-box {
    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease,
        opacity 0.18s ease;
}

@media (prefers-reduced-motion: reduce) {
    body.page .container,
    body.page-players .tab-section.active {
        animation: none !important;
    }

}

/* -- Cross-document view transitions: navigate like a single page -------- */

@view-transition {
    navigation: auto;
}

body.page .header {
    view-transition-name: fh-header;
}

::view-transition-old(root) {
    animation: fh-vt-out 0.28s cubic-bezier(0.4, 0, 0.2, 1) both;
}

::view-transition-new(root) {
    animation: fh-vt-in 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes fh-vt-out {
    to {
        opacity: 0;
    }
}

@keyframes fh-vt-in {
    from {
        opacity: 0;
    }
}

@supports (view-transition-name: none) {
    body.page .container {
        animation: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none !important;
    }
}

/* Keep the shell still; only the main content crossfades between pages. */
body.page .main-content {
    view-transition-name: fh-main;
}

body.page .footer {
    view-transition-name: fh-footer;
}

body.page .sidebar {
    view-transition-name: fh-sidebar;
}

::view-transition-group(root),
::view-transition-group(fh-header),
::view-transition-group(fh-footer),
::view-transition-group(fh-sidebar),
::view-transition-group(fh-main) {
    animation: none;
}

::view-transition-old(root),
::view-transition-new(root) {
    animation: none;
}

::view-transition-old(fh-main) {
    animation: fh-vt-out 0.28s cubic-bezier(0.4, 0, 0.2, 1) both;
}

::view-transition-new(fh-main) {
    animation: fh-vt-in 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* -- SPA shell ------------------------------------------------------------ */

body.page .content-area {
    display: contents;
}

body.page:not(.page-players) .sidebar {
    display: none !important;
}

.fh-page-view {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    width: 100%;
}

.fh-page-view[hidden] {
    display: none !important;
}

.fh-page-view[data-view="home"] {
    gap: 18px;
}

/* ��������� ��� SPA-���������: ������� ������/�����������, �������� �������. */
body.page .sidebar,
body.page .footer {
    transition: opacity 0.18s ease;
}

body.page.fh-switching .sidebar,
body.page.fh-switching .footer {
    opacity: 0 !important;
    pointer-events: none;
}

/* -- Readability of the evasion modal ------------------------------------- */

body.page .evasion-modal .evasion-modal-name {
    font-size: 23px;
    line-height: 1.08;
}

body.page .evasion-modal .evasion-alt-steamid {
    font-size: 11px;
    line-height: 1.35;
}

body.page .evasion-modal .evasion-modal-tags {
    gap: 6px;
    margin-top: 7px;
}

body.page .evasion-modal .evasion-modal-tags .evasion-chip {
    padding: 4px 9px;
    border-radius: 6px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.35;
}

body.page .evasion-modal .evasion-modal-badges .evasion-badge {
    padding: 5px 9px;
    border-radius: 7px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.3;
}

body.page .evasion-modal .evasion-modal-meta {
    font-size: 11px;
}

body.page .evasion-modal .evasion-tab-btn {
    font-size: 12.5px;
}

body.page .evasion-modal .evasion-tab-num {
    font-size: 10px;
}

body.page .evasion-modal .evasion-alt-name {
    font-size: 14px;
}

body.page .evasion-modal .evasion-alt-tag {
    padding: 2px 6px;
    font-size: 10px;
    letter-spacing: 0.02em;
}

body.page .evasion-modal .evasion-pun-badge {
    padding: 3px 7px;
    font-size: 9.5px;
    letter-spacing: 0.02em;
}

body.page .evasion-modal .evasion-pun-reason {
    font-size: 11px;
}

body.page .evasion-modal .evasion-pun-meta {
    font-size: 10px;
}

body.page .evasion-modal .evasion-alt-reg {
    font-size: 10px;
}

body.page-players .evasion-card .evasion-chip,
body.page-players .evasion-card .evasion-badge {
    padding: 3px 7px;
    border-radius: 6px;
    font-size: 9.5px;
    letter-spacing: 0;
}

body.page-players .evasion-card .evasion-steamid {
    font-size: 10px;
}

body.page-players .evasion-card .evasion-alt-count {
    font-size: 10px;
}

/* ── Одинаковая геометрия шапки на всех страницах ─────────────────────── */
html {
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.28) transparent;
}
html::-webkit-scrollbar { width: 10px; height: 10px; }
html::-webkit-scrollbar-track { background: transparent; }
html::-webkit-scrollbar-thumb { background: rgba(148, 163, 184, 0.28); border-radius: 999px; }
html::-webkit-scrollbar-thumb:hover { background: rgba(148, 163, 184, 0.44); }

body.page .container { padding: 10px; }

@media (max-width: 999px) {
    body.page .container { padding: 8px; }
}

/* ── Совпадения ников внутри семьи ───────────────────────────────────── */
body.page .evasion-chip.nickname-match {
    color: #d9c6ff;
    background: rgba(150, 105, 255, 0.12);
    border-color: rgba(150, 105, 255, 0.28);
}

body.page .evasion-nickmatches {
    margin: 0 14px 10px;
    padding: 10px 12px;
    border: 1px solid rgba(150, 105, 255, 0.2);
    border-radius: 10px;
    background: rgba(150, 105, 255, 0.055);
}

body.page .evasion-nickmatches-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #b9a6dc;
}

body.page .evasion-nickmatches-title span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    height: 17px;
    padding: 0 5px;
    border-radius: 5px;
    background: rgba(150, 105, 255, 0.18);
    color: #d9c6ff;
    letter-spacing: 0;
}

body.page .evasion-nickmatch {
    padding: 7px 0;
    border-top: 1px solid rgba(150, 105, 255, 0.12);
}

body.page .evasion-nickmatch:first-of-type { border-top: 0; padding-top: 0; }

body.page .evasion-nickmatch-pair {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    font-size: 11.5px;
    color: var(--text);
    overflow-wrap: anywhere;
}

body.page .evasion-nickmatch-pair i {
    font-style: normal;
    color: #9d86c9;
}

body.page .evasion-nickmatch-meta {
    margin-top: 2px;
    font-family: var(--mono);
    font-size: 8.5px;
    letter-spacing: 0.02em;
    color: var(--dim);
}

@media (max-width: 900px) {
    body.page .evasion-nickmatches { margin: 0 12px 8px; }
    body.page .evasion-nickmatch-pair { font-size: 12px; }
}
