:root {
    --bg: #071019;
    --bg-secondary: #0b1622;
    --bg-tertiary: #0f1b29;
    --panel: rgba(10, 18, 28, 0.82);
    --panel-strong: rgba(9, 16, 25, 0.94);
    --panel-soft: rgba(12, 21, 31, 0.74);
    --line: rgba(56, 189, 248, 0.12);
    --line-strong: rgba(125, 211, 252, 0.2);
    --text: #eef5fb;
    --text-soft: #cfdae8;
    --muted: #8d9cb0;
    --accent: #0ea5e9;
    --accent-soft: rgba(14, 165, 233, 0.18);
    --accent-strong: #7dd3fc;
    --accent-gold: #38bdf8;
    --success: #3ecf8e;
    --success-soft: rgba(62, 207, 142, 0.15);
    --warning: #38bdf8;
    --warning-soft: rgba(56, 189, 248, 0.14);
    --danger: #f06666;
    --danger-soft: rgba(240, 102, 102, 0.16);
    --radius-xl: 34px;
    --radius-lg: 26px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --shadow-xl: 0 40px 90px rgba(0, 0, 0, 0.38);
    --shadow-lg: 0 24px 56px rgba(0, 0, 0, 0.28);
    --shadow-md: 0 16px 34px rgba(0, 0, 0, 0.22);
    --shadow-sm: 0 10px 22px rgba(0, 0, 0, 0.18);
    --transition: 280ms cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html, body {
    min-height: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body {
    overflow-x: clip;
}

*::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

*::-webkit-scrollbar-track {
    background: rgba(7, 16, 25, 0.14);
}

*::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.36), rgba(14, 165, 233, 0.22));
    border: 2px solid rgba(7, 16, 25, 0.28);
}

*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(125, 211, 252, 0.52), rgba(14, 165, 233, 0.3));
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 18%, rgba(14, 165, 233, 0.18), transparent 24%),
        radial-gradient(circle at 88% 8%, rgba(59, 130, 246, 0.12), transparent 22%),
        radial-gradient(circle at 82% 72%, rgba(37, 99, 235, 0.08), transparent 24%),
        linear-gradient(145deg, #0a0f15 0%, #11161d 42%, #161c24 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255,255,255,0.015), rgba(255,255,255,0.015)),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: auto, 48px 48px, 48px 48px;
    mask-image: radial-gradient(circle at center, black 45%, transparent 100%);
    opacity: 0.25;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

.page-shell,
.revex-app { min-height: 100vh; min-height: 100svh; }

.auth-page {
    display: grid;
    place-items: center;
    padding: 32px;
}

.auth-layout { width: 100%; max-width: 660px; }

.auth-panel,
.revex-panel,
.revex-profile-card,
.profile-page,
.workspace-shell,
.revex-sidebar {
    isolation: isolate;
    position: relative;
    backdrop-filter: blur(20px) saturate(135%);
    -webkit-backdrop-filter: blur(20px) saturate(135%);
}

.auth-panel,
.revex-panel,
.profile-page,
.workspace-shell,
.revex-sidebar {
    overflow: hidden;
    background: linear-gradient(180deg, rgba(18, 24, 32, 0.86), rgba(10, 14, 20, 0.94));
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xl);
}

.auth-panel::before,
.revex-panel::before,
.revex-profile-card::before,
.profile-page::before,
.workspace-shell::before,
.revex-sidebar::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), inset 0 -1px 0 rgba(255,255,255,0.02);
}

.auth-panel {
    border-radius: 32px;
    padding: 46px 44px 36px;
    isolation: isolate;
}

.auth-panel::after,
.profile-page::after,
.workspace-shell::after {
    content: '';
    position: absolute;
    inset: auto -10% -28% auto;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.18), transparent 72%);
    filter: blur(24px);
    pointer-events: none;
}

.auth-backdrop {
    position: absolute;
    inset: -22% auto auto -10%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2), transparent 70%);
    filter: blur(26px);
    pointer-events: none;
}

.auth-logo-block,
.auth-topline {
    position: relative;
    display: flex;
    justify-content: center;
}

.auth-logo-block {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.brand-mark {
    width: 84px;
    height: 84px;
    border-radius: 26px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 18px 36px rgba(0, 0, 0, 0.22);
}
.brand-mark img { width: 46px; height: 46px; object-fit: contain; }

.eyebrow,
.revex-panel-topline,
.workspace-topline,
.profile-page-topline,
.revex-nav-heading {
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 800;
}
.eyebrow { color: var(--accent-strong); }

.status-pill {
    border: 1px solid rgba(14, 165, 233, 0.22);
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.14), rgba(14, 165, 233, 0.06));
    color: #d8e7ff;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(8, 47, 73, 0.18);
}

.auth-title {
    position: relative;
    margin: 28px 0 12px;
    text-align: center;
    font-size: 38px;
    line-height: 1.03;
    letter-spacing: -0.04em;
}

.auth-subtitle,
.revex-panel p,
.panel-description,
.workspace-header p,
.profile-page-header p,
.auth-note {
    color: var(--muted);
    line-height: 1.72;
}
.auth-subtitle {
    position: relative;
    margin: 0 auto 30px;
    text-align: center;
    max-width: 520px;
}

.auth-form,
.strict-form,
.field-group,
.revex-nav,
.revex-nav-section,
.revex-content,
.profile-page-details { display: grid; }
.auth-form,
.strict-form,
.profile-page-details { gap: 16px; }
.field-group { gap: 10px; }

.field-group span {
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 700;
}

.field-group input {
    width: 100%;
    height: 58px;
    border-radius: 17px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(8, 14, 21, 0.96), rgba(9, 16, 24, 0.9));
    color: var(--text);
    padding: 0 18px;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition), transform var(--transition);
}
.field-group input:hover {
    border-color: rgba(255,255,255,0.14);
    background: linear-gradient(180deg, rgba(9, 16, 24, 1), rgba(11, 18, 27, 0.94));
}
.field-group input:focus {
    border-color: rgba(14, 165, 233, 0.38);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.11), 0 18px 40px rgba(14, 165, 233, 0.22);
    transform: translateY(-1px);
}

.primary-button,
.secondary-button,
.danger-button,
.logout-link,
.workspace-button,
.avatar-remove-button,
.profile-page-avatar,
.revex-nav-link,
.revex-profile-card {
    appearance: none;
    border: 1px solid transparent;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition), color var(--transition), opacity var(--transition), filter var(--transition);
}

.primary-button,
.secondary-button,
.danger-button,
.logout-link,
.workspace-button {
    min-height: 54px;
    border-radius: 16px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.primary-button {
    margin-top: 10px;
    background: linear-gradient(180deg, #69aeff 0%, #4178e1 100%);
    color: #eff6ff;
    box-shadow: 0 12px 24px rgba(38, 92, 183, 0.18), 0 26px 56px rgba(24, 62, 132, 0.24), inset 0 1px 0 rgba(255,255,255,0.18);
}
.secondary-button,
.logout-link,
.workspace-button {
    background: linear-gradient(180deg, rgba(17, 27, 40, 0.96), rgba(10, 17, 26, 0.94));
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), var(--shadow-sm);
}
.danger-button {
    background: linear-gradient(180deg, rgba(240, 102, 102, 0.22), rgba(164, 49, 49, 0.24));
    color: #ffe0e0;
    border-color: rgba(240, 102, 102, 0.24);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), var(--shadow-sm);
}
.primary-button:hover,
.secondary-button:hover,
.danger-button:hover,
.logout-link:hover,
.workspace-button:hover,
.profile-page-avatar:hover,
.avatar-remove-button:hover,
.revex-nav-link:hover,
.revex-profile-card:hover {
    transform: translateY(-2px);
}
.primary-button:hover {
    filter: brightness(1.04);
    box-shadow: 0 16px 30px rgba(38, 92, 183, 0.2), 0 34px 68px rgba(24, 62, 132, 0.28), inset 0 1px 0 rgba(255,255,255,0.2);
}
.secondary-button:hover,
.logout-link:hover,
.workspace-button:hover {
    border-color: rgba(14, 165, 233, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255,255,255,0.05);
}
.danger-button:hover {
    border-color: rgba(240, 102, 102, 0.36);
    box-shadow: 0 20px 40px rgba(64, 16, 16, 0.26);
}

.auth-note {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(180deg, rgba(12, 20, 30, 0.86), rgba(9, 16, 24, 0.82));
    text-align: center;
}
.auth-note strong { color: #eef2fb; }

.revex-app {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
}

.revex-sidebar {
    position: sticky;
    top: 0;
    min-height: 100vh;
    min-height: 100svh;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255,255,255,0.06);
    background: linear-gradient(180deg, rgba(8, 15, 23, 0.88), rgba(7, 13, 20, 0.92));
}
.revex-sidebar-top {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.revex-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}
.revex-brand-logo {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 18px 36px rgba(0,0,0,0.2);
}
.revex-brand-logo img { width: 34px; height: 34px; object-fit: contain; }
.revex-brand-title { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.revex-brand-subtitle { margin-top: 5px; color: var(--muted); font-size: 13px; }

.revex-nav { padding: 26px 0; gap: 12px; align-content: start; }
.revex-nav-section { gap: 10px; }
.revex-nav-heading {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: #c3d2e6;
}
.revex-nav-divider {
    height: 1px;
    margin: 8px 4px 10px;
    background: linear-gradient(90deg, rgba(14, 165, 233, 0), rgba(56, 189, 248, 0.34), rgba(255, 255, 255, 0.08), rgba(14, 165, 233, 0));
}
.revex-nav-link {
    min-height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    background: linear-gradient(180deg, rgba(17, 27, 40, 0.9), rgba(10, 17, 26, 0.86));
    border: 1px solid rgba(255,255,255,0.06);
    color: #e1ebf7;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.revex-nav-link:hover {
    border-color: rgba(14, 165, 233, 0.18);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255,255,255,0.05);
}
.revex-nav-link.is-active {
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.18), rgba(37, 82, 170, 0.16));
    border-color: rgba(14, 165, 233, 0.22);
    color: #eef6ff;
    box-shadow: 0 20px 38px rgba(16, 42, 84, 0.22), inset 0 1px 0 rgba(255,255,255,0.07);
}

.revex-nav-link-home {
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.95), rgba(37, 99, 235, 0.92));
    border-color: rgba(125, 211, 252, 0.34);
    color: #eef8ff;
    box-shadow: 0 20px 38px rgba(8, 47, 73, 0.30), inset 0 1px 0 rgba(255,255,255,0.20);
}
.revex-nav-link-home:hover,
.revex-nav-link-home.is-active {
    filter: brightness(1.05);
    border-color: rgba(186, 230, 253, 0.42);
    box-shadow: 0 22px 42px rgba(8, 47, 73, 0.36), inset 0 1px 0 rgba(255,255,255,0.22);
}
.revex-nav-link-primary {
    min-height: 60px;
    font-size: 15px;
    border-color: rgba(14, 165, 233, 0.14);
    background: linear-gradient(180deg, rgba(26, 38, 54, 0.98), rgba(13, 21, 32, 0.96));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 16px 28px rgba(0, 0, 0, 0.16);
}
.revex-nav-link-primary::after {
    content: 'Главное';
    margin-left: auto;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.18);
    color: var(--accent-strong);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.revex-nav-link-primary.is-active {
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.16), rgba(31, 67, 132, 0.18));
    border-color: rgba(56, 189, 248, 0.26);
}

.revex-main { min-width: 0; padding: 30px; }
.revex-header {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 18px;
    margin-bottom: 24px;
}
.revex-profile-card {
    min-width: 320px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 16px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(15, 24, 37, 0.94), rgba(10, 16, 25, 0.92));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), var(--shadow-md);
}

.revex-profile-avatar,
.profile-page-avatar {
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.26), rgba(14, 165, 233, 0.08));
    border: 1px solid rgba(14, 165, 233, 0.2);
    color: #e6f1ff;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.revex-profile-avatar {
    width: 54px;
    height: 54px;
    border-radius: 18px;
}
.profile-page-avatar {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 38px;
    font-size: 46px;
    box-shadow: 0 24px 48px rgba(10, 31, 61, 0.24);
    cursor: pointer;
    padding: 0;
}
.revex-profile-avatar img,
.profile-page-avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-trigger { position: relative; isolation: isolate; }
.avatar-trigger::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 44px;
    border: 1px solid rgba(14, 165, 233, 0.14);
    opacity: 0;
    transform: scale(0.96);
    transition: opacity var(--transition), transform var(--transition);
}
.avatar-trigger:hover::after,
.avatar-trigger:focus-visible::after {
    opacity: 1;
    transform: scale(1);
}
.avatar-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px 16px;
    background: linear-gradient(180deg, rgba(4, 9, 14, 0.02) 0%, rgba(5, 13, 22, 0.82) 100%);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 1;
}
.avatar-overlay-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f5faff;
}
.avatar-trigger:hover .avatar-overlay,
.avatar-trigger:focus-visible .avatar-overlay {
    opacity: 1;
}
.avatar-trigger:focus-visible,
.avatar-remove-button:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.16), 0 24px 48px rgba(10, 31, 61, 0.24);
}
.profile-avatar-block {
    position: relative;
    width: fit-content;
    margin: 0 auto;
}
.avatar-remove-button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    padding: 0;
    cursor: pointer;
    background: linear-gradient(180deg, rgba(17, 27, 40, 0.98), rgba(9, 15, 24, 0.96));
    border-color: rgba(255,255,255,0.1);
    color: #ffd3d3;
    font-size: 24px;
    line-height: 1;
    box-shadow: 0 16px 34px rgba(0,0,0,0.2);
    z-index: 10;
}
.avatar-remove-button:hover {
    border-color: rgba(240, 102, 102, 0.34);
    background: linear-gradient(180deg, rgba(74, 25, 25, 0.98), rgba(38, 12, 12, 0.96));
}
.profile-hidden-form,
#avatar-upload-target { display: none; }
.revex-profile-meta { display: grid; gap: 4px; }
.revex-profile-label,
.revex-profile-meta small { color: var(--muted); }
.revex-profile-meta strong { font-size: 15px; }
.revex-content { gap: 20px; }
.revex-grid { display: grid; gap: 20px; }
.revex-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.revex-panel {
    border-radius: 24px;
    padding: 28px;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.revex-panel:hover {
    transform: translateY(-2px);
    border-color: rgba(14, 165, 233, 0.16);
    box-shadow: var(--shadow-lg);
}
.revex-panel-topline,
.workspace-topline,
.profile-page-topline { margin-bottom: 14px; color: var(--accent-strong); }
.revex-panel h2,
.revex-panel h3,
.workspace-header h1,
.profile-page-header h1 {
    margin: 0;
    line-height: 1.04;
    letter-spacing: -0.04em;
}
.revex-panel h2,
.workspace-header h1 { font-size: clamp(32px, 4vw, 44px); }
.revex-panel h3 { font-size: 22px; }

.workspace-shell {
    min-height: calc(100vh - 136px);
    border-radius: 30px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.1), transparent 24%),
        linear-gradient(180deg, rgba(10, 18, 28, 0.88), rgba(7, 13, 21, 0.94));
}
.workspace-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.workspace-empty {
    flex: 1;
    min-height: 460px;
    border-radius: 26px;
    margin-top: 28px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.012));
    border: 1px dashed rgba(148, 173, 202, 0.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}

.profile-page {
    min-height: calc(100vh - 136px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px clamp(28px, 5vw, 68px);
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.14), transparent 24%),
        radial-gradient(circle at bottom left, rgba(56, 189, 248, 0.1), transparent 22%),
        linear-gradient(180deg, rgba(10, 18, 28, 0.9), rgba(7, 13, 21, 0.95));
}
.profile-page-header {
    text-align: center;
    margin-bottom: 42px;
}
.profile-page-header h1 { font-size: clamp(40px, 5vw, 54px); }
.profile-page-header p { margin: 14px auto 0; max-width: 560px; }
.profile-page-body {
    display: grid;
    grid-template-columns: 190px minmax(0, 720px);
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 0 auto;
    width: 100%;
}
.profile-page-row {
    display: grid;
    grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    min-height: 84px;
    padding: 0 28px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 16px 34px rgba(0,0,0,0.14);
}
.profile-page-row span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.profile-page-row strong {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 700;
    text-align: right;
}
.profile-page-actions {
    display: flex;
    justify-content: center;
    margin-top: 38px;
}
.profile-logout-button {
    min-width: 240px;
    min-height: 58px;
    border-radius: 18px;
    font-size: 15px;
}

.toast-stack {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    display: grid;
    gap: 12px;
    width: min(380px, calc(100vw - 32px));
}
.toast {
    display: grid;
    grid-template-columns: 4px minmax(0, 1fr) auto;
    align-items: stretch;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(180deg, rgba(13, 22, 33, 0.96), rgba(8, 15, 24, 0.94));
    box-shadow: 0 24px 48px rgba(0,0,0,0.26);
    transform: translateY(16px) scale(0.985);
    opacity: 0;
}
.toast.is-visible { animation: toastIn 240ms cubic-bezier(.22, 1, .36, 1) forwards; }
.toast.is-hiding { animation: toastOut 220ms ease forwards; }
.toast-indicator { background: var(--accent); }
.toast-body {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
}
.toast-body strong { font-size: 14px; }
.toast-body span { color: var(--text-soft); line-height: 1.55; font-size: 14px; }
.toast-close {
    width: 48px;
    border: 0;
    background: transparent;
    color: #c0cedf;
    cursor: pointer;
    font-size: 22px;
    transition: background var(--transition), color var(--transition);
}
.toast-close:hover { background: rgba(255,255,255,0.04); color: #ffffff; }
.toast-success .toast-indicator { background: var(--success); }
.toast-warning .toast-indicator { background: var(--warning); }
.toast-error .toast-indicator { background: var(--danger); }

@keyframes toastIn {
    from { opacity: 0; transform: translateY(16px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toastOut {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to { opacity: 0; transform: translateY(14px) scale(0.99); }
}

@media (max-width: 1080px) {
    .revex-app { grid-template-columns: 1fr; }
    .revex-sidebar {
        position: relative;
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .revex-grid-2,
    .workspace-grid,
    .profile-page-body { grid-template-columns: 1fr; }
    .profile-page-body {
        justify-items: center;
        text-align: center;
    }
    .profile-page-details { width: 100%; }
    .profile-page-row {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 22px 24px;
    }
    .profile-page-row strong { text-align: center; }
}

@media (max-width: 720px) {
    .auth-page,
    .revex-main { padding: 18px; }
    .auth-panel,
    .revex-panel,
    .profile-page,
    .workspace-shell { padding: 22px; }
    .auth-title { font-size: 32px; }
    .revex-header {
        flex-direction: column;
        align-items: stretch;
    }
    .revex-profile-card { min-width: 0; }
    .workspace-shell,
    .profile-page { min-height: auto; }
    .profile-page-avatar {
        width: 136px;
        height: 136px;
        border-radius: 32px;
    }
    .profile-page-header h1,
    .workspace-header h1 { font-size: 30px; }
    .toast-stack {
        right: 16px;
        bottom: 16px;
        width: calc(100vw - 32px);
    }
}


.revex-sidebar::after,
.auth-panel::after,
.profile-page::after,
.workspace-shell::after {
    animation: ambientPulse 9s ease-in-out infinite;
}

.revex-nav-link,
.revex-profile-card,
.primary-button,
.secondary-button,
.danger-button,
.profile-page-avatar,
.toast {
    will-change: transform, box-shadow, border-color;
}

.revex-nav-link:hover,
.revex-profile-card:hover,
.primary-button:hover,
.secondary-button:hover,
.danger-button:hover,
.profile-page-avatar:hover {
    filter: saturate(1.05);
}

.workspace-shell,
.profile-page,
.auth-panel,
.revex-sidebar {
    background-image:
        linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)),
        linear-gradient(180deg, rgba(18, 24, 32, 0.9), rgba(10, 14, 20, 0.96));
}

@keyframes ambientPulse {
    0%, 100% { transform: scale(1) translate3d(0,0,0); opacity: 1; }
    50% { transform: scale(1.04) translate3d(-6px, 6px, 0); opacity: .88; }
}

/* === 2026 refresh: less glass, more enterprise === */
:root {
    --bg: #0a1017;
    --bg-secondary: #0f1722;
    --bg-tertiary: #131d29;
    --panel: #121b26;
    --panel-strong: #0f1822;
    --panel-soft: #16202c;
    --line: rgba(148, 163, 184, 0.14);
    --line-strong: rgba(148, 163, 184, 0.26);
    --text: #f3f7fb;
    --text-soft: #d7e0eb;
    --muted: #8fa0b3;
    --accent: #0ea5e9;
    --accent-soft: rgba(14, 165, 233, 0.12);
    --accent-strong: #7dd3fc;
    --accent-gold: #38bdf8;
    --radius-xl: 24px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.34);
    --shadow-lg: 0 18px 42px rgba(0, 0, 0, 0.26);
    --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.2);
    --shadow-sm: 0 8px 18px rgba(0, 0, 0, 0.16);
}

body {
    background:
        radial-gradient(circle at 0% 0%, rgba(14, 165, 233, 0.10), transparent 28%),
        radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.08), transparent 22%),
        linear-gradient(180deg, #0a1017 0%, #0d141d 54%, #111a24 100%);
}

body::before {
    background:
        linear-gradient(rgba(255,255,255,0.012), rgba(255,255,255,0.012)),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: auto, 56px 56px, 56px 56px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.85), transparent 92%);
    opacity: 0.18;
}

.auth-panel,
.revex-panel,
.profile-page,
.workspace-shell,
.revex-sidebar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: linear-gradient(180deg, rgba(18, 27, 38, 0.98), rgba(14, 21, 31, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: var(--shadow-lg);
}

.auth-panel::before,
.revex-panel::before,
.revex-profile-card::before,
.profile-page::before,
.workspace-shell::before,
.revex-sidebar::before {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.auth-panel,
.profile-page,
.workspace-shell,
.revex-sidebar,
.revex-profile-card,
.revex-nav-link,
.primary-button,
.secondary-button,
.danger-button,
.workspace-button,
.field-group input,
.auth-note {
    border-radius: 18px;
}

.auth-panel::after,
.profile-page::after,
.workspace-shell::after,
.auth-backdrop,
.revex-sidebar::after {
    display: none;
}

.brand-mark,
.revex-brand-logo {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #1a2633 0%, #111b25 100%);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 10px 24px rgba(0,0,0,0.22);
}

.brand-mark::after,
.revex-brand-logo::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    border: 1px solid rgba(255,255,255,0.03);
    pointer-events: none;
}

.brand-mark.large,
.brand-mark {
    border-radius: 22px;
}

.brand-mark img { width: 50px; height: 50px; filter: drop-shadow(0 6px 14px rgba(56, 189, 248, 0.14)); }

.status-pill {
    border-color: rgba(79, 140, 255, 0.2);
    background: rgba(79, 140, 255, 0.08);
    color: #dce8ff;
    box-shadow: none;
}

.field-group input {
    height: 56px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: #0e1620;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}
.field-group input:hover {
    border-color: rgba(148, 163, 184, 0.22);
    background: #101a25;
}
.field-group input:focus {
    border-color: rgba(79, 140, 255, 0.48);
    box-shadow: 0 0 0 4px rgba(79, 140, 255, 0.10);
    transform: none;
}

.primary-button {
    background: linear-gradient(180deg, #5f95ff 0%, #3f72d8 100%);
    box-shadow: 0 12px 28px rgba(42, 84, 168, 0.24);
}
.primary-button:hover {
    box-shadow: 0 16px 32px rgba(42, 84, 168, 0.28);
}
.secondary-button,
.logout-link,
.workspace-button,
.danger-button {
    box-shadow: none;
}

.revex-app {
    grid-template-columns: 300px minmax(0, 1fr);
}

.revex-sidebar {
    padding: 18px;
    border-right: 1px solid rgba(148, 163, 184, 0.1);
    background: linear-gradient(180deg, #111a24 0%, #0e1620 100%);
}

.revex-sidebar-top {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.revex-brand {
    gap: 16px;
    padding: 4px 2px;
}

.revex-brand-logo {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    flex: 0 0 64px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
        linear-gradient(180deg, #1a2532 0%, #0f1822 100%);
}

.revex-brand-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(56, 189, 248, 0.18));
}

.revex-brand-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.revex-brand-kicker {
    color: #8ea7c9;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.revex-brand-title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.revex-brand-subtitle {
    margin-top: 0;
    color: #9baabd;
    font-size: 13px;
    line-height: 1.35;
}

.revex-nav { gap: 12px; padding: 22px 0; }
.revex-nav-section { gap: 8px; }
.revex-nav-heading {
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    color: #a9b9cb;
}

.revex-nav-link {
    min-height: 50px;
    border-radius: 14px;
    padding: 0 16px;
    background: #131c27;
    border: 1px solid rgba(148, 163, 184, 0.08);
    box-shadow: none;
}
.revex-nav-link:hover {
    border-color: rgba(79, 140, 255, 0.18);
    background: #162130;
    box-shadow: none;
}
.revex-nav-link.is-active {
    background: linear-gradient(180deg, rgba(79, 140, 255, 0.12), rgba(79, 140, 255, 0.06));
    border-color: rgba(79, 140, 255, 0.22);
    color: #f4f8ff;
    box-shadow: inset 0 0 0 1px rgba(79, 140, 255, 0.12);
}

.revex-main { padding: 24px; }
.revex-header { margin-bottom: 18px; }
.revex-profile-card {
    min-width: 300px;
    border-radius: 16px;
    background: #141d28;
    border: 1px solid rgba(148, 163, 184, 0.1);
    box-shadow: none;
}

.revex-profile-avatar,
.profile-page-avatar {
    background: linear-gradient(180deg, rgba(79, 140, 255, 0.18), rgba(79, 140, 255, 0.08));
    border: 1px solid rgba(79, 140, 255, 0.16);
    box-shadow: none;
}

.workspace-shell,
.profile-page,
.auth-note {
    background: linear-gradient(180deg, #121b26 0%, #0f1822 100%);
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.workspace-shell {
    min-height: calc(100vh - 96px);
}

.profile-page-row {
    border-color: rgba(148, 163, 184, 0.08);
}

.primary-button:hover,
.secondary-button:hover,
.danger-button:hover,
.logout-link:hover,
.workspace-button:hover,
.profile-page-avatar:hover,
.avatar-remove-button:hover,
.revex-nav-link:hover,
.revex-profile-card:hover {
    transform: translateY(-1px);
}

@media (max-width: 960px) {
    .revex-app { grid-template-columns: 1fr; }
    .revex-sidebar {
        position: relative;
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    }
    .workspace-shell { min-height: 420px; }
}


/* === Elevate launcher palette alignment === */
:root {
    --bg: #0D0E12;
    --bg-secondary: #111319;
    --bg-tertiary: #14161C;
    --panel: #14161C;
    --panel-strong: #101217;
    --panel-soft: #191C23;
    --line: rgba(43, 46, 58, 0.78);
    --line-strong: rgba(58, 62, 78, 0.95);
    --text: #EBEEF5;
    --text-soft: #D7DCE8;
    --muted: #AAB0C0;
    --accent: #0ea5e9;
    --accent-soft: rgba(14, 165, 233, 0.14);
    --accent-strong: #7dd3fc;
    --accent-gold: #38bdf8;
    --success: #5ED49A;
    --success-soft: rgba(94, 212, 154, 0.14);
    --warning: #7dd3fc;
    --warning-soft: rgba(125, 211, 252, 0.12);
    --danger: #FF6B6B;
    --danger-soft: rgba(255, 107, 107, 0.14);
    --shadow-xl: 0 28px 72px rgba(0, 0, 0, 0.42);
    --shadow-lg: 0 18px 40px rgba(0, 0, 0, 0.32);
    --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.24);
    --shadow-sm: 0 8px 18px rgba(0, 0, 0, 0.18);
}

body {
    background:
        radial-gradient(circle at 18% 12%, rgba(14, 165, 233, 0.08), transparent 24%),
        radial-gradient(circle at 86% 10%, rgba(125, 211, 252, 0.05), transparent 18%),
        linear-gradient(180deg, #0D0E12 0%, #101217 48%, #13161D 100%);
}

body::before {
    background:
        linear-gradient(rgba(255,255,255,0.01), rgba(255,255,255,0.01)),
        linear-gradient(90deg, rgba(255,255,255,0.014) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.014) 1px, transparent 1px);
    background-size: auto, 56px 56px, 56px 56px;
    opacity: 0.12;
}

.auth-panel,
.revex-panel,
.profile-page,
.workspace-shell,
.revex-sidebar,
.revex-profile-card {
    background: linear-gradient(180deg, rgba(20, 22, 28, 0.98), rgba(16, 18, 24, 0.98));
    border-color: rgba(43, 46, 58, 0.95);
    box-shadow: var(--shadow-lg);
}

.status-pill,
.revex-nav-link.is-active,
.primary-button,
.revex-profile-avatar,
.profile-page-avatar {
    box-shadow: none;
}

.status-pill {
    border-color: rgba(14, 165, 233, 0.26);
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.14), rgba(14, 165, 233, 0.08));
    color: var(--text);
}

.primary-button {
    background: linear-gradient(180deg, #38bdf8 0%, #0ea5e9 100%);
    color: #0ea5e9;
}
.primary-button:hover {
    box-shadow: 0 14px 30px rgba(14, 165, 233, 0.22);
}

.field-group input:focus,
.avatar-trigger:focus-visible,
.avatar-remove-button:focus-visible {
    border-color: rgba(14, 165, 233, 0.45);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.10);
}

.secondary-button:hover,
.logout-link:hover,
.workspace-button:hover,
.revex-nav-link:hover {
    border-color: rgba(14, 165, 233, 0.18);
}

.revex-app {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 0;
}

.revex-sidebar {
    border-radius: 0;
    border-left: 0;
    border-top: 0;
    border-bottom: 0;
    border-right: 1px solid rgba(43, 46, 58, 0.95);
    padding: 22px 18px;
    background:
        linear-gradient(180deg, rgba(20, 22, 28, 0.99), rgba(16, 18, 24, 0.99));
    box-shadow: none;
}

.revex-sidebar::before,
.revex-sidebar::after {
    display: none;
}

.revex-sidebar-top {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(43, 46, 58, 0.95);
}

.revex-brand {
    align-items: center;
    gap: 14px;
    padding: 2px 0;
}

.revex-brand-logo {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}
.revex-brand-logo::after {
    display: none;
}
.revex-brand-logo img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(14, 165, 233, 0.14));
}

.revex-brand-copy {
    gap: 3px;
}
.revex-brand-kicker {
    color: #8D93A4;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
}
.revex-brand-title {
    font-size: 19px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text);
}
.revex-brand-subtitle {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.revex-nav-heading {
    color: #949BAE;
    border-bottom-color: rgba(43, 46, 58, 0.95);
}

.revex-nav-link {
    background: linear-gradient(180deg, rgba(28, 30, 38, 0.98), rgba(20, 22, 28, 0.98));
    border-color: rgba(58, 62, 78, 0.65);
    color: var(--text);
}
.revex-nav-link:hover {
    background: linear-gradient(180deg, rgba(34, 36, 46, 0.98), rgba(24, 26, 34, 0.98));
}
.revex-nav-link.is-active {
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.16), rgba(14, 165, 233, 0.08));
    border-color: rgba(14, 165, 233, 0.45);
    color: #bae6fd;
    box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.10);
}

.workspace-shell,
.profile-page,
.auth-note {
    background:
        linear-gradient(180deg, rgba(20, 22, 28, 0.98), rgba(16, 18, 24, 0.98));
    border-color: rgba(43, 46, 58, 0.95);
}

.workspace-topline,
.profile-page-topline,
.eyebrow {
    color: var(--accent-strong);
}

@media (max-width: 960px) {
    .revex-sidebar {
        border-right: 0;
        border-bottom: 1px solid rgba(43, 46, 58, 0.95);
    }
}

/* 2026-03-08 layout refinement */
.revex-app {
    grid-template-columns: 308px minmax(0, 1fr);
}

.revex-sidebar {
    gap: 24px;
    padding: 28px 18px 20px;
}

.revex-sidebar-top {
    padding: 0 6px 22px;
}

.revex-brand {
    align-items: flex-start;
    gap: 12px;
}

.revex-brand-logo {
    width: auto;
    height: auto;
    min-width: 44px;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding-top: 2px;
}

.revex-brand-logo img {
    width: 42px;
    height: 42px;
}

.revex-brand-copy {
    gap: 3px;
}

.revex-brand-kicker {
    color: var(--accent-strong);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.revex-brand-title {
    font-size: 20px;
    line-height: 1.05;
}

.revex-brand-subtitle {
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.5;
}

.revex-nav {
    flex: 1;
    align-content: start;
    gap: 22px;
    padding: 0 6px;
}

.revex-nav-section {
    gap: 12px;
}

.revex-nav-heading {
    padding-bottom: 9px;
    border-bottom-color: rgba(255,255,255,0.05);
}

.revex-nav-link {
    position: relative;
    min-height: 50px;
    padding: 0 18px 0 36px;
    border-radius: 16px;
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
}

.revex-nav-link::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255,255,255,0.28);
    transform: translateY(-50%);
    transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.revex-nav-link:hover {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.05);
    box-shadow: none;
}

.revex-nav-link:hover::before {
    background: rgba(14, 165, 233, 0.7);
}

.revex-nav-link.is-active {
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.16), rgba(14, 165, 233, 0.04) 70%);
    border-color: rgba(14, 165, 233, 0.12);
    box-shadow: none;
}

