html,
body {
    cursor:
        url("../images/cursors/default.png") 0 0,
        default;
}
a,
button,
[role="button"],
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="checkbox"],
input[type="radio"],
select,
summary,
label[for] {
    cursor:
        url("../images/cursors/pointer.png") 0 0,
        pointer;
}
input[type="text"],
input[type="search"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="tel"],
input[type="number"],
textarea,
[contenteditable="true"] {
    cursor:
        url("../images/cursors/pen.png") 0 0,
        text;
}
button:disabled,
input:disabled,
select:disabled,
textarea:disabled,
[aria-disabled="true"] {
    cursor:
        url("../images/cursors/disabled.png") 0 0,
        not-allowed;
}
:root {
    --vw-blue-deep: #17317a;
    --vw-blue: #2f63e9;
    --vw-blue-bright: #67a6ff;
    --vw-gradient:
        linear-gradient(
            120deg,
            var(--vw-blue-deep) 0%,
            var(--vw-blue) 52%,
            var(--vw-blue-bright) 100%
        );
    --vw-gradient-soft:
        linear-gradient(
            120deg,
            rgba(23, 49, 122, 0.78),
            rgba(47, 99, 233, 0.82),
            rgba(103, 166, 255, 0.78)
        );
    --background: #090b10;
    --background-elevated: #0f1219;
    --background-raised: #141821;
    --background-hover: #1a1f2a;
    --surface: rgba(255, 255, 255, 0.045);
    --surface-hover: rgba(255, 255, 255, 0.075);
    --surface-active: rgba(255, 255, 255, 0.1);
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --text: #f4f6fb;
    --text-secondary: #a8afbd;
    --text-tertiary: #727986;
    --shadow-soft:
        0 1px 2px rgba(0, 0, 0, 0.2),
        0 8px 28px rgba(0, 0, 0, 0.15);
    --shadow-floating:
        0 10px 35px rgba(0, 0, 0, 0.35);
    --overlay: rgba(5, 7, 12, 0.72);
    --font-ui:
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Display",
        "SF Pro Text",
        "Segoe UI",
        Inter,
        Helvetica,
        Arial,
        sans-serif;
    --page-width: 1580px;
    --header-height: 72px;
    --page-padding:
        clamp(18px, 3vw, 48px);
    --radius-xs: 7px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-round: 999px;
    --ease-standard:
        cubic-bezier(0.22, 1, 0.36, 1);
    --ease-smooth:
        cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast:
        150ms var(--ease-standard);
    --transition:
        240ms var(--ease-standard);
    --transition-slow:
        420ms var(--ease-smooth);
}
html[data-theme="light"] {
    --background: #f7f8fb;
    --background-elevated: #ffffff;
    --background-raised: #f0f2f7;
    --background-hover: #e9edf4;
    --surface: rgba(12, 18, 30, 0.04);
    --surface-hover: rgba(12, 18, 30, 0.065);
    --surface-active: rgba(12, 18, 30, 0.1);
    --border: rgba(10, 18, 32, 0.08);
    --border-strong: rgba(10, 18, 32, 0.13);
    --text: #111521;
    --text-secondary: #5e6675;
    --text-tertiary: #8c93a0;
    --shadow-soft:
        0 1px 2px rgba(25, 31, 45, 0.04),
        0 8px 30px rgba(25, 31, 45, 0.06);
    --shadow-floating:
        0 16px 40px rgba(28, 35, 50, 0.14);
    --overlay: rgba(242, 245, 249, 0.75);
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    min-height: 100%;
    color-scheme: dark;
    font-family: var(--font-ui);
    background:
        var(--background);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
html[data-theme="light"] {
    color-scheme: light;
}
body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background: var(--background);
    overflow-x: hidden;
}
body,
button,
input,
textarea,
select {
    font: inherit;
}
button,
input,
textarea,
select {
    color: inherit;
}
button,
a {
    -webkit-tap-highlight-color: transparent;
}
button {
    border: 0;
    padding: 0;
    background: none;
}
button:not(:disabled),
a {
    cursor:
        url("../images/cursors/pointer.png") 0 0,
        pointer;
}
img,
svg,
video {
    display: block;
    max-width: 100%;
}
img {
    user-select: none;
}
a {
    color: inherit;
    text-decoration: none;
}
h1,
h2,
h3,
h4,
p {
    margin: 0;
}
input {
    min-width: 0;
}
::selection {
    color: #ffffff;
    background: rgba(57, 111, 245, 0.72);
}
.app {
    min-height: 100vh;
}
.topbar {
    position: sticky;
    z-index: 100;
    top: 0;
    height: var(--header-height);
    background:
        color-mix(
            in srgb,
            var(--background) 82%,
            transparent
        );
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(22px) saturate(150%);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    transition:
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}
.topbar.is-scrolled {
    border-bottom-color: var(--border);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.015);
}
.topbar__inner {
    width: min(
        calc(100% - (var(--page-padding) * 2)),
        var(--page-width)
    );
    height: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto auto minmax(220px, 560px) auto;
    align-items: center;
    gap: clamp(18px, 2vw, 34px);
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    outline: none;
}
.brand__logo {
    width: 39px;
    height: 39px;
    object-fit: contain;
    filter:
        drop-shadow(
            0 3px 10px rgba(40, 90, 220, 0.14)
        );
    transition:
        transform var(--transition-slow),
        filter var(--transition);
}
.brand:hover .brand__logo {
    transform: translateY(-1px) scale(1.025);
    filter:
        drop-shadow(
            0 4px 15px rgba(55, 105, 245, 0.22)
        );
}
.brand__name {
    font-size: 19px;
    font-weight: 650;
    letter-spacing: -0.035em;
    background: var(--vw-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.navigation {
    display: flex;
    align-items: center;
    gap: 4px;
}
.navigation__link {
    position: relative;
    padding: 9px 12px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 540;
    border-radius: var(--radius-sm);
    transition:
        color var(--transition-fast),
        background var(--transition-fast);
}
.navigation__link:hover {
    color: var(--text);
    background: var(--surface);
}
.navigation__link--active {
    color: var(--text);
}
.navigation__link--active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 3px;
    width: 4px;
    height: 4px;
    background: var(--vw-gradient);
    border-radius: 50%;
    transform: translateX(-50%);
}
.search {
    width: 100%;
}
.search__field {
    position: relative;
    width: 100%;
    height: 42px;
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-round);
    transition:
        background var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}
