/* vk-redesign: некритичный CSS (подгружается без блокировки рендера). Токены — critical.css, правила — ../DESIGN.md */
/* контент статьи */
.prose img{max-width:100%;height:auto;border-radius:8px}
/* статьи GoGetLinks: картинки как есть, но аккуратно — по ширине колонки, без обтекания */
.prose-asis img{display:block;max-width:100%;height:auto;margin:4px auto;float:none!important}
.prose-asis .alignleft,.prose-asis .alignright,.prose-asis .aligncenter,.prose-asis .wp-caption{float:none!important;display:block;margin:4px auto!important;max-width:100%!important;width:auto!important}
.prose-asis figure{margin:0}
.prose-asis figcaption,.prose-asis .wp-caption-text{font-size:14px;color:var(--muted);text-align:center;margin-top:4px}
.prose .aligncenter{display:block;margin-inline:auto}
.prose strong{font-weight:650}
.prose sub,.prose sup{line-height:0}
.prose blockquote{margin:0;padding:14px 18px;background:var(--surface);border-radius:var(--r);box-shadow:var(--sh)}
.prose blockquote>*{margin:0}.prose blockquote>*+*{margin-top:8px}
/* предупреждения из темы ([attention]) — статус передаёт цвет подложки, без боковой полосы */
.prose .article-blockquote-1{background:color-mix(in srgb,var(--bad) 9%,var(--surface));box-shadow:none}
.prose .article-blockquote-2{background:color-mix(in srgb,var(--warn) 11%,var(--surface));box-shadow:none}
.prose .article-blockquote-3{background:color-mix(in srgb,var(--ok) 10%,var(--surface));box-shadow:none}
.tbl{overflow:hidden;border-radius:var(--r);background:var(--surface);box-shadow:var(--sh);max-width:100%}
.tbl th,.tbl td{overflow-wrap:anywhere;hyphens:auto}
@media (max-width:639px){.tbl.wide{overflow-x:auto;-webkit-overflow-scrolling:touch}.tbl.wide table{min-width:560px}}
.tbl table{border-collapse:collapse;width:100%;font-size:15px;line-height:1.45;margin:0;border:0}
.tbl th,.tbl td{padding:10px 14px;text-align:left;vertical-align:top;border:0;border-bottom:1px solid var(--line);width:auto!important;height:auto!important}
.tbl tr:last-child>*{border-bottom:0}
.tbl td:first-child{color:var(--muted);width:38%!important;min-width:120px}
.tbl tr:first-child td,.tbl th{font-weight:600;color:var(--ink);background:var(--surface-2)}
.tbl p{margin:0}
.su-table{margin:0}
.prose iframe{display:block;width:100%;height:auto;aspect-ratio:16/9;border:0;border-radius:var(--r)}
.rll-youtube-player{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:var(--r);background:#000}
.rll-youtube-player>div,.rll-youtube-player img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;cursor:pointer;margin:0;border-radius:0}
.rll-youtube-player .play{position:absolute;left:50%;top:50%;width:68px;height:48px;margin:-24px 0 0 -34px;background:#f00;border-radius:12px;opacity:.9}
.rll-youtube-player .play::after{content:"";position:absolute;left:28px;top:14px;border-style:solid;border-width:10px 0 10px 16px;border-color:transparent transparent transparent #fff}
.prose p:empty{display:none}
.native{min-height:1px}
/* оглавление TOC+ в статьях GoGetLinks, если осталось в тексте */
#toc_container{background:var(--surface);border-radius:var(--r);box-shadow:var(--sh);padding:12px 16px}
/* секции */
.sec{display:grid;gap:14px}
.sec-h{font-family:var(--serif);font-size:22px;font-weight:700;letter-spacing:-.01em}
@media (min-width:768px){.sec-h{font-size:26px}}
.sec-h small{font:500 15px var(--font);color:var(--muted);margin-left:6px}
.sec-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}
.sec-top a{font-size:15px;font-weight:600;text-decoration:none}
/* faq */
.faq{display:grid;gap:8px}
.faq details{background:var(--surface);border-radius:var(--r);box-shadow:var(--sh)}
.faq summary{padding:14px 16px;font-weight:600;cursor:pointer;list-style:none;display:flex;gap:12px;justify-content:space-between;align-items:flex-start}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--accent);font-size:20px;line-height:1;flex:none}
.faq details[open] summary::after{content:"–"}
.faq p{margin:0;padding:0 16px 16px;color:var(--ink)}
/* похожие, популярные */
.rel{display:grid;gap:10px;grid-template-columns:minmax(0,1fr)}
@media (min-width:560px){.rel{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
.rel a{display:flex;gap:12px;align-items:center;padding:12px 14px;border-radius:var(--r);background:var(--surface);box-shadow:var(--sh);text-decoration:none;color:var(--ink);min-width:0}
.rel a:hover{box-shadow:0 0 0 2px var(--accent)}
.rel .ecode{min-width:64px}
.rel span{display:flex;flex-direction:column;min-width:0;line-height:1.35}
.rel small{color:var(--muted);font-size:13px}
/* автор */
.author{display:grid;gap:12px;border-top:1px solid var(--line);padding-top:20px;font-size:15px;margin-top:12px}
.who{display:flex;gap:12px;align-items:center}
.ava{width:44px;height:44px;border-radius:50%;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;font-weight:700;flex:none;object-fit:cover}
.who-name{font-weight:700;color:var(--ink);text-decoration:none}
.who-name:hover{color:var(--accent)}
.who small a{color:var(--muted)}
/* страница автора */
.author-head{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px 20px;align-items:center}
.author-head .ava{width:96px;height:96px;font-size:32px}
@media (min-width:768px){.author-head .ava{width:128px;height:128px}}
.author-head h1{margin:0}
.author-head .meta{margin-top:6px}
.author-bio{margin:0;max-width:68ch;font-size:18px}
.author-links{display:flex;gap:16px;flex-wrap:wrap;font-size:15px}
.who small{display:block;color:var(--muted)}
.author ul{margin:4px 0 0;padding-left:20px;color:var(--muted)}
/* каталог, классы */
.empty{padding:24px 16px;text-align:center;color:var(--muted)}
.cls-grid{display:grid;gap:10px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
@media (min-width:768px){.cls-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.cls{font:inherit;text-align:left;cursor:pointer;color:var(--ink);border:0;border-radius:var(--r);background:var(--surface);box-shadow:var(--sh);padding:12px 14px;display:flex;flex-direction:column;gap:2px;font-size:15px;line-height:1.35;text-decoration:none}
.cls:hover{box-shadow:0 0 0 2px var(--accent)}
.cls b{font-size:22px;font-variant-numeric:tabular-nums;color:var(--accent)}
.cls small{color:var(--muted)}
.term-desc{color:var(--ink);max-width:68ch;display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0;margin-top:20px;padding-top:24px;border-top:1px solid var(--line)}
.term-desc>*{margin:0}
/* списки, пагинация, главная */
.pager ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:15px}
.pager a,.pager .cur,.pager .dots{min-width:40px;height:40px;padding:0 14px;display:inline-grid;place-items:center;border-radius:999px;color:var(--ink);text-decoration:none;font-variant-numeric:tabular-nums}
.pager a{background:var(--surface);box-shadow:var(--sh)}
.pager a:hover{box-shadow:0 0 0 2px var(--accent);color:var(--accent)}
.pager .cur{background:var(--ink);color:var(--bg);font-weight:600}
.pager .dots{min-width:20px;padding:0;color:var(--muted)}
.feed-pages{gap:8px}
.muted{color:var(--muted);margin:0;font-size:15px}
.sections{list-style:none;margin:0;padding:0;display:grid;gap:0 32px;grid-template-columns:minmax(0,1fr)}
@media (min-width:640px){.sections{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
.sections>li{padding:12px 0;border-bottom:1px solid var(--line);min-width:0}
.section-t{font-weight:700;color:var(--ink);text-decoration:none;font-size:17px}
.section-t:hover{color:var(--accent)}
.sections p{margin:4px 0 0;font-size:14px;line-height:1.55;color:var(--muted)}
.sections p a{color:var(--muted);text-decoration:none}
.sections p a:hover{color:var(--accent);text-decoration:underline}
.hit,.hub-link{display:flex;gap:12px;align-items:center;padding:12px 16px;border-radius:var(--r);text-decoration:none;color:var(--ink)}
.hit{background:var(--accent-soft)}
.hit span{display:flex;flex-direction:column}
.hit small{color:var(--muted);font-size:14px}
.hub-link{font-weight:600;background:var(--surface);box-shadow:var(--sh)}
.hub-link:hover{box-shadow:0 0 0 2px var(--accent)}
.hub-link svg{width:20px;height:20px;color:var(--accent);flex:none}
.empty-box{padding:20px 16px;border-radius:var(--r);background:var(--surface-2);color:var(--muted)}
.empty-box p{margin:0}.empty-box p+p{margin-top:8px}
.search-form{margin:0}
/* комментарии */
.cmts{font-size:16px}
.cmt-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.cmt-list .children{list-style:none;margin:10px 0 0;padding-left:16px;display:grid;gap:10px}
.cmt-list .comment-body{background:var(--surface);border-radius:var(--r);box-shadow:var(--sh);padding:12px 16px}
.cmt-list .comment-meta{font-size:14px;color:var(--muted)}
.cmt-list .comment-meta a{color:var(--muted);text-decoration:none}
.cmt-list .fn{font-style:normal;font-weight:600;color:var(--ink)}
.cmt-list .says{display:none}
.cmt-list p{margin:6px 0 0}
.cmt-list .reply{font-size:14px;margin-top:6px}
.cmt-h{font-size:19px;margin:8px 0}
.cmt-form{display:grid;gap:10px}
.cmt-form p{margin:0;display:grid;gap:4px}
.cmt-form label{font-size:14px;color:var(--muted)}
.cmt-form input[type=text],.cmt-form input[type=email],.cmt-form input[type=url],.cmt-form textarea{width:100%;font:inherit;font-size:16px;padding:10px 14px;border-radius:var(--r);border:1.5px solid var(--line);background:var(--surface);color:var(--ink)}
.cmt-form input:focus,.cmt-form textarea:focus{outline:none;border-color:var(--accent)}
.cmt-form .comment-form-cookies-consent{display:flex;gap:8px;align-items:flex-start}
.cmt-form .submit{font:inherit;font-weight:600;border:0;border-radius:999px;padding:10px 20px;background:var(--accent);color:#fff;cursor:pointer;justify-self:start}
/* подвал — тёмно-зелёная «рамка», как у Starbucks */
.foot{background:var(--brand);color:rgba(255,255,255,.7);font-size:14px}
.foot .wrap{padding-block:32px;display:grid;gap:16px}
.foot-nav{display:flex;flex-wrap:wrap;gap:8px 20px}
.foot a{color:rgba(255,255,255,.88);text-decoration:none}
.foot a:hover{color:#fff;text-decoration:underline}
.foot .cp{margin:0}
.foot-logo{color:#fff!important;--mark:#2B5148;font-size:20px}
.foot-logo:hover{text-decoration:none!important}
.counters{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
/* движение: только нажатие и смена фона */
.btn,.chip,.icon-btn,.pager a,.sort button,.cmt-form .submit,.hsearch button{transition:transform .12s ease-out,background-color .15s ease-out,box-shadow .15s ease-out}
.btn:active,.chip:active,.icon-btn:active,.pager a:active,.sort button:active,.cmt-form .submit:active,.hsearch button:active{transform:scale(.97)}
.elist a,.plist a,.rel a,.cls,.hub-link{transition:background-color .15s ease-out,box-shadow .15s ease-out}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.btn:active,.chip:active,.icon-btn:active,.pager a:active{transform:none}}

/* иконки вместо картинок (29.09) */
.ico{width:24px;height:24px;flex:none;color:var(--accent)}
.cls .cls-ico{width:26px;height:26px;margin-bottom:6px}
.section-t{display:inline-flex;align-items:center;gap:10px}
.sec-ico{width:34px;height:34px;padding:6px;border-radius:10px;background:var(--accent-soft)}
.sections p,.sec-latest{margin-left:44px}
.sec-latest{list-style:none;padding:0;margin-top:6px;display:grid;gap:4px;font-size:14px;line-height:1.45}
.sec-latest a{color:var(--ink);text-decoration:none}.sec-latest a:hover{color:var(--accent);text-decoration:underline}
.sec-more{font-size:14px;font-weight:600}.sec-more a{color:var(--accent)!important}
@media (max-width:639px){.sections p,.sec-latest{margin-left:0}}
.sec-desc{color:var(--muted)}
.let .let-ico{width:22px;height:22px;color:currentColor}
/* чипы рубрик переносятся, без горизонтальной прокрутки (29.09) */
.chips{flex-wrap:wrap!important;overflow:visible!important;margin-inline:0!important;padding-inline:0!important}
.chip{white-space:normal}