.revex-nav-link.is-active::before {
    background: var(--accent-gold);
    box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.12);
}

.revex-sidebar-bottom {
    margin-top: auto;
    padding: 18px 6px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.revex-profile-card-sidebar {
    width: 100%;
    min-width: 0;
    padding: 14px 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border-color: rgba(255,255,255,0.08);
    box-shadow: none;
}

.revex-profile-card-sidebar:hover {
    border-color: rgba(14, 165, 233, 0.16);
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.09), rgba(255,255,255,0.02));
}

.revex-main {
    padding: 0;
}

.revex-content {
    min-height: 100vh;
    min-height: 100svh;
    padding: 42px clamp(28px, 4vw, 52px);
}

.workspace-shell,
.profile-page {
    min-height: calc(100vh - 84px);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: visible;
}

.workspace-shell::before,
.workspace-shell::after,
.profile-page::before,
.profile-page::after {
    display: none;
}

.workspace-shell {
    padding: 0;
    background: transparent;
}

.workspace-header {
    padding: 0 0 22px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.workspace-empty {
    min-height: 540px;
    margin-top: 24px;
    border-radius: 24px;
    border: 1px dashed rgba(255,255,255,0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));
}

.profile-page {
    justify-content: flex-start;
    padding: 0;
    background: transparent;
}

.profile-page-header {
    margin-bottom: 34px;
    text-align: left;
}

.profile-page-header p {
    margin: 12px 0 0;
    max-width: 760px;
}

.profile-page-body {
    grid-template-columns: 220px minmax(0, 1fr);
    justify-content: start;
    align-items: start;
    gap: 32px;
    margin: 0;
    max-width: 980px;
}

.profile-page-details {
    gap: 14px;
}

.profile-page-row {
    min-height: 72px;
    padding: 0 0 14px;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.profile-page-row strong {
    text-align: left;
}

.profile-page-actions {
    justify-content: flex-start;
    margin-top: 32px;
}

@media (max-width: 960px) {
    .revex-app {
        grid-template-columns: 1fr;
    }

    .revex-sidebar {
        position: static;
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .revex-content {
        min-height: auto;
        padding: 28px 20px 34px;
    }

    .workspace-shell,
    .profile-page {
        min-height: auto;
    }

    .profile-page-body {
        grid-template-columns: 1fr;
    }

    .profile-avatar-block {
        margin: 0;
    }

    .profile-page-header,
    .profile-page-row strong {
        text-align: left;
    }
}


/* 2026-03-08 pass 2 */
.revex-app {
    grid-template-columns: 348px minmax(0, 1fr);
}

.revex-sidebar {
    padding-left: 38px;
    padding-right: 22px;
}

.revex-content {
    padding: 42px clamp(32px, 4vw, 56px) 42px clamp(36px, 4vw, 64px);
}

.profile-page {
    min-height: calc(100vh - 84px);
}

.profile-page-actions {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 40px;
}

.profile-logout-button {
    min-width: 160px;
}

.workspace-shell-blank {
    min-height: calc(100vh - 84px);
}

.workspace-shell-blank,
.workspace-shell-blank::before,
.workspace-shell-blank::after {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.workspace-header,
.workspace-empty {
    display: none;
}

@media (max-width: 960px) {
    .revex-app {
        grid-template-columns: 1fr;
    }

    .revex-sidebar {
        padding-left: 20px;
        padding-right: 20px;
    }

    .revex-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .profile-page-actions {
        justify-content: flex-end;
        padding-top: 28px;
    }
}


/* 2026-03-08 pass 3 */
.revex-nav,
.revex-nav-section,
.revex-sidebar-bottom {
    width: 100%;
}

.revex-nav-section {
    display: grid;
}

.revex-nav-link {
    width: 100%;
}

.revex-app {
    grid-template-columns: 348px minmax(0, 1fr);
}

.revex-sidebar {
    padding-left: 38px;
    padding-right: 18px;
}

.revex-sidebar-top,
.revex-nav,
.revex-sidebar-bottom {
    width: 100%;
}

.revex-nav {
    padding-right: 0;
}

.revex-nav-link {
    justify-content: flex-start;
    padding-right: 16px;
}

.revex-profile-card-sidebar {
    width: 100%;
}

@media (max-width: 960px) {
    .revex-sidebar {
        padding-left: 20px;
        padding-right: 20px;
    }
}


/* 2026-03-08 pass 4: sidebar fit fix */
.revex-app {
    grid-template-columns: 348px minmax(0, 1fr);
}

.revex-sidebar {
    padding: 24px 20px 24px 20px;
    border-right: 0;
}

.revex-sidebar-top,
.revex-nav,
.revex-sidebar-bottom,
.revex-nav-section,
.revex-nav-link,
.revex-profile-card-sidebar {
    width: 100%;
}

.revex-nav-link,
.revex-profile-card-sidebar {
    max-width: 100%;
}

.revex-nav-link {
    padding-left: 18px;
    padding-right: 16px;
}

.revex-sidebar-bottom {
    padding: 18px 0 0;
}

@media (max-width: 960px) {
    .revex-sidebar {
        padding: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
}

/* 2026-03-08 pass 5: nav icon/text spacing fix */
.revex-nav-link {
    padding-left: 40px;
    padding-right: 16px;
}

.revex-nav-link::before {
    left: 18px;
}


/* 2026-03-08 pass 4: auth screen refinements */
.auth-layout {
    max-width: 520px;
}

.auth-panel {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 38px 34px;
}

.auth-logo-block.auth-logo-block-refined {
    gap: 12px;
    margin-bottom: 20px;
}

.auth-logo-standalone {
    width: 72px;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 12px 28px rgba(14, 165, 233, 0.16));
}

.auth-brand-name {
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.22em;
    font-size: 12px;
}

.auth-topline {
    margin-bottom: 2px;
}

.auth-title {
    margin-top: 22px;
}

.auth-subtitle {
    max-width: 420px;
    margin-bottom: 26px;
}

@media (max-width: 640px) {
    .auth-layout {
        max-width: 100%;
    }

    .auth-panel {
        max-width: 100%;
        padding: 30px 22px 26px;
    }

    .auth-logo-standalone {
        width: 64px;
        height: 64px;
    }
}

/* 2026-03-08 pass 5: auth logo and main area separation */
.auth-logo-block.auth-logo-block-refined {
    position: relative;
    gap: 14px;
    margin-bottom: 22px;
}

.auth-logo-block.auth-logo-block-refined::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    width: 124px;
    height: 124px;
    border-radius: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(14, 165, 233, 0.22) 0%, rgba(14, 165, 233, 0.10) 36%, rgba(14, 165, 233, 0) 74%);
    filter: blur(6px);
    pointer-events: none;
}

.auth-logo-standalone {
    position: relative;
    z-index: 1;
    width: 92px;
    height: 92px;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.24)) drop-shadow(0 0 26px rgba(14, 165, 233, 0.24)) drop-shadow(0 0 8px rgba(56, 189, 248, 0.28));
}

.auth-brand-name {
    position: relative;
    z-index: 1;
    color: rgba(224, 242, 254, 0.84);
    letter-spacing: 0.24em;
    font-size: 12px;
    text-shadow: 0 0 16px rgba(14, 165, 233, 0.12);
}

.revex-main {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.72), rgba(14, 165, 233, 0.82));
    border-left: 1px solid rgba(56, 189, 248, 0.08);
}

.revex-main::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 10% 16%, rgba(14, 165, 233, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0));
    opacity: 0.95;
}

.revex-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    min-height: 100svh;
    padding: 34px clamp(28px, 4vw, 48px);
}

.workspace-shell,
.profile-page {
    min-height: calc(100vh - 68px);
    padding: 30px clamp(24px, 3vw, 34px);
    border: 1px solid rgba(56, 189, 248, 0.08);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.88), rgba(14, 165, 233, 0.94));
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 248, 240, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: visible;
}

.workspace-shell::before,
.profile-page::before {
    display: block;
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.05), transparent 32%);
}

.workspace-header {
    padding: 0 0 22px;
    border-bottom: 1px solid rgba(56, 189, 248, 0.08);
}

.workspace-empty {
    margin-top: 26px;
    border-radius: 24px;
    border: 1px dashed rgba(56, 189, 248, 0.10);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(56, 189, 248, 0.03));
}

.profile-page-header {
    margin-bottom: 30px;
}

@media (max-width: 640px) {
    .auth-logo-block.auth-logo-block-refined::before {
        width: 106px;
        height: 106px;
    }

    .auth-logo-standalone {
        width: 78px;
        height: 78px;
    }
}


/* 2026-03-08 pass 6: user requested cleanup */
.auth-logo-block.auth-logo-block-refined::before {
    display: none;
}

.auth-logo-standalone {
    width: 84px;
    height: 84px;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
}

.auth-topline,
.status-pill {
    display: none !important;
}

.revex-content {
    padding: 34px clamp(28px, 4vw, 48px);
}

.workspace-shell,
.profile-page {
    min-height: calc(100vh - 68px);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: visible;
}

.workspace-shell::before,
.profile-page::before {
    display: none;
}

.profile-page {
    padding: 6px 0 0;
}

.profile-page-header {
    margin-bottom: 26px;
}

.profile-page-body {
    max-width: 980px;
}

/* Keep logout actions aligned to the content area's bottom-right.
   profile-page-actions should span the available width so flex-end
   aligns the button to the real right edge instead of the centered block. */
.profile-page-actions {
    width: 100%;
}

.revex-nav-link {
    position: relative;
    min-height: 52px;
    padding: 0 16px 0 40px;
    border-radius: 15px;
    background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.012));
    border: 1px solid rgba(255,255,255,0.045);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.025);
}

.revex-nav-link::before {
    left: 18px;
    width: 7px;
    height: 7px;
    background: rgba(14, 165, 233, 0.62);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.08);
}

.revex-nav-link:hover {
    background: linear-gradient(180deg, rgba(255,255,255,0.038), rgba(255,255,255,0.02));
    border-color: rgba(255,255,255,0.065);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 8px 18px rgba(0,0,0,0.12);
    transform: translateY(-1px);
}

.revex-nav-link:hover::before {
    background: rgba(14, 165, 233, 0.82);
    box-shadow: 0 0 0 5px rgba(14, 165, 233, 0.10);
}

.revex-nav-link.is-active {
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.016));
    border-color: rgba(255,255,255,0.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.025);
}

.revex-nav-link.is-active::before {
    background: rgba(14, 165, 233, 0.7);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.09);
}

/* 2026-03-08 pass 6: sidebar nav restyle - remove card look */
.revex-nav-link {
    min-height: 48px;
    padding: 0 16px 0 42px;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(255,255,255,0.018), rgba(255,255,255,0.008) 44%, rgba(255,255,255,0) 100%);
    border: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.025), inset 0 -1px 0 rgba(255,255,255,0.018);
    transform: none;
}

.revex-nav-link::before {
    left: 18px;
    width: 6px;
    height: 6px;
    background: rgba(14, 165, 233, 0.58);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.06);
}

.revex-nav-link::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    width: 2px;
    height: 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(14, 165, 233, 0.18), rgba(255,255,255,0.03));
    opacity: 0.55;
    transform: translateY(-50%);
    transition: opacity var(--transition), height var(--transition), background var(--transition);
}

.revex-nav-link:hover {
    background: linear-gradient(90deg, rgba(255,255,255,0.032), rgba(255,255,255,0.012) 46%, rgba(255,255,255,0) 100%);
    border: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), inset 0 -1px 0 rgba(255,255,255,0.02);
    transform: none;
}

.revex-nav-link:hover::before {
    background: rgba(14, 165, 233, 0.78);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.08);
}

.revex-nav-link:hover::after {
    opacity: 0.9;
    height: 24px;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.12), rgba(14, 165, 233, 0.5), rgba(56, 189, 248, 0.12));
}

.revex-nav-link.is-active {
    background: linear-gradient(90deg, rgba(255,255,255,0.028), rgba(255,255,255,0.012) 46%, rgba(255,255,255,0) 100%);
    border: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.028), inset 0 -1px 0 rgba(255,255,255,0.02);
}

.revex-nav-link.is-active::before {
    background: rgba(14, 165, 233, 0.74);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.07);
}

.revex-nav-link.is-active::after {
    opacity: 0.72;
    height: 22px;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.1), rgba(14, 165, 233, 0.36), rgba(56, 189, 248, 0.1));
}


/* 2026-03-08 pass 7: premium sidebar button redesign */
.revex-nav {
    gap: 14px;
    padding: 20px 0;
}

.revex-nav-divider {
    position: relative;
    height: 16px;
    margin: 6px 0 2px;
    background: transparent;
}

.revex-nav-divider::before {
    content: '';
    position: absolute;
    left: 6px;
    right: 6px;
    top: 50%;
    height: 1px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, rgba(56, 189, 248, 0), rgba(56, 189, 248, 0.28), rgba(255,255,255,0.08), rgba(56, 189, 248, 0));
}

.revex-nav-link {
    position: relative;
    overflow: hidden;
    min-height: 74px;
    padding: 16px 18px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(180deg, rgba(18, 27, 39, 0.96), rgba(10, 17, 26, 0.92));
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 16px 28px rgba(0,0,0,0.18);
    transform: translateY(0);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.revex-nav-link::before,
.revex-nav-link::after {
    content: none !important;
}

.revex-nav-link:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.18);
    background: linear-gradient(180deg, rgba(21, 31, 45, 0.98), rgba(12, 19, 29, 0.94));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 22px 36px rgba(0,0,0,0.22);
}

.revex-nav-link.is-active {
    transform: translateY(-1px);
    border-color: rgba(56, 189, 248, 0.22);
    background: linear-gradient(180deg, rgba(26, 37, 53, 0.98), rgba(12, 19, 29, 0.94));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 22px 38px rgba(0,0,0,0.24);
}

.revex-nav-icon {
    position: relative;
    z-index: 1;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    color: #38bdf8;
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 10px 20px rgba(0,0,0,0.14);
}

.revex-nav-icon svg {
    width: 20px;
    height: 20px;
}

.revex-nav-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.revex-nav-title {
    color: #eff6ff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.revex-nav-note {
    color: #91a3b8;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.15;
}

.revex-nav-badge {
    position: relative;
    z-index: 1;
    margin-left: auto;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.18);
    color: #38bdf8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    white-space: nowrap;
}

.revex-nav-glow {
    position: absolute;
    right: -20px;
    top: -18px;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255,255,255,0.22), rgba(255,255,255,0) 70%);
    opacity: 0.34;
    pointer-events: none;
}

.revex-nav-link-home {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.98), rgba(14, 165, 233, 0.96));
    border-color: rgba(186, 230, 253, 0.26);
    box-shadow: none;
}

.revex-nav-link-home:hover,
.revex-nav-link-home.is-active {
    background: linear-gradient(135deg, rgba(125, 211, 252, 1), rgba(14, 165, 233, 0.98));
    border-color: rgba(186, 230, 253, 0.32);
    box-shadow: none;
}

.revex-nav-link-home .revex-nav-icon {
    color: #fff8ef;
    background: linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0.08));
    border-color: rgba(255,255,255,0.18);
}

.revex-nav-link-home .revex-nav-title,
.revex-nav-link-home .revex-nav-note {
    color: #fff9f1;
}

.revex-nav-link-home .revex-nav-note {
    color: rgba(255, 247, 236, 0.82);
}

.revex-nav-link-primary {
    min-height: 80px;
    background: linear-gradient(180deg, rgba(24, 35, 49, 0.98), rgba(11, 18, 28, 0.95));
    border-color: rgba(56, 189, 248, 0.12);
}

.revex-nav-link-primary.is-active {
    background: linear-gradient(180deg, rgba(30, 42, 58, 0.98), rgba(12, 19, 29, 0.95));
    border-color: rgba(56, 189, 248, 0.2);
}

.revex-nav-link-primary .revex-nav-icon {
    color: #38bdf8;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.16), rgba(255,255,255,0.04));
    border-color: rgba(59, 130, 246, 0.16);
}

@media (max-width: 640px) {
    .revex-nav-link {
        min-height: 68px;
        padding: 14px 16px;
        border-radius: 18px;
    }

    .revex-nav-link-primary {
        min-height: 72px;
    }

    .revex-nav-badge {
        display: none;
    }
}

/* 2026-03-08 pass 8: primary active state as left accent only */
.revex-nav-link-primary.is-active {
    transform: translateY(0);
    background: linear-gradient(180deg, rgba(24, 35, 49, 0.98), rgba(11, 18, 28, 0.95));
    border-color: rgba(56, 189, 248, 0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 16px 28px rgba(0,0,0,0.18);
}

.revex-nav-link-primary.is-active::before {
    content: '' !important;
    position: absolute;
    left: 8px;
    top: 12px;
    bottom: 12px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #38bdf8 0%, #0ea5e9 55%, #0ea5e9 100%);
    box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.18), 0 0 18px rgba(14, 165, 233, 0.28);
}

.revex-nav-link-primary.is-active .revex-nav-icon {
    color: #38bdf8;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.18), rgba(255,255,255,0.04));
    border-color: rgba(59, 130, 246, 0.16);
}

.revex-nav-link-primary.is-active:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.18);
    background: linear-gradient(180deg, rgba(27, 39, 55, 0.98), rgba(12, 19, 29, 0.95));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 22px 36px rgba(0,0,0,0.22);
}

/* 2026-03-08 pass 9: stable primary active left accent without pseudo-element */
.revex-nav-link-primary.is-active,
.revex-nav-link-primary[aria-current="page"] {
    transform: translateY(0);
    background: linear-gradient(180deg, rgba(24, 35, 49, 0.98), rgba(11, 18, 28, 0.95));
    border-color: rgba(56, 189, 248, 0.12);
    box-shadow:
        inset 4px 0 0 rgba(14, 165, 233, 0.98),
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 16px 28px rgba(0,0,0,0.18);
}

.revex-nav-link-primary.is-active::before,
.revex-nav-link-primary[aria-current="page"]::before,
.revex-nav-link-primary.is-active::after,
.revex-nav-link-primary[aria-current="page"]::after {
    content: none !important;
    display: none !important;
}

.revex-nav-link-primary.is-active:hover,
.revex-nav-link-primary[aria-current="page"]:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.18);
    background: linear-gradient(180deg, rgba(27, 39, 55, 0.98), rgba(12, 19, 29, 0.95));
    box-shadow:
        inset 4px 0 0 rgba(14, 165, 233, 1),
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 22px 36px rgba(0,0,0,0.22);
}

/* 2026-03-08 pass 8: active left indicator for all nav buttons except home */
.revex-nav-link:not(.revex-nav-link-home).is-active {
    transform: translateY(-1px);
    border-color: rgba(56, 189, 248, 0.18);
    background: linear-gradient(180deg, rgba(22, 31, 44, 0.98), rgba(11, 18, 28, 0.95));
    box-shadow:
        inset 4px 0 0 rgba(56, 189, 248, 0.98),
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 22px 38px rgba(0,0,0,0.24);
}

.revex-nav-link-primary.is-active {
    background: linear-gradient(180deg, rgba(22, 31, 44, 0.98), rgba(11, 18, 28, 0.95));
    border-color: rgba(56, 189, 248, 0.18);
}

.revex-nav-link:not(.revex-nav-link-home).is-active .revex-nav-icon {
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.16);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.14), rgba(255,255,255,0.04));
}

/* 2026-03-08 pass 11: extra features drawer + modal */
.revex-sidebar-bottom {
    position: relative;
    display: grid;
    gap: 18px;
}

.revex-more-handle {
    position: absolute;
    right: -22px;
    bottom: 104px;
    width: 82px;
    min-height: 168px;
    border-radius: 24px;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    color: #eef8ff;
    background:
        linear-gradient(180deg, rgba(14, 165, 233, 0.24), rgba(37, 99, 235, 0.14)),
        linear-gradient(180deg, rgba(20, 28, 38, 0.98), rgba(10, 16, 24, 0.96));
    border: 1px solid rgba(56, 189, 248, 0.24);
    box-shadow:
        0 20px 38px rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset -1px 0 0 rgba(56, 189, 248, 0.12);
    z-index: 4;
}

.revex-more-handle:hover {
    transform: translate(-4px, -2px);
    border-color: rgba(125, 211, 252, 0.36);
    box-shadow:
        0 24px 44px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(125, 211, 252, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.revex-more-handle.is-open {
    transform: translateX(-6px);
    box-shadow:
        0 26px 48px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(125, 211, 252, 0.14),
        inset 0 1px 0 rgba(255,255,255,0.12);
}

.revex-more-handle-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #38bdf8;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.18), rgba(255,255,255,0.06));
    border: 1px solid rgba(56, 189, 248, 0.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.revex-more-handle-icon svg { width: 22px; height: 22px; }

.revex-more-handle-copy {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.revex-more-handle-copy strong {
    font-size: 13px;
    letter-spacing: 0.02em;
}

.revex-more-handle-copy small {
    color: rgba(186, 230, 253, 0.72);
    font-size: 11px;
}

.revex-extra-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    align-items: start;
    justify-items: center;
    padding: 24px;
}

.revex-extra-modal[hidden] { display: none; }

.revex-extra-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 6, 10, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.revex-extra-sheet {
    position: relative;
    width: min(1180px, calc(100vw - 40px));
    max-height: min(84vh, 980px);
    margin-top: 8px;
    border-radius: 32px;
    overflow: hidden;
    padding: 28px;
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(18, 24, 32, 0.96), rgba(10, 14, 20, 0.98));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.45);
    transform: translateY(-28px) scale(0.98);
    opacity: 0;
    transition: transform 260ms ease, opacity 260ms ease;
}

.revex-extra-modal.is-open .revex-extra-sheet {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.revex-extra-sheet::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at center, black 48%, transparent 100%);
    opacity: 0.24;
}

.revex-extra-sheet-topline,
.revex-extra-section-label {
    position: relative;
    z-index: 1;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 800;
    color: #38bdf8;
}

.revex-extra-sheet-head,
.revex-extra-toolbar,
.revex-extra-pinned,
.revex-extra-all,
.revex-extra-grid,
.revex-extra-card-meta {
    position: relative;
    z-index: 1;
}

.revex-extra-sheet-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-top: 10px;
}

.revex-extra-sheet-head h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 42px);
    letter-spacing: -0.04em;
}

.revex-extra-sheet-head p {
    margin: 10px 0 0;
    max-width: 660px;
    color: var(--muted);
}

.revex-extra-close {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    cursor: pointer;
    color: #f3f7ff;
    background: linear-gradient(180deg, rgba(20, 29, 40, 0.98), rgba(10, 17, 26, 0.96));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 18px 34px rgba(0,0,0,0.22);
}

.revex-extra-close svg { width: 20px; height: 20px; }

.revex-extra-toolbar {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.revex-extra-search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 64px;
    padding: 0 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(12, 19, 28, 0.98), rgba(8, 14, 22, 0.94));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.revex-extra-search:focus-within {
    border-color: rgba(56, 189, 248, 0.24);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.08), inset 0 1px 0 rgba(255,255,255,0.05);
}

.revex-extra-search input {
    width: 100%;
    background: transparent;
    border: 0;
    color: #f8fafc;
    outline: none;
}

.revex-extra-search input::placeholder { color: rgba(214, 225, 240, 0.46); }
.revex-extra-search-icon,
.revex-extra-card-icon,
.revex-extra-pin {
    display: grid;
    place-items: center;
}
.revex-extra-search-icon svg,
.revex-extra-pin svg { width: 18px; height: 18px; }
.revex-extra-search-icon { color: #38bdf8; }

.revex-extra-counter {
    flex-shrink: 0;
    min-width: 140px;
    padding: 0 18px;
    min-height: 64px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.12), rgba(255,255,255,0.04));
    border: 1px solid rgba(56, 189, 248, 0.18);
    color: #bae6fd;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.revex-extra-counter span { font-size: 20px; font-weight: 800; margin-right: 6px; }

.revex-extra-pinned,
.revex-extra-all { margin-top: 22px; }

.revex-extra-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
}

.revex-extra-card {
    position: relative;
    min-height: 122px;
    padding: 18px 18px 16px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(19, 28, 39, 0.98), rgba(10, 16, 24, 0.96));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 18px 34px rgba(0, 0, 0, 0.18);
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.revex-extra-card::after {
    content: '';
    position: absolute;
    inset: auto -18% -42% auto;
    width: 140px;
    height: 140px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15), transparent 70%);
    filter: blur(18px);
    pointer-events: none;
}

.revex-extra-card:hover {
    transform: translateY(-3px) rotate(var(--feature-rotate, 0deg));
    border-color: rgba(56, 189, 248, 0.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 24px 40px rgba(0, 0, 0, 0.22);
}

.revex-extra-card.is-pinned {
    border-color: rgba(56, 189, 248, 0.24);
    box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.12), inset 0 1px 0 rgba(255,255,255,0.06), 0 24px 40px rgba(0, 0, 0, 0.24);
}

.revex-extra-card-icon {
    position: relative;
    z-index: 1;
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    border-radius: 18px;
    color: #38bdf8;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.18), rgba(255,255,255,0.04));
    border: 1px solid rgba(56, 189, 248, 0.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.revex-extra-card-icon svg { width: 24px; height: 24px; }

.revex-extra-card-meta {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 7px;
}

.revex-extra-card-meta strong { font-size: 18px; }

.revex-extra-card-meta p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
    font-size: 14px;
}

.revex-extra-card-tag {
    display: inline-flex;
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    color: #dfe9f6;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.revex-extra-card-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.revex-extra-pin {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    cursor: pointer;
    color: #d9e5f3;
    background: linear-gradient(180deg, rgba(16, 24, 34, 0.98), rgba(11, 18, 27, 0.94));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.revex-extra-pin.is-active {
    color: #7dd3fc;
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.16), rgba(255,255,255,0.04));
    border-color: rgba(56, 189, 248, 0.24);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.08), inset 0 1px 0 rgba(255,255,255,0.08);
}

.revex-extra-open-link {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f5f8fd;
    background: linear-gradient(180deg, rgba(23, 33, 46, 0.98), rgba(11, 18, 27, 0.94));
    border: 1px solid rgba(255,255,255,0.08);
    font-weight: 700;
}

.revex-extra-open-link:hover,
.revex-extra-pin:hover,
.revex-extra-close:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.18);
}

.revex-extra-empty {
    margin-top: 14px;
    min-height: 120px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    color: var(--muted);
    background: linear-gradient(180deg, rgba(14, 21, 30, 0.92), rgba(10, 16, 24, 0.88));
    border: 1px dashed rgba(255,255,255,0.12);
}

.revex-extra-grid-pinned .revex-extra-card {
    background: linear-gradient(180deg, rgba(29, 39, 53, 0.98), rgba(12, 19, 28, 0.96));
}

.revex-app.is-extra-open {
    overflow: visible;
}

body.is-modal-open {
    overflow: visible;
}

@media (max-width: 1080px) {
    .revex-extra-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .revex-extra-card[data-span="7"],
    .revex-extra-card[data-span="6"] { grid-column: span 6; }
    .revex-extra-card[data-span="5"],
    .revex-extra-card[data-span="4"] { grid-column: span 3; }
}

@media (min-width: 1081px) {
    .revex-extra-card[data-span="7"] { grid-column: span 7; }
    .revex-extra-card[data-span="6"] { grid-column: span 6; }
    .revex-extra-card[data-span="5"] { grid-column: span 5; }
    .revex-extra-card[data-span="4"] { grid-column: span 4; }
}

@media (max-width: 860px) {
    .revex-more-handle {
        right: 0;
        bottom: auto;
        top: 18px;
        width: calc(100% - 12px);
        min-height: 66px;
        padding: 12px 16px;
        border-radius: 18px;
        flex-direction: row;
        justify-content: flex-start;
    }

    .revex-more-handle-copy {
        writing-mode: initial;
        transform: none;
        text-align: left;
        gap: 2px;
    }

    .revex-sidebar-bottom {
        padding-top: 84px;
    }

    .revex-extra-toolbar,
    .revex-extra-sheet-head {
        flex-direction: column;
    }

    .revex-extra-counter {
        width: 100%;
    }

    .revex-extra-grid {
        grid-template-columns: 1fr;
    }

    .revex-extra-card[data-span] {
        grid-column: span 1;
    }
}


/* 2026-03-08 pass 12: compact tools slider, smoother motion, isolated nav hover */
:root {
    --transition-fast: 180ms cubic-bezier(.22, 1, .36, 1);
    --transition-smooth: 380ms cubic-bezier(.22, 1, .36, 1);
    --transition-slower: 680ms cubic-bezier(.16, 1, .3, 1);
}

.revex-nav,
.revex-nav-link,
.revex-nav-icon,
.revex-nav-copy,
.revex-nav-glow,
.revex-more-handle,
.revex-extra-sheet,
.revex-extra-card,
.revex-extra-open-link,
.revex-extra-close,
.revex-profile-card {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
}

.revex-nav-link {
    isolation: isolate;
    min-height: 70px;
    padding: 14px 16px;
    border-radius: 20px;
    transition:
        transform var(--transition-smooth),
        border-color var(--transition-smooth),
        background var(--transition-smooth),
        box-shadow var(--transition-smooth),
        filter var(--transition-smooth),
        opacity var(--transition-smooth);
}

.revex-nav-link .revex-nav-icon,
.revex-nav-link .revex-nav-title,
.revex-nav-link .revex-nav-note,
.revex-nav-link .revex-nav-badge,
.revex-nav-link .revex-nav-glow {
    transition:
        transform var(--transition-smooth),
        color var(--transition-smooth),
        background var(--transition-smooth),
        border-color var(--transition-smooth),
        opacity var(--transition-smooth),
        box-shadow var(--transition-smooth);
}

.revex-nav-link:hover {
    transform: translate3d(0, -2px, 0);
    filter: none;
}

.revex-nav-link:hover .revex-nav-icon {
    transform: translate3d(0, -1px, 0) scale(1.02);
}

.revex-nav-link:hover .revex-nav-glow {
    opacity: 0.52;
    transform: scale(1.06);
}

.revex-nav:hover .revex-nav-link:not(:hover) {
    transform: none;
    filter: none;
}

.revex-nav:hover .revex-nav-link:not(:hover) .revex-nav-icon,
.revex-nav:hover .revex-nav-link:not(:hover) .revex-nav-glow {
    transform: none;
    opacity: initial;
}

.revex-nav-link-home,
.revex-nav-link-home:hover,
.revex-nav-link-home.is-active {
    transition:
        transform var(--transition-smooth),
        border-color var(--transition-smooth),
        background var(--transition-smooth),
        box-shadow var(--transition-smooth);
}

.revex-nav-glow {
    opacity: 0.28;
    transform: scale(1);
}

.revex-nav-link-home .revex-nav-glow {
    opacity: 0;
}

.revex-more-handle {
    position: absolute;
    right: -14px;
    bottom: 110px;
    width: 58px;
    min-height: 154px;
    padding: 10px 8px;
    border-radius: 18px 0 0 18px;
    gap: 10px;
    justify-content: center;
    background:
        linear-gradient(180deg, rgba(56, 189, 248, 0.2), rgba(37, 99, 235, 0.08)),
        linear-gradient(180deg, rgba(19, 27, 38, 0.98), rgba(10, 16, 24, 0.96));
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-right: 0;
    box-shadow:
        0 18px 34px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset -1px 0 0 rgba(56, 189, 248, 0.12);
    transition:
        transform var(--transition-slower),
        border-color var(--transition-smooth),
        box-shadow var(--transition-smooth),
        background var(--transition-smooth),
        opacity var(--transition-smooth);
    animation: toolsSliderFloat 3.8s cubic-bezier(.45, .05, .55, .95) infinite;
}

.revex-more-handle:hover {
    transform: translate3d(-3px, 0, 0);
    border-color: rgba(125, 211, 252, 0.34);
    box-shadow:
        0 22px 40px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(125, 211, 252, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.revex-more-handle.is-open {
    transform: translate3d(-5px, 0, 0);
}

.revex-more-handle.is-disabled,
.revex-more-handle:disabled {
    cursor: default;
    pointer-events: auto;
    opacity: 0.48;
    animation: none;
    transform: none;
    filter: grayscale(0.12) saturate(0.7);
    box-shadow:
        0 12px 22px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.revex-more-handle.is-disabled:hover,
.revex-more-handle:disabled:hover {
    transform: none;
    border-color: rgba(56, 189, 248, 0.18);
}

.revex-more-handle-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    transition: transform var(--transition-slower), box-shadow var(--transition-smooth), background var(--transition-smooth);
}

.revex-more-handle:hover .revex-more-handle-icon {
    transform: scale(1.04);
}

.revex-more-handle-copy strong {
    font-size: 11px;
}

.revex-more-handle-copy small {
    font-size: 10px;
}

.revex-extra-sheet {
    transition: transform var(--transition-slower), opacity var(--transition-smooth);
    transform: translateY(-16px) scale(0.985);
}

.revex-extra-toolbar {
    margin-top: 20px;
}

.revex-extra-card {
    transition:
        transform var(--transition-smooth),
        border-color var(--transition-smooth),
        box-shadow var(--transition-smooth),
        background var(--transition-smooth);
}

.revex-extra-card:hover {
    transform: translate3d(0, -2px, 0) rotate(var(--feature-rotate, 0deg));
}

.revex-extra-open-link,
.revex-extra-close,
.revex-extra-search {
    transition:
        transform var(--transition-smooth),
        border-color var(--transition-smooth),
        box-shadow var(--transition-smooth),
        background var(--transition-smooth);
}

.revex-extra-open-link:hover,
.revex-extra-close:hover {
    transform: translate3d(0, -1px, 0);
}

[data-extra-features-pinned-wrap],
[data-extra-features-pinned],
[data-extra-features-pinned-count],
.revex-extra-counter,
.revex-extra-pin {
    display: none !important;
}

@keyframes toolsSliderFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(-4px, 0, 0);
    }
}