.search__field:hover {
    background: var(--surface-hover);
}
.search__field:focus-within {
    color: var(--text);
    background: var(--background-elevated);
    border-color:
        color-mix(
            in srgb,
            var(--vw-blue) 58%,
            var(--border)
        );
    box-shadow:
        0 0 0 3px rgba(47, 99, 233, 0.11);
}
.search__icon {
    width: 18px;
    height: 18px;
    margin-left: 15px;
    flex-shrink: 0;
}
.search__input {
    width: 100%;
    height: 100%;
    padding:
        0 12px;
    color: var(--text);
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 14px;
}
.search__input::placeholder {
    color: var(--text-tertiary);
}
.search__input::-webkit-search-cancel-button {
    display: none;
}
.search__clear {
    width: 31px;
    height: 31px;
    margin-right: 5px;
    display: grid;
    place-items: center;
    color: var(--text-secondary);
    border-radius: 50%;
    transition:
        color var(--transition-fast),
        background var(--transition-fast),
        transform var(--transition-fast);
}
.search__clear:hover {
    color: var(--text);
    background: var(--surface-hover);
}
.search__clear:active {
    transform: scale(0.92);
}
.topbar__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}
.action-button,
.icon-button,
.profile-button,
.text-button {
    outline: none;
}
.action-button {
    min-height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 15px;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-round);
    font-size: 13px;
    font-weight: 590;
    transition:
        transform var(--transition-fast),
        background var(--transition),
        border-color var(--transition);
}
.action-button:hover {
    background: var(--surface-hover);
    border-color: var(--border-strong);
    transform: translateY(-1px);
}
.action-button:active {
    transform: translateY(0) scale(0.97);
}
.action-button--create:hover {
    border-color:
        color-mix(
            in srgb,
            var(--vw-blue) 38%,
            var(--border)
        );
}
.icon-button,
.profile-button {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    color: var(--text-secondary);
    border-radius: 50%;
    transition:
        color var(--transition-fast),
        background var(--transition-fast),
        transform var(--transition-fast);
}
.icon-button:hover {
    color: var(--text);
    background: var(--surface-hover);
}
.icon-button:active,
.profile-button:active {
    transform: scale(0.93);
}
.profile-button {
    margin-left: 2px;
}
.profile-button__avatar {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: var(--vw-gradient);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 650;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}
.profile-button:hover .profile-button__avatar {
    transform: scale(1.04);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 5px 18px rgba(47, 99, 233, 0.18);
}
.text-button {
    padding: 7px 10px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 560;
    transition:
        color var(--transition-fast),
        background var(--transition-fast);
}
.text-button:hover {
    color: var(--text);
    background: var(--surface-hover);
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--vw-blue-bright);
    outline-offset: 3px;
}
.search__input:focus-visible {
    outline: none;
}
.toast-region {
    position: fixed;
    z-index: 1000;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}
