/* Иконки сайта Вилка — один стиль (линия 2, сетка 24). 03.12.2026.
 Использование: <i class="vi vi--pot" aria-hidden="true"></i>. Цвет — переменная --vi-color (по умолчанию томатный).
 Размер — font-size или width/height у .vi. Иконка рисуется маской, поэтому цвет меняется одной строкой. */
:root{--vi-color:#C8420E;--i-pot:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 11h14v5.5a3.5 3.5 0 0 1-3.5 3.5h-7A3.5 3.5 0 0 1 5 16.5z%22/%3E%3Cpath d=%22M3 11h18M9 4c-.9.9.9 1.9 0 3.2M12 3.5c-.9.9.9 1.9 0 3.2M15 4c-.9.9.9 1.9 0 3.2%22/%3E%3C/svg%3E");--i-print:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M7 9V3.5h10V9%22/%3E%3Crect x=%223%22 y=%229%22 width=%2218%22 height=%228%22 rx=%222.5%22/%3E%3Cpath d=%22M7 14h10v6.5H7z%22/%3E%3C/svg%3E");--i-share:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 15V3.5M7.5 8 12 3.5 16.5 8%22/%3E%3Cpath d=%22M5 12v6.5A2 2 0 0 0 7 20.5h10a2 2 0 0 0 2-2V12%22/%3E%3C/svg%3E");--i-error:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 4.5h14a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-8.5L6 21v-3.5H5a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2z%22/%3E%3Cpath d=%22M12 7.5v4.5M12 14.5v.01%22/%3E%3C/svg%3E");--i-bookmark:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6.5 5a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2v15.5L12 16.8l-5.5 3.7z%22/%3E%3C/svg%3E");--i-heart:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 19.5s-8-4.6-8-10.2A4.3 4.3 0 0 1 12 7a4.3 4.3 0 0 1 8 2.3c0 5.6-8 10.2-8 10.2z%22/%3E%3C/svg%3E");--i-msg:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 4.5h14a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-8.5L6 21v-3.5H5a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2z%22/%3E%3C/svg%3E");--i-eye:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M2.5 12c2-4 5.5-6.5 9.5-6.5s7.5 2.5 9.5 6.5c-2 4-5.5 6.5-9.5 6.5S4.5 16 2.5 12z%22/%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%222.8%22/%3E%3C/svg%3E");--i-cal:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223.5%22 y=%225.5%22 width=%2217%22 height=%2215%22 rx=%222.5%22/%3E%3Cpath d=%22M3.5 10h17M8 3.5v4M16 3.5v4%22/%3E%3C/svg%3E");--i-home:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3.5 10.5 12 3.8l8.5 6.7V19a1.5 1.5 0 0 1-1.5 1.5H5A1.5 1.5 0 0 1 3.5 19z%22/%3E%3Cpath d=%22M10 20.5v-4.5a2 2 0 0 1 4 0v4.5%22/%3E%3C/svg%3E");--i-recipes:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4.5 11.5h15v5a3.5 3.5 0 0 1-3.5 3.5H8a3.5 3.5 0 0 1-3.5-3.5z%22/%3E%3Cpath d=%22M8 15h8M2.5 11.5h19M9 3.8c-.9.9.9 1.9 0 3.2M12 3.3c-.9.9.9 1.9 0 3.2M15 3.8c-.9.9.9 1.9 0 3.2%22/%3E%3C/svg%3E");--i-search:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2211%22 cy=%2211%22 r=%226.5%22/%3E%3Cpath d=%22m20 20-4.4-4.4%22/%3E%3C/svg%3E");--i-chef:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M7 17v-4a4 4 0 0 1-1-7.6A4.5 4.5 0 0 1 12 3a4.5 4.5 0 0 1 6 2.4A4 4 0 0 1 17 13v4zM7 17h10v3.5H7z%22/%3E%3Cpath d=%22M10 12.5v2.5M14 12.5v2.5%22/%3E%3C/svg%3E");--i-user:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%228.5%22 r=%223.8%22/%3E%3Cpath d=%22M4.5 20.5c0-3.6 3.4-6.3 7.5-6.3s7.5 2.7 7.5 6.3%22/%3E%3C/svg%3E");--i-logout:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M10 4H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h4%22/%3E%3Cpath d=%22M9.5 12H20M16 8l4 4-4 4%22/%3E%3C/svg%3E");--i-plus:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 5v14M5 12h14%22/%3E%3C/svg%3E");--i-bookmark-on:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22%23000%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6.5 5a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2v15.5L12 16.8l-5.5 3.7z%22/%3E%3C/svg%3E")}
.vi{display:inline-block;flex:none;width:1.25em;height:1.25em;vertical-align:middle;background-color:var(--vi-color);-webkit-mask:var(--vi) center/contain no-repeat;mask:var(--vi) center/contain no-repeat}
.vi--pot{--vi:var(--i-pot)}.vi--print{--vi:var(--i-print)}.vi--share{--vi:var(--i-share)}.vi--error{--vi:var(--i-error)}.vi--bookmark{--vi:var(--i-bookmark)}.vi--heart{--vi:var(--i-heart)}.vi--msg{--vi:var(--i-msg)}.vi--eye{--vi:var(--i-eye)}.vi--cal{--vi:var(--i-cal)}.vi--home{--vi:var(--i-home)}.vi--recipes{--vi:var(--i-recipes)}.vi--search{--vi:var(--i-search)}.vi--chef{--vi:var(--i-chef)}.vi--user{--vi:var(--i-user)}.vi--logout{--vi:var(--i-logout)}.vi--plus{--vi:var(--i-plus)}
/* Шаг 1 (03.12.2026): счётчики на карточках и странице рецепта — те же иконки; иконка и текст тёмно-серые #4A443D (выбор Альберта 03.12, вариант B); старые PNG из design.css/favorites.css больше не грузятся.
 «html» в начале — чтобы правило было сильнее одноимённых в design.css и favorites.css, которые подключаются раньше/позже. */
html .added_date:before{--vi:var(--i-cal)}html .views:before{--vi:var(--i-eye)}html .likes:before{--vi:var(--i-heart)}html .comments:before{--vi:var(--i-msg)}html .saves:before{--vi:var(--i-bookmark)}html .saves.on:before{--vi:var(--i-bookmark-on)}
html :is(.added_date,.views,.likes,.comments,.saves):before{background:#4A443D;-webkit-mask:var(--vi) center/contain no-repeat;mask:var(--vi) center/contain no-repeat}
html :is(.added_date,.views,.likes).white:before{background:#fff}
html :is(.added_date,.views,.likes,.comments,.saves):not(.white),html :is(.stats,.stats-badge) :is(.likes,.comments,.views){color:#4A443D}

/* Шаг 2 (03.12.2026): панель «Готовим / Печать / Поделиться / Ошибка?» — белая иконка в томатном круге 34px, подписи тёмные. Класс повторён для веса: перебивает design.css и recipe-links.css */
html .recipe-actions.recipe-actions.recipe-actions :is(.recipe-cook-btn,.print a,.recipe-actions__share,.simple-error-link){flex-direction:column;gap:4px;color:#2B2723}html .recipe-actions.recipe-actions.recipe-actions :is(.recipe-cook-btn,.print a,.recipe-actions__share,.simple-error-link):before{width:34px;height:34px;border-radius:50%;background:var(--vi-color) var(--va) center/18px 18px no-repeat}html .recipe-actions.recipe-actions.recipe-actions .recipe-cook-btn>svg{display:none}html .recipe-actions.recipe-actions.recipe-actions .recipe-cook-btn{--va:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23fff%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 11h14v5.5a3.5 3.5 0 0 1-3.5 3.5h-7A3.5 3.5 0 0 1 5 16.5z%22/%3E%3Cpath d=%22M3 11h18M9 4c-.9.9.9 1.9 0 3.2M12 3.5c-.9.9.9 1.9 0 3.2M15 4c-.9.9.9 1.9 0 3.2%22/%3E%3C/svg%3E")}html .recipe-actions.recipe-actions.recipe-actions .print a{--va:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23fff%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M7 9V3.5h10V9%22/%3E%3Crect x=%223%22 y=%229%22 width=%2218%22 height=%228%22 rx=%222.5%22/%3E%3Cpath d=%22M7 14h10v6.5H7z%22/%3E%3C/svg%3E")}html .recipe-actions.recipe-actions.recipe-actions .recipe-actions__share{--va:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23fff%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 15V3.5M7.5 8 12 3.5 16.5 8%22/%3E%3Cpath d=%22M5 12v6.5A2 2 0 0 0 7 20.5h10a2 2 0 0 0 2-2V12%22/%3E%3C/svg%3E")}html .recipe-actions.recipe-actions.recipe-actions .simple-error-link{--va:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23fff%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 4.5h14a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-8.5L6 21v-3.5H5a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2z%22/%3E%3Cpath d=%22M12 7.5v4.5M12 14.5v.01%22/%3E%3C/svg%3E")}

/* Шаг 3 (03.12.2026): меню автора. «Мой кабинет» и «Выход» — томатная иконка справа от текста, «Добавить рецепт» — белый плюс вместо знака «+». Вход/Регистрация не трогаем */
html #main_navigation_opened :is(a.acc_btn2,button.logout_btn2):after{content:"";flex:none;width:22px;height:22px;margin-left:10px;background:var(--vi-color);-webkit-mask:var(--vi) center/contain no-repeat;mask:var(--vi) center/contain no-repeat}html #main_navigation_opened a.acc_btn2:after{--vi:var(--i-user)}html #main_navigation_opened button.logout_btn2:after{--vi:var(--i-logout)}html #main_navigation_opened a.more{display:inline-flex;align-items:center;gap:6px}html #main_navigation_opened a.more:before{content:"";flex:none;width:18px;height:18px;margin:0;letter-spacing:0;background:#fff;-webkit-mask:var(--i-plus) center/contain no-repeat;mask:var(--i-plus) center/contain no-repeat}

/* Шаг 4 (03.12.2026): закладка «В избранное» в углу фото карточек, кнопку ставит /js/card-fav.js в слой .card-fav-layer. Белый круг, томатная закладка; в избранном — залитая */
.card-fav-layer{position:absolute;top:0;left:0;width:0;height:0;z-index:3}.card-fav{position:absolute;width:34px;height:34px;padding:0;margin:0;border:0;border-radius:50%;background:rgba(255,255,255,.92);box-shadow:0 2px 8px rgba(0,0,0,.18);cursor:pointer;display:flex;align-items:center;justify-content:center}.card-fav[hidden]{display:none}.card-fav:before{content:"";width:18px;height:18px;background:var(--vi-color);-webkit-mask:var(--i-bookmark) center/contain no-repeat;mask:var(--i-bookmark) center/contain no-repeat}.card-fav.on:before{-webkit-mask-image:var(--i-bookmark-on);mask-image:var(--i-bookmark-on)}.card-fav--sm{width:30px;height:30px}.card-fav--sm:before{width:16px;height:16px}.card-fav:hover,.card-fav:focus-visible{background:#fff;outline:2px solid var(--vi-color);outline-offset:1px}
.card-fav-toast{position:fixed;left:50%;bottom:24px;z-index:9999;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);padding:12px 16px;border-radius:12px;background:#2B2723;color:#fff;font-weight:700;line-height:1.4;box-shadow:0 6px 20px rgba(0,0,0,.25)}.card-fav-toast[hidden]{display:none}.card-fav-toast a{color:#FFD9C7;text-decoration:underline}

/* Шаг 5 (03.12.2026): нижняя панель на телефоне (разметка в _footer.ascx), «Поиск в центре»; «умная» шапка (/js/tabbar.js). До 767px */
.tabbar{display:none}
@media (max-width:767px){
.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:98;display:flex;justify-content:space-around;align-items:stretch;height:calc(62px + env(safe-area-inset-bottom));padding:0 4px env(safe-area-inset-bottom);background:#fff;border-top:1px solid #ECE7DD;box-shadow:0 -4px 16px rgba(0,0,0,.06)}
.tabbar>a,.tabbar>button{position:relative;flex:1 1 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;padding:0 0 4px;color:#6B645A;font:700 11px/1.1 var(--font-body);text-decoration:none}
.tabbar .vi{width:24px;height:24px;background-color:currentColor}
.tabbar [aria-current]{color:var(--vi-color)}
.tabbar [aria-current]:after{content:"";position:absolute;bottom:2px;width:5px;height:5px;border-radius:50%;background:var(--vi-color)}
.tabbar>a:focus-visible,.tabbar>button:focus-visible{outline:3px solid var(--focus-ring,#1A5FB4);outline-offset:-3px;border-radius:12px}
.tabbar>.tabbar__fab{color:var(--vi-color);justify-content:flex-end}
.tabbar__ic{display:flex;align-items:center;justify-content:center;width:54px;height:54px;margin-top:-30px;box-sizing:border-box;border:4px solid #fff;border-radius:50%;background:var(--vi-color);box-shadow:0 6px 14px rgba(200,66,14,.35)}
.tabbar__ic .vi{background-color:#fff}
body{padding-bottom:calc(62px + env(safe-area-inset-bottom))}
#header{transition:transform .25s ease}
html.hdr-hidden #header{transform:translateY(-110%)}
html.rt-cook-open .tabbar{display:none}
.BackToTop{bottom:calc(76px + env(safe-area-inset-bottom))}
html body .accessibility_plugin_div{bottom:calc(72px + env(safe-area-inset-bottom))!important}
html .cookie-banner{bottom:calc(70px + env(safe-area-inset-bottom))}
.card-fav-toast{bottom:calc(80px + env(safe-area-inset-bottom))}
}
@media (max-width:767px) and (prefers-reduced-motion:reduce){#header{transition:none}}

html{--vi-pot0:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%234A443D%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 11h14v5.5a3.5 3.5 0 0 1-3.5 3.5h-7A3.5 3.5 0 0 1 5 16.5z%22/%3E%3Cpath d=%22M3 11h18M9 4c-.9.9.9 1.9 0 3.2M12 3.5c-.9.9.9 1.9 0 3.2M15 4c-.9.9.9 1.9 0 3.2%22/%3E%3C/svg%3E")}
/* Шаг 6 (03.12.2026, вариант Д2): карточки рецептов с автором — автор над фото, внизу строка из трёх ячеек «оценка · лайки · отзывы» (на странице автора — «дата · лайки · отзывы»).
   Только стилями: у карточки отступ сверху (там строка автора) и снизу (там строка счётчиков), без перестановки блоков и скриптов — ничего не прыгает при загрузке.
   Нули видны бледно; нет оценок — «—». «Рецепт недели» (без автора) и блоки главной (#new_content, #random_content, #popular_content > .content_block — у них свои правила в home-cards.css; «Еще рецепты» на странице рецепта тоже #popular_content, но .recipe-list — его меняем) не меняются. */
html a:has(> figure > .stats-badge):has(.author-chip):not(:is(#new_content,#random_content,#popular_content > .content_block) a){position:relative!important;padding-top:54px!important;padding-bottom:50px!important}
html a:has(> figure > .stats-badge):has(.author-chip):not(:is(#new_content,#random_content,#popular_content > .content_block) a) > :is(figure,article),html a:has(> figure > .stats-badge):has(.author-chip):not(:is(#new_content,#random_content,#popular_content > .content_block) a) > article > *{position:static!important}
html a:has(> figure > .stats-badge):has(.author-chip):not(:is(#new_content,#random_content,#popular_content > .content_block) a) .Data{position:absolute!important;top:0;left:0;right:0;height:54px;display:flex!important;align-items:center;margin:0!important;padding:0 18px!important;border:0!important}
html a:has(> figure > .stats-badge):has(.author-chip):not(:is(#new_content,#random_content,#popular_content > .content_block) a) > figure > .stats-badge,html a:has(> figure > .stats-badge):has(.author-chip):not(:is(#new_content,#random_content,#popular_content > .content_block) a) > figure > .stats-badge:not(:has(> :not(.is-zero))){position:absolute!important;inset:auto 18px 0 18px!important;height:48px;display:flex!important;align-items:center;max-width:none!important;margin:0!important;padding:0!important;border:0;border-top:1px solid #EEE7DC!important;border-radius:0!important;background:none!important;box-shadow:none!important;transform:none!important;color:#4A443D;font:700 .9rem/1 var(--font-body)}
html a:has(> figure > .stats-badge):has(.author-chip):not(:is(#new_content,#random_content,#popular_content > .content_block) a) > figure > .stats-badge > *,html a:has(> figure > .stats-badge):has(.author-chip):not(:is(#new_content,#random_content,#popular_content > .content_block) a) > figure > .stats-badge > .is-zero{flex:1 1 0;display:flex!important;align-items:center;justify-content:center;gap:6px;min-width:0;margin:0!important;padding:0!important;background:none!important;color:#4A443D;white-space:nowrap}
html a:has(> figure > .stats-badge):has(.author-chip):not(:is(#new_content,#random_content,#popular_content > .content_block) a) > figure > .stats-badge > *:before{position:static!important;flex:none;width:1rem;height:1rem;margin:0!important}html a:has(> figure > .stats-badge):has(.author-chip):not(:is(#new_content,#random_content,#popular_content > .content_block) a) > figure > .stats-badge > .is-zero{opacity:.45}
html a:has(> figure > .stats-badge):has(.author-chip):not(:is(#new_content,#random_content,#popular_content > .content_block) a) > figure > .stats-badge > :is(.rating-card,.added_date){order:1}html a:has(> figure > .stats-badge):has(.author-chip):not(:is(#new_content,#random_content,#popular_content > .content_block) a) > figure > .stats-badge > .likes{order:2;border-left:1px solid #EEE7DC}html a:has(> figure > .stats-badge):has(.author-chip):not(:is(#new_content,#random_content,#popular_content > .content_block) a) > figure > .stats-badge > .comments{order:3;border-left:1px solid #EEE7DC}
html a:has(> figure > .stats-badge):has(.author-chip):not(:is(#new_content,#random_content,#popular_content > .content_block) a) > figure > .stats-badge:not(:has(.rating-card,.added_date)):before{content:"—";order:1;flex:1 1 0;align-self:stretch;display:flex;align-items:center;justify-content:center;padding-left:24px;opacity:.45;background:var(--vi-pot0) calc(50% - 10px) center/18px no-repeat}
html a:has(> figure > .stats-badge):has(.author-chip):not(:is(#new_content,#random_content,#popular_content > .content_block) a):has(.coll-pots) > figure > .stats-badge .rating-card .pot{display:none}

/* Шаг 6 на главной (03.12.2026): тот же вариант Д2 для «Новых», «Популярных» и «Случайных» — автор над фото, внизу три ячейки «оценка · лайки · отзывы».
   Селекторы с id, потому что у главной правила с !important в home-cards.css (там же прячутся нули — здесь они видны бледно, как везде).
   Строки-списки не трогаются: на ПК — четыре строки справа в «Новых», на телефоне — список «Популярных» и «Случайных» (кроме первой большой карточки). */
@media (min-width:701px){
html body :is(#popular_content .content_block>*,#random_content .content_block>*,#new_content .content_block1)>a{position:relative!important;padding-top:54px!important;padding-bottom:50px!important}
html body :is(#popular_content .content_block>*,#random_content .content_block>*,#new_content .content_block1)>a>:is(figure,article),html body :is(#popular_content .content_block>*,#random_content .content_block>*,#new_content .content_block1)>a>article>*{position:static!important}
html body :is(#popular_content .content_block>*,#random_content .content_block>*,#new_content .content_block1)>a>figure>img{position:static!important;display:block;width:100%!important;height:100%!important;object-fit:cover!important}
html body :is(#popular_content .content_block>*,#random_content .content_block>*,#new_content .content_block1)>a .Data{position:absolute!important;top:0!important;left:0;right:0;height:54px!important;min-height:0!important;max-height:none!important;display:flex!important;align-items:center;margin:0!important;padding:0 14px!important;border:0!important;overflow:hidden!important}
html body :is(#popular_content .content_block>*,#random_content .content_block>*,#new_content .content_block1)>a :is(figure>.stats-badge,.cat_name>.stats),html body :is(#popular_content .content_block>*,#random_content .content_block>*,#new_content .content_block1)>a :is(figure>.stats-badge,.cat_name>.stats):not(.x){position:absolute!important;top:auto!important;right:14px!important;bottom:0!important;left:14px!important;height:48px!important;width:auto!important;display:flex!important;align-items:center;gap:0!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-top:1px solid #EEE7DC!important;border-radius:0!important;background:none!important;box-shadow:none!important;transform:none!important;color:#4A443D;font:700 .9rem/1 var(--font-body)!important}
html body :is(#popular_content .content_block>*,#random_content .content_block>*,#new_content .content_block1)>a :is(figure>.stats-badge,.cat_name>.stats)>*{flex:1 1 auto!important;display:flex!important;align-items:center;justify-content:center!important;gap:5px;min-width:0;margin:0!important;padding:0 5px!important;background:none!important;color:#4A443D!important;font-size:inherit!important;white-space:nowrap}
html body :is(#popular_content .content_block>*,#random_content .content_block>*,#new_content .content_block1)>a :is(figure>.stats-badge,.cat_name>.stats)>*:before{position:static!important;flex:none;width:1rem;height:1rem;margin:0!important}
html body :is(#popular_content .content_block>*,#random_content .content_block>*,#new_content .content_block1)>a :is(figure>.stats-badge,.cat_name>.stats)>.is-zero{opacity:.45}html body :is(#popular_content .content_block>*,#random_content .content_block>*,#new_content .content_block1)>a :is(figure>.stats-badge,.cat_name>.stats)>.rating-card{order:1}html body :is(#popular_content .content_block>*,#random_content .content_block>*,#new_content .content_block1)>a :is(figure>.stats-badge,.cat_name>.stats)>.likes{order:2;border-left:1px solid #EEE7DC}html body :is(#popular_content .content_block>*,#random_content .content_block>*,#new_content .content_block1)>a :is(figure>.stats-badge,.cat_name>.stats)>.comments{order:3;border-left:1px solid #EEE7DC}
html body :is(#popular_content .content_block>*,#random_content .content_block>*,#new_content .content_block1)>a :is(figure>.stats-badge,.cat_name>.stats)>.rating-card--none{font-size:0!important;padding-left:24px!important;opacity:.45;background:var(--vi-pot0) calc(50% - 10px) center/18px no-repeat!important}html body :is(#popular_content .content_block>*,#random_content .content_block>*,#new_content .content_block1)>a :is(figure>.stats-badge,.cat_name>.stats)>.rating-card--none>.pot{display:none!important}html body :is(#popular_content .content_block>*,#random_content .content_block>*,#new_content .content_block1)>a :is(figure>.stats-badge,.cat_name>.stats)>.rating-card--none:after{content:"—";font-size:.9rem}
html body :is(#popular_content .content_block>*,#random_content .content_block>*,#new_content .content_block1)>a :is(figure>.stats-badge,.cat_name>.stats):not(:has(.rating-card)):before{content:"—";order:1;flex:1 1 0;align-self:stretch;display:flex;align-items:center;justify-content:center;padding-left:24px!important;opacity:.45;background:var(--vi-pot0) calc(50% - 10px) center/18px no-repeat!important}
html body #popular_content .content_block>*>a .rating-card__count{display:none!important}
}
@media (max-width:700px){
html body :is(#new_content .content_block>*,#random_content .content_block1)>a{position:relative!important;padding-top:54px!important;padding-bottom:50px!important}
html body :is(#new_content .content_block>*,#random_content .content_block1)>a>:is(figure,article),html body :is(#new_content .content_block>*,#random_content .content_block1)>a>article>*{position:static!important}
html body :is(#new_content .content_block>*,#random_content .content_block1)>a>figure>img{position:static!important;display:block;width:100%!important;height:100%!important;object-fit:cover!important}
html body :is(#new_content .content_block>*,#random_content .content_block1)>a .Data{position:absolute!important;top:0!important;left:0;right:0;height:54px!important;min-height:0!important;max-height:none!important;display:flex!important;align-items:center;margin:0!important;padding:0 14px!important;border:0!important;overflow:hidden!important}
html body :is(#new_content .content_block>*,#random_content .content_block1)>a :is(figure>.stats-badge,.cat_name>.stats),html body :is(#new_content .content_block>*,#random_content .content_block1)>a :is(figure>.stats-badge,.cat_name>.stats):not(.x){position:absolute!important;top:auto!important;right:14px!important;bottom:0!important;left:14px!important;height:48px!important;width:auto!important;display:flex!important;align-items:center;gap:0!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-top:1px solid #EEE7DC!important;border-radius:0!important;background:none!important;box-shadow:none!important;transform:none!important;color:#4A443D;font:700 .9rem/1 var(--font-body)!important}
html body :is(#new_content .content_block>*,#random_content .content_block1)>a :is(figure>.stats-badge,.cat_name>.stats)>*{flex:1 1 auto!important;display:flex!important;align-items:center;justify-content:center!important;gap:5px;min-width:0;margin:0!important;padding:0 5px!important;background:none!important;color:#4A443D!important;font-size:inherit!important;white-space:nowrap}
html body :is(#new_content .content_block>*,#random_content .content_block1)>a :is(figure>.stats-badge,.cat_name>.stats)>*:before{position:static!important;flex:none;width:1rem;height:1rem;margin:0!important}
html body :is(#new_content .content_block>*,#random_content .content_block1)>a :is(figure>.stats-badge,.cat_name>.stats)>.is-zero{opacity:.45}html body :is(#new_content .content_block>*,#random_content .content_block1)>a :is(figure>.stats-badge,.cat_name>.stats)>.rating-card{order:1}html body :is(#new_content .content_block>*,#random_content .content_block1)>a :is(figure>.stats-badge,.cat_name>.stats)>.likes{order:2;border-left:1px solid #EEE7DC}html body :is(#new_content .content_block>*,#random_content .content_block1)>a :is(figure>.stats-badge,.cat_name>.stats)>.comments{order:3;border-left:1px solid #EEE7DC}
html body :is(#new_content .content_block>*,#random_content .content_block1)>a :is(figure>.stats-badge,.cat_name>.stats)>.rating-card--none{font-size:0!important;padding-left:24px!important;opacity:.45;background:var(--vi-pot0) calc(50% - 10px) center/18px no-repeat!important}html body :is(#new_content .content_block>*,#random_content .content_block1)>a :is(figure>.stats-badge,.cat_name>.stats)>.rating-card--none>.pot{display:none!important}html body :is(#new_content .content_block>*,#random_content .content_block1)>a :is(figure>.stats-badge,.cat_name>.stats)>.rating-card--none:after{content:"—";font-size:.9rem}
html body :is(#new_content .content_block>*,#random_content .content_block1)>a :is(figure>.stats-badge,.cat_name>.stats):not(:has(.rating-card)):before{content:"—";order:1;flex:1 1 0;align-self:stretch;display:flex;align-items:center;justify-content:center;padding-left:24px!important;opacity:.45;background:var(--vi-pot0) calc(50% - 10px) center/18px no-repeat!important}
html body #random_content .content_block1>a .Data{padding:0!important}html body #random_content .content_block1>a :is(figure>.stats-badge,.cat_name>.stats){left:0!important;right:0!important}
}