@media (max-width: 860px) {
    .revex-more-handle {
        right: 0;
        top: 16px;
        bottom: auto;
        width: calc(100% - 10px);
        min-height: 54px;
        border-radius: 16px;
        padding: 10px 14px;
        flex-direction: row;
        justify-content: flex-start;
        animation: none;
    }

    .revex-sidebar-bottom {
        padding-top: 70px;
    }

    .revex-more-handle-copy {
        writing-mode: initial;
        transform: none;
        text-align: left;
        gap: 2px;
    }
}


/* patched: extra features pin + handle outside right of sidebar */
.revex-more-handle {
    left: auto;
    right: -34px;
    bottom: 110px;
    width: 62px;
    min-height: 210px;
    padding: 12px 8px;
    border-radius: 0 18px 18px 0;
    border-left: 0;
    border-right: 1px solid rgba(56, 189, 248, 0.2);
    box-shadow:
        0 18px 34px rgba(0, 0, 0, 0.26),
        12px 0 24px rgba(14, 165, 233, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 1px 0 0 rgba(56, 189, 248, 0.12);
    animation: toolsSliderFloatRight 3.8s cubic-bezier(.45, .05, .55, .95) infinite;
}

.revex-more-handle:hover {
    transform: translate3d(3px, 0, 0);
}

.revex-more-handle.is-open {
    transform: translate3d(6px, 0, 0);
}

.revex-more-handle .revex-more-handle-copy {
    order: 1;
}

.revex-more-handle .revex-more-handle-icon {
    order: 2;
}

.revex-extra-card {
    cursor: pointer;
}

.revex-extra-card:focus-visible {
    outline: none;
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12), 0 24px 44px rgba(0, 0, 0, 0.24);
}

.revex-extra-card-actions {
    align-self: flex-start;
}

.revex-extra-pin {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(16, 25, 36, 0.96), rgba(10, 16, 24, 0.92));
    color: rgba(238, 245, 251, 0.82);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 12px 24px rgba(0,0,0,0.18);
    cursor: pointer;
    position: relative;
    overflow: visible;
}

.revex-extra-pin svg {
    width: 18px;
    height: 18px;
    transform: rotate(38deg);
}

.revex-extra-pin::before {
    content: '';
    position: absolute;
    inset: -35%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(56, 189, 248, 0.85) 70deg, transparent 140deg);
    opacity: 0;
    transform: rotate(0deg);
    transition: opacity var(--transition-smooth);
}

.revex-extra-pin::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(16, 25, 36, 0.98), rgba(10, 16, 24, 0.94));
}

.revex-extra-pin svg {
    position: relative;
    z-index: 1;
}

.revex-extra-pin:hover {
    transform: translateY(-1px);
    border-color: rgba(56, 189, 248, 0.32);
}

.revex-extra-pin.is-active {
    color: #7dd3fc;
    border-color: rgba(56, 189, 248, 0.34);
    box-shadow: 0 16px 30px rgba(14, 165, 233, 0.22), inset 0 1px 0 rgba(255,255,255,0.07);
}

.revex-extra-pin.is-active::before {
    opacity: 1;
    animation: pinnedRingSpin 2.6s linear infinite;
}

.revex-extra-card.is-pinned {
    border-color: rgba(56, 189, 248, 0.28);
    box-shadow: 0 26px 52px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255,255,255,0.06);
}

.revex-extra-card.is-pinned::after {
    opacity: 1;
    background: linear-gradient(120deg, rgba(56, 189, 248, 0.24), transparent 55%);
}

.revex-extra-open-link,
[data-extra-features-pinned-wrap],
[data-extra-features-pinned],
[data-extra-features-pinned-count],
.revex-extra-counter {
    display: none !important;
}

@keyframes toolsSliderFloatRight {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(4px, 0, 0);
    }
}

@keyframes pinnedRingSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 860px) {
    .revex-more-handle {
        right: -10px;
        left: auto;
        border-radius: 16px;
        animation: none;
    }
}


/* 2026-03-09 pass 14: refine compact extra tools button */
.revex-sidebar-bottom {
    gap: 12px;
}

.revex-more-handle {
    position: relative;
    right: auto;
    bottom: auto;
    display: inline-flex;
    width: 100%;
    min-height: 50px;
    padding: 9px 12px;
    border-radius: 16px;
    border-right: 1px solid rgba(56, 189, 248, 0.22);
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(135deg, rgba(56, 189, 248, 0.14), rgba(14, 165, 233, 0.06) 52%, rgba(255, 255, 255, 0.02) 100%),
        linear-gradient(180deg, rgba(19, 27, 38, 0.98), rgba(10, 16, 24, 0.96));
    box-shadow:
        0 14px 24px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 0 0 1px rgba(125, 211, 252, 0.03);
    animation: none;
}

.revex-more-handle::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
    opacity: 0.5;
}

.revex-more-handle-shine {
    position: absolute;
    inset: -35% auto -35% -42%;
    width: 42%;
    transform: skewX(-24deg);
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.06), rgba(255,255,255,0.34), rgba(56, 189, 248, 0.1), transparent);
    filter: blur(1px);
    animation: revexMoreHandleShimmer 3.2s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.revex-more-handle:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.34);
    box-shadow:
        0 18px 30px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(125, 211, 252, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.revex-more-handle.is-open {
    transform: translateY(-1px);
    border-color: rgba(56, 189, 248, 0.38);
}

.revex-more-handle.is-disabled,
.revex-more-handle:disabled {
    opacity: 0.52;
    transform: none;
}

.revex-more-handle-icon,
.revex-more-handle-copy {
    position: relative;
    z-index: 1;
}

.revex-more-handle-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.13), rgba(56, 189, 248, 0.04));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.revex-more-handle-icon svg {
    width: 18px;
    height: 18px;
}

.revex-more-handle .revex-more-handle-copy {
    writing-mode: initial;
    transform: none;
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1 1 auto;
    text-align: left;
}

.revex-more-handle-copy strong {
    display: block;
    width: 100%;
    min-width: 0;
    font-size: 12.5px;
    line-height: 1.2;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.revex-more-handle-copy small {
    display: none;
}

@keyframes revexMoreHandleShimmer {
    0% {
        transform: translateX(0) skewX(-24deg);
        opacity: 0;
    }
    12% {
        opacity: 0.95;
    }
    55% {
        opacity: 0.55;
    }
    100% {
        transform: translateX(420%) skewX(-24deg);
        opacity: 0;
    }
}

@media (max-width: 860px) {
    .revex-sidebar-bottom {
        padding-top: 0;
    }

    .revex-more-handle {
        width: 100%;
        min-height: 50px;
        padding: 9px 12px;
        border-radius: 16px;
    }

    .revex-more-handle-copy strong {
        font-size: 12px;
    }
}

/* 2026-03-09 pass 15: set admin modal + registration flow */
.danger-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 18px;
    border: 1px solid rgba(255, 99, 117, 0.34);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(61, 15, 22, 0.96), rgba(37, 10, 14, 0.98));
    color: rgba(255, 225, 229, 0.96);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.danger-button:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 124, 139, 0.52);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.24);
}

.revex-admin-modal {
    position: fixed;
    inset: 0;
    z-index: 70;
}

.revex-admin-sheet {
    position: relative;
    width: min(560px, calc(100% - 28px));
    margin: 8vh auto 0;
    padding: 24px;
    border-radius: 28px;
    border: 1px solid rgba(125, 211, 252, 0.14);
    background: linear-gradient(180deg, rgba(16, 22, 32, 0.98), rgba(8, 13, 20, 0.98));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.revex-admin-form,
.revex-admin-result {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.revex-admin-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.revex-admin-result {
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.revex-admin-result-copy strong {
    display: block;
    font-size: 16px;
    margin-bottom: 6px;
}

.revex-admin-result-copy p {
    margin: 0;
    color: rgba(214, 220, 232, 0.74);
    line-height: 1.5;
}

.register-admin-summary {
    display: grid;
    gap: 10px;
}

.register-admin-summary-card {
    margin: 0 0 22px;
    padding: 16px 18px;
    border-radius: 22px;
    border: 1px solid rgba(125, 211, 252, 0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 18px 32px rgba(0, 0, 0, 0.18);
}

.register-admin-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.register-admin-summary-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.register-admin-summary-row:first-child {
    padding-top: 0;
}

.register-admin-summary-row span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.register-admin-summary-row strong {
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    text-align: right;
    word-break: break-word;
}

.register-admin-form {
    gap: 18px;
}

.register-admin-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.register-admin-actions .primary-button,
.register-admin-actions .danger-button {
    margin-top: 0;
    width: 100%;
}

.register-admin-footnote {
    margin-top: 20px;
    text-align: center;
}

.auth-note-soft {
    background: linear-gradient(180deg, rgba(24, 33, 46, 0.86), rgba(13, 19, 28, 0.92));
}

@media (max-width: 640px) {
    .revex-admin-sheet {
        width: min(100% - 20px, 560px);
        padding: 18px;
        border-radius: 22px;
    }

    .revex-admin-actions,
    .register-admin-actions {
        grid-template-columns: 1fr;
    }

    .register-admin-summary-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .register-admin-summary-row strong {
        text-align: left;
    }
}


.monitoring-shell {
    padding: 30px;
    border-radius: 30px;
}

.monitoring-hero {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.monitoring-hero-copy h1 {
    margin: 8px 0 10px;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.04;
}

.monitoring-hero-copy p {
    margin: 0;
    max-width: 720px;
    color: var(--text-soft);
}

.monitoring-refresh-button {
    min-width: 180px;
}

.monitoring-status-strip {
    display: grid;
    grid-template-columns: minmax(220px, 1.1fr) repeat(3, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.monitoring-status-pill,
.monitoring-meta-item,
.monitoring-card,
.monitoring-stat-box,
.monitoring-player-row {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(21, 29, 39, 0.95), rgba(10, 16, 24, 0.94));
    border: 1px solid rgba(56, 189, 248, 0.12);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.monitoring-status-pill,
.monitoring-meta-item {
    min-height: 92px;
    padding: 20px 22px;
}

.monitoring-status-pill {
    display: flex;
    align-items: center;
    gap: 14px;
}

.monitoring-status-dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: var(--warning);
    box-shadow: 0 0 0 8px rgba(56, 189, 248, 0.12);
    flex: 0 0 auto;
}

.monitoring-status-pill.is-online .monitoring-status-dot {
    background: var(--success);
    box-shadow: 0 0 0 8px rgba(62, 207, 142, 0.14);
}

.monitoring-status-pill.is-offline .monitoring-status-dot {
    background: var(--danger);
    box-shadow: 0 0 0 8px rgba(240, 102, 102, 0.14);
}

.monitoring-meta-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.monitoring-meta-item span,
.monitoring-card-topline,
.monitoring-stat-box span,
.monitoring-info-row span {
    color: var(--muted);
    font-size: 13px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.monitoring-meta-item strong,
.monitoring-info-row strong,
.monitoring-players-badge,
.monitoring-player-name {
    color: var(--text);
}

.monitoring-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.95fr) minmax(280px, 1fr) minmax(360px, 1.3fr);
    gap: 18px;
    align-items: start;
}

.monitoring-card {
    padding: 22px;
}

.monitoring-card-highlight {
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.96), rgba(12, 16, 23, 0.96));
}

.monitoring-stat-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.monitoring-stat-box {
    padding: 18px;
}

.monitoring-stat-box strong {
    display: block;
    margin-top: 10px;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1;
}

.monitoring-info-list {
    margin-top: 16px;
    display: grid;
    gap: 14px;
}

.monitoring-info-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.monitoring-card-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.monitoring-card-head h2 {
    margin: 8px 0 0;
    font-size: 24px;
}

.monitoring-players-badge {
    min-width: 58px;
    padding: 11px 14px;
    border-radius: 18px;
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    background: rgba(14, 165, 233, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.18);
}

.monitoring-player-list {
    display: grid;
    gap: 12px;
    max-height: 560px;
    overflow: auto;
    padding-right: 4px;
}

.monitoring-player-row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 88px 78px;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
}

.monitoring-player-id,
.monitoring-player-meta {
    color: var(--muted);
    font-size: 13px;
}

.monitoring-player-name {
    font-size: 15px;
    font-weight: 700;
    word-break: break-word;
}

.monitoring-player-score,
.monitoring-player-ping {
    text-align: right;
    font-weight: 700;
}

.monitoring-player-empty {
    padding: 26px 18px;
    border-radius: 22px;
    color: var(--text-soft);
    background: rgba(255,255,255,0.03);
    border: 1px dashed rgba(255, 255, 255, 0.09);
}

.monitoring-player-list::-webkit-scrollbar {
    width: 10px;
}

.monitoring-player-list::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.16);
    border-radius: 999px;
}

@media (max-width: 1280px) {
    .monitoring-status-strip,
    .monitoring-grid {
        grid-template-columns: 1fr 1fr;
    }

    .monitoring-card-players {
        grid-column: 1 / -1;
    }
}

@media (max-width: 860px) {
    .monitoring-shell {
        padding: 22px;
        border-radius: 24px;
    }

    .monitoring-hero,
    .monitoring-status-strip,
    .monitoring-grid {
        grid-template-columns: 1fr;
    }

    .monitoring-player-row {
        grid-template-columns: 56px minmax(0, 1fr) 76px 68px;
    }
}

@media (max-width: 640px) {
    .monitoring-player-row {
        grid-template-columns: 1fr 1fr;
    }

    .monitoring-player-score,
    .monitoring-player-ping {
        text-align: left;
    }
}

.players-online-shell {
    gap: 22px;
}

.players-online-hero {
    align-items: stretch;
}

.players-online-hero-actions {
    display: flex;
    align-items: stretch;
    gap: 14px;
}

.players-online-hero-badge {
    min-width: 190px;
    padding: 18px 20px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.18), rgba(14, 165, 233, 0.08));
    border: 1px solid rgba(56, 189, 248, 0.18);
    box-shadow: var(--shadow-md);
}

.players-online-hero-badge span,
.players-online-inline-meta span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.players-online-hero-badge strong {
    display: block;
    margin-top: 10px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1;
}

.players-online-status-strip {
    grid-template-columns: minmax(220px, 1fr) minmax(240px, 1.2fr) minmax(180px, 0.9fr) minmax(220px, 1fr);
}

.players-online-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.players-online-summary-card {
    min-height: 128px;
    padding: 22px;
}

.players-online-summary-card strong {
    display: block;
    margin-top: 14px;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1;
}

.players-online-main-card {
    min-height: 640px;
}

.players-online-main-head {
    align-items: center;
    margin-bottom: 18px;
}

.players-online-head-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.players-online-inline-meta {
    min-width: 160px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.players-online-inline-meta strong {
    display: block;
    margin-top: 8px;
    font-size: 16px;
}

.players-online-list {
    max-height: none;
    min-height: 520px;
}

@media (max-width: 1280px) {
    .players-online-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .players-online-hero,
    .players-online-hero-actions,
    .players-online-head-meta,
    .players-online-status-strip,
    .players-online-summary-grid {
        grid-template-columns: 1fr;
    }

    .players-online-hero-actions {
        flex-direction: column;
    }

    .players-online-head-meta {
        width: 100%;
        justify-content: stretch;
    }

    .players-online-inline-meta {
        min-width: 0;
        flex: 1 1 auto;
    }
}

@media (max-width: 640px) {
    .players-online-summary-grid {
        grid-template-columns: 1fr;
    }
}


.players-online-page-shell {
    min-height: calc(100vh - 112px);
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
}

.players-online-page-shell::before,
.players-online-page-shell::after {
    display: none;
}

.players-online-panel {
    width: 100%;
    min-height: calc(100vh - 112px);
    padding: 30px;
    border-radius: 32px;
    border: 1px solid rgba(56, 189, 248, 0.12);
    background: linear-gradient(180deg, rgba(18, 24, 32, 0.86), rgba(10, 14, 20, 0.96));
    box-shadow: var(--shadow-xl);
}

.players-online-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.players-online-panel-head h2 {
    margin: 6px 0 0;
    font-size: 34px;
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.players-online-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.players-online-panel-head-simple {
    justify-content: flex-start;
}

.players-online-search-modern {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 60px;
    padding: 0 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(8, 14, 21, 0.98), rgba(11, 18, 27, 0.92));
}

.players-online-search-modern svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    display: block;
    color: #38bdf8;
}

.players-online-search-modern input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
}

.players-online-search-modern input::placeholder {
    color: rgba(214, 225, 240, 0.46);
}

.players-online-refresh-button {
    min-width: 154px;
    height: 60px;
    margin-top: 0;
}

.players-online-table-shell {
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: calc(100vh - 290px);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.06);
    background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.018));
    overflow: visible;
}

.players-online-table-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px 120px;
    gap: 14px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.03);
}

.players-online-table-head span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.players-online-table-head span:nth-child(2),
.players-online-table-head span:nth-child(3) {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.players-online-table-list {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 16px;
}

.players-online-tab-row {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px 120px;
    gap: 14px;
    align-items: center;
    text-align: left;
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.06);
    background: linear-gradient(180deg, rgba(15, 23, 34, 0.96), rgba(10, 16, 24, 0.92));
    color: var(--text);
    cursor: default;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
    transform: none;
    transition: border-color 280ms ease,
        box-shadow 320ms ease,
        background 320ms ease;
    animation: playersOnlineRowEnter 260ms ease both;
    will-change: border-color, box-shadow, background;
}

.players-online-tab-row:hover {
    border-color: rgba(14, 165, 233, 0.24);
    transform: none;
    box-shadow: 0 20px 34px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255,255,255,0.05);
    background: linear-gradient(180deg, rgba(18, 28, 41, 0.98), rgba(11, 18, 28, 0.95));
}

.players-online-tab-player,
.players-online-tab-meta {
    min-width: 0;
}

.players-online-tab-player {
    display: flex;
    align-items: center;
    gap: 14px;
}

.players-online-tab-id-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.16);
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.14), rgba(56, 189, 248, 0.07));
    color: #38bdf8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.players-online-tab-name {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 700;
}

.players-online-tab-meta {
    display: flex;
    align-items: center;
    min-height: 32px;
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 600;
}

.players-online-tab-meta-level,
.players-online-tab-meta-ping {
    justify-content: center;
    text-align: center;
}

.players-online-search-modern,
.players-online-refresh-button {
    transition: border-color 220ms ease, box-shadow 260ms ease, background 260ms ease;
}

.players-online-search-modern:hover,
.players-online-search-modern:focus-within {
    border-color: rgba(56, 189, 248, 0.22);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255,255,255,0.04);
}

.players-online-refresh-button:hover {
    transform: none;
}

@keyframes playersOnlineRowEnter {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media (max-width: 900px) {
    .players-online-panel-head,
    .players-online-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .players-online-refresh-button {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .players-online-panel {
        padding: 22px;
        border-radius: 24px;
    }

    .players-online-panel-head h2 {
        font-size: 28px;
    }

    .players-online-table-shell {
        min-height: calc(100vh - 320px);
    }

    .players-online-table-head {
        display: none;
    }

    .players-online-table-list {
        padding: 12px;
    }

    .players-online-tab-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 16px;
    }
}


/* 2026-03-12 pass 16: fixed layout + upgraded profile + monitoring */
html, body { height: 100%; overflow: hidden; }
body { min-height: 100vh; }
.revex-app {
    display: grid;
    grid-template-columns: minmax(300px, 340px) minmax(0, 1fr);
    height: 100vh;
    overflow: visible;
}
.revex-sidebar {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.revex-sidebar-top,
.revex-sidebar-bottom {
    flex: 0 0 auto;
}
.revex-nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding-right: 6px;
}
.revex-main {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}
.revex-content {
    min-height: auto;
}
.profile-page-upgraded {
    display: grid;
    gap: 24px;
}
.profile-overview-grid {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
}
.profile-avatar-block-upgraded,
.profile-identity-card,
.profile-role-panel,
.monitoring-kpi-grid .monitoring-stat-box,
.monitoring-card-players,
.monitoring-status-pill,
.monitoring-live-summary {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(21, 29, 39, 0.95), rgba(10, 16, 24, 0.94));
    border: 1px solid rgba(56, 189, 248, 0.12);
    border-radius: 26px;
    box-shadow: var(--shadow-md);
}
.profile-avatar-block-upgraded {
    display: grid;
    place-items: center;
    min-height: 220px;
    padding: 22px;
}
.profile-avatar-shell {
    position: relative;
    display: grid;
    place-items: center;
}
.profile-avatar-meta {
    display: grid;
    gap: 6px;
    margin-top: 18px;
    text-align: center;
    width: 100%;
    max-width: 240px;
}
.profile-avatar-meta strong {
    font-size: 20px;
    line-height: 1.25;
    color: #f5f8ff;
}
.profile-avatar-meta span {
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(56, 189, 248, 0.82);
}
.profile-avatar-meta small {
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
}
.profile-identity-card,
.profile-role-panel {
    padding: 24px;
}
.profile-identity-card-topline {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
}
.profile-identity-grid,
.profile-role-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}
.profile-identity-item,
.profile-role-stat {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    display: grid;
    gap: 8px;
}
.profile-identity-item span,
.profile-role-stat span {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 12px;
}
.profile-identity-item strong,
.profile-role-stat strong {
    font-size: 18px;
    line-height: 1.35;
}
.profile-role-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}
.profile-role-head h2 {
    margin: 8px 0 0;
    font-size: 28px;
}
.profile-role-switch {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 7px;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    min-width: 420px;
    gap: 4px;
}
.profile-role-switch-button {
    position: relative;
    z-index: 1;
    min-height: 56px;
    padding: 0 22px;
    border: 0;
    background: transparent;
    color: var(--text-soft);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .04em;
    white-space: nowrap;
    border-radius: 999px;
    cursor: pointer;
}
.profile-role-switch-button.is-active { color: #081018; }
.profile-role-switch-glider {
    position: absolute;
    inset: 7px auto 7px 7px;
    width: calc(50% - 9px);
    border-radius: 999px;
    background: linear-gradient(135deg, #7dd3fc, #38bdf8);
    box-shadow: 0 14px 30px rgba(56, 189, 248, 0.24);
    transition: transform .28s ease;
}
.profile-role-card { display: none; margin-top: 18px; }
.profile-role-card.is-active { display: block; }
.monitoring-shell-upgraded {
    display: grid;
    gap: 22px;
}
.monitoring-top-strip {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}
.monitoring-live-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
}
.monitoring-live-summary-item {
    min-width: 0;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.055);
}
.monitoring-live-summary-item span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.monitoring-live-summary-item strong {
    display: block;
    margin-top: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #f5f8ff;
    font-size: 15px;
    line-height: 1.35;
}
.monitoring-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.monitoring-kpi-grid .monitoring-stat-box {
    padding: 22px;
}
.monitoring-stat-box-hero strong {
    font-size: clamp(34px, 4vw, 52px);
}
.monitoring-stat-box-hostname {
    grid-column: 1 / -1;
}
.monitoring-stat-box-hostname strong {
    font-size: clamp(18px, 2.2vw, 24px);
    line-height: 1.35;
}
@media (max-width: 1280px) {
    .monitoring-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
    html, body { overflow: auto; }
    .revex-app { grid-template-columns: 1fr; height: auto; overflow: visible; }
    .revex-sidebar, .revex-main { height: auto; overflow: visible; }
    .profile-overview-grid,
    .profile-identity-grid,
    .profile-role-card-grid,
    .monitoring-top-strip,
    .monitoring-live-summary,
    .monitoring-kpi-grid { grid-template-columns: 1fr; }
    .profile-role-switch { min-width: 0; width: 100%; }
}


/* === March 2026 quality pass === */
.revex-app {
    grid-template-columns: 320px minmax(0, 1fr) !important;
    height: 100vh !important;
    overflow: hidden !important;
}

.revex-sidebar {
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
    overflow: hidden !important;
}

.revex-sidebar-top,
.revex-sidebar-bottom {
    flex-shrink: 0;
}

.revex-nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
}

.revex-main {
    min-width: 0;
    height: 100vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 28px 30px 32px !important;
}

.revex-content {
    width: 100%;
    max-width: none !important;
}

.profile-page-upgraded {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 34px !important;
}

.profile-page-header-upgraded {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
}

.profile-page-header-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.profile-page-header-actions {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
}

.profile-overview-grid {
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr) !important;
    align-items: stretch;
}

.profile-identity-card,
.profile-role-panel {
    width: 100%;
}

.profile-role-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.profile-role-switch {
    margin-left: auto;
}

.profile-logout-button-header {
    min-width: 136px;
    justify-content: center;
    box-shadow: 0 16px 34px rgba(170, 52, 52, 0.18) !important;
}

.profile-page-actions {
    display: none !important;
}

.monitoring-kpi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: stretch;
}

.monitoring-stat-box-hostname {
    min-width: 0;
}

.monitoring-stat-box-hostname strong {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.monitoring-card-players-inline {
    width: 100%;
}

.monitoring-card-players-inline {
    margin-top: 22px;
}

@media (max-width: 1180px) {
    .monitoring-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .profile-overview-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 860px) {
    .revex-app {
        grid-template-columns: 1fr !important;
        height: auto !important;
        overflow: visible !important;
    }

    .revex-sidebar,
    .revex-main {
        position: relative !important;
        height: auto !important;
        overflow: visible !important;
    }

    .profile-page-upgraded {
        padding: 24px !important;
    }

    .profile-page-header-upgraded,
    .profile-role-head {
        flex-direction: column;
        align-items: stretch;
    }

    .profile-role-switch,
    .profile-page-header-actions {
        margin-left: 0;
        width: 100%;
    }

    .profile-logout-button-header {
        width: 100%;
    }

    .monitoring-kpi-grid {
        grid-template-columns: 1fr !important;
    }

}

/* === 2026-03-12 final full-width polish fix === */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    min-width: 320px;
}

.page-shell,
.revex-app,
.revex-main,
.revex-content,
.workspace-shell,
.profile-page,
.monitoring-shell,
.monitoring-shell-upgraded,
.players-online-page-shell {
    width: 100%;
    max-width: 100%;
}

.revex-app {
    display: grid !important;
    grid-template-columns: clamp(290px, 20vw, 340px) minmax(0, 1fr) !important;
    align-items: stretch;
}

.revex-main {
    min-width: 0;
    padding: 34px clamp(24px, 3vw, 42px) 36px !important;
}

.revex-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    align-content: start;
    gap: 28px;
    padding: 0 !important;
}

.workspace-shell,
.profile-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    align-content: start;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.monitoring-shell,
.monitoring-shell-upgraded,
.players-online-page-shell {
    width: 100%;
    margin: 0;
}

.monitoring-hero,
.profile-page-header-upgraded,
.players-online-hero {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: clamp(24px, 3vw, 34px);
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.14), transparent 28%),
        linear-gradient(180deg, rgba(18, 25, 34, 0.98), rgba(11, 16, 24, 0.96));
    border: 1px solid rgba(56, 189, 248, 0.12);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.24);
}

.monitoring-hero::after,
.profile-page-header-upgraded::after,
.players-online-hero::after {
    content: '';
    position: absolute;
    inset: auto -40px -60px auto;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.18), transparent 70%);
    filter: blur(20px);
    pointer-events: none;
}

.monitoring-kpi-grid,
.profile-identity-grid,
.profile-role-card-grid,
.players-online-stats {
    width: 100%;
}

.monitoring-stat-box,
.profile-identity-item,
.profile-role-stat,
.players-online-stat,
.players-online-table-card,
.monitoring-card,
.monitoring-live-summary,
.profile-avatar-block-upgraded,
.profile-identity-card,
.profile-role-panel {
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.monitoring-player-list,
.players-online-table-list {
    max-height: none;
}

@media (min-width: 1500px) {
    .revex-main {
        padding-right: clamp(36px, 4vw, 64px) !important;
        padding-left: clamp(30px, 3vw, 48px) !important;
    }

}

@media (max-width: 980px) {
    html, body {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .revex-app {
        grid-template-columns: 1fr !important;
        height: auto !important;
    }

    .revex-main {
        height: auto !important;
        padding: 20px 16px 24px !important;
    }

    .monitoring-hero,
    .profile-page-header-upgraded,
    .players-online-hero {
        padding: 22px;
        border-radius: 24px;
    }
}


/* hotfix: do not clip avatar delete button */
.profile-avatar-block-upgraded {
    overflow: visible !important;
    align-content: center;
    justify-items: center;
    min-height: 100%;
}
.profile-avatar-shell .profile-page-avatar {
    width: 172px;
    height: 172px;
    border-radius: 42px;
}
.profile-avatar-shell .avatar-remove-button {
    top: -8px;
    right: -8px;
}

/* ----------------------------
   Elevate Messenger
----------------------------- */

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.revex-chat-fab {
    position: fixed;
    right: 60px;
    bottom: 22px;
    z-index: 1200;
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(56, 189, 248, 0.28);
    background:
        radial-gradient(circle at 30% 30%, rgba(186, 230, 253, 0.32), transparent 48%),
        linear-gradient(180deg, rgba(56, 189, 248, 0.26), rgba(14, 165, 233, 0.18));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    cursor: pointer;
    user-select: none;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease, border-color 0.22s ease;
}

.revex-chat-fab::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.18), transparent 56%);
    opacity: 0.9;
    pointer-events: none;
}

.revex-chat-fab:hover {
    transform: translateY(-3px) scale(1.03);
    border-color: rgba(56, 189, 248, 0.44);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    filter: brightness(1.05);
}

.revex-chat-fab:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.revex-chat-fab:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.22), 0 20px 46px rgba(0, 0, 0, 0.38);
}

.revex-chat-fab-icon {
    position: relative;
    z-index: 1;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.revex-chat-fab-icon svg {
    display: block;
    width: 26px;
    height: 26px;
    margin: 0;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.16));
}


.revex-chat-modal[hidden],
.revex-chat-overlay[hidden] {
    display: none !important;
}
.revex-chat-modal {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: grid;
    place-items: center;
}

.revex-chat-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 6, 10, 0.55);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.revex-chat-sheet {
    position: relative;
    width: min(1280px, calc(100vw - 34px));
    height: calc(100vh - 34px);
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(56, 189, 248, 0.14);
    background:
        radial-gradient(circle at 18% 12%, rgba(14, 165, 233, 0.18), transparent 40%),
        radial-gradient(circle at 86% 22%, rgba(59, 130, 246, 0.18), transparent 46%),
        linear-gradient(180deg, rgba(18, 25, 34, 0.98), rgba(10, 14, 22, 0.96));
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
}

.revex-chat-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.revex-chat-sheet-topline {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(56, 189, 248, 0.82);
}

.revex-chat-sheet-title h2 {
    margin: 4px 0 0;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.92);
}

.revex-chat-close {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.85);
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease;
}

.revex-chat-close:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.06);
}

.revex-chat-shell {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 340px 1fr;
}

.revex-chat-sidebar {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.revex-chat-sidebar-head {
    padding: 16px 16px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.revex-chat-sidebar-brand strong {
    display: block;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.92);
}

.revex-chat-sidebar-brand small {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
}

.revex-chat-sidebar-actions {
    position: relative;
}

.revex-chat-plus {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    border: 1px solid rgba(56, 189, 248, 0.18);
    background: rgba(14, 165, 233, 0.12);
    color: rgba(255, 255, 255, 0.9);
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease;
}

.revex-chat-plus:hover {
    transform: translateY(-1px);
    background: rgba(14, 165, 233, 0.16);
}

.revex-chat-menu {
    position: absolute;
    right: 0;
    top: 46px;
    width: 240px;
    border-radius: 18px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 12, 18, 0.92);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.55);
}

.revex-chat-menu-item {
    width: 100%;
    text-align: left;
    border: 0;
    cursor: pointer;
    background: transparent;
    padding: 10px 10px;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.92);
}

.revex-chat-menu-item span {
    display: block;
    font-weight: 600;
}

.revex-chat-menu-item small {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
}

.revex-chat-menu-item:hover {
    background: rgba(255, 255, 255, 0.06);
}


.revex-chat-context-menu {
    position: fixed;
    z-index: 10020;
    min-width: 220px;
    border-radius: 18px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 12, 18, 0.94);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.52);
}

.revex-chat-context-menu-item {
    width: 100%;
    display: block;
    text-align: left;
    border: 0;
    cursor: pointer;
    background: transparent;
    padding: 11px 12px;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.94);
}

.revex-chat-context-menu-item span {
    display: block;
    font-weight: 700;
}

.revex-chat-context-menu-item small {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
}

.revex-chat-context-menu-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.revex-chat-context-menu-item.is-danger span {
    color: rgba(255, 173, 173, 0.98);
}

.revex-chat-context-menu-item.is-danger:hover {
    background: rgba(255, 94, 94, 0.1);
}

.revex-chat-list {
    padding: 8px;
    overflow: auto;
    min-height: 0;
}

.revex-chat-list-empty {
    padding: 12px 12px;
    color: rgba(255, 255, 255, 0.55);
}

.revex-chat-section-label {
    padding: 10px 12px 6px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(56, 189, 248, 0.72);
}

.revex-chat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 10px;
    border-radius: 18px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.revex-chat-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.revex-chat-item.is-active {
    background: rgba(14, 165, 233, 0.10);
    border-color: rgba(56, 189, 248, 0.18);
}

