

        @import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

        body {
            font-family: 'Nunito', sans-serif;
            background: linear-gradient(160deg, #0d0d0d 0%, #1a0a2e 40%, #2d1b4e 100%);
            margin: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            min-height: 100vh;
            padding: 36px 20px;
        }

        .qyry {
            position: relative;
            width: 82%;
            max-width: 1050px;
            height: 510px;
            background: linear-gradient(145deg, #fefefe 0%, #f5f0ff 100%);
            border-radius: 24px;
            box-shadow:
                0 25px 70px rgba(100, 30, 200, 0.35),
                0 0 0 1px rgba(180, 130, 255, 0.15);
            padding: 30px;
            margin-bottom: 30px;
        }

        .serog {
            position: absolute;
            top: 30px;
            left: 30px;
            right: 30px;
            bottom: 30px;
        }

        #pointsCanvas {
            pointer-events: none;
            z-index: 10;
        }

        #chartCanvas {
            z-index: 5;
        }

        .nori {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            justify-content: center;
            max-width: 1050px;
            background: rgba(255, 255, 255, 0.06);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            padding: 22px;
            border-radius: 18px;
            color: #e2d9f3;
            border: 1px solid rgba(180, 130, 255, 0.2);
        }

        .control-group {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 80px;
        }

        .control-group input {
            width: 58px;
            padding: 8px 6px;
            border-radius: 12px;
            border: 2px solid rgba(180, 130, 255, 0.35);
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            text-align: center;
            font-family: 'Nunito', sans-serif;
            font-size: 14px;
            font-weight: 600;
            transition: border-color 0.2s, background 0.2s;
        }

        .control-group input:focus {
            outline: none;
            border-color: #b47dff;
            background: rgba(255, 255, 255, 0.18);
        }






@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

/* ── Контейнер карточек ── */
.xalyx {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    justify-content: flex-start;
    padding: 12px 0;
}

/* ── Карточка поста ── */
.sipaman.pimuh {
    flex: 0 0 calc(33.333% - 26px);
    box-sizing: border-box;

    background: #ffffff;
    border: 1px solid #ede8ff;
    padding: 26px 24px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(100, 30, 200, 0.07);

    font-family: 'Nunito', sans-serif;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    position: relative;
    overflow: hidden;
}

.sipaman.pimuh::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #b47dff, #7c3aed);
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transition: opacity 0.28s ease;
}

.sipaman.pimuh:hover {
    transform: translateY(-6px);
    border-color: #d4c4ff;
    box-shadow: 0 16px 40px rgba(100, 30, 200, 0.14);
}

.sipaman.pimuh:hover::before {
    opacity: 1;
}

.sipaman .vuqejux {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sipaman h2 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 800;
    color: #1e0d3a;
    line-height: 1.35;
}

.sipaman p,
.sipaman span {
    font-size: 14px;
    color: #7a6e96;
    line-height: 1.65;
}

/* ── Категориальная сетка ── */
.fobexot {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
    padding: 26px;
    background: #f7f4ff;
    border-radius: 18px;
}

/* ── Карточка категории ── */
.category-card {
    display: inline-block !important;
    min-width: 115px;
    text-align: center;
    padding: 10px 24px;
    background: #ffffff;
    color: #5b35a8;
    text-decoration: none;
    border: 2px solid #e5d9ff;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 10px rgba(100, 30, 200, 0.07);
    transition: all 0.22s ease;
}

.category-card:hover {
    background: linear-gradient(135deg, #7c3aed, #b47dff);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}

/* ── Футер ── */
.wufizu {
    background: #f7f4ff;
    padding: 52px 26px;
    font-family: 'Nunito', sans-serif;
}

.lalyz {
    max-width: 1200px;
    margin: 0 auto;
}

.levuh {
    margin-bottom: 24px;
    font-size: 22px;
    font-weight: 800;
    color: #1e0d3a;
}

/* ── Адаптивность ── */
@media (max-width: 992px) {
    .sipaman.pimuh {
        flex: 0 0 calc(50% - 26px);
    }
}

@media (max-width: 768px) {
    .sipaman.pimuh {
        flex: 0 0 100%;
    }

    .category-card {
        padding: 9px 18px;
        font-size: 12px;
    }
}






@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

/* ── Контейнер карточек категории ── */
.xalyx {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    justify-content: flex-start;
    padding: 12px 0;
}

/* ── Карточка поста в категории ── */
.sipaman.pimuh {
    flex: 0 0 calc(33.333% - 26px);
    box-sizing: border-box;

    background: #fdf9ff;
    border: 1px solid #e8dfff;
    padding: 24px 22px;
    border-radius: 22px;
    box-shadow: 0 4px 16px rgba(100, 30, 200, 0.06);

    font-family: 'Nunito', sans-serif;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    position: relative;
}

.sipaman.pimuh::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background: linear-gradient(90deg, #7c3aed, #b47dff);
    border-radius: 0 0 22px 22px;
    opacity: 0;
    transition: opacity 0.28s ease;
}

.sipaman.pimuh:hover {
    transform: translateY(-6px);
    border-color: #c9b3ff;
    box-shadow: 0 18px 44px rgba(100, 30, 200, 0.13);
}

.sipaman.pimuh:hover::after {
    opacity: 1;
}

.sipaman .vuqejux {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sipaman h2 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 800;
    color: #1e0d3a;
    line-height: 1.4;
}

.sipaman p,
.sipaman span {
    font-size: 13.5px;
    color: #8070a8;
    line-height: 1.65;
}

/* ── Адаптивность ── */
@media (max-width: 992px) {
    .sipaman.pimuh {
        flex: 0 0 calc(50% - 26px);
    }
}

@media (max-width: 768px) {
    .sipaman.pimuh {
        flex: 0 0 100%;
    }
}

