body {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100dvh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    margin: 0;
    padding: var(--header-height) 0 0;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-text);
    margin-top: 0;
    margin-bottom: 16px;
}

p {
    margin-bottom: 16px;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--color-accent-hover);
}

.container {
    width: min(1440px, calc(100% - 48px));
    margin-inline: auto;
}

/* Личные списки и уведомления: строки не растягиваем на всю ширину контейнера. */
.page-narrow {
    max-width: 960px;
}

.empty-state {
    text-align: center;
    padding: 64px 32px;
    color: var(--color-text-secondary);
}

.empty-state__mascot {
    display: block;
    width: 88px;
    height: auto;
    margin: 0 auto 20px;
}

.empty-state p {
    margin-top: 16px;
    font-size: 18px;
}

@media (max-width: 480px) {
.container {
        width: min(1440px, calc(100% - 32px));
    }
}

@media (prefers-reduced-motion: reduce) {
* {
        animation: none !important;
        transition: none !important;
    }
}

img {
    max-width: 100%;
    height: auto;
}

.empty-state {
    color: var(--color-text-secondary);
}

.empty-state p {
    font-size: 14px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