.revex-chat-item-avatar {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex: 0 0 auto;
}

.revex-chat-item-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.revex-chat-item-meta {
    min-width: 0;
    flex: 1;
}

.revex-chat-item-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.revex-chat-item-title strong {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.revex-chat-item-badge {
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.28);
    border: 1px solid rgba(56, 189, 248, 0.28);
    color: rgba(255, 255, 255, 0.94);
    font-size: 12px;
    display: inline-grid;
    place-items: center;
    padding: 0 7px;
}

.revex-chat-item-preview {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.revex-chat-thread {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.revex-chat-thread-head {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.revex-chat-thread-title {
    font-size: 15px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
}

.revex-chat-thread-sub {
    margin-top: 4px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.revex-chat-messages {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.revex-chat-thread-placeholder {
    color: rgba(255, 255, 255, 0.55);
    padding: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
}

.revex-chat-message {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.revex-chat-message.is-me {
    flex-direction: row-reverse;
}

.revex-chat-message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex: 0 0 auto;
}

.revex-chat-message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.revex-chat-bubble {
    max-width: min(620px, 74%);
    padding: 10px 12px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.revex-chat-message.is-me .revex-chat-bubble {
    background: rgba(14, 165, 233, 0.14);
    border-color: rgba(56, 189, 248, 0.18);
}

.revex-chat-bubble-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.revex-chat-bubble-head strong {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.86);
}

.revex-chat-bubble-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.48);
    flex: 0 0 auto;
}

.revex-chat-bubble-body {
    white-space: pre-wrap;
    word-break: break-word;
    color: rgba(255, 255, 255, 0.90);
    line-height: 1.4;
    font-size: 13px;
}

.revex-chat-composer {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 14px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.12);
}

.revex-chat-input-wrap {
    flex: 1;
}

.revex-chat-input {
    width: 100%;
    resize: none;
    max-height: 160px;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.92);
    outline: none;
}

.revex-chat-input:focus {
    border-color: rgba(56, 189, 248, 0.24);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.revex-chat-send {
    padding: 10px 14px;
    border-radius: 16px;
    border: 1px solid rgba(56, 189, 248, 0.20);
    background: rgba(14, 165, 233, 0.12);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.18s ease, transform 0.18s ease;
}

.revex-chat-send:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.revex-chat-send:active {
    transform: translateY(0);
}

.revex-chat-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    padding: 18px;
}

.revex-chat-overlay-card {
    width: min(720px, 100%);
    max-height: min(78vh, 720px);
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(8, 12, 18, 0.92);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
}

.revex-chat-overlay-head {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.revex-chat-overlay-head strong {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.92);
}

.revex-chat-overlay-close {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.86);
    cursor: pointer;
    display: inline-grid;
    place-items: center;
}

.revex-chat-overlay-body {
    padding: 14px 16px;
    overflow: auto;
    min-height: 0;
}

.revex-chat-user-list {
    display: grid;
    gap: 8px;
}

.revex-chat-user-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 10px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.revex-chat-user-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.revex-chat-user-item input {
    width: 18px;
    height: 18px;
}

.revex-chat-user-meta strong {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.92);
}

.revex-chat-user-meta small {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.revex-chat-overlay-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding-top: 12px;
}

.revex-chat-overlay-actions .primary-button,
.revex-chat-overlay-actions .danger-button {
    padding: 10px 14px;
}

@media (max-width: 980px) {
    .revex-chat-shell {
        grid-template-columns: 1fr;
    }

    .revex-chat-sidebar {
        max-height: 42vh;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .revex-chat-bubble {
        max-width: 86%;
    }

    .revex-chat-fab {
        right: 16px;
        bottom: 16px;
    }
}


.revex-chat-sheet-head {
    padding: 20px 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}

.revex-chat-sheet-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.revex-chat-sheet-title h2 {
    font-size: 22px;
    letter-spacing: -0.02em;
}

.revex-chat-sidebar {
    background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.018));
}

.revex-chat-list {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.revex-chat-section-title {
    padding: 12px 12px 8px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(56, 189, 248, 0.72);
}

.revex-chat-item {
    width: 100%;
    text-align: left;
    background: rgba(255,255,255,0.025);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.revex-chat-item-meta strong {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.94);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.revex-chat-item-meta small {
    display: block;
    margin-top: 4px;
    color: rgba(255,255,255,0.58);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.revex-chat-item-badge {
    background: rgba(14, 165, 233, 0.18);
}

.revex-chat-unread {
    min-width: 24px;
    padding: 0 6px;
    font-size: 11px;
    font-weight: 700;
}

.revex-chat-thread-head {
    padding: 18px 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
}

.revex-chat-thread-title {
    font-size: 18px;
    letter-spacing: -0.01em;
}

.revex-chat-thread-sub {
    max-width: 720px;
    line-height: 1.45;
}

.revex-chat-messages {
    padding: 24px 22px;
    gap: 14px;
    background:
        radial-gradient(circle at top right, rgba(59,130,246,0.08), transparent 30%),
        linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0));
}

.revex-chat-avatar,
.revex-chat-message-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 999px;
    overflow: hidden;
    display: inline-grid;
    place-items: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.88);
    text-transform: uppercase;
}

.revex-chat-avatar img,
.revex-chat-message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.revex-chat-message {
    align-items: flex-start;
    gap: 12px;
}

.revex-chat-bubble {
    max-width: min(700px, 76%);
    padding: 12px 14px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.035));
    box-shadow: 0 18px 36px rgba(0,0,0,0.16);
}

.revex-chat-message.is-me .revex-chat-bubble {
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.20), rgba(14, 165, 233, 0.12));
}

.revex-chat-message.is-me .revex-chat-bubble-head {
    justify-content: flex-end;
}

.revex-chat-bubble-head {
    margin-bottom: 8px;
}

.revex-chat-bubble-head strong {
    font-size: 12px;
    font-weight: 700;
}

.revex-chat-bubble-head span {
    font-size: 11px;
    color: rgba(255,255,255,0.48);
}

.revex-chat-bubble-body {
    font-size: 14px;
    line-height: 1.5;
}

.revex-chat-composer {
    padding: 16px 18px 18px;
    background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.18));
}

.revex-chat-input {
    min-height: 48px;
    padding: 13px 14px;
    font-size: 14px;
}

.revex-chat-send {
    min-height: 48px;
    padding: 0 18px;
}

.revex-chat-overlay-card {
    width: min(760px, 100%);
}

.revex-chat-overlay-body .revex-extra-search-input,
.revex-chat-overlay-body input[type="text"],
.revex-chat-overlay-body input[type="search"] {
    min-height: 46px;
    box-sizing: border-box;
}

.revex-chat-user-item {
    padding: 12px;
    border-radius: 18px;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.revex-chat-user-item:hover {
    transform: translateY(-1px);
    border-color: rgba(56, 189, 248, 0.18);
}

@media (max-width: 980px) {
    .revex-chat-sheet {
        width: min(100vw, calc(100vw - 12px));
        height: calc(100vh - 12px);
        border-radius: 22px;
    }

    .revex-chat-thread-head,
    .revex-chat-messages,
    .revex-chat-composer,
    .revex-chat-sheet-head {
        padding-left: 16px;
        padding-right: 16px;
    }

    .revex-chat-bubble {
        max-width: 88%;
    }
}


/* 2026-03-12 messenger management pass */
.revex-chat-item { display:flex; align-items:center; gap:12px; }
.revex-chat-item-main { flex:1; min-width:0; display:flex; align-items:center; gap:12px; background:transparent; border:0; padding:0; text-align:left; color:inherit; cursor:pointer; }
.revex-chat-item-side { display:flex; align-items:center; gap:10px; margin-left:auto; }
.revex-chat-item-title { display:flex; align-items:center; gap:8px; min-width:0; }
.revex-chat-item-pin-tag { padding:4px 8px; border-radius:999px; font-size:10px; letter-spacing:.08em; text-transform:uppercase; color:var(--accent-strong); background:rgba(14, 165, 233, .12); border:1px solid rgba(14, 165, 233, .16); }
.revex-chat-pin-button { width:34px; height:34px; border-radius:12px; border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.03); color:rgba(255,255,255,.58); cursor:pointer; transition:all var(--transition); }
.revex-chat-pin-button:hover { color:var(--accent-strong); border-color:rgba(14, 165, 233, .24); transform:translateY(-1px); }
.revex-chat-pin-button.is-active { color:#38bdf8; background:rgba(14, 165, 233, .14); border-color:rgba(14, 165, 233, .24); }
.revex-chat-thread-main { width:100%; display:flex; align-items:center; justify-content:space-between; gap:18px; padding:0; background:none; border:0; color:inherit; text-align:left; }
.revex-chat-thread-main-copy { display:grid; gap:6px; }
.revex-chat-thread-main-icon { width:42px; height:42px; display:grid; place-items:center; border-radius:14px; border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.03); color:rgba(255,255,255,.55); opacity:.45; transition:all var(--transition); }
.revex-chat-thread-main.is-manageable { cursor:pointer; }
.revex-chat-thread-main.is-manageable:hover .revex-chat-thread-main-icon { opacity:1; color:var(--accent-strong); border-color:rgba(14, 165, 233, .24); background:rgba(14, 165, 233, .08); }
.revex-chat-thread-main:disabled { cursor:default; }
.revex-chat-thread-main:disabled .revex-chat-thread-main-icon { opacity:.28; }
.revex-chat-input { font-family:'Inter',system-ui,sans-serif; font-size:15px; font-weight:500; letter-spacing:0; }
.revex-chat-input::placeholder { color:#95a6ba; font-weight:500; }
.revex-chat-text-field { width:100%; min-height:54px; padding:0 16px; border-radius:16px; border:1px solid rgba(255,255,255,.08); background:linear-gradient(180deg, rgba(10,17,26,.96), rgba(10,16,24,.94)); color:var(--text); outline:none; transition:all var(--transition); }
.revex-chat-text-field:focus { border-color:rgba(14, 165, 233, .28); box-shadow:0 0 0 4px rgba(14, 165, 233, .1); }
.revex-chat-file-field { display:grid; gap:4px; padding:16px 18px; border-radius:18px; border:1px dashed rgba(255,255,255,.14); background:rgba(255,255,255,.025); cursor:pointer; }
.revex-chat-file-field-copy { font-size:14px; font-weight:700; color:var(--text); }
.revex-chat-file-field small { color:var(--muted); }
.revex-chat-picker,
.revex-chat-group-settings { display:grid; gap:14px; }
.revex-chat-user-item { width:100%; display:flex; align-items:center; gap:12px; padding:12px 14px; border-radius:18px; border:1px solid rgba(255,255,255,.07); background:rgba(255,255,255,.025); text-align:left; color:inherit; cursor:pointer; }
.revex-chat-user-item.is-selected { border-color:rgba(14, 165, 233, .28); background:rgba(14, 165, 233, .08); box-shadow:0 18px 32px rgba(0,0,0,.18); }
.revex-chat-check { width:22px; height:22px; border-radius:8px; flex:0 0 22px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.15); background:rgba(255,255,255,.04); color:#071019; font-size:12px; font-weight:900; }
.revex-chat-user-item.is-selected .revex-chat-check { background:linear-gradient(180deg, #38bdf8 0%, #0ea5e9 100%); border-color:rgba(14, 165, 233, .44); }
.revex-chat-settings-header { display:flex; gap:16px; align-items:flex-start; }
.revex-chat-settings-avatar { width:66px; height:66px; border-radius:22px; }
.revex-chat-settings-copy { flex:1; display:grid; gap:12px; }
.revex-chat-members-block { display:grid; gap:12px; }
.revex-chat-members-title { font-size:13px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--accent-strong); }
.revex-chat-members-list { display:grid; gap:10px; }
.revex-chat-member-row { display:flex; align-items:center; gap:12px; padding:12px 14px; border-radius:18px; border:1px solid rgba(255,255,255,.07); background:rgba(255,255,255,.025); }
.revex-chat-member-avatar { width:38px; height:38px; border-radius:12px; }
.revex-chat-member-meta { flex:1; min-width:0; display:grid; gap:4px; }
.revex-chat-member-meta strong { font-size:14px; }
.revex-chat-member-meta small { color:var(--muted); }
.revex-chat-member-actions { display:flex; flex-wrap:wrap; justify-content:flex-start; gap:8px; }
.revex-chat-compact-button { min-height:40px; padding:0 14px; border-radius:14px; font-size:13px; }
.secondary-button.is-active,
.revex-chat-compact-button.is-active { border-color:rgba(14, 165, 233, .28); background:rgba(14, 165, 233, .1); color:var(--accent-strong); }
.revex-chat-user-item input { display:none !important; }
@media (max-width: 920px) {
  .revex-chat-item-pin-tag { display:none; }
  .revex-chat-settings-header { grid-template-columns:1fr; display:grid; }
  .revex-chat-member-row { align-items:flex-start; }
  .revex-chat-member-actions { width:100%; justify-content:flex-start; }
}


/* 2026-03-12 messenger redesign pass */
.revex-chat-composer { padding: 18px 20px 20px; }
.revex-chat-composer-shell {
    display:flex;
    align-items:flex-end;
    gap:14px;
    width:100%;
    padding:10px;
    border-radius:24px;
    border:1px solid rgba(255,255,255,.08);
    background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
    box-shadow:0 20px 44px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.04);
}
.revex-chat-input-wrap {
    flex:1;
    min-width:0;
    display:flex;
}
.revex-chat-input {
    min-height:52px;
    width:100%;
    padding:14px 16px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.06);
    background:linear-gradient(180deg, rgba(9,14,22,.98), rgba(13,19,28,.96));
    line-height:1.45;
    box-sizing:border-box;
}
.revex-chat-send {
    min-height:52px;
    min-width:152px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    align-self:stretch;
    padding:0 20px;
    border-radius:18px;
    background:linear-gradient(180deg, rgba(56, 189, 248, .96), rgba(14, 165, 233, .92));
    color:#101722;
    box-shadow:0 18px 30px rgba(14, 165, 233, .22);
}
.revex-chat-send svg { width:18px; height:18px; }
.revex-chat-send:hover { filter:none; box-shadow:0 22px 34px rgba(14, 165, 233, .28); }
.revex-chat-overlay-card {
    width:min(860px, 100%);
    max-height:min(84vh, 860px);
    border-radius:28px;
    border:1px solid rgba(56, 189, 248, .14);
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, .12), transparent 34%),
        radial-gradient(circle at top right, rgba(59,130,246,.10), transparent 28%),
        linear-gradient(180deg, rgba(12,18,28,.98), rgba(8,12,18,.96));
}
.revex-chat-overlay-head {
    padding:18px 22px;
    background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
}
.revex-chat-overlay-body {
    padding:20px 22px 22px;
    overflow:auto;
}
.revex-chat-group-settings { gap:18px; }
.revex-chat-settings-hero {
    display:flex;
    align-items:center;
    gap:18px;
    padding:20px;
    border-radius:24px;
    border:1px solid rgba(255,255,255,.08);
    background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
    box-shadow:0 24px 50px rgba(0,0,0,.20);
}
.revex-chat-settings-avatar {
    width:78px;
    height:78px;
    border-radius:26px;
    box-shadow:0 18px 36px rgba(0,0,0,.24);
}
.revex-chat-settings-hero-copy { display:grid; gap:6px; min-width:0; }
.revex-chat-settings-kicker {
    font-size:11px;
    letter-spacing:.16em;
    text-transform:uppercase;
    color:rgba(56, 189, 248, .82);
}
.revex-chat-settings-hero-copy strong {
    font-size:22px;
    color:rgba(255,255,255,.96);
    letter-spacing:-.02em;
}
.revex-chat-settings-hero-copy p {
    margin:0;
    color:rgba(255,255,255,.62);
    line-height:1.55;
}
.revex-chat-settings-card {
    display:grid;
    gap:16px;
    padding:18px;
    border-radius:24px;
    border:1px solid rgba(255,255,255,.08);
    background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.018));
}
.revex-chat-settings-card-head { display:grid; gap:4px; }
.revex-chat-settings-card-head strong { font-size:16px; color:rgba(255,255,255,.94); }
.revex-chat-settings-card-head small { color:rgba(255,255,255,.58); line-height:1.5; }
.revex-chat-settings-grid { display:grid; gap:14px; }
.revex-chat-settings-title-input { min-height:56px; }
.revex-chat-toggle-button { justify-self:flex-start; }
.revex-chat-members-list { gap:12px; }
.revex-chat-member-row {
    gap:14px;
    padding:14px 16px;
    border-radius:20px;
    background:rgba(255,255,255,.03);
}
.revex-chat-member-avatar {
    width:46px;
    height:46px;
    border-radius:16px;
}
.revex-chat-member-actions {
    margin-left:auto;
    justify-content:flex-end;
    align-items:center;
}
.revex-chat-user-meta { min-width:0; display:grid; gap:4px; }
.revex-chat-user-meta strong,
.revex-chat-member-meta strong {
    display:block;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.revex-chat-user-badge {
    display:inline-flex;
    align-items:center;
    width:max-content;
    padding:5px 10px;
    border-radius:999px;
    border:1px solid rgba(56, 189, 248, .18);
    background:rgba(14, 165, 233, .10);
    color:rgba(186, 230, 253, .96);
    font-size:11px;
    font-weight:700;
    letter-spacing:.04em;
}
.revex-chat-user-badge.is-owner {
    border-color:rgba(59,130,246,.18);
    background:rgba(59,130,246,.12);
    color:rgba(191,219,254,.98);
}
.revex-chat-user-item.is-existing-dm {
    border-color:rgba(56, 189, 248, .16);
    background:linear-gradient(180deg, rgba(14, 165, 233, .08), rgba(255,255,255,.025));
}
.revex-chat-settings-actions {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    position:sticky;
    bottom:0;
    padding-top:4px;
    background:linear-gradient(180deg, rgba(8,12,18,0), rgba(8,12,18,.8) 30%, rgba(8,12,18,.96));
}
.revex-chat-save-button { min-height:46px; padding:0 20px; border-radius:16px; }
@media (max-width: 820px) {
    .revex-chat-composer-shell,
    .revex-chat-settings-hero,
    .revex-chat-settings-actions { flex-direction:column; align-items:stretch; }
    .revex-chat-send { min-width:0; width:100%; }
    .revex-chat-member-row { align-items:flex-start; flex-wrap:wrap; }
    .revex-chat-member-actions { width:100%; margin-left:0; justify-content:flex-start; }
}


/* 2026-03-12 profile links and avatar preview */
.revex-chat-item-avatar.is-clickable,
.revex-chat-message-avatar.is-clickable,
.revex-chat-member-avatar.is-clickable,
.revex-chat-avatar.is-clickable {
    cursor:pointer;
    transition:transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.revex-chat-item-avatar.is-clickable:hover,
.revex-chat-message-avatar.is-clickable:hover,
.revex-chat-member-avatar.is-clickable:hover,
.revex-chat-avatar.is-clickable:hover,
.revex-chat-item-avatar.is-clickable:focus-visible,
.revex-chat-message-avatar.is-clickable:focus-visible,
.revex-chat-member-avatar.is-clickable:focus-visible,
.revex-chat-avatar.is-clickable:focus-visible {
    transform:translateY(-1px) scale(1.02);
    box-shadow:0 16px 30px rgba(14, 165, 233, .16);
    outline:none;
}
.revex-chat-avatar-preview-card {
    display:grid;
    grid-template-columns:128px minmax(0,1fr);
    gap:16px;
    align-items:center;
    padding:16px;
    border-radius:22px;
    border:1px solid rgba(255,255,255,.08);
    background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
}
.revex-chat-avatar-preview-media {
    position:relative;
    display:grid;
    place-items:center;
    width:128px;
    height:128px;
    padding:12px;
    border-radius:24px;
    border:1px solid rgba(255,255,255,.08);
    background:
        linear-gradient(45deg, rgba(255,255,255,.04) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.04) 75%),
        linear-gradient(45deg, rgba(255,255,255,.04) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.04) 75%),
        linear-gradient(180deg, rgba(11,16,24,.98), rgba(16,22,33,.94));
    background-size:20px 20px, 20px 20px, auto;
    background-position:0 0, 10px 10px, 0 0;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04), 0 20px 34px rgba(0,0,0,.22);
}
.revex-chat-avatar-preview {
    width:100%;
    height:100%;
    border-radius:20px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.1);
    background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
    box-shadow:0 18px 34px rgba(0,0,0,.24);
    font-size:34px;
}
.revex-chat-avatar-preview img {
    width:100%;
    height:100%;
    object-fit:cover;
    image-rendering:auto;
}
.revex-chat-avatar-preview-meta { display:grid; gap:6px; }
.revex-chat-avatar-preview-meta strong { font-size:15px; color:rgba(255,255,255,.94); }
.revex-chat-avatar-preview-meta small { color:rgba(255,255,255,.62); line-height:1.55; }
.public-profile-shell {
    min-height:100vh;
    display:grid;
    place-items:center;
    padding:32px 18px;
    background:radial-gradient(circle at top, rgba(14, 165, 233, .10), transparent 26%), linear-gradient(180deg, #090d14 0%, #0d1420 100%);
}
.public-profile-card {
    width:min(1080px, 100%);
}
.public-profile-card .profile-page-header-upgraded { text-align:left; }
.public-profile-card .profile-page-header-copy p { max-width:720px; }
.public-profile-topline-row {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
}
.public-profile-badge {
    display:inline-flex;
    align-items:center;
    padding:10px 14px;
    border-radius:999px;
    border:1px solid rgba(56, 189, 248, .18);
    background:rgba(14, 165, 233, .10);
    color:rgba(186, 230, 253, .96);
    font-size:12px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.public-profile-footer-note {
    margin-top:18px;
    color:rgba(255,255,255,.52);
    font-size:13px;
}
@media (max-width: 820px) {
    .revex-chat-avatar-preview-card { grid-template-columns:1fr; }
    .revex-chat-avatar-preview-media { width:100%; max-width:180px; margin:0 auto; }
    .public-profile-shell { padding:18px 12px; }
}


/* 2026-03-12 pass 17: group settings polish + owner delete + public profile shell */
.revex-chat-settings-hero,
.revex-chat-settings-card,
.revex-chat-member-row,
.revex-chat-avatar-preview-card,
.revex-chat-composer-shell {
    transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth), background var(--transition-smooth);
}
.revex-chat-settings-card:hover,
.revex-chat-member-row:hover,
.revex-chat-avatar-preview-card:hover {
    transform: translate3d(0, -2px, 0);
    border-color: rgba(56, 189, 248, .16);
    box-shadow: 0 20px 44px rgba(0,0,0,.22);
}
.revex-chat-settings-hero:hover,
.revex-chat-composer-shell:focus-within {
    border-color: rgba(56, 189, 248, .18);
    box-shadow: 0 24px 52px rgba(0,0,0,.24), 0 0 0 1px rgba(56, 189, 248, .05);
}
.revex-chat-settings-avatar-frame,
.revex-chat-avatar-preview-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(56, 189, 248, .18);
    background:
        radial-gradient(circle at 30% 25%, rgba(56, 189, 248, .26), transparent 38%),
        linear-gradient(145deg, rgba(33,44,58,.98), rgba(11,17,25,.98));
    color: rgba(186, 230, 253, .96);
    font-weight: 800;
    letter-spacing: -.03em;
}
.revex-chat-settings-avatar-frame::before,
.revex-chat-avatar-preview-frame::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    border: 1px solid rgba(255,255,255,.06);
    pointer-events: none;
}
.revex-chat-settings-avatar-frame img,
.revex-chat-avatar-preview-frame img {
    position: relative;
    z-index: 1;
}
.revex-chat-settings-avatar-frame:not(.has-image),
.revex-chat-avatar-preview-frame:not(.has-image) {
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 36px rgba(0,0,0,.24);
}
.revex-chat-settings-avatar-frame:not(.has-image)::after,
.revex-chat-avatar-preview-frame:not(.has-image)::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(56, 189, 248, .18), transparent 58%);
    pointer-events: none;
}
.revex-chat-settings-actions {
    justify-content: flex-end;
    padding-bottom: 4px;
}
.revex-chat-delete-group-button {
    order: 1;
}
.revex-chat-save-button {
    order: 2;
}
.revex-chat-avatar-preview-media {
    padding: 12px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.revex-chat-avatar-preview {
    width: 112px;
    height: 112px;
    border-radius: 30px;
    font-size: 38px;
}
.revex-chat-send {
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), filter var(--transition-smooth), border-color var(--transition-smooth);
}
.revex-chat-send:hover {
    transform: translate3d(0, -1px, 0);
}
.public-profile-app .revex-main {
    overflow-y: auto;
}
.public-profile-page-main {
    padding: 30px 28px 32px;
}
.public-profile-panel {
    width: min(1180px, 100%);
    margin: 0 auto;
}
.public-profile-app .public-profile-card {
    width: 100%;
}
.public-profile-app .profile-page-upgraded {
    min-height: calc(100vh - 60px);
}
@media (max-width: 820px) {
    .public-profile-page-main {
        padding: 18px 12px 26px;
    }
}


/* 2026-03-12 pass 18: public profile parity + group settings cleanup */
.revex-profile-public-app .revex-main {
    overflow-y: auto;
}
.revex-profile-public-content {
    width: min(1380px, 100%);
    margin: 0 auto;
}
.revex-profile-public-card {
    width: 100%;
}
.revex-profile-public-card.profile-page-upgraded {
    min-height: calc(100vh - 60px);
}
.revex-chat-settings-hero {
    position: relative;
    align-items: stretch;
    gap: 20px;
    padding: 22px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.09);
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, .16), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.018));
}
.revex-chat-settings-avatar {
    width: 92px;
    height: 92px;
    border-radius: 28px;
    flex: 0 0 92px;
    font-size: 34px;
}
.revex-chat-settings-avatar-frame {
    box-shadow: 0 24px 44px rgba(0,0,0,.28);
}
.revex-chat-settings-avatar-frame:not(.has-image) {
    background:
        radial-gradient(circle at 30% 20%, rgba(56, 189, 248, .35), transparent 34%),
        linear-gradient(145deg, rgba(61,81,108,.92), rgba(16,22,32,.98));
}
.revex-chat-settings-hero-copy {
    align-content: center;
    gap: 8px;
}
.revex-chat-settings-hero-copy strong {
    font-size: 24px;
    line-height: 1.1;
}
.revex-chat-settings-hero-copy p {
    max-width: 640px;
    color: rgba(255,255,255,.68);
}
.revex-chat-settings-card {
    border-radius: 26px;
    padding: 20px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018)),
        rgba(8,12,18,.25);
}
.revex-chat-settings-grid {
    gap: 16px;
}
.revex-chat-settings-grid .field-group,
.revex-chat-settings-grid .field-glow {
    margin: 0;
}
.revex-chat-member-row-upgraded {
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg, rgba(255,255,255,.038), rgba(255,255,255,.022));
}
.revex-chat-member-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    display: inline-grid;
    place-items: center;
    overflow: hidden;
    flex: 0 0 48px;
    border-radius: 18px;
    border: 1px solid rgba(56, 189, 248, .14);
    background:
        radial-gradient(circle at 30% 25%, rgba(56, 189, 248, .22), transparent 36%),
        linear-gradient(145deg, rgba(35,47,63,.98), rgba(12,17,25,.98));
    color: rgba(255,245,230,.96);
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 14px 26px rgba(0,0,0,.22);
}
.revex-chat-member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}
.revex-chat-settings-actions {
    margin-top: 2px;
    padding: 10px 0 4px;
}
@media (max-width: 820px) {
    .revex-profile-public-content {
        width: 100%;
    }
    .revex-chat-settings-hero {
        flex-direction: column;
        align-items: flex-start;
    }
    .revex-chat-settings-avatar {
        width: 84px;
        height: 84px;
    }
}


/* 2026-03-12 avatar fallback and button alignment pass */
.revex-chat-avatar-letter {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    font: inherit;
    text-transform: uppercase;
    transform: translateY(-1px);
}
.revex-chat-settings-avatar-frame,
.revex-chat-member-avatar,
.revex-chat-item-avatar,
.revex-chat-avatar,
.revex-chat-message-avatar {
    display: inline-grid;
    place-items: center;
}
.revex-chat-settings-avatar-frame:not(.has-image) {
    color: rgba(255,245,232,.98);
}
.revex-chat-settings-avatar-frame:not(.has-image) .revex-chat-avatar-letter {
    font-size: clamp(30px, 3.2vw, 38px);
    font-weight: 900;
    letter-spacing: -.04em;
    text-shadow: 0 8px 22px rgba(0,0,0,.26);
}
.revex-chat-settings-avatar-frame:not(.has-image)::before {
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.revex-chat-settings-avatar-frame:not(.has-image)::after {
    background:
        radial-gradient(circle at 24% 22%, rgba(255,255,255,.18), transparent 30%),
        linear-gradient(135deg, rgba(56, 189, 248, .22), transparent 62%);
}
.revex-chat-member-avatar .revex-chat-avatar-letter,
.revex-chat-item-avatar .revex-chat-avatar-letter,
.revex-chat-avatar .revex-chat-avatar-letter,
.revex-chat-message-avatar .revex-chat-avatar-letter {
    font-size: inherit;
    font-weight: inherit;
}
.revex-chat-settings-actions {
    align-items: stretch;
}
.revex-chat-settings-actions .primary-button,
.revex-chat-settings-actions .danger-button,
.revex-chat-member-actions .secondary-button,
.revex-chat-member-actions .danger-button,
.revex-chat-settings-grid .secondary-button {
    margin-top: 0;
    align-self: center;
}
.revex-chat-member-actions > * {
    min-height: 40px;
}
.revex-chat-settings-grid .secondary-button,
.revex-chat-settings-grid .danger-button,
.revex-chat-settings-grid .primary-button,
.revex-chat-member-actions .secondary-button,
.revex-chat-member-actions .danger-button,
.revex-chat-settings-actions .primary-button,
.revex-chat-settings-actions .danger-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    white-space: nowrap;
}
.revex-chat-settings-actions .revex-chat-delete-group-button {
    margin-right: auto;
}
.revex-chat-settings-actions .revex-chat-save-button {
    margin-left: 0;
}
@media (max-width: 820px) {
    .revex-chat-settings-actions .revex-chat-delete-group-button,
    .revex-chat-settings-actions .revex-chat-save-button {
        margin: 0;
        width: 100%;
    }
}


/* 2026-03-12 pass 20: system messages + overlay cleanup */
.revex-chat-system-message {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px 0;
    color: rgba(255,255,255,.48);
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
}
.revex-chat-system-message + .revex-chat-system-message {
    margin-top: -2px;
}
.revex-chat-thread-main.has-hidden-settings {
    cursor: default;
}
.revex-chat-thread-main.has-hidden-settings .revex-chat-thread-main-copy {
    width: 100%;
}
.revex-chat-sheet.is-overlay-active .revex-chat-layout {
    filter: blur(10px) saturate(.9);
    opacity: .14;
    pointer-events: none;
    transition: filter var(--transition), opacity var(--transition);
}
.revex-chat-sheet.is-overlay-active .revex-chat-overlay {
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
}
.revex-chat-overlay-body {
    padding-bottom: 108px;
}
.revex-chat-settings-actions {
    position: sticky;
    bottom: -22px;
    z-index: 8;
    margin: 6px -22px -22px;
    padding: 18px 22px 22px;
    border-top: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(16px) saturate(130%);
    -webkit-backdrop-filter: blur(16px) saturate(130%);
}
.revex-chat-settings-actions .danger-button,
.revex-chat-settings-actions .primary-button {
    min-height: 48px;
}
.revex-chat-member-avatar,
.revex-chat-message-avatar,
.revex-chat-item-avatar,
.revex-chat-avatar,
.revex-chat-settings-avatar-frame {
    overflow: hidden;
}
.revex-chat-member-avatar .revex-chat-avatar-letter,
.revex-chat-message-avatar .revex-chat-avatar-letter,
.revex-chat-item-avatar .revex-chat-avatar-letter,
.revex-chat-avatar .revex-chat-avatar-letter,
.revex-chat-settings-avatar-frame .revex-chat-avatar-letter {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    line-height: 1;
}

/* 2026-03-12 pass 21: modal footer flow + button alignment */
.revex-chat-overlay-body {
    padding-bottom: 22px;
}
.revex-chat-settings-actions {
    position: static;
    bottom: auto;
    z-index: auto;
    margin: 8px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid rgba(255,255,255,.08);
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.revex-extra-sheet .primary-button,
.revex-extra-sheet .secondary-button,
.revex-extra-sheet .danger-button,
.revex-admin-sheet .primary-button,
.revex-admin-sheet .secondary-button,
.revex-admin-sheet .danger-button,
.revex-chat-overlay-card .primary-button,
.revex-chat-overlay-card .secondary-button,
.revex-chat-overlay-card .danger-button,
.register-admin-card .primary-button,
.register-admin-card .secondary-button,
.register-admin-card .danger-button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
    white-space: nowrap;
}

.revex-extra-card-actions,
.revex-chat-overlay-actions,
.revex-admin-actions,
.register-admin-actions {
    align-items: stretch;
}

.revex-chat-overlay-actions .primary-button,
.revex-chat-overlay-actions .secondary-button,
.revex-chat-overlay-actions .danger-button,
.revex-admin-actions .primary-button,
.revex-admin-actions .secondary-button,
.revex-admin-actions .danger-button,
.register-admin-actions .primary-button,
.register-admin-actions .secondary-button,
.register-admin-actions .danger-button {
    margin-top: 0;
}

.revex-chat-member-actions {
    align-items: center;
}

