.afw-v52 {
    --afw-background-color: #ffffff;
    --afw-heading-color: #151a3d;
    --afw-text-color: #242735;
    --afw-muted-color: #7b8190;
    --afw-accent-color: #4f46e5;
    --afw-button-color: #151a3d;
    --afw-button-text-color: #ffffff;
    --afw-button-hover-color: #272d58;
    --afw-button-hover-text-color: #ffffff;
    --afw-header-bg: #f5f6fa;
    --afw-row-bg: #ffffff;
    --afw-row-hover-bg: #f8f9fd;
    --afw-border-color: #e5e7ee;
    --afw-input-bg: #ffffff;
    --afw-input-text-color: #252936;
    color: var(--afw-text-color);
}
.afw-v52 * { box-sizing: border-box; }
.afw-v52-inner { width: 100%; margin: 0 auto; background: var(--afw-background-color); }
.afw-v52-title { margin: 0 0 18px; color: var(--afw-heading-color); line-height: 1.15; }
.afw-v52-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:14px; flex-wrap:wrap; }
.afw-v52-toolbar-right { display:flex; align-items:center; gap:10px; margin-left:auto; flex-wrap:wrap; }
.afw-v52-button, .afw-v52-search-button {
    display:inline-flex; align-items:center; justify-content:center;
    text-decoration:none !important; border:0; cursor:pointer;
    background:var(--afw-button-color); color:var(--afw-button-text-color) !important;
    font-weight:600; line-height:1.2; transition:.2s ease;
}
.afw-v52-button:hover, .afw-v52-search-button:hover {
    background:var(--afw-button-hover-color); color:var(--afw-button-hover-text-color) !important;
}
.afw-v52-search, .afw-v52-sort { display:flex; align-items:center; gap:8px; margin:0; }
.afw-v52-sort label { font-size:12px; font-weight:600; color:var(--afw-text-color); }
.afw-v52-input, .afw-v52-select {
    background:var(--afw-input-bg); color:var(--afw-input-text-color);
    border:1px solid var(--afw-border-color); outline:none; min-height:42px;
}
.afw-v52-input:focus, .afw-v52-select:focus { border-color:var(--afw-accent-color); }
.afw-v52-input { min-width:220px; }
.afw-v52-panel { background:var(--afw-row-bg); border:1px solid var(--afw-border-color); overflow:hidden; }
.afw-v52-columns, .afw-v52-topic-row {
    display:grid; grid-template-columns:minmax(280px,1fr) minmax(140px,190px) 90px 90px 130px;
    align-items:center;
}
.afw-v52-columns {
    background:var(--afw-header-bg); color:var(--afw-muted-color);
    padding:13px 20px; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.03em;
}
.afw-v52-col-topic { text-align:left; }
.afw-v52-col-stat, .afw-v52-col-updated { text-align:center; }
.afw-v52-list { display:flex; flex-direction:column; }
.afw-v52-topic-row {
    background:var(--afw-row-bg); border-top:1px solid var(--afw-border-color);
    padding:18px 20px; transition:background .18s ease, transform .18s ease;
}
.afw-v52-topic-row:hover { background:var(--afw-row-hover-bg); }
.afw-v52-topic-title { color:var(--afw-heading-color); text-decoration:none !important; font-weight:650; line-height:1.35; }
.afw-v52-topic-title:hover { color:var(--afw-accent-color); }
.afw-v52-meta { color:var(--afw-muted-color); font-size:12px; margin-top:5px; line-height:1.45; }
.afw-v52-author { display:flex; align-items:center; gap:9px; min-width:0; }
.afw-v52-author-name { color:var(--afw-text-color); font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.afw-v52-avatar {
    width:44px; height:44px; flex:0 0 44px; display:block; overflow:hidden;
    border:0 solid transparent;
}
.afw-v52-avatar img, .afw-v52-avatar-img { width:100% !important; height:100% !important; object-fit:cover; display:block; }
.afw-v52-topic-stat { text-align:center; min-width:0; }
.afw-v52-topic-stat strong { display:block; color:var(--afw-text-color); font-size:14px; }
.afw-v52-stat-label { display:none; color:var(--afw-muted-color); font-size:11px; }
.afw-v52-topic-updated { text-align:center; color:var(--afw-muted-color); font-size:12px; }
.afw-v52-mobile-author { display:none; }
.afw-v52-empty { padding:40px 24px; text-align:center; color:var(--afw-muted-color); }
.afw-v52-pagination { margin-top:18px; }
.afw-v52-pagination ul { display:flex; justify-content:center; gap:7px; padding:0; margin:0; list-style:none; }
.afw-v52-pagination a, .afw-v52-pagination span {
    display:inline-flex; align-items:center; justify-content:center; min-width:38px; height:38px;
    border:1px solid var(--afw-border-color); border-radius:10px; text-decoration:none;
    color:var(--afw-text-color); background:var(--afw-row-bg);
}
.afw-v52-pagination .current { background:var(--afw-button-color); color:var(--afw-button-text-color); border-color:var(--afw-button-color); }

@media (max-width: 900px) {
    .afw-v52-columns { display:none; }
    .afw-v52-topic-row { grid-template-columns:1fr auto; gap:12px; }
    .afw-v52-topic-main { min-width:0; }
    .afw-v52-topic-stat, .afw-v52-topic-updated { text-align:right; }
    .afw-v52-author { justify-content:flex-end; }
    .afw-v52-topic-stat:nth-child(n+3) { display:block; }
    .afw-v52-stat-label { display:block; }
    .afw-v52-mobile-author { display:block; margin-top:10px; }
    .afw-v52-topic-main .afw-v52-mobile-author .afw-v52-author { justify-content:flex-start; }
    .afw-v52-topic-stat .afw-v52-author-name { display:none; }
}
@media (max-width: 640px) {
    .afw-v52-toolbar, .afw-v52-toolbar-right { width:100%; }
    .afw-v52-toolbar-right { margin-left:0; flex-direction:column; align-items:stretch; }
    .afw-v52-search, .afw-v52-sort { width:100%; }
    .afw-v52-input, .afw-v52-select { width:100%; min-width:0; }
    .afw-v52-search-button { flex:0 0 auto; }
    .afw-v52-topic-row { grid-template-columns:1fr; }
    .afw-v52-topic-stat, .afw-v52-topic-updated { text-align:left; }
    .afw-v52-topic-stat .afw-v52-author { justify-content:flex-start; }
    .afw-v52-topic-stat .afw-v52-author-name { display:inline; }
}
