/* ============================================================
   Нейрория — дизайн-система сайта.
   Светлая и тёмная темы, флюидная типографика, адаптивность.
   ============================================================ */

:root {
    color-scheme: light dark;

    /* Палитра (светлая тема). */
    --bg: #f4f4f6;
    --surface: #ffffff;
    --surface-2: #ededf0;
    --surface-3: #e4e4e8;
    --text: #1b1b1f;
    --text-strong: #121215;
    --text-secondary: #66666e;
    --text-muted: #97979f;
    --border: #e6e6ea;

    /* Акцент. */
    --accent: #ff8a00;
    --accent-2: #ff5c2b;
    --accent-soft: #fff1e0;
    --accent-grad: linear-gradient(135deg, #ff8a00, #ff5c2b);
    --yellow: #ffdc4d;
    --yellow-hover: #ffd11a;

    /* Тени и скругления. */
    --shadow: 0 1px 2px rgba(18, 18, 21, 0.05), 0 4px 14px rgba(18, 18, 21, 0.06);
    --shadow-hover: 0 6px 16px rgba(18, 18, 21, 0.10), 0 16px 40px rgba(18, 18, 21, 0.14);
    --radius: 18px;
    --radius-sm: 12px;

    /* Флюидная типографика. */
    --fs-title: clamp(1.45rem, 1.1rem + 1.6vw, 2rem);
    --fs-article: clamp(2rem, 1.4rem + 2.4vw, 2.7rem);
    --fs-body: clamp(1.05rem, 1rem + 0.3vw, 1.18rem);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #131316;
        --surface: #1d1d21;
        --surface-2: #28282d;
        --surface-3: #313137;
        --text: #ececef;
        --text-strong: #ffffff;
        --text-secondary: #a4a4ac;
        --text-muted: #74747c;
        --border: #2c2c32;
        --accent-soft: #3a2a18;
        --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 14px rgba(0, 0, 0, 0.35);
        --shadow-hover: 0 6px 16px rgba(0, 0, 0, 0.5), 0 16px 40px rgba(0, 0, 0, 0.45);
    }
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

/* Подвал прижат к низу экрана на коротких страницах. */
body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

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

h1, h2, h3, h4, h5, h6 {
    line-height: 1.22;
    color: var(--text-strong);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

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

/* ============ Шапка ============ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: color-mix(in srgb, var(--surface) 82%, transparent);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--border);
}

.site-header-inner {
    max-width: 1320px;
    margin: 0 auto;
    height: 58px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 20px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
}

.site-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--accent-grad);
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    box-shadow: 0 3px 10px rgba(255, 122, 0, 0.35);
}

.site-logo-text {
    font-weight: 800;
    font-size: 1.22rem;
    letter-spacing: 0.02em;
    color: var(--accent-2);
    text-transform: uppercase;
}

.site-search {
    flex: 1 1 auto;
    max-width: 540px;
    display: flex;
    align-items: center;
    height: 40px;
    background: var(--surface-2);
    border: 1px solid transparent;
    border-radius: 22px;
    padding: 0 5px 0 14px;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.site-search:focus-within {
    background: var(--surface);
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--yellow) 35%, transparent);
}

.site-search-icon {
    display: inline-flex;
    color: var(--text-muted);
    margin-right: 8px;
}

.site-search-icon svg {
    width: 18px;
    height: 18px;
}

.site-search-input {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.95rem;
    color: var(--text);
}

.site-search-input::placeholder {
    color: var(--text-muted);
}

.site-search-btn {
    flex: 0 0 auto;
    height: 31px;
    padding: 0 18px;
    border: none;
    border-radius: 18px;
    background: var(--yellow);
    color: #1b1b1f;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.site-search-btn:hover {
    background: var(--yellow-hover);
}

.site-search-btn:active {
    transform: scale(0.96);
}

/* ============ Каркас: сайдбар + контент ============ */

.layout {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 26px;
    padding: 20px 20px 56px;
}

.sidebar {
    flex: 0 0 218px;
    position: sticky;
    top: 76px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 10px 14px;
    border-radius: 12px;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.12s ease, color 0.12s ease;
}

.sidebar-item:hover {
    background: var(--surface-2);
}

.sidebar-item.active {
    background: var(--accent-soft);
    color: var(--accent-2);
}

.sidebar-item svg {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    opacity: 0.85;
}

.sidebar-sub {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 2px 0 6px 25px;
    padding-left: 10px;
    border-left: 1px solid var(--border);
}

.sidebar-subitem {
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background 0.12s ease, color 0.12s ease;
}

.sidebar-subitem:hover {
    background: var(--surface-2);
    color: var(--text);
}

.sidebar-subitem.active {
    background: var(--accent-soft);
    color: var(--accent-2);
}

.sidebar-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 6px;
}

.sidebar-title {
    padding: 6px 14px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
}

.content {
    flex: 1 1 auto;
    min-width: 0;
}

/* ============ Заголовки страниц и крошки ============ */

.page-title {
    font-size: var(--fs-title);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 2px 0 10px;
}

.page-lead {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0 0 20px;
    max-width: 640px;
    white-space: pre-line;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

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

.breadcrumb-sep {
    color: var(--text-muted);
}

/* ============ Чипы ============ */

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.chip:hover {
    background: var(--text-strong);
    border-color: var(--text-strong);
    color: var(--bg);
    transform: translateY(-1px);
}

.chip {
    gap: 8px;
}

.chip-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.chip-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: hsl(var(--h, 26) 85% 55%);
}

/* ============ Плитки подразделов ============ */

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 14px;
    margin-bottom: 26px;
}