@media (max-width: 820px) {
    .revex-chat-overlay-actions,
    .revex-admin-actions,
    .register-admin-actions {
        grid-template-columns: 1fr;
        display: grid;
    }

    .revex-chat-overlay-actions .primary-button,
    .revex-chat-overlay-actions .secondary-button,
    .revex-chat-overlay-actions .danger-button,
    .revex-admin-actions .primary-button,
    .revex-admin-actions .secondary-button,
    .revex-admin-actions .danger-button,
    .register-admin-actions .primary-button,
    .register-admin-actions .secondary-button,
    .register-admin-actions .danger-button {
        width: 100%;
    }
}


/* 2026-03-12 pass 22: picker flow polish + placeholder stability */
.revex-chat-user-item {
    justify-content: flex-start;
    min-height: 64px;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.revex-chat-user-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.revex-chat-user-item[data-mode="dm"] {
    padding-right: 14px;
}

.revex-chat-check {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.92);
    font-size: 12px;
    font-weight: 800;
}

.revex-chat-user-affordance {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 86px;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.78);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.revex-chat-user-item.is-selected .revex-chat-user-affordance {
    border-color: rgba(56, 189, 248, 0.28);
    background: rgba(14, 165, 233, 0.14);
    color: rgba(255,255,255,0.96);
}

.revex-chat-user-affordance.is-dm::after {
    content: "→";
    margin-left: 8px;
    opacity: .76;
}

.revex-chat-thread-placeholder {
    min-height: 100%;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 24px;
    color: rgba(255,255,255,0.52);
    animation: revexPlaceholderIn .16s ease;
}

@keyframes revexPlaceholderIn {
    from { opacity: .72; transform: translateY(3px); }
    to { opacity: 1; transform: translateY(0); }
}

.revex-chat-overlay-body > .revex-chat-picker {
    display: grid;
    gap: 12px;
}

.revex-chat-overlay-actions {
    align-items: center;
}

.revex-confirm-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(6, 10, 18, 0.58);
    backdrop-filter: blur(18px);
    opacity: 0;
    transition: opacity 0.18s ease;
}

.revex-confirm-backdrop.is-visible {
    opacity: 1;
}

.revex-confirm-backdrop.is-hiding {
    opacity: 0;
}

.revex-confirm-modal {
    width: min(100%, 460px);
    border-radius: 24px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    background: linear-gradient(180deg, rgba(9, 18, 34, 0.98) 0%, rgba(5, 11, 22, 0.98) 100%);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
    overflow: hidden;
    transform: translateY(12px) scale(0.98);
    transition: transform 0.18s ease;
}

.revex-confirm-backdrop.is-visible .revex-confirm-modal {
    transform: translateY(0) scale(1);
}

.revex-confirm-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.revex-confirm-modal-head strong {
    font-size: 20px;
    font-weight: 800;
    color: #f4f7fb;
}

.revex-confirm-close {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: #f7f9ff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.revex-confirm-modal-body {
    padding: 18px 22px 10px;
    color: rgba(232, 238, 248, 0.82);
    font-size: 15px;
    line-height: 1.6;
}

.revex-confirm-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 18px 22px 22px;
}

.revex-confirm-button {
    min-height: 48px;
    padding: 0 20px;
    border-radius: 15px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.revex-confirm-button:hover {
    transform: translateY(-1px);
}

.revex-confirm-button-secondary {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: #eaf0fa;
}

.revex-confirm-button-primary {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    color: #0ea5e9;
    box-shadow: 0 14px 26px rgba(56, 189, 248, 0.24);
}

.revex-confirm-button-danger {
    background: linear-gradient(135deg, #9a1320 0%, #d82b39 100%);
    color: #fff4f4;
    box-shadow: 0 16px 30px rgba(198, 36, 52, 0.24);
}

@media (max-width: 640px) {
    .revex-confirm-modal-actions {
        flex-direction: column-reverse;
    }

    .revex-confirm-button {
        width: 100%;
    }
}


/* 2026-03-12 pass 25: profile switch sizing + sitewide chat access */
@media (max-width: 640px) {
    .profile-role-switch { min-width: 0; width: 100%; }
    .profile-role-switch-button { min-height: 52px; padding: 0 14px; font-size: 11px; letter-spacing: .03em; }
}

/* 2026-03-19 pass 22: launcher management modal */
.secondary-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(20, 28, 39, 0.98), rgba(10, 16, 24, 0.96));
    color: rgba(235, 242, 250, 0.96);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.secondary-button:hover {
    transform: translateY(-1px);
    border-color: rgba(56, 189, 248, 0.24);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.2);
}

.revex-launcher-modal {
    position: fixed;
    inset: 0;
    z-index: 130;
}

.revex-launcher-modal[hidden] { display: none; }

.revex-launcher-modal.is-open .revex-extra-sheet {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.revex-launcher-sheet {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.revex-launcher-statusbar {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(16, 25, 36, 0.96), rgba(10, 16, 24, 0.92));
    border: 1px solid rgba(255,255,255,0.08);
}

.revex-launcher-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(235, 242, 250, 0.96);
    font-weight: 600;
}

.revex-launcher-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 99, 117, 0.95);
    box-shadow: 0 0 0 6px rgba(255, 99, 117, 0.12);
}

.revex-launcher-status-dot.is-online {
    background: rgba(54, 211, 153, 0.96);
    box-shadow: 0 0 0 6px rgba(54, 211, 153, 0.14);
}

.revex-launcher-status-note {
    color: var(--muted);
    font-size: 13px;
    text-align: right;
}

.revex-launcher-grid {
    position: relative;
    z-index: 1;
    margin-top: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    overflow: auto;
    padding-right: 4px;
}

.revex-launcher-card {
    min-width: 0;
    padding: 20px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(16, 24, 35, 0.96), rgba(8, 14, 22, 0.94));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 22px 42px rgba(0, 0, 0, 0.22);
}

.revex-launcher-card-full {
    grid-column: 1 / -1;
}

.revex-launcher-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.revex-launcher-card-head h3 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -0.03em;
}

.revex-launcher-card-head p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.5;
}

.revex-launcher-form-grid {
    display: grid;
    gap: 14px;
}

.revex-launcher-update-note {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(17, 27, 39, 0.98), rgba(10, 17, 26, 0.94));
    border: 1px solid rgba(95, 149, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.revex-launcher-update-label {
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.revex-launcher-update-note code {
    display: block;
    overflow-wrap: anywhere;
    color: #dce8ff;
    font-size: 13px;
    padding: 0;
    background: transparent;
}

.revex-launcher-form-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.revex-launcher-form-grid-3 {
    grid-template-columns: minmax(110px, 0.4fr) minmax(140px, 0.5fr) minmax(0, 1fr);
}

.revex-launcher-card textarea,
.revex-launcher-card input,
.revex-launcher-card select {
    transition: border-color .32s ease, box-shadow .32s ease, background .32s ease, transform .32s ease;
    width: 100%;
    appearance: none;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: linear-gradient(180deg, rgba(14, 22, 32, 0.98), rgba(11, 18, 27, 0.96));
    color: var(--text);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.revex-launcher-card input,
.revex-launcher-card select {
    min-height: 56px;
    padding: 0 16px;
}

.revex-launcher-card select {
    padding-right: 48px;
    background-image: linear-gradient(45deg, transparent 50%, rgba(220, 232, 255, 0.88) 50%), linear-gradient(135deg, rgba(220, 232, 255, 0.88) 50%, transparent 50%);
    background-position: calc(100% - 24px) calc(50% - 3px), calc(100% - 18px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.revex-launcher-card textarea {
    min-height: 118px;
    padding: 16px;
    resize: vertical;
}

.revex-launcher-card textarea:hover,
.revex-launcher-card input:hover,
.revex-launcher-card select:hover {
    border-color: rgba(148, 163, 184, 0.24);
    background-color: #101a25;
}

.revex-launcher-card textarea:focus,
.revex-launcher-card input:focus,
.revex-launcher-card select:focus {
    outline: none;
    border-color: rgba(79, 140, 255, 0.48);
    box-shadow: 0 0 0 4px rgba(79, 140, 255, 0.10);
}

.revex-launcher-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.revex-launcher-actions-split .secondary-button,
.revex-launcher-actions-split .primary-button,
.revex-launcher-actions-split .danger-button {
    flex: 1 1 220px;
}

.revex-launcher-json {
    margin: 16px 0 0;
    min-height: 86px;
    max-height: 220px;
    overflow: auto;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(4, 9, 15, 0.46);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(218, 228, 241, 0.88);
    font-size: 12px;
    line-height: 1.5;
    white-space: pre-wrap;
}

.revex-launcher-news-editor {
    display: grid;
    gap: 16px;
}

.revex-launcher-news-editor-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
    gap: 14px;
    align-items: end;
}

.revex-launcher-news-slot-indicator {
    min-height: 58px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(20, 31, 45, 0.98), rgba(9, 15, 24, 0.96));
    border: 1px solid rgba(95, 149, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 16px 38px rgba(6, 14, 24, 0.22);
    color: #ecf4ff;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.revex-launcher-upload-button {
    width: 100%;
    min-height: 68px;
    padding: 16px 18px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: linear-gradient(180deg, rgba(17, 27, 39, 0.98), rgba(10, 16, 24, 0.94));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 16px 34px rgba(0, 0, 0, 0.18);
    color: #dce8ff;
    cursor: pointer;
    transition: transform .34s cubic-bezier(.22, 1, .36, 1), border-color .34s ease, box-shadow .34s ease, background .34s ease;
}

.revex-launcher-upload-button:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.24);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 22px 40px rgba(7, 14, 24, 0.26);
}

.revex-launcher-upload-button-copy {
    display: grid;
    gap: 6px;
    text-align: left;
}

.revex-launcher-upload-button-copy strong {
    font-size: 14px;
    font-weight: 800;
}

.revex-launcher-upload-button-copy small {
    color: rgba(218, 228, 241, 0.66);
    font-size: 12px;
}

.revex-launcher-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.revex-launcher-preview-card {
    position: relative;
    width: 100%;
    padding: 14px;
    border-radius: 24px;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    text-align: left;
    background: linear-gradient(180deg, rgba(19, 28, 40, 0.99), rgba(8, 13, 21, 0.96));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 18px 40px rgba(0, 0, 0, 0.2);
    color: var(--text);
    cursor: pointer;
    overflow: hidden;
    transition: transform .38s cubic-bezier(.22, 1, .36, 1), border-color .38s ease, box-shadow .38s ease, background .38s ease;
}

.revex-launcher-preview-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(95, 149, 255, 0.1), transparent 46%, rgba(56, 189, 248, 0.08));
    opacity: 0;
    transition: opacity .38s ease;
    pointer-events: none;
}

.revex-launcher-preview-card:hover,
.revex-launcher-assembly-card:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(56, 189, 248, 0.24);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 24px 48px rgba(6, 14, 24, 0.28);
}

.revex-launcher-preview-card:hover::before {
    opacity: 1;
}

.revex-launcher-preview-card.is-selected {
    border-color: rgba(95, 149, 255, 0.34);
    box-shadow: 0 22px 46px rgba(33, 61, 122, 0.26), inset 0 1px 0 rgba(255,255,255,0.05);
    transform: translateY(-3px);
}

.revex-launcher-preview-card.is-selected::before {
    opacity: 1;
}

.revex-launcher-preview-thumb {
    width: 96px;
    height: 96px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.08);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: var(--muted);
    font-size: 12px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.revex-launcher-preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}

.revex-launcher-preview-card:hover .revex-launcher-preview-thumb img,
.revex-launcher-preview-card.is-selected .revex-launcher-preview-thumb img {
    transform: scale(1.06);
}

.revex-launcher-preview-copy {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 8px;
}

.revex-launcher-preview-copy strong,
.revex-launcher-preview-copy small {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.revex-launcher-preview-top {
    display: flex;
    align-items: center;
}

.revex-launcher-preview-copy strong {
    font-size: 15px;
    font-weight: 800;
    color: #eef5ff;
}

.revex-launcher-preview-copy small {
    color: rgba(218, 228, 241, 0.7);
}

.revex-launcher-preview-badge {
    display: inline-flex;
    width: fit-content;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(54, 211, 153, 0.14);
    border: 1px solid rgba(54, 211, 153, 0.2);
    color: #bff7e1;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.revex-launcher-preview-badge.is-off {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.08);
    color: rgba(223, 233, 246, 0.76);
}

.revex-launcher-assemblies-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.revex-launcher-assembly-card {
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(18, 26, 37, 0.98), rgba(10, 16, 24, 0.94));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 18px 36px rgba(0, 0, 0, 0.18);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.revex-launcher-assembly-media {
    height: 156px;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.12), rgba(255,255,255,0.02));
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.revex-launcher-assembly-body {
    padding: 16px;
}

.revex-launcher-assembly-topline,
.revex-launcher-assembly-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.revex-launcher-assembly-topline strong {
    font-size: 16px;
}

.revex-launcher-assembly-topline span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.revex-launcher-assembly-body p {
    margin: 10px 0 14px;
    color: var(--muted);
    line-height: 1.55;
    min-height: 70px;
}

.revex-launcher-assembly-footer .secondary-button {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 14px;
}

@media (max-width: 1180px) {
    .revex-launcher-grid,
    .revex-launcher-assemblies-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .revex-launcher-sheet {
        width: min(100%, calc(100vw - 18px));
        padding: 20px;
        max-height: min(88vh, 980px);
    }

    .revex-launcher-statusbar,
    .revex-launcher-form-grid-2,
    .revex-launcher-form-grid-3,
    .revex-launcher-preview-grid,
    .revex-launcher-actions,
    .revex-launcher-assembly-footer,
    .revex-launcher-assembly-topline {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .revex-launcher-status-note {
        text-align: left;
    }
}


/* 2026-03-19 pass 23: extra functions list + launcher alignment fixes */
.revex-extra-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.revex-extra-card {
    min-height: 0;
    padding: 18px 20px;
    border-radius: 22px;
    align-items: center;
    transition: transform .34s cubic-bezier(.22, 1, .36, 1), border-color .34s ease, box-shadow .34s ease, opacity .28s ease, filter .28s ease;
}

.revex-extra-card:hover {
    transform: translateY(-2px);
}

.revex-extra-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.revex-extra-card.is-locked {
    opacity: .62;
    filter: saturate(.72);
    cursor: not-allowed;
}

.revex-extra-card.is-locked:hover {
    transform: none;
    border-color: rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 18px 34px rgba(0, 0, 0, 0.18);
}

.revex-extra-card-actions {
    margin-left: auto;
    align-self: center;
}

.revex-extra-lock-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(18, 27, 38, .9), rgba(10, 16, 24, .88));
    border: 1px solid rgba(255,255,255,.08);
    color: rgba(223, 233, 246, .78);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.revex-extra-pin {
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), border-color .28s ease, box-shadow .28s ease, color .28s ease, background .28s ease;
}

.revex-extra-pin::before {
    transition: opacity .28s ease;
}

.revex-extra-pin.is-active::before {
    animation: pinnedRingSpin 1.8s linear infinite;
}

.revex-launcher-form-grid label,
.revex-launcher-news-editor label,
.revex-launcher-card > label.field-group {
    display: grid;
    gap: 9px;
    align-content: start;
}

.revex-launcher-field-label,
.revex-launcher-form-grid label > span,
.revex-launcher-news-editor label > span {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    color: rgba(222, 232, 244, .86);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}

.revex-launcher-card > label.field-group {
    margin-top: 14px;
}

.revex-launcher-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.revex-launcher-actions .primary-button,
.revex-launcher-actions .secondary-button,
.revex-launcher-actions .danger-button {
    width: 100%;
    min-height: 52px;
    margin-top: 0;
    border-radius: 16px;
}

.revex-launcher-actions .primary-button {
    margin-top: 0;
}

.revex-launcher-preview-grid {
    gap: 14px;
}

.revex-launcher-preview-card {
    transition: transform .42s cubic-bezier(.22, 1, .36, 1), border-color .34s ease, box-shadow .34s ease, background .34s ease;
}

.revex-launcher-preview-card:hover,
.revex-launcher-preview-card.is-selected {
    transform: translateY(-3px) scale(1.01);
}

@media (max-width: 820px) {
    .revex-launcher-actions {
        grid-template-columns: 1fr;
    }
}


/* 2026-03-19 pass 25: global scrollbar polish + pinned button effect fix */
.revex-extra-card {
    overflow: hidden;
}

.revex-extra-pin {
    isolation: isolate;
    overflow: hidden;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform, box-shadow, border-color;
}

.revex-extra-pin::before {
    inset: -1px;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 50%, rgba(125, 211, 252, 0.3), transparent 68%);
    filter: blur(2px);
}

.revex-extra-pin::after {
    inset: 1px;
    border-radius: inherit;
}

.revex-extra-pin:hover {
    transform: translateY(-1px) scale(1.015);
}

.revex-extra-pin.is-active {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(14, 165, 233, 0.26), inset 0 1px 0 rgba(255,255,255,0.08), 0 0 0 1px rgba(56, 189, 248, 0.08);
}

.revex-extra-pin.is-active::before {
    opacity: 1;
    animation: pinnedPulseGlow 1.9s ease-in-out infinite;
}

.revex-extra-pin svg {
    transform: rotate(38deg) translateZ(0);
}

@keyframes pinnedPulseGlow {
    0%, 100% {
        transform: scale(0.96);
        opacity: .42;
    }
    50% {
        transform: scale(1.06);
        opacity: .82;
    }
}

/* 2026-05-07 fix v2: sidebar nav hover is isolated to the hovered button only.
   The nav item itself no longer changes vertical transform on hover/active,
   so lower/upper sibling buttons cannot visually jump when one item is hovered. */
.revex-sidebar .revex-nav > .revex-nav-link,
.revex-sidebar .revex-nav > .revex-nav-link.is-active,
.revex-sidebar .revex-nav > .revex-nav-link-primary.is-active,
.revex-sidebar .revex-nav > .revex-nav-link-primary[aria-current="page"],
.revex-sidebar .revex-nav:hover > .revex-nav-link,
.revex-sidebar .revex-nav:hover > .revex-nav-link:not(:hover),
.revex-sidebar .revex-nav:hover > .revex-nav-link.is-active:not(:hover),
.revex-sidebar .revex-nav:hover > .revex-nav-link-primary.is-active:not(:hover),
.revex-sidebar .revex-nav:hover > .revex-nav-link-primary[aria-current="page"]:not(:hover) {
    transform: translate3d(0, 0, 0) !important;
    filter: none !important;
}

.revex-sidebar .revex-nav > .revex-nav-link {
    transition:
        border-color var(--transition-smooth),
        background var(--transition-smooth),
        box-shadow var(--transition-smooth),
        filter var(--transition-smooth),
        opacity var(--transition-smooth) !important;
}

.revex-sidebar .revex-nav > .revex-nav-link .revex-nav-icon,
.revex-sidebar .revex-nav > .revex-nav-link .revex-nav-title,
.revex-sidebar .revex-nav > .revex-nav-link .revex-nav-note,
.revex-sidebar .revex-nav > .revex-nav-link .revex-nav-badge,
.revex-sidebar .revex-nav > .revex-nav-link .revex-nav-glow {
    transition:
        transform var(--transition-smooth),
        color var(--transition-smooth),
        background var(--transition-smooth),
        border-color var(--transition-smooth),
        opacity var(--transition-smooth),
        box-shadow var(--transition-smooth) !important;
}

.revex-sidebar .revex-nav:hover > .revex-nav-link:not(:hover) .revex-nav-icon,
.revex-sidebar .revex-nav:hover > .revex-nav-link:not(:hover) .revex-nav-title,
.revex-sidebar .revex-nav:hover > .revex-nav-link:not(:hover) .revex-nav-note,
.revex-sidebar .revex-nav:hover > .revex-nav-link:not(:hover) .revex-nav-badge,
.revex-sidebar .revex-nav:hover > .revex-nav-link:not(:hover) .revex-nav-glow {
    transform: translate3d(0, 0, 0) scale(1) !important;
}

.revex-sidebar .revex-nav > .revex-nav-link:hover {
    transform: translate3d(0, 0, 0) !important;
    filter: none !important;
    border-color: rgba(56, 189, 248, 0.18);
    background: linear-gradient(180deg, rgba(21, 31, 45, 0.98), rgba(12, 19, 29, 0.94));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 22px 36px rgba(0,0,0,0.22);
}

.revex-sidebar .revex-nav > .revex-nav-link:hover .revex-nav-icon {
    transform: translate3d(2px, 0, 0) scale(1.02) !important;
}

.revex-sidebar .revex-nav > .revex-nav-link:hover .revex-nav-title,
.revex-sidebar .revex-nav > .revex-nav-link:hover .revex-nav-note,
.revex-sidebar .revex-nav > .revex-nav-link:hover .revex-nav-badge {
    transform: translate3d(2px, 0, 0) !important;
}

.revex-sidebar .revex-nav > .revex-nav-link:hover .revex-nav-glow {
    opacity: 0.52 !important;
    transform: scale(1.06) !important;
}

.revex-sidebar .revex-nav > .revex-nav-link-home:not(:hover) .revex-nav-glow,
.revex-sidebar .revex-nav:hover > .revex-nav-link-home:not(:hover) .revex-nav-glow {
    opacity: 0 !important;
}

/* 2026-06-03: hide native scrollbars everywhere, keep scroll behavior intact. */
html,
body,
* {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

*::-webkit-scrollbar,
*::-webkit-scrollbar-track,
*::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-corner {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
    background: transparent !important;
}

.revex-main {
    position: relative;
}

.revex-page-loader {
    position: absolute;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 18px;
    min-height: 100%;
    padding: 32px;
    background:
        radial-gradient(circle at 50% 42%, rgba(56, 189, 248, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(8, 13, 20, 0.96), rgba(9, 15, 22, 0.92));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 220ms ease, visibility 220ms ease;
}

.is-dashboard-loading .revex-page-loader {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.is-dashboard-loading .revex-content {
    opacity: 0;
    transform: translateY(8px);
}

.revex-content {
    transition: opacity 220ms ease, transform 220ms ease;
}

.revex-page-loader-core {
    position: relative;
    width: 132px;
    height: 132px;
    display: grid;
    place-items: center;
}

.revex-page-loader-logo {
    position: relative;
    z-index: 2;
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    filter: drop-shadow(0 18px 28px rgba(14, 165, 233, 0.18));
    animation: revexLoaderLogoBreathe 1.45s ease-in-out infinite;
}

.revex-page-loader-logo img {
    width: 76px;
    height: 76px;
    display: block;
    object-fit: contain;
}

.revex-page-loader-ring,
.revex-page-loader-pulse {
    position: absolute;
    inset: 0;
    border-radius: 999px;
}

.revex-page-loader-ring {
    border: 1px solid rgba(56, 189, 248, 0.16);
    border-top-color: rgba(125, 211, 252, 0.88);
    animation: revexLoaderSpin 1.05s linear infinite;
}

.revex-page-loader-pulse {
    inset: 16px;
    border: 1px solid rgba(105, 174, 255, 0.14);
    animation: revexLoaderPulse 1.45s ease-in-out infinite;
}

.revex-page-loader-caption {
    min-height: 22px;
    color: #eef5fb;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0;
}

.revex-page-loader-bars {
    display: inline-flex;
    gap: 8px;
    height: 18px;
    align-items: center;
}

.revex-page-loader-bars span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #38bdf8;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.38);
    animation: revexLoaderDot 840ms ease-in-out infinite;
}

.revex-page-loader-bars span:nth-child(2) {
    animation-delay: 120ms;
}

.revex-page-loader-bars span:nth-child(3) {
    animation-delay: 240ms;
}

@keyframes revexLoaderSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes revexLoaderLogoBreathe {
    0%,
    100% {
        transform: scale(0.96);
        opacity: 0.82;
    }
    50% {
        transform: scale(1.04);
        opacity: 1;
    }
}

@keyframes revexLoaderPulse {
    0%,
    100% {
        transform: scale(0.92);
        opacity: 0.38;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.78;
    }
}

@keyframes revexLoaderDot {
    0%,
    100% {
        transform: translateY(0);
        opacity: 0.48;
    }
    50% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

/* 2026-06-03: sidebar buttons must stay physically stable on hover. */
.revex-sidebar .revex-nav,
.revex-sidebar .revex-nav > .revex-nav-link,
.revex-sidebar .revex-nav > .revex-nav-link:hover,
.revex-sidebar .revex-nav > .revex-nav-link:focus-visible,
.revex-sidebar .revex-nav > .revex-nav-link.is-active,
.revex-sidebar .revex-nav > .revex-nav-link-primary.is-active,
.revex-sidebar .revex-nav > .revex-nav-link-primary[aria-current="page"],
.revex-sidebar .revex-nav > .revex-nav-link-primary.is-active:hover,
.revex-sidebar .revex-nav > .revex-nav-link-primary[aria-current="page"]:hover {
    transform: none !important;
    translate: none !important;
    scale: none !important;
    will-change: auto !important;
}

.revex-sidebar .revex-nav > .revex-nav-link {
    transition:
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition),
        color var(--transition),
        opacity var(--transition),
        filter var(--transition) !important;
}

.revex-sidebar .revex-nav > .revex-nav-link .revex-nav-icon,
.revex-sidebar .revex-nav > .revex-nav-link .revex-nav-title,
.revex-sidebar .revex-nav > .revex-nav-link .revex-nav-note,
.revex-sidebar .revex-nav > .revex-nav-link .revex-nav-badge,
.revex-sidebar .revex-nav > .revex-nav-link .revex-nav-glow,
.revex-sidebar .revex-nav > .revex-nav-link:hover .revex-nav-icon,
.revex-sidebar .revex-nav > .revex-nav-link:hover .revex-nav-title,
.revex-sidebar .revex-nav > .revex-nav-link:hover .revex-nav-note,
.revex-sidebar .revex-nav > .revex-nav-link:hover .revex-nav-badge,
.revex-sidebar .revex-nav > .revex-nav-link:hover .revex-nav-glow,
.revex-sidebar .revex-nav > .revex-nav-link.is-active .revex-nav-icon,
.revex-sidebar .revex-nav > .revex-nav-link.is-active .revex-nav-title,
.revex-sidebar .revex-nav > .revex-nav-link.is-active .revex-nav-note,
.revex-sidebar .revex-nav > .revex-nav-link.is-active .revex-nav-badge,
.revex-sidebar .revex-nav > .revex-nav-link.is-active .revex-nav-glow {
    transform: none !important;
    translate: none !important;
    scale: none !important;
    will-change: auto !important;
}

.revex-sidebar .revex-nav > .revex-nav-link .revex-nav-icon,
.revex-sidebar .revex-nav > .revex-nav-link .revex-nav-title,
.revex-sidebar .revex-nav > .revex-nav-link .revex-nav-note,
.revex-sidebar .revex-nav > .revex-nav-link .revex-nav-badge,
.revex-sidebar .revex-nav > .revex-nav-link .revex-nav-glow {
    transition:
        color var(--transition),
        background var(--transition),
        border-color var(--transition),
        opacity var(--transition),
        box-shadow var(--transition) !important;
}

/* 2026-06-03: executive compact dashboard redesign. Login/auth pages are not targeted. */
.revex-app {
    grid-template-columns: 286px minmax(0, 1fr) !important;
    min-height: 100vh !important;
    background: rgba(5, 10, 16, 0.18) !important;
}

.revex-app .revex-sidebar {
    height: 100vh !important;
    min-height: 100vh !important;
    padding: 18px 14px !important;
    background: linear-gradient(180deg, rgba(7, 13, 20, 0.96), rgba(6, 11, 17, 0.98)) !important;
    border: 0 !important;
    border-right: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

.revex-app .revex-sidebar::before,
.revex-app .revex-sidebar::after {
    display: none !important;
}

.revex-app .revex-sidebar-top {
    padding: 0 4px 16px !important;
    border-bottom: 1px solid rgba(255,255,255,0.055) !important;
}

.revex-app .revex-brand {
    gap: 11px !important;
    min-height: 46px !important;
}

.revex-app .revex-brand-logo {
    width: 42px !important;
    height: 42px !important;
    border-radius: 13px !important;
    background: rgba(255,255,255,0.035) !important;
    border: 1px solid rgba(255,255,255,0.075) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05) !important;
}

.revex-app .revex-brand-logo img {
    width: 26px !important;
    height: 26px !important;
}

.revex-app .revex-brand-copy {
    min-width: 0 !important;
}

.revex-app .revex-brand-kicker {
    display: none !important;
}

.revex-app .revex-brand-title {
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    color: #f4f7fb !important;
}

.revex-app .revex-brand-subtitle {
    margin-top: 3px !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    color: rgba(207, 218, 232, 0.58) !important;
}

.revex-app .revex-nav {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: grid !important;
    align-content: start !important;
    gap: 6px !important;
    padding: 16px 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.revex-app .revex-nav-divider {
    height: 1px !important;
    margin: 8px 8px !important;
    background: rgba(255,255,255,0.055) !important;
}

.revex-app .revex-nav-divider::before {
    display: none !important;
}

.revex-app .revex-nav > .revex-nav-link,
.revex-app .revex-nav > .revex-nav-link-home,
.revex-app .revex-nav > .revex-nav-link-primary {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 54px !important;
    padding: 8px 11px !important;
    border-radius: 12px !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    color: rgba(226, 235, 246, 0.82) !important;
    box-shadow: none !important;
    filter: none !important;
    transform: none !important;
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        color 180ms ease !important;
}

.revex-app .revex-nav > .revex-nav-link::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 12px !important;
    bottom: 12px !important;
    width: 3px !important;
    border-radius: 999px !important;
    background: #38bdf8 !important;
    opacity: 0 !important;
    transform: none !important;
    transition: opacity 180ms ease, background-color 180ms ease !important;
}

.revex-app .revex-nav > .revex-nav-link::after,
.revex-app .revex-nav > .revex-nav-link-primary::after {
    content: none !important;
    display: none !important;
}

.revex-app .revex-nav > .revex-nav-link:hover {
    background: rgba(255,255,255,0.035) !important;
    border-color: rgba(255,255,255,0.06) !important;
    color: #f4f8fc !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.035) !important;
}

.revex-app .revex-nav > .revex-nav-link:hover::before {
    opacity: 0.45 !important;
}

.revex-app .revex-nav > .revex-nav-link.is-active,
.revex-app .revex-nav > .revex-nav-link-primary.is-active,
.revex-app .revex-nav > .revex-nav-link-home.is-active {
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.13), rgba(255,255,255,0.035)) !important;
    border-color: rgba(56, 189, 248, 0.13) !important;
    color: #ffffff !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04) !important;
}

.revex-app .revex-nav > .revex-nav-link.is-active::before {
    opacity: 1 !important;
}

.revex-app .revex-nav-icon {
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;
    border-radius: 10px !important;
    display: grid !important;
    place-items: center !important;
    color: rgba(125, 211, 252, 0.84) !important;
    background: rgba(255,255,255,0.035) !important;
    border: 1px solid rgba(255,255,255,0.055) !important;
    box-shadow: none !important;
    transform: none !important;
    transition:
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease !important;
}

.revex-app .revex-nav-link:hover .revex-nav-icon,
.revex-app .revex-nav-link.is-active .revex-nav-icon {
    color: #7dd3fc !important;
    background: rgba(14, 165, 233, 0.11) !important;
    border-color: rgba(56, 189, 248, 0.16) !important;
    transform: none !important;
}

.revex-app .revex-nav-icon svg {
    width: 18px !important;
    height: 18px !important;
    stroke-width: 1.8 !important;
}

.revex-app .revex-nav-copy {
    min-width: 0 !important;
    display: grid !important;
    gap: 2px !important;
}

.revex-app .revex-nav-title {
    font-size: 13px !important;
    line-height: 1.25 !important;
    font-weight: 750 !important;
    letter-spacing: 0 !important;
    color: inherit !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transform: none !important;
}

.revex-app .revex-nav-note {
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    color: rgba(141, 156, 176, 0.82) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transform: none !important;
}

.revex-app .revex-nav-badge {
    display: none !important;
}

.revex-app .revex-nav-glow {
    display: none !important;
}

.revex-app .revex-sidebar-bottom {
    display: grid !important;
    gap: 10px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(255,255,255,0.055) !important;
}

.revex-app .revex-more-handle {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    min-height: 46px !important;
    display: grid !important;
    grid-template-columns: 32px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 10px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255,255,255,0.055) !important;
    background: rgba(255,255,255,0.025) !important;
    color: rgba(226, 235, 246, 0.82) !important;
    box-shadow: none !important;
    transform: none !important;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease !important;
}

.revex-app .revex-more-handle:hover:not(:disabled) {
    background: rgba(255,255,255,0.04) !important;
    border-color: rgba(56, 189, 248, 0.13) !important;
    color: #f7fbff !important;
    transform: none !important;
}

.revex-app .revex-more-handle-shine {
    display: none !important;
}

.revex-app .revex-more-handle-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 10px !important;
    display: grid !important;
    place-items: center !important;
    color: rgba(125, 211, 252, 0.82) !important;
    background: rgba(255,255,255,0.035) !important;
    border: 1px solid rgba(255,255,255,0.055) !important;
}

.revex-app .revex-more-handle-copy {
    min-width: 0 !important;
}