.toast {
    min-width: 220px;
    max-width: 360px;
    padding: 12px 14px;
    color: var(--text);
    background:
        color-mix(
            in srgb,
            var(--background-elevated) 92%,
            transparent
        );
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-floating);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    font-size: 13px;
    line-height: 1.45;
    opacity: 0;
    transform: translateY(8px) scale(0.98);
    animation:
        toast-in 320ms var(--ease-smooth) forwards;
}
.toast--success {
    display:
        flex;
    align-items:
        center;
    gap:
        10px;
    border-color:
        rgba(
            70,
            190,
            120,
            0.28
        );
    background:
        color-mix(
            in srgb,
            var(--background-elevated) 91%,
            rgba(
                52,
                190,
                110,
                0.18
            )
        );
}
.toast__icon {
    width:
        24px;
    height:
        24px;
    flex:
        0 0 auto;
    display:
        grid;
    place-items:
        center;
    color:
        #73d99c;
    background:
        rgba(
            63,
            190,
            113,
            0.14
        );
    border:
        1px solid
        rgba(
            92,
            211,
            139,
            0.22
        );
    border-radius:
        50%;
    font-size:
        9px;
}
.vw-verified-badge {
    cursor:
    url('/images/cursors/help.png'),
    help;
    margin-left: 6px;
    color: #4d8dff;
    font-size: 0.78em;
    line-height: 1;
    vertical-align: 0.04em;
    flex: 0 0 auto;
    filter:
        drop-shadow(
            0 0 7px
            rgba(77, 141, 255, 0.18)
        );
}
.toast__message {
    min-width:
        0;
}
.toast.is-leaving {
    animation:
        toast-out 220ms var(--ease-standard) forwards;
}
@keyframes toast-in {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@keyframes toast-out {
    to {
        opacity: 0;
        transform: translateY(7px) scale(0.98);
    }
}
.mobile-navigation {
    display: none;
}
.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;
}
.noscript-message {
    position: fixed;
    z-index: 9999;
    left: 50%;
    bottom: 20px;
    padding: 11px 16px;
    color: var(--text);
    background: var(--background-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-round);
    box-shadow: var(--shadow-floating);
    font-size: 13px;
    transform: translateX(-50%);
}
* {
    scrollbar-width: thin;
    scrollbar-color:
        var(--vw-blue)
        transparent;
}
*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
*::-webkit-scrollbar-track {
    background:
        transparent;
}
*::-webkit-scrollbar-thumb {
    background:
        var(--vw-gradient);
    border:
        3px solid transparent;
    border-radius:
        var(--radius-round);
    background-clip:
        padding-box;
}
*::-webkit-scrollbar-thumb:hover {
    background:
        linear-gradient(
            120deg,
            #21408f 0%,
            #3973f2 52%,
            #79b4ff 100%
        );
    border:
        3px solid transparent;
    background-clip:
        padding-box;
}
@media (max-width: 1120px) {
    .topbar__inner {
        grid-template-columns:
            auto minmax(200px, 1fr) auto;
    }
    .navigation {
        display: none;
    }
}
@media (max-width: 720px) {
    :root {
        --header-height: 64px;
        --page-padding: 16px;
    }
    body {
        padding-bottom: 76px;
    }
    .topbar__inner {
        width: calc(100% - 28px);
        grid-template-columns:
            auto 1fr auto;
        gap: 11px;
    }
    .brand__name {
        display: none;
    }
    .brand__logo {
        width: 36px;
        height: 36px;
    }
    .search__field {
        height: 39px;
    }
    .topbar__actions {
        gap: 0;
    }
    .action-button,
    #settingsButton {
        display: none;
    }
    .profile-button {
        display: none;
    }
    .mobile-navigation {
        position: fixed;
        z-index: 200;
        left: 10px;
        right: 10px;
        bottom: 10px;
        height: 64px;
        display: grid;
        grid-template-columns:
    repeat(4, 1fr);
        padding:
            5px 8px;
        background:
            color-mix(
                in srgb,
                var(--background-elevated) 90%,
                transparent
            );
        border: 1px solid var(--border);
        border-radius: 22px;
        box-shadow:
            0 12px 38px rgba(0, 0, 0, 0.32);
        backdrop-filter:
            blur(24px)
            saturate(150%);
        -webkit-backdrop-filter:
            blur(24px)
            saturate(150%);
    }
    .mobile-navigation__item {
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: var(--text-tertiary);
        border-radius: 16px;
        font-size: 10px;
        font-weight: 550;
        transition:
            color var(--transition-fast),
            background var(--transition-fast),
            transform var(--transition-fast);
    }
    .mobile-navigation__item:hover {
        color: var(--text);
        background: var(--surface);
    }
    .mobile-navigation__item:active {
        transform: scale(0.94);
    }
    .mobile-navigation__item--active {
        color: var(--text);
    }
    .mobile-navigation__item--upload {
        color: var(--text);
    }
    .mobile-navigation__upload-icon {
        width: 31px;
        height: 31px;
        display: grid;
        place-items: center;
        margin-top: -12px;
        color: #ffffff;
        background: var(--vw-gradient);
        border-radius: 50%;
        box-shadow:
            0 6px 18px rgba(45, 94, 222, 0.28);
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }
}