.akazh-writers {
    --akazh-bg: #f7f2e8;
    --akazh-text: #2d2926;
    --akazh-muted: #7a7067;
    --akazh-accent: #8f2f2b;
    --akazh-line: rgba(45, 41, 38, 0.12);
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px 20px 56px;
    color: var(--akazh-text);
}

.akazh-writers__header { margin-bottom: 22px; }
.akazh-writers__thanks {
    margin: 0 0 34px;
    padding: 24px 0 26px;
    border-bottom: 1px solid var(--akazh-line);
}
.akazh-writers__total {
    margin: 0 0 6px;
    color: var(--akazh-accent);
    font-size: clamp(3.2rem, 7vw, 5.4rem);
    line-height: .95;
    font-weight: 700;
    letter-spacing: -0.035em;
    font-variant-numeric: tabular-nums;
}
.akazh-writers__thanks-text {
    margin: 0;
    max-width: 680px;
    color: var(--akazh-text);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    line-height: 1.75;
}
.akazh-writers__thanks-text strong { font-weight: 700; }

.akazh-writers__title {
    margin: 0 0 8px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    font-weight: 700;
}
.akazh-writers__subtitle {
    margin: 0;
    color: var(--akazh-muted);
    font-size: 1rem;
}

.akazh-writers__search-wrap { margin: 24px 0 18px; }
.akazh-writers__search {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--akazh-line);
    border-radius: 14px;
    background: rgba(255,255,255,.58);
    padding: 0 16px;
    font: inherit;
    color: var(--akazh-text);
    outline: none;
}
.akazh-writers__search:focus {
    border-color: var(--akazh-accent);
    box-shadow: 0 0 0 3px rgba(143,47,43,.08);
}

.akazh-writers__alphabet {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0 14px;
    margin-bottom: 12px;
    scrollbar-width: thin;
    position: sticky;
    top: 0;
    z-index: 5;
    background: inherit;
}
.akazh-writers__alphabet a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid var(--akazh-line);
    color: var(--akazh-text);
    background: rgba(255,255,255,.5);
    font-weight: 600;
}
.akazh-writers__alphabet a:hover,
.akazh-writers__alphabet a:focus {
    color: #fff;
    background: var(--akazh-accent);
    border-color: var(--akazh-accent);
}

.akazh-writers__grid {
    column-count: 3;
    column-gap: 42px;
}
.akazh-writers__group {
    break-inside: avoid;
    margin: 0 0 34px;
    scroll-margin-top: 80px;
}
.akazh-writers__letter {
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--akazh-accent);
    font-size: 1.35rem;
    line-height: 1.2;
    color: var(--akazh-accent);
}
.akazh-writers__list { display: block; }
.akazh-writers__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 46px;
    padding: 9px 2px;
    border-bottom: 1px solid var(--akazh-line);
    color: var(--akazh-text);
    text-decoration: none;
}
.akazh-writers__item:hover .akazh-writers__name,
.akazh-writers__item:focus .akazh-writers__name {
    color: var(--akazh-accent);
}
.akazh-writers__name { transition: color .15s ease; }
.akazh-writers__count {
    flex: 0 0 auto;
    min-width: 30px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(143,47,43,.08);
    color: var(--akazh-accent);
    font-size: .83rem;
    font-variant-numeric: tabular-nums;
    text-align: center;
}
.akazh-writers__empty {
    margin: 24px 0 0;
    color: var(--akazh-muted);
}

@media (max-width: 820px) {
    .akazh-writers {
        padding: 22px 16px 100px;
    }
    .akazh-writers__grid {
        column-count: 1;
    }
    .akazh-writers__group {
        margin-bottom: 28px;
    }
    .akazh-writers__item {
        min-height: 50px;
        font-size: 1.02rem;
    }
    .akazh-writers__alphabet {
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
    }
}