.revex-app .revex-more-handle-copy strong {
    display: block !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.revex-app .revex-more-handle-copy small {
    display: block !important;
    margin-top: 2px !important;
    font-size: 10.5px !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    color: rgba(141, 156, 176, 0.72) !important;
}

.revex-app .revex-profile-card-sidebar {
    min-height: 58px !important;
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: center !important;
    padding: 9px 10px !important;
    border-radius: 13px !important;
    background: rgba(255,255,255,0.025) !important;
    border: 1px solid rgba(255,255,255,0.055) !important;
    box-shadow: none !important;
    transform: none !important;
}

.revex-app .revex-profile-card-sidebar:hover {
    background: rgba(255,255,255,0.04) !important;
    border-color: rgba(255,255,255,0.08) !important;
    transform: none !important;
}

.revex-app .revex-profile-avatar {
    width: 38px !important;
    height: 38px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
}

.revex-app .revex-profile-meta {
    min-width: 0 !important;
}

.revex-app .revex-profile-label {
    display: none !important;
}

.revex-app .revex-profile-meta strong {
    display: block !important;
    font-size: 12.5px !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.revex-app .revex-profile-meta small {
    display: block !important;
    margin-top: 2px !important;
    font-size: 10.5px !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    color: rgba(141, 156, 176, 0.72) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.revex-app .revex-main {
    height: 100vh !important;
    padding: 20px 22px 24px !important;
    background: rgba(5, 10, 16, 0.06) !important;
}

.revex-app .revex-content {
    gap: 16px !important;
}

.revex-app .workspace-shell,
.revex-app .profile-page,
.revex-app .monitoring-shell,
.revex-app .players-online-page-shell {
    width: 100% !important;
    max-width: none !important;
    min-height: auto !important;
    padding: 24px !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, rgba(14, 21, 30, 0.86), rgba(9, 15, 23, 0.9)) !important;
    border: 1px solid rgba(255,255,255,0.065) !important;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2) !important;
}

.revex-app .workspace-shell::before,
.revex-app .workspace-shell::after,
.revex-app .profile-page::before,
.revex-app .profile-page::after,
.revex-app .monitoring-hero::after,
.revex-app .profile-page-header-upgraded::after,
.revex-app .players-online-hero::after {
    display: none !important;
}

.revex-app .profile-page-upgraded,
.revex-app .monitoring-shell-upgraded {
    gap: 16px !important;
}

.revex-app .profile-page-header-upgraded,
.revex-app .monitoring-hero,
.revex-app .players-online-panel-head {
    min-height: 0 !important;
    padding: 0 0 16px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    background: transparent !important;
    box-shadow: none !important;
}

.revex-app .profile-page-topline,
.revex-app .profile-identity-card-topline,
.revex-app .monitoring-card-topline {
    font-size: 10.5px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
    color: rgba(56, 189, 248, 0.74) !important;
}

.revex-app h1 {
    margin: 6px 0 0 !important;
    font-size: clamp(25px, 2.1vw, 32px) !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
}

.revex-app h2 {
    margin: 5px 0 0 !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
}

.revex-app p {
    margin: 7px 0 0 !important;
    max-width: 720px !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    letter-spacing: 0 !important;
    color: rgba(207, 218, 232, 0.72) !important;
}

.revex-app .primary-button,
.revex-app .secondary-button,
.revex-app .danger-button,
.revex-app .logout-link {
    min-height: 42px !important;
    padding: 0 15px !important;
    border-radius: 11px !important;
    font-size: 12.5px !important;
    font-weight: 750 !important;
    letter-spacing: 0 !important;
    transform: none !important;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, filter 180ms ease !important;
}

.revex-app .primary-button:hover,
.revex-app .secondary-button:hover,
.revex-app .danger-button:hover,
.revex-app .logout-link:hover {
    transform: none !important;
}

.revex-app .profile-overview-grid {
    grid-template-columns: minmax(220px, 270px) minmax(0, 1fr) !important;
    gap: 14px !important;
}

.revex-app .profile-avatar-block-upgraded,
.revex-app .profile-identity-card,
.revex-app .profile-role-panel,
.revex-app .monitoring-stat-box,
.revex-app .monitoring-card,
.revex-app .monitoring-live-summary,
.revex-app .players-online-panel,
.revex-app .players-online-table-shell {
    border-radius: 15px !important;
    background: rgba(255,255,255,0.026) !important;
    border: 1px solid rgba(255,255,255,0.055) !important;
    box-shadow: none !important;
}

.revex-app .profile-avatar-block-upgraded,
.revex-app .profile-identity-card,
.revex-app .profile-role-panel {
    padding: 16px !important;
}

.revex-app .profile-avatar-block-upgraded {
    min-height: 190px !important;
}

.revex-app .profile-page-avatar {
    width: 104px !important;
    height: 104px !important;
    border-radius: 24px !important;
    font-size: 38px !important;
}

.revex-app .profile-avatar-meta {
    margin-top: 12px !important;
    gap: 4px !important;
}

.revex-app .profile-avatar-meta strong {
    font-size: 16px !important;
    line-height: 1.25 !important;
}

.revex-app .profile-avatar-meta span,
.revex-app .profile-avatar-meta small {
    font-size: 11px !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
}

.revex-app .profile-identity-grid,
.revex-app .profile-role-card-grid {
    gap: 10px !important;
    margin-top: 12px !important;
}

.revex-app .profile-identity-item,
.revex-app .profile-role-stat,
.revex-app .monitoring-live-summary-item {
    padding: 12px !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,0.025) !important;
    border: 1px solid rgba(255,255,255,0.045) !important;
    gap: 5px !important;
}

.revex-app .profile-identity-item span,
.revex-app .profile-role-stat span,
.revex-app .monitoring-live-summary-item span,
.revex-app .monitoring-stat-box span {
    font-size: 10.5px !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
}

.revex-app .profile-identity-item strong,
.revex-app .profile-role-stat strong,
.revex-app .monitoring-live-summary-item strong {
    font-size: 14px !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
}

.revex-app .profile-role-head {
    gap: 12px !important;
}

.revex-app .profile-role-switch {
    min-width: 320px !important;
    padding: 4px !important;
    border-radius: 12px !important;
}

.revex-app .profile-role-switch-button {
    min-height: 38px !important;
    padding: 0 14px !important;
    border-radius: 9px !important;
    font-size: 11px !important;
    letter-spacing: 0 !important;
}

.revex-app .profile-role-switch-glider {
    inset: 4px auto 4px 4px !important;
    width: calc(50% - 4px) !important;
    border-radius: 9px !important;
}

.revex-app .monitoring-shell-upgraded {
    display: grid !important;
}

.revex-app .monitoring-top-strip {
    grid-template-columns: minmax(190px, 250px) minmax(0, 1fr) !important;
    gap: 12px !important;
}

.revex-app .monitoring-status-pill {
    min-height: 70px !important;
    padding: 14px 16px !important;
    border-radius: 15px !important;
}

.revex-app .monitoring-status-pill strong {
    font-size: 13px !important;
    line-height: 1.3 !important;
}

.revex-app .monitoring-live-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding: 10px !important;
}

.revex-app .monitoring-kpi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

.revex-app .monitoring-stat-box {
    min-height: 86px !important;
    padding: 14px !important;
}

.revex-app .monitoring-stat-box strong {
    margin-top: 8px !important;
    font-size: 24px !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
}

.revex-app .monitoring-stat-box-hero strong {
    font-size: 34px !important;
}

.revex-app .monitoring-stat-box-hostname {
    grid-column: 1 / -1 !important;
    min-height: 70px !important;
}

.revex-app .monitoring-card-players-inline {
    margin-top: 0 !important;
}

.revex-app .monitoring-card {
    padding: 16px !important;
}

.revex-app .monitoring-card-head {
    gap: 10px !important;
    margin-bottom: 12px !important;
}

.revex-app .monitoring-players-badge {
    width: 40px !important;
    height: 34px !important;
    border-radius: 10px !important;
    font-size: 16px !important;
}

.revex-app .monitoring-player-list {
    gap: 8px !important;
}

.revex-app .monitoring-player-row {
    grid-template-columns: 58px minmax(0, 1fr) 74px 72px !important;
    gap: 10px !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

.revex-app .monitoring-player-name,
.revex-app .monitoring-player-score,
.revex-app .monitoring-player-ping {
    font-size: 13px !important;
    line-height: 1.3 !important;
}

.revex-app .monitoring-player-id {
    font-size: 11px !important;
}

.revex-app .players-online-panel {
    padding: 20px !important;
}

.revex-app .players-online-panel-head {
    padding-bottom: 14px !important;
}

.revex-app .players-online-panel-head h2 {
    font-size: 26px !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
}

.revex-app .players-online-controls {
    gap: 10px !important;
    margin: 14px 0 !important;
}

.revex-app .players-online-search-modern {
    min-height: 44px !important;
    border-radius: 13px !important;
}

.revex-app .players-online-search-modern input {
    font-size: 13px !important;
}

.revex-app .players-online-refresh-button {
    height: 44px !important;
    min-width: 132px !important;
}

.revex-app .players-online-table-shell {
    min-height: calc(100vh - 230px) !important;
    border-radius: 14px !important;
}

.revex-app .players-online-table-head {
    grid-template-columns: minmax(0, 1fr) 100px 100px !important;
    gap: 10px !important;
    padding: 13px 16px !important;
}

.revex-app .players-online-table-head span {
    font-size: 10.5px !important;
    letter-spacing: 0 !important;
}

.revex-app .players-online-table-list {
    gap: 8px !important;
    padding: 12px !important;
}

.revex-app .players-online-tab-row {
    grid-template-columns: minmax(0, 1fr) 100px 100px !important;
    gap: 10px !important;
    min-height: 58px !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

.revex-app .players-online-tab-row:hover {
    border-color: rgba(56, 189, 248, 0.14) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04) !important;
    transform: none !important;
}

.revex-app .players-online-tab-id-badge {
    min-width: 50px !important;
    height: 28px !important;
    padding: 0 10px !important;
    font-size: 11px !important;
    letter-spacing: 0 !important;
}

.revex-app .players-online-tab-name,
.revex-app .players-online-tab-meta {
    font-size: 13px !important;
}

.revex-page-loader {
    background:
        radial-gradient(circle at 50% 42%, rgba(56, 189, 248, 0.08), transparent 26%),
        linear-gradient(180deg, rgba(8, 13, 20, 0.97), rgba(7, 12, 18, 0.94)) !important;
}

@media (max-width: 1180px) {
    .revex-app {
        grid-template-columns: 260px minmax(0, 1fr) !important;
    }

    .revex-app .monitoring-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .revex-app .profile-overview-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 860px) {
    .revex-app {
        grid-template-columns: 1fr !important;
        height: auto !important;
        min-height: 100vh !important;
    }

    .revex-app .revex-sidebar {
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        padding: 14px !important;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    }

    .revex-app .revex-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        padding: 12px 0 !important;
    }

    .revex-app .revex-nav-divider {
        display: none !important;
    }

    .revex-app .revex-main {
        height: auto !important;
        min-height: 100vh !important;
        padding: 14px !important;
    }

    .revex-app .workspace-shell,
    .revex-app .profile-page,
    .revex-app .monitoring-shell,
    .revex-app .players-online-page-shell {
        padding: 18px !important;
    }

    .revex-app .monitoring-top-strip,
    .revex-app .monitoring-live-summary,
    .revex-app .monitoring-kpi-grid,
    .revex-app .profile-identity-grid,
    .revex-app .profile-role-card-grid {
        grid-template-columns: 1fr !important;
    }

    .revex-app .profile-role-switch {
        min-width: 0 !important;
        width: 100% !important;
    }
}

@media (max-width: 640px) {
    .revex-app .revex-nav {
        grid-template-columns: 1fr !important;
    }

    .revex-app .players-online-table-head {
        display: none !important;
    }

    .revex-app .players-online-tab-row,
    .revex-app .monitoring-player-row {
        grid-template-columns: 1fr !important;
    }

    .revex-app .monitoring-player-score,
    .revex-app .monitoring-player-ping {
        text-align: left !important;
    }
}

/* 2026-06-03: hard-edge dashboard cleanup, sidebar polish, tools/chat alignment. */
.revex-app,
.revex-app * {
    letter-spacing: 0 !important;
}

.revex-app .revex-sidebar,
.revex-app .revex-sidebar-top,
.revex-app .revex-sidebar-bottom,
.revex-app .revex-nav > .revex-nav-link,
.revex-app .revex-nav-icon,
.revex-app .revex-more-handle,
.revex-app .revex-more-handle-icon,
.revex-app .revex-profile-card-sidebar,
.revex-app .revex-profile-avatar,
.revex-app .workspace-shell,
.revex-app .profile-page,
.revex-app .monitoring-shell,
.revex-app .players-online-page-shell,
.revex-app .profile-page-header-upgraded,
.revex-app .monitoring-hero,
.revex-app .players-online-panel-head,
.revex-app .profile-avatar-block-upgraded,
.revex-app .profile-identity-card,
.revex-app .profile-role-panel,
.revex-app .profile-identity-item,
.revex-app .profile-role-stat,
.revex-app .monitoring-live-summary,
.revex-app .monitoring-live-summary-item,
.revex-app .monitoring-status-pill,
.revex-app .monitoring-stat-box,
.revex-app .monitoring-card,
.revex-app .monitoring-player-row,
.revex-app .monitoring-players-badge,
.revex-app .players-online-panel,
.revex-app .players-online-search-modern,
.revex-app .players-online-table-shell,
.revex-app .players-online-tab-row,
.revex-app .players-online-tab-id-badge,
.revex-app .primary-button,
.revex-app .secondary-button,
.revex-app .danger-button,
.revex-app .logout-link,
.revex-app input,
.revex-app textarea,
.revex-app select,
.revex-app .field-group,
.revex-app .field-glow,
.revex-app .toast,
.revex-app .revex-page-loader-logo {
    border-radius: 0 !important;
}

.revex-app .revex-sidebar {
    width: auto !important;
    background: linear-gradient(180deg, rgba(7, 12, 18, 0.98), rgba(4, 9, 14, 0.99)) !important;
    border-right: 1px solid rgba(255,255,255,0.07) !important;
}

.revex-app .revex-brand {
    gap: 12px !important;
    align-items: center !important;
}

.revex-app .revex-brand-logo {
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.revex-app .revex-brand-logo img {
    width: 38px !important;
    height: 38px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.2)) !important;
}

.revex-app .revex-brand-title {
    font-size: 14px !important;
    font-weight: 800 !important;
}

.revex-app .revex-brand-subtitle {
    max-width: 180px !important;
    white-space: normal !important;
    overflow: visible !important;
}

.revex-app .revex-nav {
    gap: 5px !important;
}

.revex-app .revex-nav > .revex-nav-link,
.revex-app .revex-nav > .revex-nav-link-home,
.revex-app .revex-nav > .revex-nav-link-primary {
    min-height: 52px !important;
    padding: 8px 10px !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    isolation: isolate !important;
    will-change: background-color, border-color, color !important;
}

.revex-app .revex-nav > .revex-nav-link::before,
.revex-app .revex-nav > .revex-nav-link:hover::before,
.revex-app .revex-nav > .revex-nav-link.is-active::before {
    content: none !important;
    display: none !important;
    opacity: 0 !important;
}

.revex-app .revex-nav > .revex-nav-link:hover {
    background: rgba(255,255,255,0.04) !important;
    border-color: rgba(255,255,255,0.08) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04) !important;
    transform: none !important;
}

.revex-app .revex-nav > .revex-nav-link.is-active,
.revex-app .revex-nav > .revex-nav-link-primary.is-active,
.revex-app .revex-nav > .revex-nav-link-home.is-active {
    background: rgba(14, 165, 233, 0.105) !important;
    border-color: rgba(14, 165, 233, 0.22) !important;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.025),
        inset 3px 0 0 rgba(14, 165, 233, 0.72) !important;
}

.revex-app .revex-nav-icon {
    width: 32px !important;
    height: 32px !important;
    background: rgba(255,255,255,0.028) !important;
    border-color: rgba(255,255,255,0.06) !important;
}

.revex-app .revex-nav-link:hover .revex-nav-icon,
.revex-app .revex-nav-link.is-active .revex-nav-icon {
    background: rgba(14, 165, 233, 0.12) !important;
    border-color: rgba(14, 165, 233, 0.22) !important;
}

.revex-app .revex-nav-title {
    font-size: 12.5px !important;
}

.revex-app .revex-nav-note {
    font-size: 10.5px !important;
    color: rgba(151, 164, 184, 0.78) !important;
}

.revex-app .revex-more-handle {
    grid-template-columns: 28px minmax(0, 1fr) !important;
    min-height: 56px !important;
    padding: 9px 10px !important;
    background: rgba(255,255,255,0.026) !important;
    border-color: rgba(255,255,255,0.065) !important;
    overflow: hidden !important;
}

.revex-app .revex-more-handle:hover:not(:disabled) {
    background: rgba(255,255,255,0.045) !important;
    border-color: rgba(14, 165, 233, 0.22) !important;
    box-shadow: inset 3px 0 0 rgba(14, 165, 233, 0.58) !important;
}

.revex-app .revex-more-handle-icon {
    width: 28px !important;
    height: 28px !important;
}

.revex-app .revex-more-handle-copy strong {
    display: block !important;
    max-width: none !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    font-size: 11.5px !important;
    line-height: 1.22 !important;
}

.revex-app .revex-more-handle-copy small {
    display: none !important;
}

.revex-app .revex-profile-card-sidebar {
    min-height: 54px !important;
    background: rgba(255,255,255,0.026) !important;
}

.revex-app .revex-main {
    padding: 18px 20px 22px !important;
}

.revex-app .workspace-shell,
.revex-app .profile-page,
.revex-app .monitoring-shell,
.revex-app .players-online-page-shell {
    padding: 22px !important;
    background: linear-gradient(180deg, rgba(13, 20, 29, 0.88), rgba(8, 13, 20, 0.92)) !important;
    border-color: rgba(255,255,255,0.07) !important;
    box-shadow: none !important;
}

.revex-app .profile-page-topline,
.revex-app .profile-identity-card-topline,
.revex-app .monitoring-card-topline,
.revex-app .revex-extra-sheet-topline,
.revex-app .revex-extra-section-label,
.revex-app .revex-chat-sheet-topline {
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    color: rgba(56, 189, 248, 0.68) !important;
}

.revex-app .monitoring-card-topline {
    margin-bottom: 5px !important;
}

.revex-app h1 {
    font-size: clamp(24px, 1.9vw, 30px) !important;
}

.revex-app h2,
.revex-app .players-online-panel-head h2 {
    font-size: 22px !important;
}

.revex-app .monitoring-top-strip,
.revex-app .monitoring-kpi-grid,
.revex-app .monitoring-live-summary {
    gap: 10px !important;
}

.revex-app .monitoring-stat-box,
.revex-app .monitoring-card,
.revex-app .players-online-panel,
.revex-app .profile-avatar-block-upgraded,
.revex-app .profile-identity-card,
.revex-app .profile-role-panel {
    background: rgba(255,255,255,0.024) !important;
}

.revex-app .monitoring-stat-box strong {
    font-size: 23px !important;
}

.revex-app .monitoring-stat-box-hero strong {
    font-size: 31px !important;
}

.revex-app .monitoring-player-row,
.revex-app .players-online-tab-row {
    background: rgba(7, 13, 20, 0.62) !important;
    border-color: rgba(255,255,255,0.07) !important;
}

.revex-app .revex-extra-modal,
.revex-app .revex-admin-modal,
.revex-app .revex-chat-modal {
    font-family: 'Inter', system-ui, sans-serif !important;
}

.revex-app .revex-extra-sheet,
.revex-app .revex-admin-sheet,
.revex-app .revex-chat-sheet,
.revex-app .revex-chat-overlay-card {
    border-radius: 0 !important;
    background: linear-gradient(180deg, rgba(10, 16, 24, 0.985), rgba(6, 11, 17, 0.99)) !important;
    border: 1px solid rgba(255,255,255,0.075) !important;
    box-shadow: 0 24px 70px rgba(0,0,0,0.46) !important;
}

.revex-app .revex-extra-sheet,
.revex-app .revex-admin-sheet {
    width: min(1040px, calc(100vw - 48px)) !important;
    padding: 22px !important;
}

.revex-app .revex-launcher-sheet {
    width: min(1180px, calc(100vw - 48px)) !important;
}

.revex-app .revex-extra-sheet::before,
.revex-app .revex-extra-card::after,
.revex-app .revex-chat-fab::before {
    display: none !important;
}

.revex-app .revex-extra-sheet-head,
.revex-app .revex-extra-toolbar,
.revex-app .revex-chat-sheet-head,
.revex-app .revex-chat-thread-head {
    border-radius: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.065) !important;
    background: transparent !important;
    box-shadow: none !important;
}

.revex-app .revex-extra-sheet-head {
    padding-bottom: 14px !important;
    gap: 18px !important;
}

.revex-app .revex-extra-sheet-head h2,
.revex-app .revex-chat-sheet-title h2 {
    font-size: 22px !important;
    line-height: 1.15 !important;
}

.revex-app .revex-extra-sheet-head p {
    max-width: 720px !important;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
}

.revex-app .revex-extra-close,
.revex-app .revex-chat-close,
.revex-app .revex-chat-overlay-close,
.revex-app .revex-chat-plus,
.revex-app .revex-chat-send,
.revex-app .revex-chat-pin-button,
.revex-app .revex-chat-thread-main-icon {
    border-radius: 0 !important;
}

.revex-app .revex-extra-search,
.revex-app .revex-chat-text-field,
.revex-app .revex-chat-file-field,
.revex-app .revex-chat-input-wrap,
.revex-app .revex-chat-composer-shell {
    border-radius: 0 !important;
    background: rgba(255,255,255,0.026) !important;
    border-color: rgba(255,255,255,0.07) !important;
    box-shadow: none !important;
}

.revex-app .revex-extra-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

.revex-app .revex-extra-card,
.revex-app .revex-launcher-card,
.revex-app .revex-launcher-status-pill,
.revex-app .revex-launcher-update-note,
.revex-app .revex-launcher-upload-button,
.revex-app .revex-launcher-news-slot-indicator,
.revex-app .revex-launcher-preview-card {
    border-radius: 0 !important;
    background: rgba(255,255,255,0.026) !important;
    border: 1px solid rgba(255,255,255,0.07) !important;
    box-shadow: none !important;
}

.revex-app .revex-extra-card {
    min-height: 126px !important;
    padding: 15px !important;
    transform: none !important;
}

.revex-app .revex-extra-card:hover {
    background: rgba(255,255,255,0.042) !important;
    border-color: rgba(14, 165, 233, 0.22) !important;
    box-shadow: inset 3px 0 0 rgba(14, 165, 233, 0.52) !important;
    transform: none !important;
}

.revex-app .revex-extra-card-icon,
.revex-app .revex-extra-pin,
.revex-app .revex-extra-open-link {
    border-radius: 0 !important;
}

.revex-app .revex-extra-card-meta strong {
    font-size: 15px !important;
    line-height: 1.25 !important;
}

.revex-app .revex-extra-card-meta p {
    font-size: 12px !important;
    line-height: 1.45 !important;
}

.revex-app .revex-chat-fab {
    width: 52px !important;
    height: 52px !important;
    border-radius: 0 !important;
    background: rgba(14, 165, 233, 0.18) !important;
    border: 1px solid rgba(56, 189, 248, 0.34) !important;
    box-shadow: 0 18px 38px rgba(0,0,0,0.28) !important;
}

.revex-app .revex-chat-fab:hover {
    background: rgba(14, 165, 233, 0.28) !important;
    transform: translateY(-1px) !important;
}

.revex-app .revex-chat-sheet {
    width: min(1080px, calc(100vw - 48px)) !important;
    height: min(760px, calc(100vh - 48px)) !important;
}

.revex-app .revex-chat-sheet-head {
    padding: 16px 18px !important;
}

.revex-app .revex-chat-shell {
    display: grid !important;
    grid-template-columns: 300px minmax(0, 1fr) !important;
    gap: 0 !important;
    min-height: 0 !important;
    background: transparent !important;
}

.revex-app .revex-chat-sidebar,
.revex-app .revex-chat-thread {
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.revex-app .revex-chat-sidebar {
    border-right: 1px solid rgba(255,255,255,0.065) !important;
}

.revex-app .revex-chat-sidebar-head {
    padding: 16px !important;
    border-bottom: 1px solid rgba(255,255,255,0.065) !important;
}

.revex-app .revex-chat-sidebar-brand strong {
    font-size: 13px !important;
    line-height: 1.25 !important;
}

.revex-app .revex-chat-sidebar-brand small {
    font-size: 11px !important;
    line-height: 1.4 !important;
}

.revex-app .revex-chat-list {
    padding: 10px !important;
}

.revex-app .revex-chat-item,
.revex-app .revex-chat-menu,
.revex-app .revex-chat-menu-item,
.revex-app .revex-chat-context-menu,
.revex-app .revex-chat-context-menu-item,
.revex-app .revex-chat-user-item,
.revex-app .revex-chat-member-row,
.revex-app .revex-chat-settings-hero,
.revex-app .revex-chat-settings-card,
.revex-app .revex-chat-avatar-preview-card {
    border-radius: 0 !important;
    background: rgba(255,255,255,0.024) !important;
    border-color: rgba(255,255,255,0.065) !important;
    box-shadow: none !important;
}

.revex-app .revex-chat-item:hover,
.revex-app .revex-chat-menu-item:hover,
.revex-app .revex-chat-context-menu-item:hover,
.revex-app .revex-chat-user-item:hover,
.revex-app .revex-chat-member-row:hover {
    background: rgba(255,255,255,0.04) !important;
    border-color: rgba(14, 165, 233, 0.18) !important;
    transform: none !important;
}

.revex-app .revex-chat-item.is-active,
.revex-app .revex-chat-user-item.is-selected {
    background: rgba(14, 165, 233, 0.105) !important;
    border-color: rgba(14, 165, 233, 0.22) !important;
    box-shadow: inset 3px 0 0 rgba(14, 165, 233, 0.56) !important;
}

.revex-app .revex-chat-item-avatar,
.revex-app .revex-chat-message-avatar,
.revex-app .revex-chat-member-avatar,
.revex-app .revex-chat-avatar,
.revex-app .revex-chat-settings-avatar,
.revex-app .revex-chat-settings-avatar-frame,
.revex-app .revex-chat-avatar-preview,
.revex-app .revex-chat-avatar-preview-frame,
.revex-app .revex-chat-check,
.revex-app .revex-chat-user-badge,
.revex-app .revex-chat-item-badge,
.revex-app .revex-chat-item-pin-tag {
    border-radius: 0 !important;
}

.revex-app .revex-chat-messages {
    padding: 16px !important;
    background: rgba(0,0,0,0.08) !important;
}

.revex-app .revex-chat-bubble {
    border-radius: 0 !important;
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.065) !important;
    box-shadow: none !important;
}

.revex-app .revex-chat-message.is-me .revex-chat-bubble {
    background: rgba(14, 165, 233, 0.12) !important;
    border-color: rgba(14, 165, 233, 0.2) !important;
}

.revex-app .revex-chat-composer {
    padding: 14px 16px !important;
    border-top: 1px solid rgba(255,255,255,0.065) !important;
}

.revex-app .revex-chat-composer-shell {
    padding: 8px !important;
}

.revex-app .revex-chat-input {
    min-height: 42px !important;
    font-size: 13px !important;
}

.revex-app .revex-chat-send {
    min-height: 42px !important;
    padding: 0 14px !important;
}

.revex-app .revex-admin-form,
.revex-app .revex-admin-result {
    gap: 12px !important;
}

.revex-app .revex-admin-result,
.revex-app .register-admin-summary,
.revex-app .register-admin-summary-card {
    border-radius: 0 !important;
    background: rgba(255,255,255,0.026) !important;
    border-color: rgba(255,255,255,0.07) !important;
}

@media (max-width: 1180px) {
    .revex-app .revex-extra-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 860px) {
    .revex-app .revex-extra-sheet,
    .revex-app .revex-admin-sheet,
    .revex-app .revex-chat-sheet {
        width: calc(100vw - 28px) !important;
        height: calc(100vh - 28px) !important;
        padding: 16px !important;
    }

    .revex-app .revex-chat-shell {
        grid-template-columns: 1fr !important;
    }

    .revex-app .revex-chat-sidebar {
        border-right: 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.065) !important;
        max-height: 230px !important;
    }
}

@media (max-width: 640px) {
    .revex-app .revex-extra-grid {
        grid-template-columns: 1fr !important;
    }

    .revex-app .revex-more-handle {
        grid-template-columns: 1fr !important;
    }

    .revex-app .revex-more-handle-icon {
        display: none !important;
    }
}

/* 2026-06-03: balanced premium rounding pass after hard-edge test. */
.revex-app {
    grid-template-columns: 292px minmax(0, 1fr) !important;
    color-scheme: dark !important;
}

.revex-app .revex-sidebar {
    padding: 18px 14px !important;
    background:
        radial-gradient(circle at 18% 0%, rgba(14, 165, 233, 0.07), transparent 28%),
        linear-gradient(180deg, rgba(7, 13, 20, 0.985), rgba(4, 9, 14, 0.995)) !important;
}

.revex-app .revex-sidebar-top {
    padding: 0 4px 15px !important;
}

.revex-app .revex-brand-logo {
    width: 40px !important;
    height: 40px !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.revex-app .revex-brand-logo img {
    width: 38px !important;
    height: 38px !important;
    object-fit: contain !important;
    filter:
        drop-shadow(0 2px 7px rgba(0, 0, 0, 0.36))
        drop-shadow(0 0 10px rgba(14, 165, 233, 0.24)) !important;
}

.revex-app .revex-brand-title {
    font-size: 14.5px !important;
}

.revex-app .revex-brand-subtitle {
    font-size: 11px !important;
    color: rgba(188, 201, 219, 0.66) !important;
}

.revex-app .revex-nav {
    gap: 6px !important;
}

.revex-app .revex-nav > .revex-nav-link,
.revex-app .revex-nav > .revex-nav-link-home,
.revex-app .revex-nav > .revex-nav-link-primary {
    grid-template-columns: 36px minmax(0, 1fr) !important;
    min-height: 54px !important;
    padding: 8px 10px !important;
    border-radius: 14px !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    transform: none !important;
    box-shadow: none !important;
    transition:
        background-color 170ms ease,
        border-color 170ms ease,
        box-shadow 170ms ease,
        color 170ms ease !important;
}

.revex-app .revex-nav > .revex-nav-link::before,
.revex-app .revex-nav > .revex-nav-link::after,
.revex-app .revex-nav > .revex-nav-link-primary::after {
    content: none !important;
    display: none !important;
}

.revex-app .revex-nav > .revex-nav-link:hover {
    background: rgba(255, 255, 255, 0.042) !important;
    border-color: rgba(255, 255, 255, 0.075) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
    transform: none !important;
}

.revex-app .revex-nav > .revex-nav-link.is-active,
.revex-app .revex-nav > .revex-nav-link-primary.is-active,
.revex-app .revex-nav > .revex-nav-link-home.is-active {
    background:
        linear-gradient(90deg, rgba(14, 165, 233, 0.16), rgba(255, 255, 255, 0.035)) !important;
    border-color: rgba(14, 165, 233, 0.2) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.045),
        inset 3px 0 0 rgba(14, 165, 233, 0.74) !important;
}

.revex-app .revex-nav-icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 11px !important;
    background: rgba(255, 255, 255, 0.032) !important;
    border: 1px solid rgba(255, 255, 255, 0.065) !important;
}

.revex-app .revex-nav-link:hover .revex-nav-icon,
.revex-app .revex-nav-link.is-active .revex-nav-icon {
    background: rgba(14, 165, 233, 0.12) !important;
    border-color: rgba(14, 165, 233, 0.22) !important;
}

.revex-app .revex-nav-title {
    font-size: 12.8px !important;
    font-weight: 780 !important;
}

.revex-app .revex-nav-note {
    margin-top: 1px !important;
    font-size: 10.6px !important;
    color: rgba(154, 168, 186, 0.82) !important;
}

.revex-app .revex-sidebar-bottom {
    gap: 10px !important;
}

.revex-app .revex-more-handle {
    position: relative !important;
    width: 100% !important;
    min-height: 54px !important;
    display: grid !important;
    grid-template-columns: 36px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 11px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.032) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    box-shadow: none !important;
    transform: none !important;
    overflow: hidden !important;
}

.revex-app .revex-more-handle::before,
.revex-app .revex-more-handle::after,
.revex-app .revex-more-handle-shine {
    content: none !important;
    display: none !important;
}

.revex-app .revex-more-handle:hover:not(:disabled),
.revex-app .revex-more-handle.is-open {
    background: rgba(255, 255, 255, 0.048) !important;
    border-color: rgba(14, 165, 233, 0.22) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
    transform: none !important;
}

.revex-app .revex-more-handle-icon {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 11px !important;
    background: rgba(14, 165, 233, 0.1) !important;
    border: 1px solid rgba(14, 165, 233, 0.17) !important;
    color: rgba(125, 211, 252, 0.9) !important;
}

.revex-app .revex-more-handle-icon svg {
    width: 17px !important;
    height: 17px !important;
}

.revex-app .revex-more-handle-copy {
    min-width: 0 !important;
    width: 100% !important;
    display: block !important;
    overflow: visible !important;
}

.revex-app .revex-more-handle-copy strong {
    display: block !important;
    max-width: none !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    font-size: 11.7px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
}

.revex-app .revex-more-handle-copy small {
    display: none !important;
}

.revex-app .revex-profile-card-sidebar {
    min-height: 58px !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 8px 10px !important;
    border-radius: 14px !important;
    background: rgba(8, 15, 23, 0.76) !important;
    border: 1px solid rgba(255, 255, 255, 0.075) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.028) !important;
}

