.bar-wrap {
    --bar-panel: #151a23;
    --bar-border: #2b3442;
    --bar-text: #f8fafc;
    --bar-muted: #9fb0c8;
    --bar-accent: #f0b90b;
    --bar-chip: #202735;
    --bar-chip-active: #f0b90b;
    max-width: 980px;
    margin: 0 auto;
    color: var(--bar-text);
    font-family: inherit;
}

.bar-panel {
    border: 1px solid var(--bar-border);
    border-radius: 8px;
    background: var(--bar-panel);
    padding: 34px;
}

.bar-title-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    min-height: 48px;
}

.bar-title-row h2 {
    margin: 0;
    color: var(--bar-text);
    font-size: 34px;
    line-height: 1.25;
    letter-spacing: 0;
    text-align: center;
}

.bar-register-group {
    position: absolute;
    right: 0;
    top: 4px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.bar-register {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--bar-border);
    border-radius: 6px;
    color: var(--bar-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.bar-register:hover {
    color: var(--bar-text);
    border-color: var(--bar-accent);
}

.bar-section-tabs,
.bar-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bar-section-tabs {
    justify-content: center;
    margin-bottom: 18px;
}

.bar-category-tabs {
    justify-content: flex-start;
    margin-bottom: 24px;
}

.bar-section-tabs a,
.bar-category-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    line-height: 1;
}

.bar-section-tabs a {
    min-width: 132px;
    padding: 0 18px;
    border: 1px solid var(--bar-accent);
    background: transparent;
    color: var(--bar-accent);
}

.bar-section-tabs a.is-active,
.bar-section-tabs a:hover {
    background: var(--bar-accent);
    color: #111827;
}

.bar-category-tabs a {
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid var(--bar-border);
    background: var(--bar-chip);
    color: var(--bar-muted);
    font-size: 13px;
}

.bar-category-tabs a.is-active,
.bar-category-tabs a:hover {
    border-color: var(--bar-chip-active);
    background: var(--bar-chip-active);
    color: #111827;
}

.bar-list {
    display: block;
}

.bar-item {
    padding: 22px 0;
    border-top: 1px solid var(--bar-border);
}

.bar-item:first-child {
    border-top: 0;
}

.bar-item h3 {
    margin: 0 0 9px;
    color: var(--bar-text);
    font-size: 20px;
    line-height: 1.55;
    letter-spacing: 0;
}

.bar-item h3 a {
    color: var(--bar-text);
    text-decoration: none;
}

.bar-item h3 a:hover {
    color: var(--bar-accent);
}

.bar-item p {
    margin: 0;
    color: var(--bar-muted);
    font-size: 15px;
    line-height: 1.6;
}

.bar-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--bar-border);
}

.bar-pagination a,
.bar-pagination span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    border-radius: 6px;
    font-size: 14px;
}

.bar-pagination a {
    padding: 0 14px;
    background: var(--bar-accent);
    color: #111827;
    text-decoration: none;
    font-weight: 700;
}

.bar-pagination span {
    color: var(--bar-muted);
}

.bar-empty {
    margin: 0;
    padding: 18px;
    border: 1px dashed var(--bar-border);
    border-radius: 8px;
    color: var(--bar-muted);
    text-align: center;
}

@media (max-width: 720px) {
    .bar-panel {
        padding: 24px 18px;
    }

    .bar-title-row {
        display: block;
        text-align: center;
    }

    .bar-title-row h2 {
        font-size: 28px;
    }

    .bar-register {
        margin-top: 0;
    }

    .bar-register-group {
        position: static;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 14px;
    }

    .bar-section-tabs a {
        min-width: 116px;
    }

    .bar-item h3 {
        font-size: 18px;
    }
}