.section-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: var(--surface);
    border-radius: 14px;
    box-shadow: var(--shadow);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.section-tile:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.section-tile-cover {
    position: relative;
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    border-radius: 12px;
    overflow: hidden;
    background:
        radial-gradient(130% 140% at 10% 0%, hsl(var(--h, 26) 90% 70% / 0.9), transparent 55%),
        linear-gradient(135deg, hsl(var(--h, 26) 85% 60%), hsl(calc(var(--h, 26) + 45) 88% 48%));
}

.section-tile-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.section-tile-cover-empty::after {
    content: attr(data-label);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 800;
    font-size: 1.5rem;
}

.section-tile-body {
    min-width: 0;
}

.section-tile-title {
    font-weight: 700;
    color: var(--text-strong);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.section-tile-count {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============ Герой-карточка ============ */

.hero {
    position: relative;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    aspect-ratio: 21 / 8;
    min-height: 240px;
    background:
        radial-gradient(120% 160% at 8% 0%, hsl(var(--h, 26) 95% 64% / 0.95), transparent 55%),
        radial-gradient(110% 150% at 95% 10%, hsl(calc(var(--h, 26) + 50) 90% 56% / 0.9), transparent 60%),
        linear-gradient(135deg, hsl(var(--h, 26) 80% 38%), hsl(calc(var(--h, 26) + 30) 85% 30%));
    box-shadow: var(--shadow);
}

.hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.hero:hover img {
    transform: scale(1.035);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 32%, rgba(8, 8, 12, 0.78));
}

.hero-content {
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.hero-title {
    font-size: clamp(1.35rem, 1rem + 2vw, 2.2rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: #fff;
    text-wrap: balance;
}

.hero .rubric {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* ============ Карточка статьи ============ */

.card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.card-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background:
        radial-gradient(130% 140% at 10% 0%, hsl(var(--h, 26) 90% 70% / 0.9), transparent 55%),
        linear-gradient(135deg, hsl(var(--h, 26) 85% 60%), hsl(calc(var(--h, 26) + 45) 88% 48%));
}

.card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.card:hover .card-cover img {
    transform: scale(1.05);
}

.card-cover-empty::after {
    content: attr(data-label);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 800;
    font-size: 4.2rem;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.15);
}

.card-chip {
    position: absolute;
    left: 10px;
    top: 10px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(14, 14, 18, 0.55);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 13px 15px 16px;
    flex: 1 1 auto;
}

.card-title {
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.32;
    color: var(--text-strong);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============ Лента и подборки ============ */

.feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.feed-search-info {
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.collection {
    margin-bottom: 36px;
}

.collection-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 14px;
}

.collection-title {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text-strong);
}

.collection-title:hover {
    color: var(--accent-2);
}

.collection-count {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.collection-all {
    margin-left: auto;
    flex: 0 0 auto;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.collection-all:hover {
    color: var(--accent-2);
}

.collection-row {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 2px 2px 12px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: var(--surface-3) transparent;
}

.collection-row .card {
    flex: 0 0 276px;
    scroll-snap-align: start;
}

.collection-row::-webkit-scrollbar {
    height: 8px;
}

.collection-row::-webkit-scrollbar-thumb {
    background: var(--surface-3);
    border-radius: 4px;
}

/* ============ Скелетоны загрузки ============ */

.skeleton {
    position: relative;
    overflow: hidden;
    background: var(--surface-2);
    border-radius: 8px;
}

.skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--surface) 65%, transparent), transparent);
    animation: skeleton-shimmer 1.4s infinite;
}

@keyframes skeleton-shimmer {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

.skeleton-cover {
    aspect-ratio: 16 / 9;
    border-radius: 0;
}

.skeleton-line {
    height: 14px;
    margin-bottom: 8px;
}

.skeleton-line.w60 {
    width: 60%;
}

/* ============ Пустые состояния ============ */

.empty {
    padding: 56px 20px;
    text-align: center;
    color: var(--text-secondary);
}

.empty-emoji {
    width: 74px;
    height: 74px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 50%;
    background: var(--accent-soft);
}

/* ============ Страница статьи ============ */

.read-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 200;
    background: var(--accent-grad);
    transform-origin: 0 50%;
    transform: scaleX(0);
}