.revex-app .revex-profile-card-sidebar:hover {
    background: rgba(255, 255, 255, 0.045) !important;
    border-color: rgba(14, 165, 233, 0.18) !important;
    transform: none !important;
}

.revex-app .revex-profile-avatar {
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
}

.revex-app .revex-profile-avatar img,
.revex-app .revex-profile-avatar span {
    width: 100% !important;
    height: 100% !important;
    display: grid !important;
    place-items: center !important;
    border-radius: inherit !important;
    object-fit: cover !important;
}

.revex-app .revex-profile-meta strong {
    font-size: 12.5px !important;
    line-height: 1.25 !important;
}

.revex-app .revex-profile-meta small {
    font-size: 10.6px !important;
    line-height: 1.3 !important;
}

.revex-app .revex-main {
    padding: 18px 20px 22px !important;
}

.revex-app .workspace-shell,
.revex-app .profile-page,
.revex-app .monitoring-shell,
.revex-app .players-online-page-shell {
    border-radius: 18px !important;
    padding: 22px !important;
    background:
        linear-gradient(180deg, rgba(13, 20, 29, 0.88), rgba(8, 13, 20, 0.94)) !important;
    border: 1px solid rgba(255, 255, 255, 0.075) !important;
    box-shadow: 0 20px 52px rgba(0, 0, 0, 0.18) !important;
}

.revex-app .profile-page-header-upgraded,
.revex-app .monitoring-hero,
.revex-app .players-online-panel-head {
    border-radius: 14px !important;
    padding: 18px 20px !important;
    background: rgba(255, 255, 255, 0.018) !important;
    border: 1px solid rgba(255, 255, 255, 0.055) !important;
}

.revex-app .profile-avatar-block-upgraded,
.revex-app .profile-identity-card,
.revex-app .profile-role-panel,
.revex-app .profile-identity-item,
.revex-app .profile-role-stat,
.revex-app .monitoring-live-summary,
.revex-app .monitoring-live-summary-item,
.revex-app .monitoring-status-pill,
.revex-app .monitoring-stat-box,
.revex-app .monitoring-card,
.revex-app .monitoring-player-row,
.revex-app .players-online-panel,
.revex-app .players-online-table-shell,
.revex-app .players-online-tab-row,
.revex-app .players-online-search-modern,
.revex-app .primary-button,
.revex-app .secondary-button,
.revex-app .danger-button,
.revex-app .logout-link,
.revex-app input,
.revex-app textarea,
.revex-app select,
.revex-app .field-group,
.revex-app .field-glow {
    border-radius: 13px !important;
}

.revex-app .profile-page-avatar {
    border-radius: 22px !important;
}

.revex-app .monitoring-players-badge,
.revex-app .players-online-tab-id-badge,
.revex-app .revex-page-loader-logo {
    border-radius: 11px !important;
}

.revex-app .monitoring-top-strip,
.revex-app .monitoring-kpi-grid {
    gap: 11px !important;
}

.revex-app .monitoring-card,
.revex-app .monitoring-stat-box,
.revex-app .players-online-panel,
.revex-app .profile-avatar-block-upgraded,
.revex-app .profile-identity-card,
.revex-app .profile-role-panel {
    background: rgba(255, 255, 255, 0.028) !important;
    border-color: rgba(255, 255, 255, 0.065) !important;
}

.revex-app .monitoring-player-row,
.revex-app .players-online-tab-row {
    background: rgba(8, 14, 22, 0.72) !important;
}

.revex-app .revex-extra-sheet,
.revex-app .revex-admin-sheet,
.revex-app .revex-chat-sheet,
.revex-app .revex-chat-overlay-card {
    border-radius: 20px !important;
    background:
        radial-gradient(circle at 16% 0%, rgba(14, 165, 233, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(10, 16, 24, 0.99), rgba(6, 11, 17, 0.995)) !important;
    border: 1px solid rgba(255, 255, 255, 0.085) !important;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48) !important;
}

.revex-app .revex-extra-sheet,
.revex-app .revex-admin-sheet {
    padding: 24px !important;
}

.revex-app .revex-extra-sheet-head,
.revex-app .revex-extra-toolbar,
.revex-app .revex-chat-sheet-head,
.revex-app .revex-chat-thread-head {
    border-radius: 14px !important;
}

.revex-app .revex-extra-close,
.revex-app .revex-chat-close,
.revex-app .revex-chat-overlay-close,
.revex-app .revex-chat-plus,
.revex-app .revex-chat-send,
.revex-app .revex-chat-pin-button,
.revex-app .revex-chat-thread-main-icon,
.revex-app .revex-extra-card-icon,
.revex-app .revex-extra-pin,
.revex-app .revex-extra-open-link {
    border-radius: 12px !important;
}

.revex-app .revex-extra-search,
.revex-app .revex-chat-text-field,
.revex-app .revex-chat-file-field,
.revex-app .revex-chat-input-wrap,
.revex-app .revex-chat-composer-shell,
.revex-app .revex-extra-card,
.revex-app .revex-launcher-card,
.revex-app .revex-launcher-status-pill,
.revex-app .revex-launcher-update-note,
.revex-app .revex-launcher-upload-button,
.revex-app .revex-launcher-news-slot-indicator,
.revex-app .revex-launcher-preview-card,
.revex-app .revex-admin-result,
.revex-app .register-admin-summary,
.revex-app .register-admin-summary-card {
    border-radius: 15px !important;
}

.revex-app .revex-extra-card {
    min-height: 128px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.07) !important;
}

.revex-app .revex-extra-card:hover {
    background: rgba(255, 255, 255, 0.048) !important;
    border-color: rgba(14, 165, 233, 0.22) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.045),
        0 16px 34px rgba(0, 0, 0, 0.18) !important;
    transform: none !important;
}

.revex-app .revex-chat-fab {
    width: 54px !important;
    height: 54px !important;
    border-radius: 18px !important;
    background:
        linear-gradient(180deg, rgba(56, 189, 248, 0.3), rgba(14, 165, 233, 0.18)) !important;
    border-color: rgba(56, 189, 248, 0.34) !important;
}

.revex-app .revex-chat-sidebar,
.revex-app .revex-chat-thread {
    border-radius: 0 !important;
}

.revex-app .revex-chat-item,
.revex-app .revex-chat-menu,
.revex-app .revex-chat-menu-item,
.revex-app .revex-chat-context-menu,
.revex-app .revex-chat-context-menu-item,
.revex-app .revex-chat-user-item,
.revex-app .revex-chat-member-row,
.revex-app .revex-chat-settings-hero,
.revex-app .revex-chat-settings-card,
.revex-app .revex-chat-avatar-preview-card,
.revex-app .revex-chat-bubble {
    border-radius: 14px !important;
}

.revex-app .revex-chat-item-avatar,
.revex-app .revex-chat-message-avatar,
.revex-app .revex-chat-member-avatar,
.revex-app .revex-chat-avatar,
.revex-app .revex-chat-settings-avatar,
.revex-app .revex-chat-settings-avatar-frame,
.revex-app .revex-chat-avatar-preview,
.revex-app .revex-chat-avatar-preview-frame {
    border-radius: 13px !important;
}

.revex-app .revex-chat-check,
.revex-app .revex-chat-user-badge,
.revex-app .revex-chat-item-badge,
.revex-app .revex-chat-item-pin-tag {
    border-radius: 999px !important;
}

.revex-app .revex-chat-composer-shell:focus-within,
.revex-app .revex-extra-search:focus-within,
.revex-app input:focus,
.revex-app textarea:focus,
.revex-app select:focus {
    border-color: rgba(14, 165, 233, 0.24) !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.075) !important;
}

@media (max-width: 1180px) {
    .revex-app {
        grid-template-columns: 270px minmax(0, 1fr) !important;
    }

    .revex-app .revex-more-handle-copy strong {
        font-size: 11.2px !important;
    }
}

@media (max-width: 860px) {
    .revex-app .revex-sidebar {
        padding: 14px !important;
    }

    .revex-app .revex-more-handle {
        grid-template-columns: 34px minmax(0, 1fr) !important;
    }

    .revex-app .workspace-shell,
    .revex-app .profile-page,
    .revex-app .monitoring-shell,
    .revex-app .players-online-page-shell {
        border-radius: 16px !important;
        padding: 18px !important;
    }
}

@media (max-width: 640px) {
    .revex-app .revex-more-handle {
        grid-template-columns: 34px minmax(0, 1fr) !important;
    }

    .revex-app .revex-more-handle-icon {
        display: grid !important;
    }

    .revex-app .revex-more-handle-copy strong {
        white-space: normal !important;
        line-height: 1.25 !important;
    }
}

/* 2026-06-03: sidebar tools button grid correction. */
.revex-app .revex-sidebar-bottom .revex-more-handle {
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) !important;
    grid-auto-flow: column !important;
    justify-content: stretch !important;
    justify-items: stretch !important;
    align-items: center !important;
}

.revex-app .revex-sidebar-bottom .revex-more-handle .revex-more-handle-icon {
    grid-column: 1 !important;
    justify-self: start !important;
    order: 0 !important;
    margin: 0 !important;
}

.revex-app .revex-sidebar-bottom .revex-more-handle .revex-more-handle-copy {
    grid-column: 2 !important;
    justify-self: stretch !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    order: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

.revex-app .revex-sidebar-bottom .revex-more-handle .revex-more-handle-copy strong {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
}

.revex-app [hidden] {
    display: none !important;
}

/* 2026-06-03: new extra tools command center + polished chat launcher. */
.revex-app .revex-extra-command-panel {
    width: min(920px, calc(100vw - 44px)) !important;
    min-height: 440px !important;
    max-height: calc(100vh - 56px) !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 250px minmax(0, 1fr) !important;
    overflow: hidden !important;
    border-radius: 22px !important;
    background:
        linear-gradient(135deg, rgba(14, 165, 233, 0.055), transparent 34%),
        linear-gradient(180deg, rgba(9, 15, 23, 0.99), rgba(5, 10, 16, 0.995)) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    box-shadow:
        0 30px 82px rgba(0, 0, 0, 0.52),
        inset 0 1px 0 rgba(255, 255, 255, 0.045) !important;
}

.revex-app .revex-extra-command-panel::before,
.revex-app .revex-extra-command-panel::after {
    display: none !important;
}

.revex-app .revex-extra-rail {
    min-width: 0 !important;
    display: grid !important;
    align-content: space-between !important;
    gap: 20px !important;
    padding: 22px !important;
    background:
        radial-gradient(circle at 26% 5%, rgba(14, 165, 233, 0.18), transparent 32%),
        linear-gradient(180deg, rgba(8, 14, 22, 0.98), rgba(4, 8, 13, 0.99)) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.revex-app .revex-extra-rail-brand {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 11px !important;
}

.revex-app .revex-extra-rail-logo {
    width: 42px !important;
    height: 42px !important;
    display: grid !important;
    place-items: center !important;
}

.revex-app .revex-extra-rail-logo img {
    width: 38px !important;
    height: 38px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 0 12px rgba(14, 165, 233, 0.28)) !important;
}

.revex-app .revex-extra-rail-brand strong {
    display: block !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 850 !important;
    color: #f5f8fc !important;
}

.revex-app .revex-extra-rail-brand small,
.revex-app .revex-extra-rail-copy small,
.revex-app .revex-extra-rail-note {
    display: block !important;
    margin-top: 4px !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    color: rgba(180, 193, 213, 0.66) !important;
}

.revex-app .revex-extra-rail-copy {
    padding: 16px !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.035) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.revex-app .revex-extra-rail-copy span {
    display: block !important;
    font-size: 10.5px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: rgba(56, 189, 248, 0.78) !important;
}

.revex-app .revex-extra-rail-copy strong {
    display: block !important;
    margin-top: 8px !important;
    font-size: 36px !important;
    line-height: 1 !important;
    font-weight: 850 !important;
    color: #ffffff !important;
}

.revex-app .revex-extra-rail-note {
    padding-top: 14px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.revex-app .revex-extra-body {
    min-width: 0 !important;
    display: grid !important;
    grid-template-rows: auto auto minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 22px !important;
    overflow: hidden !important;
}

.revex-app .revex-extra-command-panel .revex-extra-sheet-head {
    padding: 0 0 14px !important;
    min-height: auto !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 16px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.revex-app .revex-extra-command-panel .revex-extra-sheet-topline {
    margin-bottom: 7px !important;
    font-size: 10.5px !important;
    line-height: 1.2 !important;
    color: rgba(56, 189, 248, 0.76) !important;
}

.revex-app .revex-extra-command-panel .revex-extra-sheet-head h2 {
    margin: 0 !important;
    font-size: 24px !important;
    line-height: 1.1 !important;
    font-weight: 850 !important;
    color: #f5f8fc !important;
}

.revex-app .revex-extra-command-panel .revex-extra-sheet-head p {
    margin-top: 7px !important;
    max-width: 480px !important;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    color: rgba(193, 205, 223, 0.74) !important;
}

.revex-app .revex-extra-command-panel .revex-extra-close {
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
    border-radius: 13px !important;
    background: rgba(255, 255, 255, 0.035) !important;
    border: 1px solid rgba(255, 255, 255, 0.075) !important;
    color: rgba(231, 238, 248, 0.78) !important;
    box-shadow: none !important;
}

.revex-app .revex-extra-command-panel .revex-extra-close:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(14, 165, 233, 0.22) !important;
    color: #ffffff !important;
    transform: none !important;
}

.revex-app .revex-extra-command-panel .revex-extra-toolbar {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.revex-app .revex-extra-command-panel .revex-extra-search {
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 13px !important;
    display: grid !important;
    grid-template-columns: 22px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.032) !important;
    border: 1px solid rgba(255, 255, 255, 0.075) !important;
    box-shadow: none !important;
}

.revex-app .revex-extra-command-panel .revex-extra-search:focus-within {
    border-color: rgba(14, 165, 233, 0.26) !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.08) !important;
}

.revex-app .revex-extra-command-panel .revex-extra-search-icon {
    width: 22px !important;
    height: 22px !important;
    display: grid !important;
    place-items: center !important;
    color: rgba(56, 189, 248, 0.84) !important;
    background: transparent !important;
    border: 0 !important;
}

.revex-app .revex-extra-command-panel .revex-extra-search-icon svg {
    width: 17px !important;
    height: 17px !important;
}

.revex-app .revex-extra-command-panel .revex-extra-search input {
    width: 100% !important;
    min-width: 0 !important;
    height: 42px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #eef4fb !important;
    font-size: 13px !important;
    font-weight: 650 !important;
}

.revex-app .revex-extra-command-panel .revex-extra-all {
    min-height: 0 !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    gap: 10px !important;
    overflow: hidden !important;
}

.revex-app .revex-extra-section-head {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 12px !important;
}

.revex-app .revex-extra-section-head small {
    font-size: 11px !important;
    color: rgba(169, 183, 203, 0.7) !important;
}

.revex-app .revex-extra-command-panel .revex-extra-section-label {
    font-size: 10.5px !important;
    line-height: 1.2 !important;
    color: rgba(56, 189, 248, 0.76) !important;
}

.revex-app .revex-extra-command-panel .revex-extra-grid {
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-content: start !important;
    gap: 10px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 0 2px 2px 0 !important;
}

.revex-app .revex-extra-command-panel .revex-extra-card,
.revex-app .revex-extra-command-panel .revex-extra-card[data-span] {
    grid-column: auto !important;
    min-height: 92px !important;
    display: grid !important;
    grid-template-columns: 46px minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 13px !important;
    padding: 13px !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.032) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    box-shadow: none !important;
    transform: none !important;
}

.revex-app .revex-extra-command-panel .revex-extra-card:hover,
.revex-app .revex-extra-command-panel .revex-extra-card:focus-visible {
    background: rgba(255, 255, 255, 0.052) !important;
    border-color: rgba(14, 165, 233, 0.24) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.045),
        0 14px 28px rgba(0, 0, 0, 0.18) !important;
    outline: 0 !important;
}

.revex-app .revex-extra-command-panel .revex-extra-card-icon {
    width: 46px !important;
    height: 46px !important;
    border-radius: 14px !important;
    display: grid !important;
    place-items: center !important;
    background: rgba(14, 165, 233, 0.11) !important;
    border: 1px solid rgba(14, 165, 233, 0.18) !important;
    color: rgba(56, 189, 248, 0.92) !important;
}

.revex-app .revex-extra-command-panel .revex-extra-card-icon svg {
    width: 21px !important;
    height: 21px !important;
}

.revex-app .revex-extra-command-panel .revex-extra-card-meta {
    min-width: 0 !important;
    gap: 5px !important;
    display: grid !important;
}

.revex-app .revex-extra-command-panel .revex-extra-card-meta strong {
    font-size: 14.5px !important;
    line-height: 1.24 !important;
    font-weight: 850 !important;
    color: #f4f7fb !important;
}

.revex-app .revex-extra-command-panel .revex-extra-card-meta p {
    margin: 0 !important;
    max-width: 430px !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    color: rgba(185, 199, 218, 0.72) !important;
}

.revex-app .revex-extra-command-panel .revex-extra-card-tag {
    width: max-content !important;
    max-width: 100% !important;
    height: 23px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 9px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.055) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    color: rgba(221, 231, 245, 0.78) !important;
    font-size: 9.5px !important;
    line-height: 1 !important;
    font-weight: 850 !important;
}

.revex-app .revex-extra-command-panel .revex-extra-card-actions {
    min-width: 88px !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
}

.revex-app .revex-extra-command-panel .revex-extra-card:not(.is-locked) .revex-extra-card-actions::before {
    content: "Открыть" !important;
    height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 13px !important;
    border-radius: 11px !important;
    background: rgba(14, 165, 233, 0.14) !important;
    border: 1px solid rgba(14, 165, 233, 0.22) !important;
    color: rgba(186, 230, 253, 0.96) !important;
    font-size: 11px !important;
    font-weight: 850 !important;
}

.revex-app .revex-extra-command-panel .revex-extra-pin {
    display: none !important;
}

.revex-app .revex-extra-command-panel .revex-extra-lock-badge {
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 11px !important;
    border-radius: 11px !important;
    background: rgba(255, 255, 255, 0.045) !important;
    border: 1px solid rgba(255, 255, 255, 0.075) !important;
    color: rgba(196, 207, 224, 0.76) !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
}

.revex-app .revex-extra-command-panel .revex-extra-empty {
    min-height: 116px !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.028) !important;
    border: 1px dashed rgba(255, 255, 255, 0.09) !important;
    color: rgba(190, 203, 221, 0.72) !important;
    font-size: 13px !important;
}

.revex-app .revex-chat-fab {
    right: 26px !important;
    bottom: 26px !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    border-radius: 19px !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    background:
        linear-gradient(180deg, rgba(56, 189, 248, 0.96), rgba(14, 165, 233, 0.92)) !important;
    border: 1px solid rgba(56, 189, 248, 0.42) !important;
    color: #101721 !important;
    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(14, 165, 233, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.34) !important;
    transform: none !important;
    overflow: hidden !important;
}

.revex-app .revex-chat-fab::before,
.revex-app .revex-chat-fab::after {
    content: none !important;
    display: none !important;
}

.revex-app .revex-chat-fab:hover {
    background:
        linear-gradient(180deg, rgba(56, 189, 248, 1), rgba(14, 165, 233, 0.96)) !important;
    border-color: rgba(186, 230, 253, 0.58) !important;
    box-shadow:
        0 22px 44px rgba(0, 0, 0, 0.38),
        0 0 0 4px rgba(14, 165, 233, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.38) !important;
    transform: translateY(-2px) !important;
}

.revex-app .revex-chat-fab:active {
    transform: translateY(0) !important;
}

.revex-app .revex-chat-fab-icon {
    width: 28px !important;
    height: 28px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: currentColor !important;
}

.revex-app .revex-chat-fab-icon svg {
    width: 24px !important;
    height: 24px !important;
    stroke-width: 2.15 !important;
}

@media (max-width: 860px) {
    .revex-app .revex-extra-command-panel {
        grid-template-columns: 1fr !important;
        width: calc(100vw - 28px) !important;
        max-height: calc(100vh - 28px) !important;
    }

    .revex-app .revex-extra-rail {
        display: none !important;
    }

    .revex-app .revex-extra-body {
        padding: 18px !important;
    }

    .revex-app .revex-extra-command-panel .revex-extra-card {
        grid-template-columns: 42px minmax(0, 1fr) !important;
    }

    .revex-app .revex-extra-command-panel .revex-extra-card-actions {
        grid-column: 1 / -1 !important;
        justify-content: flex-start !important;
        min-width: 0 !important;
    }

    .revex-app .revex-chat-fab {
        right: 18px !important;
        bottom: 18px !important;
    }
}

/* 2026-06-03: clean extra tools, admin assignment and launcher settings modals. */
.revex-app .revex-extra-command-panel {
    width: min(760px, calc(100vw - 44px)) !important;
    min-height: 0 !important;
    max-height: calc(100vh - 56px) !important;
    grid-template-columns: minmax(0, 1fr) !important;
}

.revex-app .revex-extra-command-panel .revex-extra-body {
    padding: 24px !important;
}

.revex-app .revex-extra-command-panel .revex-extra-sheet-head h2 {
    font-size: 26px !important;
}

.revex-app .revex-extra-command-panel .revex-extra-grid {
    max-height: min(340px, calc(100vh - 330px)) !important;
}

.revex-app .revex-extra-command-panel .revex-extra-card,
.revex-app .revex-extra-command-panel .revex-extra-card[data-span] {
    min-height: 90px !important;
    grid-template-columns: 46px minmax(0, 1fr) 86px !important;
}

.revex-app .revex-extra-command-panel .revex-extra-card-actions {
    min-width: 86px !important;
}

.revex-app .revex-admin-sheet {
    width: min(640px, calc(100vw - 44px)) !important;
    max-height: calc(100vh - 56px) !important;
    padding: 24px !important;
    display: grid !important;
    gap: 16px !important;
    overflow: auto !important;
    border-radius: 22px !important;
}

.revex-app .revex-admin-sheet .revex-extra-sheet-head {
    padding: 0 0 15px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075) !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.revex-app .revex-admin-sheet .revex-extra-sheet-head h2 {
    margin: 0 !important;
    font-size: 25px !important;
    line-height: 1.12 !important;
    font-weight: 850 !important;
    color: #f5f8fc !important;
}

.revex-app .revex-admin-sheet .revex-extra-sheet-head p {
    margin-top: 8px !important;
    max-width: 470px !important;
    font-size: 12.8px !important;
    line-height: 1.48 !important;
    color: rgba(193, 205, 223, 0.74) !important;
}

.revex-app .revex-admin-form {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

.revex-app .revex-admin-form .field-group:first-child {
    grid-column: 1 / -1 !important;
}

.revex-app .revex-admin-sheet .field-group,
.revex-app .revex-launcher-sheet .field-group {
    min-width: 0 !important;
    display: grid !important;
    gap: 8px !important;
    padding: 12px !important;
    border-radius: 15px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    box-shadow: none !important;
}

.revex-app .revex-admin-sheet .field-group > span,
.revex-app .revex-launcher-sheet .field-group > span,
.revex-app .revex-launcher-field-label {
    font-size: 10.5px !important;
    line-height: 1.2 !important;
    font-weight: 850 !important;
    text-transform: uppercase !important;
    color: rgba(56, 189, 248, 0.76) !important;
}

.revex-app .revex-admin-sheet input,
.revex-app .revex-launcher-sheet input,
.revex-app .revex-launcher-sheet textarea,
.revex-app .revex-launcher-sheet select {
    width: 100% !important;
    min-width: 0 !important;
    border-radius: 12px !important;
    background: rgba(6, 12, 19, 0.78) !important;
    border: 1px solid rgba(255, 255, 255, 0.075) !important;
    color: #f2f6fb !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025) !important;
}

.revex-app .revex-admin-sheet input,
.revex-app .revex-launcher-sheet input,
.revex-app .revex-launcher-sheet select {
    min-height: 44px !important;
    padding: 0 13px !important;
}

.revex-app .revex-launcher-sheet textarea {
    min-height: 120px !important;
    padding: 12px 13px !important;
    resize: vertical !important;
}

.revex-app .revex-admin-sheet input::placeholder,
.revex-app .revex-launcher-sheet input::placeholder,
.revex-app .revex-launcher-sheet textarea::placeholder {
    color: rgba(170, 184, 204, 0.56) !important;
    font-weight: 600 !important;
}

.revex-app .revex-admin-actions,
.revex-app .revex-launcher-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    margin-top: 2px !important;
}

.revex-app .revex-admin-actions .primary-button,
.revex-app .revex-admin-actions .danger-button,
.revex-app .revex-launcher-actions .primary-button,
.revex-app .revex-launcher-actions .secondary-button,
.revex-app .revex-launcher-actions .danger-button {
    min-height: 42px !important;
    padding: 0 16px !important;
    border-radius: 13px !important;
    font-size: 12.5px !important;
}

.revex-app .revex-admin-result {
    padding: 14px !important;
    border-radius: 15px !important;
    background: rgba(14, 165, 233, 0.08) !important;
    border: 1px solid rgba(14, 165, 233, 0.16) !important;
}

.revex-app .revex-launcher-sheet {
    width: min(1120px, calc(100vw - 44px)) !important;
    max-height: calc(100vh - 44px) !important;
    padding: 24px !important;
    display: grid !important;
    grid-template-rows: auto auto minmax(0, 1fr) !important;
    gap: 14px !important;
    overflow: hidden !important;
    border-radius: 22px !important;
}

.revex-app .revex-launcher-sheet .revex-extra-sheet-head {
    padding: 0 0 15px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075) !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.revex-app .revex-launcher-sheet .revex-extra-sheet-head h2 {
    margin: 0 !important;
    font-size: 26px !important;
    line-height: 1.12 !important;
    font-weight: 850 !important;
}

.revex-app .revex-launcher-sheet .revex-extra-sheet-head p {
    margin-top: 8px !important;
    max-width: 620px !important;
    font-size: 12.8px !important;
    line-height: 1.48 !important;
}

.revex-app .revex-launcher-statusbar {
    display: grid !important;
    grid-template-columns: minmax(220px, max-content) minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
}

.revex-app .revex-launcher-status-pill,
.revex-app .revex-launcher-status-note {
    min-height: 42px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.revex-app .revex-launcher-status-pill {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    padding: 0 13px !important;
    color: rgba(232, 239, 249, 0.88) !important;
    font-size: 12px !important;
    font-weight: 750 !important;
}

.revex-app .revex-launcher-status-note {
    display: flex !important;
    align-items: center !important;
    padding: 0 13px !important;
    color: rgba(181, 196, 216, 0.72) !important;
    font-size: 12px !important;
}

.revex-app .revex-launcher-grid {
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(320px, 0.92fr) minmax(380px, 1.08fr) !important;
    gap: 14px !important;
    overflow: auto !important;
    padding-right: 2px !important;
}

.revex-app .revex-launcher-card {
    min-height: 0 !important;
    display: grid !important;
    align-content: start !important;
    gap: 13px !important;
    padding: 17px !important;
    border-radius: 17px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    box-shadow: none !important;
}

.revex-app .revex-launcher-card-head h3 {
    margin: 0 !important;
    font-size: 17px !important;
    line-height: 1.2 !important;
    font-weight: 850 !important;
    color: #f5f8fc !important;
}

.revex-app .revex-launcher-card-head p {
    margin-top: 6px !important;
    max-width: 560px !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    color: rgba(185, 199, 218, 0.72) !important;
}

.revex-app .revex-launcher-update-note {
    display: grid !important;
    gap: 7px !important;
    padding: 12px !important;
    border-radius: 14px !important;
    background: rgba(14, 165, 233, 0.075) !important;
    border: 1px solid rgba(14, 165, 233, 0.14) !important;
}

.revex-app .revex-launcher-update-label {
    font-size: 10.5px !important;
    line-height: 1.2 !important;
    font-weight: 850 !important;
    text-transform: uppercase !important;
    color: rgba(56, 189, 248, 0.82) !important;
}

.revex-app .revex-launcher-update-note code {
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    font-size: 11.5px !important;
    color: rgba(239, 246, 255, 0.84) !important;
}

.revex-app .revex-launcher-form-grid,
.revex-app .revex-launcher-form-grid-2 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

.revex-app .revex-launcher-form-grid:not(.revex-launcher-form-grid-2) {
    grid-template-columns: 1fr !important;
}

.revex-app .revex-launcher-news-editor {
    display: grid !important;
    gap: 10px !important;
}

.revex-app .revex-launcher-news-editor-top {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(160px, 210px) !important;
    gap: 10px !important;
    align-items: stretch !important;
}

.revex-app .revex-launcher-news-slot-indicator {
    min-height: 70px !important;
    display: flex !important;
    align-items: center !important;
    padding: 12px !important;
    border-radius: 15px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    color: rgba(232, 239, 249, 0.86) !important;
    font-size: 12.5px !important;
    font-weight: 750 !important;
}

.revex-app .revex-launcher-upload-button {
    min-height: 58px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 11px 13px !important;
    border-radius: 13px !important;
    background: rgba(6, 12, 19, 0.78) !important;
    border: 1px dashed rgba(255, 255, 255, 0.13) !important;
    box-shadow: none !important;
}

.revex-app .revex-launcher-upload-button:hover {
    border-color: rgba(14, 165, 233, 0.28) !important;
    background: rgba(14, 165, 233, 0.08) !important;
    transform: none !important;
}

.revex-app .revex-launcher-upload-button-copy strong {
    font-size: 12.5px !important;
    line-height: 1.25 !important;
    color: #f2f6fb !important;
}

.revex-app .revex-launcher-upload-button-copy small {
    margin-top: 4px !important;
    font-size: 11px !important;
    color: rgba(170, 184, 204, 0.7) !important;
}

.revex-app .revex-launcher-preview-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    max-height: 170px !important;
    overflow: auto !important;
}

.revex-app .revex-launcher-preview-card {
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.028) !important;
    border-color: rgba(255, 255, 255, 0.07) !important;
}

.revex-app .revex-launcher-sheet code,
.revex-app .revex-launcher-sheet a,
.revex-app .revex-launcher-sheet span,
.revex-app .revex-launcher-sheet small,
.revex-app .revex-launcher-sheet strong,
.revex-app .revex-launcher-preview-card * {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
}

.revex-app .revex-launcher-preview-copy small,
.revex-app .revex-launcher-preview-copy strong,
.revex-app .revex-launcher-preview-card small,
.revex-app .revex-launcher-preview-card strong {
    white-space: normal !important;
}

@media (max-width: 980px) {
    .revex-app .revex-launcher-grid,
    .revex-app .revex-launcher-statusbar,
    .revex-app .revex-launcher-news-editor-top,
    .revex-app .revex-launcher-form-grid-2 {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 700px) {
    .revex-app .revex-admin-form {
        grid-template-columns: 1fr !important;
    }

    .revex-app .revex-extra-command-panel,
    .revex-app .revex-admin-sheet,
    .revex-app .revex-launcher-sheet {
        width: calc(100vw - 28px) !important;
        max-height: calc(100vh - 28px) !important;
        padding: 18px !important;
    }

    .revex-app .revex-extra-command-panel .revex-extra-body {
        padding: 0 !important;
    }
}

/* 2026-06-03: connected players list refresh. */
.revex-app .players-online-page-shell {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.revex-app .players-online-panel {
    min-height: calc(100vh - 40px) !important;
    display: grid !important;
    grid-template-rows: auto auto minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 22px !important;
    border-radius: 18px !important;
    background:
        linear-gradient(180deg, rgba(13, 20, 29, 0.88), rgba(8, 13, 20, 0.94)) !important;
    border: 1px solid rgba(255, 255, 255, 0.075) !important;
    box-shadow: 0 20px 52px rgba(0, 0, 0, 0.18) !important;
}

.revex-app .players-online-panel-head {
    margin: 0 !important;
    min-height: auto !important;
    padding: 0 0 14px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.revex-app .players-online-panel-head h2 {
    margin: 0 !important;
    font-size: 26px !important;
    line-height: 1.15 !important;
    font-weight: 850 !important;
    color: #f5f8fc !important;
}

.revex-app .players-online-controls {
    margin: 0 !important;
    gap: 10px !important;
}

.revex-app .players-online-search-modern {
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 13px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    box-shadow: none !important;
}

.revex-app .players-online-search-modern:focus-within {
    border-color: rgba(14, 165, 233, 0.24) !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.075) !important;
}

.revex-app .players-online-search-modern svg {
    width: 17px !important;
    height: 17px !important;
    color: rgba(56, 189, 248, 0.84) !important;
}

.revex-app .players-online-search-modern input {
    height: 44px !important;
    font-size: 13px !important;
    font-weight: 650 !important;
}

.revex-app .players-online-refresh-button {
    height: 46px !important;
    min-width: 126px !important;
    border-radius: 14px !important;
}

.revex-app .players-online-table-shell {
    min-height: 0 !important;
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.026) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

.revex-app .players-online-table-head {
    grid-template-columns: minmax(0, 1fr) 112px 112px !important;
    gap: 10px !important;
    padding: 12px 16px !important;
    background: rgba(255, 255, 255, 0.018) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055) !important;
}

.revex-app .players-online-table-head span {
    font-size: 10.5px !important;
    line-height: 1.2 !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    color: rgba(156, 170, 190, 0.78) !important;
}

.revex-app .players-online-table-list {
    align-content: start !important;
    gap: 4px !important;
    padding: 8px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.revex-app .players-online-tab-row {
    position: relative !important;
    grid-template-columns: minmax(0, 1fr) 112px 112px !important;
    gap: 10px !important;
    min-height: 58px !important;
    padding: 10px 12px 10px 14px !important;
    border-radius: 12px !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden !important;
    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease !important;
}

.revex-app .players-online-tab-row::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 12px !important;
    bottom: 12px !important;
    width: 3px !important;
    border-radius: 999px !important;
    background: rgba(14, 165, 233, 0.56) !important;
    opacity: 0 !important;
    transition: opacity 160ms ease !important;
}

.revex-app .players-online-tab-row:hover {
    background: rgba(255, 255, 255, 0.035) !important;
    border-color: rgba(255, 255, 255, 0.055) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.032) !important;
    transform: none !important;
}

