:root {
    --font-family: "Inter", sans-serif;

    --sidebar-width: 72px;
    --friendsbar-width: 72px;
    --topbar-height: 72px;

    --content-max-width: 1440px;

    --transition-fast: 0.18s ease;
    --transition: 0.25s ease;

    --radius-small: 8px;
    --radius: 10px;
    --radius-large: 14px;
}

:root,
[data-theme="dark"] {
    --color-bg: #0c0c0c;
    --color-bg-secondary: #111111;
    --color-bg-tertiary: #151515;

    --color-surface: #121212;
    --color-surface-hover: #181818;
    --color-surface-active: #1c1c1c;

    --color-border: #252525;
    --color-border-light: #303030;

    --color-text: #f1f1f1;
    --color-text-secondary: #a2a2a2;
    --color-text-muted: #686868;

    --color-primary: #ffffff;
    --color-primary-text: #111111;
    --color-primary-hover: #e8e8e8;

    --color-danger: #dc5555;
    --color-success: #4caf72;

    --color-info: #4f93e0;
    --color-warning: #e0a83b;

    --shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] {
    --color-bg: #f3f3f3;
    --color-bg-secondary: #ffffff;
    --color-bg-tertiary: #eeeeee;

    --color-surface: #ffffff;
    --color-surface-hover: #f4f4f4;
    --color-surface-active: #eaeaea;

    --color-border: #dddddd;
    --color-border-light: #cccccc;

    --color-text: #161616;
    --color-text-secondary: #666666;
    --color-text-muted: #929292;

    --color-primary: #161616;
    --color-primary-text: #ffffff;
    --color-primary-hover: #0f0f0f;

    --color-danger: #c84646;
    --color-success: #3d9862;

    --color-info: #3d7fbf;
    --color-warning: #b88525;

    --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;

    overflow-x: hidden;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

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

body {
    min-height: 100vh;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-family);
    font-size: 14px;
    line-height: 1.5;
    overflow-x: hidden;

    scrollbar-width: none;
    -ms-overflow-style: none;

    transition:
        background-color var(--transition),
        color var(--transition);
}

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

* {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

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

button,
input {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

@media (max-width: 900px) {
    :root {
        --sidebar-width: 64px;
        --friendsbar-width: 64px;
        --topbar-height: 64px;
    }
}

@media (max-width: 700px) {
    :root {
        --sidebar-width: 0px;
        --friendsbar-width: 0px;
        --topbar-height: 64px;
    }
}