@supports (animation-timeline: scroll()) {
    .read-progress {
        animation: read-progress linear;
        animation-timeline: scroll(root);
    }

    @keyframes read-progress {
        from { transform: scaleX(0); }
        to { transform: scaleX(1); }
    }
}

.article-layout {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.article {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    max-width: 760px;
}

.article-rubrics {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.rubric {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-2);
    font-size: 0.85rem;
    font-weight: 700;
    transition: background 0.15s ease;
}

.rubric:hover {
    background: color-mix(in srgb, var(--accent-soft) 70%, var(--accent) 30%);
}

.article-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.article-title {
    font-size: var(--fs-article);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.12;
    margin: 0 0 18px;
    text-wrap: balance;
}

.article-cover {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 26px;
    display: block;
    box-shadow: var(--shadow);
}

.article-body {
    font-size: var(--fs-body);
    line-height: 1.75;
    color: var(--text);
}

.article-body > p:first-of-type {
    font-size: calc(var(--fs-body) * 1.08);
    color: var(--text-strong);
}

.article-body p {
    margin: 0 0 1.2rem;
}

.article-body h2 {
    font-size: 1.65rem;
    font-weight: 800;
    margin: 2rem 0 0.9rem;
}

.article-body h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 1.7rem 0 0.8rem;
}

.article-body h4, .article-body h5, .article-body h6 {
    font-weight: 700;
    margin: 1.5rem 0 0.7rem;
}

.article-body ul, .article-body ol {
    margin: 0 0 1.2rem;
    padding-left: 1.6rem;
}

.article-body li {
    margin-bottom: 0.4rem;
}

.article-body li::marker {
    color: var(--accent);
}

.article-body a {
    color: var(--accent-2);
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--accent-2) 45%, transparent);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: text-decoration-color 0.15s ease;
}

.article-body a:hover {
    text-decoration-color: var(--accent-2);
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

.article-body figure {
    margin: 1.8rem 0;
    text-align: center;
}

.article-body figcaption {
    margin-top: 0.6rem;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.article-body blockquote {
    margin: 1.5rem 0;
    padding: 0.4rem 1.2rem;
    border-left: 4px solid var(--accent);
    color: var(--text-secondary);
}

/* ============ Колонка «Читайте также» ============ */

.article-rail {
    flex: 0 0 300px;
    position: sticky;
    top: 76px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rail-title {
    font-size: 1.08rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.rail-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 14px;
    transition: background 0.12s ease;
}

.rail-card:hover {
    background: var(--surface);
}

.rail-thumb {
    flex: 0 0 84px;
    width: 84px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, hsl(var(--h, 26) 85% 64%), hsl(calc(var(--h, 26) + 45) 88% 50%));
}

.rail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rail-card-title {
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============ Подвал ============ */

.site-footer {
    border-top: 1px solid var(--border);
    margin-top: 8px;
}

.site-footer-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 22px 20px 30px;
    color: var(--text-muted);
    font-size: 0.88rem;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    align-items: center;
}

.site-footer-inner a:hover {
    color: var(--accent-2);
}

/* ============ Адаптивность ============ */

@media (max-width: 1100px) {
    .article-layout {
        flex-direction: column;
    }

    .article-rail {
        position: static;
        flex: 0 0 auto;
        width: 100%;
        max-width: 760px;
    }

    .rail-card {
        background: var(--surface);
        box-shadow: var(--shadow);
        margin-bottom: 8px;
    }
}

@media (max-width: 920px) {
    .layout {
        flex-direction: column;
        gap: 14px;
        padding: 14px 14px 44px;
    }

    .sidebar {
        position: static;
        flex: 0 0 auto;
        width: 100%;
        flex-direction: row;
        align-items: center;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .sidebar::-webkit-scrollbar {
        display: none;
    }

    .sidebar-item {
        flex: 0 0 auto;
        padding: 8px 14px;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 999px;
    }

    .sidebar-item.active {
        border-color: transparent;
    }

    .sidebar-divider, .sidebar-title, .sidebar-sub {
        display: none;
    }

    .hero {
        aspect-ratio: 16 / 9;
        min-height: 200px;
    }

    .hero-content {
        left: 16px;
        right: 16px;
        bottom: 14px;
    }
}

@media (max-width: 640px) {
    .site-header-inner {
        gap: 10px;
        padding: 0 12px;
    }

    .site-logo-text {
        display: none;
    }

    .collection-row .card {
        flex-basis: 240px;
    }
}

/* ============ Служебное ============ */

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    color: #1b1b1f;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: #b32121;
    padding: 0.8rem 1.2rem;
    color: white;
    border-radius: 10px;
}

.blazor-error-boundary::after {
    content: "Произошла ошибка.";
}