.revex-app .players-online-tab-row:hover::before {
    opacity: 1 !important;
}

.revex-app .players-online-tab-player {
    gap: 11px !important;
}

.revex-app .players-online-tab-id-badge {
    min-width: 52px !important;
    height: 28px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    background: rgba(14, 165, 233, 0.095) !important;
    border: 1px solid rgba(14, 165, 233, 0.14) !important;
    box-shadow: none !important;
    color: rgba(56, 189, 248, 0.9) !important;
    font-size: 10.5px !important;
    line-height: 1 !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
}

.revex-app .players-online-tab-name {
    font-size: 13.2px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    color: #eef4fb !important;
}

.revex-app .players-online-tab-meta {
    min-height: 28px !important;
    font-size: 12.5px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    color: rgba(218, 228, 242, 0.9) !important;
}

.revex-app .monitoring-player-empty {
    min-height: 220px !important;
    display: grid !important;
    place-items: center !important;
    align-content: center !important;
    justify-items: center !important;
    gap: 10px !important;
    padding: 34px 22px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background:
        radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.07), transparent 36%),
        rgba(255, 255, 255, 0.018) !important;
    color: rgba(185, 199, 218, 0.76) !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 650 !important;
    text-align: center !important;
    box-shadow: none !important;
}

.revex-app .monitoring-player-empty::before {
    content: "" !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 16px !important;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='%237dd3fc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='10' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") center / 26px 26px no-repeat,
        linear-gradient(180deg, rgba(14, 165, 233, 0.16), rgba(14, 165, 233, 0.07)) !important;
    border: 1px solid rgba(14, 165, 233, 0.16) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

.revex-app .monitoring-player-empty strong {
    display: block !important;
    color: rgba(242, 247, 253, 0.94) !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
    font-weight: 850 !important;
}

.revex-app .monitoring-player-empty span {
    display: block !important;
    max-width: 360px !important;
    color: rgba(156, 170, 190, 0.78) !important;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    font-weight: 650 !important;
}

.revex-app .players-online-table-list > .monitoring-player-empty {
    height: 100% !important;
    min-height: 100% !important;
    align-self: stretch !important;
}

.revex-app .players-online-table-list:has(> .monitoring-player-empty) {
    grid-template-rows: minmax(240px, 1fr) !important;
    align-content: stretch !important;
}

.revex-app .monitoring-player-list .monitoring-player-empty {
    min-height: 132px !important;
}

@media (max-width: 760px) {
    .revex-app .players-online-panel {
        min-height: auto !important;
        padding: 18px !important;
    }

    .revex-app .players-online-controls {
        grid-template-columns: 1fr !important;
        display: grid !important;
    }

    .revex-app .players-online-refresh-button {
        width: 100% !important;
    }

    .revex-app .players-online-table-head {
        display: none !important;
    }

    .revex-app .players-online-table-list {
        gap: 8px !important;
        padding: 10px !important;
    }

    .revex-app .players-online-tab-row {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        padding: 12px !important;
        border-color: rgba(255, 255, 255, 0.055) !important;
        background: rgba(255, 255, 255, 0.024) !important;
    }

    .revex-app .players-online-tab-meta-level,
    .revex-app .players-online-tab-meta-ping {
        justify-content: flex-start !important;
        text-align: left !important;
    }
}

/* 2026-06-04: home dashboard, team presence and development placeholders. */
.revex-app .revex-profile-avatar,
.revex-app .profile-page-avatar,
.revex-app .home-team-avatar {
    position: relative !important;
    overflow: visible !important;
}

.revex-app .profile-online-indicator,
.revex-app .revex-profile-avatar > .profile-online-indicator,
.revex-app .profile-page-avatar > .profile-online-indicator,
.revex-app .home-team-avatar > .profile-online-indicator {
    position: absolute !important;
    top: -3px !important;
    right: -3px !important;
    z-index: 8 !important;
    width: 13px !important;
    height: 13px !important;
    min-width: 13px !important;
    min-height: 13px !important;
    display: block !important;
    padding: 0 !important;
    border-radius: 999px !important;
    border: 2px solid rgba(7, 12, 19, 0.96) !important;
    background: #ef4444 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.16), 0 0 14px rgba(239, 68, 68, 0.32) !important;
}

.revex-app .profile-online-indicator.is-online {
    background: #22c55e !important;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.16), 0 0 14px rgba(34, 197, 94, 0.36) !important;
}

.revex-app .profile-online-indicator-large {
    top: 7px !important;
    right: 7px !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    border-width: 3px !important;
}

.revex-app .home-page {
    width: 100% !important;
    display: grid !important;
    gap: 18px !important;
    min-width: 0 !important;
}

.revex-app .home-hero-panel,
.revex-app .home-panel,
.revex-app .dev-placeholder-page {
    border-radius: 18px !important;
    background:
        linear-gradient(180deg, rgba(13, 20, 29, 0.9), rgba(8, 13, 20, 0.95)) !important;
    border: 1px solid rgba(255, 255, 255, 0.075) !important;
    box-shadow: 0 20px 52px rgba(0, 0, 0, 0.18) !important;
}

.revex-app .home-hero-panel {
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr) !important;
    gap: 18px !important;
    align-items: stretch !important;
    padding: 22px !important;
}

.revex-app .home-hero-copy {
    min-width: 0 !important;
    display: grid !important;
    align-content: center !important;
    gap: 8px !important;
}

.revex-app .home-hero-copy h1,
.revex-app .dev-placeholder-copy h1 {
    margin: 0 !important;
    color: #f4f8fd !important;
    font-size: 30px !important;
    line-height: 1.08 !important;
    font-weight: 860 !important;
    letter-spacing: 0 !important;
}

.revex-app .home-hero-copy p,
.revex-app .dev-placeholder-copy p {
    max-width: 680px !important;
    margin: 0 !important;
    color: rgba(176, 190, 209, 0.82) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

.revex-app .home-hero-metrics {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

.revex-app .home-hero-metric {
    min-width: 0 !important;
    display: grid !important;
    align-content: space-between !important;
    gap: 10px !important;
    min-height: 116px !important;
    padding: 16px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.026) !important;
    border: 1px solid rgba(255, 255, 255, 0.065) !important;
}

.revex-app .home-hero-metric span,
.revex-app .home-hero-metric small,
.revex-app .home-panel-kicker,
.revex-app .home-news-count {
    color: rgba(154, 168, 186, 0.82) !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    font-weight: 760 !important;
}

.revex-app .home-hero-metric strong {
    color: #f7fbff !important;
    font-size: 32px !important;
    line-height: 1 !important;
    font-weight: 880 !important;
    letter-spacing: 0 !important;
}

.revex-app .home-overview-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr) !important;
    gap: 18px !important;
    align-items: start !important;
}

.revex-app .home-panel {
    min-width: 0 !important;
    padding: 20px !important;
}

.revex-app .home-panel-head {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 14px !important;
    margin-bottom: 16px !important;
}

.revex-app .home-panel-head h2 {
    margin: 4px 0 0 !important;
    color: #f3f7fd !important;
    font-size: 19px !important;
    line-height: 1.18 !important;
    font-weight: 840 !important;
    letter-spacing: 0 !important;
}

.revex-app .home-online-summary,
.revex-app .home-news-count {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    min-height: 30px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    background: rgba(239, 68, 68, 0.095) !important;
    border: 1px solid rgba(239, 68, 68, 0.18) !important;
    color: rgba(255, 181, 181, 0.92) !important;
    font-size: 11.5px !important;
    font-weight: 820 !important;
}

.revex-app .home-online-summary::before {
    content: "" !important;
    width: 7px !important;
    height: 7px !important;
    border-radius: 999px !important;
    background: #ef4444 !important;
}

.revex-app .home-online-summary.is-online {
    background: rgba(34, 197, 94, 0.095) !important;
    border-color: rgba(34, 197, 94, 0.2) !important;
    color: rgba(184, 255, 205, 0.92) !important;
}

.revex-app .home-online-summary.is-online::before {
    background: #22c55e !important;
}

.revex-app .home-team-list,
.revex-app .home-chat-list {
    display: grid !important;
    gap: 10px !important;
}

.revex-app .home-team-member,
.revex-app .home-chat-message {
    position: relative !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: 46px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: center !important;
    min-height: 68px !important;
    padding: 11px 12px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.024) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.revex-app .home-team-member:hover {
    border-color: rgba(14, 165, 233, 0.18) !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

.revex-app .home-team-member-link {
    position: absolute !important;
    inset: 0 !important;
    z-index: 4 !important;
    border-radius: inherit !important;
}

.revex-app .home-team-avatar,
.revex-app .home-chat-avatar {
    width: 46px !important;
    height: 46px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 13px !important;
    background: rgba(14, 165, 233, 0.1) !important;
    border: 1px solid rgba(14, 165, 233, 0.15) !important;
    color: rgba(56, 189, 248, 0.96) !important;
    font-size: 15px !important;
    font-weight: 860 !important;
}

.revex-app .home-team-avatar img,
.revex-app .home-chat-avatar img,
.revex-app .home-team-avatar > span:not(.profile-online-indicator),
.revex-app .home-chat-avatar > span {
    width: 100% !important;
    height: 100% !important;
    display: grid !important;
    place-items: center !important;
    border-radius: inherit !important;
    object-fit: cover !important;
}

.revex-app .home-team-member-copy,
.revex-app .home-chat-message-copy {
    min-width: 0 !important;
    display: grid !important;
    gap: 4px !important;
}

.revex-app .home-team-member-copy strong,
.revex-app .home-chat-message-head strong {
    color: #edf4fb !important;
    font-size: 13.2px !important;
    line-height: 1.25 !important;
    font-weight: 820 !important;
}

.revex-app .home-team-member-copy span,
.revex-app .home-team-member-copy small,
.revex-app .home-chat-message-copy p,
.revex-app .home-chat-message-head time {
    min-width: 0 !important;
    margin: 0 !important;
    color: rgba(164, 178, 197, 0.82) !important;
    font-size: 12.2px !important;
    line-height: 1.42 !important;
    font-weight: 620 !important;
}

.revex-app .home-team-member-copy strong,
.revex-app .home-team-member-copy span,
.revex-app .home-team-member-copy small,
.revex-app .home-chat-message-copy p {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.revex-app .home-chat-message-head {
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
}

.revex-app .home-open-chat-button {
    min-height: 34px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
}

.revex-app .home-news-panel {
    padding: 20px !important;
}

.revex-app .home-news-head {
    align-items: center !important;
}

.revex-app .home-news-count {
    background: rgba(14, 165, 233, 0.095) !important;
    border-color: rgba(14, 165, 233, 0.16) !important;
    color: rgba(56, 189, 248, 0.92) !important;
}

.revex-app .home-news-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

.revex-app .home-news-card {
    min-width: 0 !important;
    display: grid !important;
    gap: 11px !important;
    padding: 10px !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.024) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.revex-app .home-news-cover {
    position: relative !important;
    min-height: 170px !important;
    aspect-ratio: 16 / 8 !important;
    overflow: hidden !important;
    border-radius: 13px !important;
    background:
        linear-gradient(135deg, rgba(14, 165, 233, 0.16), rgba(34, 197, 94, 0.07)),
        rgba(255, 255, 255, 0.028) !important;
    border: 1px solid rgba(255, 255, 255, 0.065) !important;
}

.revex-app .home-news-cover img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
}

.revex-app .home-news-cover::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, rgba(5, 9, 15, 0.08), rgba(5, 9, 15, 0.76)) !important;
}

.revex-app .home-news-cover-placeholder {
    width: 100% !important;
    height: 100% !important;
    display: grid !important;
    place-items: center !important;
    color: rgba(186, 230, 253, 0.22) !important;
    font-size: 34px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
}

.revex-app .home-news-cover-copy {
    position: absolute !important;
    left: 14px !important;
    right: 14px !important;
    bottom: 14px !important;
    z-index: 2 !important;
    display: grid !important;
    gap: 6px !important;
}

.revex-app .home-news-cover-copy span {
    width: fit-content !important;
    min-height: 26px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 9px !important;
    border-radius: 999px !important;
    background: rgba(14, 165, 233, 0.18) !important;
    border: 1px solid rgba(14, 165, 233, 0.24) !important;
    color: rgba(186, 230, 253, 0.96) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

.revex-app .home-news-cover-copy strong {
    color: #ffffff !important;
    font-size: 18px !important;
    line-height: 1.18 !important;
    font-weight: 860 !important;
}

.revex-app .home-news-card p {
    min-height: 42px !important;
    margin: 0 !important;
    color: rgba(176, 190, 209, 0.84) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    font-weight: 620 !important;
}

.revex-app .home-empty-state {
    min-height: 180px !important;
    display: grid !important;
    place-items: center !important;
    align-content: center !important;
    justify-items: center !important;
    gap: 8px !important;
    padding: 28px 20px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px dashed rgba(255, 255, 255, 0.09) !important;
    text-align: center !important;
}

.revex-app .home-empty-state strong {
    color: rgba(242, 247, 253, 0.94) !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
    font-weight: 840 !important;
}

.revex-app .home-empty-state span {
    max-width: 430px !important;
    color: rgba(157, 171, 190, 0.8) !important;
    font-size: 12.8px !important;
    line-height: 1.5 !important;
    font-weight: 620 !important;
}

.revex-app .home-news-empty {
    min-height: 260px !important;
}

.revex-app .dev-placeholder-page {
    min-height: min(560px, calc(100vh - 64px)) !important;
    display: grid !important;
    place-items: center !important;
    align-content: center !important;
    justify-items: center !important;
    gap: 18px !important;
    padding: 34px 22px !important;
    text-align: center !important;
}

.revex-app .dev-placeholder-icon {
    width: 74px !important;
    height: 74px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 18px !important;
    background: rgba(14, 165, 233, 0.11) !important;
    border: 1px solid rgba(14, 165, 233, 0.18) !important;
    color: rgba(56, 189, 248, 0.96) !important;
}

.revex-app .dev-placeholder-icon svg {
    width: 32px !important;
    height: 32px !important;
}

.revex-app .dev-placeholder-copy {
    display: grid !important;
    gap: 9px !important;
    justify-items: center !important;
}

@media (max-width: 1120px) {
    .revex-app .home-hero-panel,
    .revex-app .home-overview-grid {
        grid-template-columns: 1fr !important;
    }

    .revex-app .home-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    .revex-app .home-hero-panel,
    .revex-app .home-panel,
    .revex-app .home-news-panel {
        padding: 16px !important;
    }

    .revex-app .home-hero-copy h1,
    .revex-app .dev-placeholder-copy h1 {
        font-size: 24px !important;
    }

    .revex-app .home-hero-metrics,
    .revex-app .home-news-grid {
        grid-template-columns: 1fr !important;
    }

    .revex-app .home-panel-head {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .revex-app .home-open-chat-button {
        width: 100% !important;
    }

    .revex-app .home-chat-message-head {
        display: grid !important;
        gap: 2px !important;
    }
}

/* 2026-06-05: performance-safe dashboard updates, users list and avatar clipping fixes. */
.revex-app .home-hero-panel {
    grid-template-columns: 1fr !important;
}

.revex-app .home-hero-copy {
    min-height: 112px !important;
}

.revex-app .revex-profile-avatar,
.revex-app .profile-page-avatar,
.revex-app .home-team-avatar,
.revex-app .home-chat-avatar,
.revex-app .users-list-avatar {
    overflow: hidden !important;
}

.revex-app .revex-profile-avatar img,
.revex-app .profile-page-avatar img,
.revex-app .home-team-avatar img,
.revex-app .home-chat-avatar img,
.revex-app .users-list-avatar img {
    border-radius: inherit !important;
}

.revex-app .revex-profile-avatar > .profile-online-indicator,
.revex-app .home-team-avatar > .profile-online-indicator,
.revex-app .users-list-avatar > .profile-online-indicator {
    top: 2px !important;
    right: 2px !important;
}

.revex-app .profile-page-avatar > .profile-online-indicator-large {
    top: 10px !important;
    right: 10px !important;
}

.revex-app .profile-page-avatar > .avatar-overlay {
    border-radius: inherit !important;
}

.revex-app .users-page-shell {
    display: grid !important;
    gap: 16px !important;
}

.revex-app .users-page-hero,
.revex-app .users-page-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding: 18px 20px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.018) !important;
    border: 1px solid rgba(255, 255, 255, 0.055) !important;
}

.revex-app .users-page-hero-copy {
    min-width: 0 !important;
    display: grid !important;
    gap: 7px !important;
}

.revex-app .users-page-hero-copy h1 {
    margin: 0 !important;
    color: #f4f8fd !important;
    font-size: 28px !important;
    line-height: 1.12 !important;
    font-weight: 860 !important;
    letter-spacing: 0 !important;
}

.revex-app .users-page-hero-copy p {
    margin: 0 !important;
    color: rgba(176, 190, 209, 0.82) !important;
    font-size: 13.5px !important;
    line-height: 1.5 !important;
}

.revex-app .users-page-stats {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    gap: 8px !important;
}

.revex-app .users-page-stats span,
.revex-app .users-list-status {
    min-height: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    border-radius: 999px !important;
    padding: 0 10px !important;
    background: rgba(255, 255, 255, 0.035) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    color: rgba(217, 227, 241, 0.9) !important;
    font-size: 11.5px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
}

.revex-app .users-page-controls {
    padding: 12px !important;
}

.revex-app .users-page-search {
    width: min(460px, 100%) !important;
    min-height: 44px !important;
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 0 14px !important;
    border-radius: 13px !important;
    background: rgba(255, 255, 255, 0.032) !important;
    border: 1px solid rgba(255, 255, 255, 0.065) !important;
}

.revex-app .users-page-search svg {
    width: 18px !important;
    height: 18px !important;
    color: rgba(14, 165, 233, 0.84) !important;
}

.revex-app .users-page-search input {
    width: 100% !important;
    height: 42px !important;
    border: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: rgba(238, 244, 251, 0.94) !important;
    font-size: 13px !important;
    outline: none !important;
}

.revex-app .users-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

.revex-app .users-list-card {
    position: relative !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: 50px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: center !important;
    min-height: 76px !important;
    padding: 12px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.024) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    transition: background-color 160ms ease, border-color 160ms ease, opacity 160ms ease !important;
}

.revex-app .users-list-card:hover {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(14, 165, 233, 0.18) !important;
}

.revex-app .users-list-card.is-deactivated {
    opacity: 0.48 !important;
    filter: grayscale(0.75) !important;
}

.revex-app .users-list-card-link {
    position: absolute !important;
    inset: 0 !important;
    z-index: 3 !important;
    border-radius: inherit !important;
}

.revex-app .users-list-avatar {
    position: relative !important;
    width: 50px !important;
    height: 50px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 14px !important;
    background: rgba(14, 165, 233, 0.1) !important;
    border: 1px solid rgba(14, 165, 233, 0.15) !important;
    color: rgba(56, 189, 248, 0.96) !important;
    font-size: 16px !important;
    font-weight: 860 !important;
}

.revex-app .users-list-avatar img,
.revex-app .users-list-avatar > span:not(.profile-online-indicator) {
    width: 100% !important;
    height: 100% !important;
    display: grid !important;
    place-items: center !important;
    object-fit: cover !important;
    border-radius: inherit !important;
}

.revex-app .users-list-card-copy {
    min-width: 0 !important;
    display: grid !important;
    gap: 4px !important;
}

.revex-app .users-list-card-head {
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
}

.revex-app .users-list-card-head strong {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: #edf4fb !important;
    font-size: 13.4px !important;
    line-height: 1.25 !important;
    font-weight: 840 !important;
}

.revex-app .users-list-card-copy > span,
.revex-app .users-list-card-copy > small {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: rgba(164, 178, 197, 0.82) !important;
    font-size: 12.2px !important;
    line-height: 1.35 !important;
    font-weight: 650 !important;
}

.revex-app .users-list-status.is-online {
    background: rgba(34, 197, 94, 0.1) !important;
    border-color: rgba(34, 197, 94, 0.2) !important;
    color: rgba(184, 255, 205, 0.94) !important;
}

.revex-app .users-list-status.is-offline {
    background: rgba(239, 68, 68, 0.09) !important;
    border-color: rgba(239, 68, 68, 0.17) !important;
    color: rgba(255, 184, 184, 0.9) !important;
}

.revex-app .users-list-status.is-deactivated {
    background: rgba(148, 163, 184, 0.09) !important;
    border-color: rgba(148, 163, 184, 0.14) !important;
    color: rgba(199, 210, 224, 0.86) !important;
}

.revex-app .users-list-empty,
.revex-app .profile-deactivated-banner {
    border-radius: 14px !important;
    background: rgba(239, 68, 68, 0.075) !important;
    border: 1px solid rgba(239, 68, 68, 0.16) !important;
    color: rgba(255, 218, 218, 0.92) !important;
}

.revex-app .users-list-empty {
    min-height: 150px !important;
    display: grid !important;
    place-items: center !important;
    font-size: 13px !important;
    font-weight: 750 !important;
}

.revex-app .profile-deactivated-banner {
    display: grid !important;
    gap: 5px !important;
    padding: 14px 16px !important;
}

.revex-app .profile-deactivated-banner strong {
    font-size: 13.5px !important;
    line-height: 1.25 !important;
    font-weight: 850 !important;
}

.revex-app .profile-deactivated-banner span {
    color: rgba(255, 219, 219, 0.78) !important;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    font-weight: 620 !important;
}

@media (max-width: 980px) {
    .revex-app .users-list {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 760px) {
    .revex-app .users-page-hero,
    .revex-app .users-page-controls,
    .revex-app .users-list-card-head {
        display: grid !important;
        grid-template-columns: 1fr !important;
        justify-content: stretch !important;
    }

    .revex-app .users-page-stats {
        justify-content: flex-start !important;
    }
}

/* 2026-06-05: requested spacing and users-search corrections. */
.revex-app .revex-sidebar-top {
    padding-bottom: 8px !important;
}

.revex-app .revex-nav {
    padding-top: 8px !important;
}

.revex-app .home-overview-grid {
    align-items: stretch !important;
}

.revex-app .home-team-panel {
    min-height: 100% !important;
}

.revex-app .users-list-card.is-filter-hidden {
    display: none !important;
}

.revex-app .users-list-empty,
.revex-app [data-user-list-empty] {
    display: none !important;
}

/* 2026-06-05: dashboard route polish, lighter rendering and chat launcher rebuild. */
body {
    background-attachment: scroll !important;
}

body:not(.is-dashboard-loading) .revex-page-loader {
    display: none !important;
}

body:not(.is-dashboard-loading) .revex-page-loader,
body:not(.is-dashboard-loading) .revex-page-loader * {
    animation: none !important;
}

body.is-dashboard-loading .revex-page-loader {
    display: grid !important;
}

.revex-app .revex-sidebar,
.revex-app .workspace-shell,
.revex-app .profile-page,
.revex-app .revex-profile-card,
.revex-app .home-hero-panel,
.revex-app .home-panel,
.revex-app .dev-placeholder-page {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.revex-app .home-hero-panel,
.revex-app .home-panel,
.revex-app .users-list-card,
.revex-app .home-team-member,
.revex-app .home-chat-message,
.revex-app .home-news-card {
    contain: layout paint style !important;
}

.revex-app .home-team-member,
.revex-app .home-chat-message,
.revex-app .home-news-card,
.revex-app .users-list-card,
.revex-app .revex-nav > .revex-nav-link {
    transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease, opacity 140ms ease !important;
    will-change: auto !important;
}

.revex-app .revex-sidebar-top {
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
}

.revex-app .revex-nav {
    padding-top: 6px !important;
}

.revex-app .revex-profile-avatar,
.revex-app .home-team-avatar,
.revex-app .users-list-avatar {
    overflow: visible !important;
}

.revex-app .revex-profile-avatar > img,
.revex-app .home-team-avatar > img,
.revex-app .users-list-avatar > img,
.revex-app .revex-profile-avatar > span:not(.profile-online-indicator),
.revex-app .home-team-avatar > span:not(.profile-online-indicator),
.revex-app .users-list-avatar > span:not(.profile-online-indicator) {
    border-radius: inherit !important;
}

.revex-app .revex-profile-avatar > .profile-online-indicator,
.revex-app .home-team-avatar > .profile-online-indicator,
.revex-app .users-list-avatar > .profile-online-indicator {
    top: -5px !important;
    right: -5px !important;
}

.revex-app .profile-page-avatar > .profile-online-indicator-large {
    top: 6px !important;
    right: 6px !important;
}

.revex-app .revex-chat-fab {
    right: 24px !important;
    bottom: 24px !important;
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    border-radius: 16px !important;
    background: linear-gradient(180deg, rgba(17, 25, 36, 0.98), rgba(8, 13, 20, 0.98)) !important;
    border: 1px solid rgba(14, 165, 233, 0.34) !important;
    color: #38bdf8 !important;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.055) !important;
    overflow: visible !important;
    transform: none !important;
    transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease !important;
}

.revex-app .revex-chat-fab::before {
    content: '' !important;
    position: absolute !important;
    inset: 7px !important;
    display: block !important;
    border-radius: 12px !important;
    background: rgba(14, 165, 233, 0.09) !important;
    border: 1px solid rgba(14, 165, 233, 0.12) !important;
    pointer-events: none !important;
}

.revex-app .revex-chat-fab::after {
    content: '' !important;
    position: absolute !important;
    top: -3px !important;
    right: -3px !important;
    display: block !important;
    width: 9px !important;
    height: 9px !important;
    border-radius: 999px !important;
    background: #22c55e !important;
    border: 2px solid rgba(7, 12, 19, 0.98) !important;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.32) !important;
    pointer-events: none !important;
}

.revex-app .revex-chat-fab:hover {
    background: linear-gradient(180deg, rgba(21, 31, 44, 0.99), rgba(10, 16, 24, 0.99)) !important;
    border-color: rgba(125, 211, 252, 0.62) !important;
    color: #38bdf8 !important;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.38), 0 0 0 3px rgba(14, 165, 233, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
    transform: translateY(-1px) !important;
}

.revex-app .revex-chat-fab:active {
    transform: translateY(0) !important;
}

.revex-app .revex-chat-fab-icon {
    position: relative !important;
    z-index: 1 !important;
    width: 26px !important;
    height: 26px !important;
    display: grid !important;
    place-items: center !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: currentColor !important;
}

.revex-app .revex-chat-fab-icon svg {
    width: 22px !important;
    height: 22px !important;
    stroke-width: 2 !important;
}

/* 2026-06-05: connected players admin actions. */
.revex-app .players-online-table-head,
.revex-app .players-online-tab-row {
    grid-template-columns: minmax(0, 1fr) 104px 104px 132px !important;
}

.revex-app .players-online-table-head span:nth-child(4),
.revex-app .players-online-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    text-align: right !important;
}

.revex-app .players-online-tab-row {
    cursor: default !important;
}

.revex-app .players-online-manage-button {
    position: relative !important;
    z-index: 2 !important;
    min-width: 118px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 12px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(14, 165, 233, 0.2) !important;
    background: rgba(14, 165, 233, 0.085) !important;
    color: rgba(56, 189, 248, 0.95) !important;
    font-size: 11.5px !important;
    line-height: 1 !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease !important;
}

.revex-app .players-online-manage-button:hover:not(:disabled) {
    background: rgba(14, 165, 233, 0.15) !important;
    border-color: rgba(56, 189, 248, 0.38) !important;
    color: #bae6fd !important;
}

.revex-app .players-online-manage-button:disabled {
    opacity: 0.42 !important;
    cursor: not-allowed !important;
}

.players-admin-menu {
    position: fixed;
    z-index: 10050;
    width: 236px;
    display: grid;
    gap: 8px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.085);
    background: linear-gradient(180deg, rgba(13, 20, 30, 0.98), rgba(8, 13, 20, 0.98));
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.players-admin-menu[hidden] {
    display: none !important;
}

.players-admin-menu-head {
    display: grid;
    gap: 3px;
    padding: 4px 4px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.players-admin-menu-head span {
    color: rgba(156, 170, 190, 0.82);
    font-size: 10.5px;
    line-height: 1.2;
    font-weight: 850;
    text-transform: uppercase;
}

.players-admin-menu-head strong {
    overflow: hidden;
    color: #eef4fb;
    font-size: 13.5px;
    line-height: 1.25;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.players-admin-menu-action {
    width: 100%;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 11px;
    border: 1px solid rgba(239, 68, 68, 0.24);
    background: rgba(239, 68, 68, 0.09);
    color: #ffd0d0;
    font-size: 12.5px;
    line-height: 1.2;
    font-weight: 850;
    cursor: pointer;
    transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.players-admin-menu-action:hover:not(:disabled) {
    background: rgba(239, 68, 68, 0.16);
    border-color: rgba(248, 113, 113, 0.42);
    color: #ffe8e8;
}

.players-admin-menu-action:disabled {
    opacity: 0.55;
    cursor: wait;
}

@media (max-width: 760px) {
    .revex-app .players-online-table-head {
        display: none !important;
    }

    .revex-app .players-online-tab-row {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .revex-app .players-online-tab-meta,
    .revex-app .players-online-actions {
        justify-content: flex-start !important;
        text-align: left !important;
    }
}

/* 2026-06-05: compact chat-only loading state. */
.revex-app .revex-chat-loading {
    min-height: 92px !important;
    display: grid !important;
    place-items: center !important;
    align-content: center !important;
    gap: 10px !important;
    padding: 16px !important;
    color: rgba(174, 188, 207, 0.74) !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    font-weight: 780 !important;
    text-align: center !important;
}

.revex-app .revex-chat-loading.is-compact {
    min-height: 68px !important;
    padding: 12px !important;
}

.revex-app .revex-chat-loading.is-thread {
    min-height: 180px !important;
}

.revex-app .revex-chat-loading-dots {
    height: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
}

.revex-app .revex-chat-loading-dots span {
    width: 5px !important;
    height: 5px !important;
    display: block !important;
    border-radius: 999px !important;
    background: rgba(56, 189, 248, 0.82) !important;
    box-shadow: none !important;
    animation: revexChatLoadingDot 780ms ease-in-out infinite !important;
}

.revex-app .revex-chat-loading-dots span:nth-child(2) {
    animation-delay: 110ms !important;
}

.revex-app .revex-chat-loading-dots span:nth-child(3) {
    animation-delay: 220ms !important;
}

@keyframes revexChatLoadingDot {
    0%,
    100% {
        opacity: 0.35;
        transform: translateY(0);
    }
    45% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

/* 2026-06-12: Elevate launcher management tabs. */
.revex-app .revex-launcher-modal .revex-extra-modal-backdrop {
    background: rgba(4, 8, 14, 0.72) !important;
    backdrop-filter: blur(12px) saturate(1.05) !important;
}

.revex-app .revex-launcher-sheet {
    width: min(860px, calc(100vw - 44px)) !important;
    grid-template-rows: auto auto auto minmax(0, 1fr) !important;
}

.revex-app .revex-launcher-tabs {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
    width: 100% !important;
    padding: 5px !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.035) !important;
    border: 1px solid rgba(255, 255, 255, 0.075) !important;
}

.revex-app .revex-launcher-tab {
    min-height: 38px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: rgba(186, 200, 218, 0.8) !important;
    cursor: pointer !important;
    font-size: 12.5px !important;
    font-weight: 850 !important;
    transition: background 140ms ease, color 140ms ease !important;
}

.revex-app .revex-launcher-tab.is-active {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(37, 99, 235, 0.16)) !important;
    color: #f4f8ff !important;
}

.revex-app .revex-launcher-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    overflow: auto !important;
}

.revex-app .revex-launcher-card[hidden] {
    display: none !important;
}

.revex-app .revex-launcher-card {
    min-height: 360px !important;
}

.revex-app .revex-launcher-update-note code {
    color: rgba(125, 211, 252, 0.92) !important;
}

@media (max-width: 700px) {
    .revex-app .revex-launcher-tabs {
        width: 100% !important;
        grid-template-columns: 1fr !important;
    }
}

/* 2026-06-12: keep platform blue buttons readable. */
.revex-app .primary-button,
.revex-app .revex-launcher-actions .primary-button,
.revex-app .revex-admin-actions .primary-button,
.revex-app .register-admin-actions .primary-button {
    background: linear-gradient(135deg, #075acb 0%, #0a75d5 100%) !important;
    color: #ffffff !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.24) !important;
}

.revex-app .primary-button *,
.revex-app .revex-launcher-actions .primary-button *,
.revex-app .revex-admin-actions .primary-button *,
.revex-app .register-admin-actions .primary-button * {
    color: inherit !important;
}

.revex-app .primary-button:hover,
.revex-app .revex-launcher-actions .primary-button:hover,
.revex-app .revex-admin-actions .primary-button:hover,
.revex-app .register-admin-actions .primary-button:hover {
    background: linear-gradient(135deg, #0865dc 0%, #0c83ea 100%) !important;
    filter: none !important;
}
