.sidebar-brand a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.brand-mark-nav {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fff;
    object-fit: cover;
}

.user-avatar {
    width: 36px;
    height: 36px;
    font-size: 14px;
    font-weight: 700;
}

.auth-mark {
    width: 56px;
    height: 56px;
    border-radius: 16px;
}

.top-header .btn-soft-light,
.theme-toggle-auth {
    background-color: #f8f9fa !important;
    border-color: transparent !important;
    color: #3c4858 !important;
}

.theme-toggle-auth {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 5;
}

html[data-theme="dark"] .top-header .btn-soft-light,
html[data-theme="dark"] .theme-toggle-auth {
    background-color: rgba(248, 249, 250, 0.08) !important;
    color: #f8f9fa !important;
}

html[data-theme="dark"] .card,
html[data-theme="dark"] .form-signin {
    background-color: #243447;
}

.stage {
    display: grid;
    place-items: center;
    min-height: 480px;
    margin-top: 16px;
    background: #111418;
    border-radius: 12px;
    overflow: hidden;
}

.stage canvas {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100vh - 220px);
    background: #050605;
    cursor: crosshair;
}

.stage canvas:focus {
    outline: 2px solid #2f55d4;
}

.stage:fullscreen,
.stage:-webkit-full-screen,
body.is-fullscreen .stage {
    position: fixed;
    inset: 0;
    z-index: 2000;
    width: 100vw;
    height: 100vh;
    max-width: none;
    margin: 0;
    border-radius: 0;
    background: #000;
}

.stage:fullscreen canvas,
.stage:-webkit-full-screen canvas,
body.is-fullscreen .stage canvas {
    max-width: 100vw;
    max-height: 100vh;
    outline: 0;
}

body.is-fullscreen #sidebar,
body.is-fullscreen .top-header,
body.is-fullscreen footer {
    display: none;
}
