:root{--bg:#111112;--p1:#1e1e20;--p2:#2c2c2e;--p3:#3a3a3f;--tk:#222224;--ac:#ffbf0b;--tx:#c9c9c9;--mu:#b0b0b0;--wh:#fff;--sbw:220px}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--tx);font:400 16px/1.5 Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;overflow-x:hidden}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
ul{list-style:none;margin:0;padding:0}
h1,h2,h3,h4,p{margin:0}
button{font:inherit;cursor:pointer;color:inherit;background:none;border:0;padding:0}
.ic{width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.bt{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:8px 20px;border-radius:8px;border:1px solid var(--ac);background:var(--ac);color:var(--bg);font-weight:700;white-space:nowrap}
.bt.g{background:var(--p2);border-color:var(--p3);color:var(--wh)}
/* боковая панель (ПК) */
.sb{position:fixed;left:0;top:0;bottom:0;width:var(--sbw);background:var(--bg);display:flex;flex-direction:column;z-index:30}
.sb .lg{height:116px;padding:40px 35px 0}.sb .lg img{width:150px;height:36px}
.sb .ac{padding:0 28px;display:grid;gap:8px}
.sb .ac .bt{width:164px}
.sb nav{padding:25px 28px 0}
.sb nav a{display:flex;align-items:center;gap:10px;height:42px;padding:8px 12px;border-radius:8px;color:var(--wh);font-weight:500;margin-bottom:10px}
.sb nav a.on{background:var(--p2);font-weight:700;border-radius:0 8px 8px 0}
.sb nav a.on .ic{color:var(--ac)}
.sb .ft{margin-top:auto;height:64px;display:flex;align-items:center;justify-content:space-between;padding:12px 16px}
.sb .ft span{font-size:12px;font-weight:700;color:var(--wh);padding:0 8px}
/* мобильная верхняя панель и нижняя навигация */
.tpb,.bn{display:none}
.mn{margin-left:var(--sbw);padding:0 32px;min-height:100vh}
.hr{margin:0 -32px;position:relative;height:421px;overflow:hidden;background:#1a1a1c}
.hr picture,.hr img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hr .tx{position:absolute;left:36px;top:97px;color:var(--wh);max-width:760px}
.hr .bg{display:inline-block;background:var(--p3);border-radius:20px;padding:5px 10px;font-size:14px;font-weight:700;line-height:21px}
.hr .h{font-size:52px;line-height:1.5;font-weight:600;margin-top:10px}
.hr .h b{font-weight:600}
.hr .sp{display:block;font-size:24px;font-weight:700;line-height:36px;margin-top:0}
.hr .bt{height:34px;padding:0 10px;font-size:18px;font-weight:600;margin:26px 0 0 10px;border-radius:8px}
.hr.sm{height:230px}.hr.sm .tx{top:48px}.hr.sm .h{font-size:34px;line-height:1.3}
.tk{margin:0 -32px;height:32px;background:var(--tk);border-block:1px solid var(--p3);padding:5px 0;overflow:hidden;color:var(--wh);font-size:14px;font-style:italic;text-transform:uppercase;white-space:nowrap}
.tk div{display:inline-flex;animation:mq 26s linear infinite}
.tk span{display:inline-flex;align-items:center;gap:25px;padding-right:25px;line-height:20px}
.tk i{display:block;width:16px;height:16px;border-radius:50%;background:var(--ac);box-shadow:inset 0 0 0 4px var(--tk),0 0 0 1px var(--ac)}
@keyframes mq{to{transform:translateX(-50%)}}
.hd{display:flex;align-items:center;gap:50px;padding:24px 0;min-height:86px}
.pl{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;flex:0 1 701px;min-width:0;margin-left:-8px;padding-left:8px}
.pl::-webkit-scrollbar{display:none}
.pl a{flex:none;display:flex;align-items:center;height:38px;padding:8px 16px;border-radius:9999px;background:var(--p1);border:1px solid var(--p3);font-size:14px;font-weight:700;color:var(--tx)}
.pl a span{padding:0 8px}
.pl a.on{background:var(--p3);border-color:var(--ac);color:var(--wh)}
.sr{margin-left:auto;flex:0 1 405px;display:flex;align-items:center;gap:5px;height:35px;padding:8px 24px;border-radius:9999px;background:var(--p1);border:1px solid #797979;color:#b0b0b0}
.sr .ic{width:16px;height:16px}.sr input{all:unset;flex:1;font-size:14px;color:var(--tx);min-width:0}
.rw{margin-bottom:0}
.rw>header{display:flex;align-items:center;justify-content:space-between;height:24px}
.rw h3{font-size:20px;font-weight:700;color:var(--wh);line-height:24px}
.rw header a{font-size:12px;color:var(--ac);padding:8px 0}
.tr{position:relative;padding:16px 0}
.tr ul{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none}
.tr ul::-webkit-scrollbar{display:none}
.tr li{flex:none;width:179px;scroll-snap-align:start}
.cd{display:block}
.cd .im{display:block;width:179px;height:225px;border-radius:8px;overflow:hidden;background:var(--p1)}
.cd img{width:100%;height:100%;object-fit:cover}
.cd h3{font-size:14px;font-weight:400;color:var(--mu);line-height:20px;margin-top:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cd small{display:block;font-size:12px;color:#8a8a8f;line-height:16px}
.ar{position:absolute;right:0;top:50%;margin-top:-20px;width:40px;height:40px;border-radius:9999px;background:var(--bg);display:flex;align-items:center;justify-content:center;color:var(--tx);z-index:2;box-shadow:0 0 0 1px var(--p3)}
.pv{background:var(--p1);border:1px solid rgba(201,201,201,.15);border-radius:12.8px;padding:16px 0;margin:6px 0 0}
.pv header{display:flex;align-items:center;gap:8px;height:24px;padding:0 16px}
.pv h3{font-size:20px;font-weight:700;color:var(--wh)}
.pv ul{display:flex;gap:16px;overflow-x:auto;padding:16px 16px 0;scrollbar-width:none}
.pv li{flex:none;width:132px;height:237px;background:var(--p2);border-radius:12.8px;padding:8px;display:flex;flex-direction:column;align-items:center}
.pv li div{width:116px;height:145px;border-radius:6.4px;background:var(--bg);display:flex;align-items:center;justify-content:center;padding:10px}
.pv li div img{max-height:100%;object-fit:contain}
.pv li p{font-size:12px;line-height:18px;margin-top:4px;text-align:center;align-self:stretch}
.pv li b{display:block;font-size:14px;color:var(--wh);font-weight:600;line-height:22px;text-align:center;margin-top:2px}
.pv li span{margin-top:6px;background:rgba(255,255,255,.05);border-radius:12px;padding:2px 8px;font-size:10px;line-height:15px}
.fg{margin-top:0}
.fg>div{background:var(--p1);border-radius:16px;min-height:335px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:24px;padding:24px 40px;margin-top:16px}
.fg img{width:260px;height:260px;object-fit:cover;border-radius:12px;justify-self:end}
.fg .t{justify-self:start;max-width:420px}
.fg h4{font-size:24px;color:var(--wh);line-height:32px;margin-bottom:6px}
.fg p{font-size:14px;line-height:20px;margin-bottom:18px}
.fg .bt{height:36px;font-size:14px}
.dots{display:flex;justify-content:center;gap:6px;padding:21px 0 0}
.dots i{width:9px;height:9px;border-radius:50%;background:var(--ac);opacity:.5}.dots i:first-child{opacity:1}
.sx{position:relative;background:var(--p1);border-radius:8px;padding:20px;margin:32px 0 32px}
.sx .bd{max-height:230px;overflow:hidden;position:relative}
.sx.op .bd{max-height:none}
.sx:not(.op) .bd::after{content:"";position:absolute;left:0;right:0;bottom:0;height:90px;background:linear-gradient(transparent,var(--p1))}
.sx .rm{display:flex;align-items:center;justify-content:center;gap:4px;margin:6px auto -8px;height:36px;font-size:12px;color:var(--wh);padding:8px 12px}
.sx .rm .ic{width:20px;height:20px;transition:transform .2s}.sx.op .rm .ic{transform:rotate(180deg)}
/* типографика статьи */
.ar1 h1{font-size:20px;font-weight:700;color:var(--wh);line-height:24px;margin-bottom:16px}
.ar1 h2{font-size:16px;font-weight:700;color:var(--wh);line-height:24px;margin:24px 0 12px}
.ar1 h3,.ar1 h4{font-size:14px;font-weight:700;color:var(--wh);line-height:20px;margin:20px 0 12px}
.ar1 p,.ar1 li,.ar1 td,.ar1 th{font-size:14px;line-height:20px}
.ar1 p{margin:0 0 16px}
.ar1 ul,.ar1 ol{margin:0 0 16px;padding-left:22px;list-style:disc}.ar1 ol{list-style:decimal}
.ar1 a{color:var(--ac);text-decoration:underline}
.ar1 .tb{overflow-x:auto;margin:0 0 16px}
.ar1 table{border-collapse:collapse;width:100%;min-width:480px}
.ar1 th,.ar1 td{border:1px solid var(--p3);padding:8px 10px;text-align:left;vertical-align:top}
.ar1 th{background:var(--p2);color:var(--wh)}
.ar1 details{background:var(--p2);border-radius:8px;margin:0 0 8px;padding:12px 16px}
.ar1 summary{cursor:pointer;color:var(--wh);font-weight:700;font-size:14px}
.ar1 details p{margin:10px 0 0}
.toc{background:var(--p2);border-radius:8px;padding:14px 18px;margin:0 0 20px}
.toc b{color:var(--wh);font-size:14px}.toc ol{margin:8px 0 0;columns:2;column-gap:28px}.toc li{margin-bottom:4px}
.pg{margin:24px 0 32px}
.pg .cta{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}
.gd{display:grid;grid-template-columns:repeat(auto-fill,minmax(179px,1fr));gap:20px 16px;padding:16px 0 8px}
.gd .cd .im{width:100%;height:auto;aspect-ratio:179/225}
.crm{font-size:12px;line-height:18px;padding:12px 0;display:flex;gap:6px;flex-wrap:wrap}.crm a{color:var(--mu)}.crm a:hover{color:var(--ac)}
.bx{background:var(--p1);border-radius:12px;padding:20px;margin:0 0 16px}
.bx h3{color:var(--wh);font-size:16px;margin-bottom:8px}
.g3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:16px 0}
.g3 .bx{margin:0}
/* подвал */
.fo{margin:48px -32px 0;padding:32px 62px;text-align:center}
.fo ul.nv{display:flex;justify-content:center;flex-wrap:wrap;gap:6px 24px;margin-bottom:8px}
.fo ul.nv a{font-size:14px;line-height:24px;color:var(--tx)}
.fo ul.nv.a a{color:var(--wh);font-weight:700}
.fo .pm{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;max-width:950px;margin:26px auto 0}
.fo .pm li{width:105px;height:52px;background:var(--p1);border-radius:8px;display:flex;align-items:center;justify-content:center;padding:8px 14px}
.fo .pm img{max-height:34px;width:auto}
.fo .lc{max-width:1036px;margin:30px auto 0;font-size:12px;line-height:20px;text-align:left}
.fo .lc p{margin-bottom:12px}.fo .lc a{color:var(--ac);text-decoration:underline}.fo b,.fo strong{color:var(--wh)}
.fo .cp{font-size:12px;margin-top:20px}
.lg1{position:relative;display:inline-block;margin-top:22px}
.lg1 button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:128px;height:56px;padding:8px 12px;border-radius:8px;background:var(--p3);font-size:14px;color:var(--tx);text-align:left}
.lg1 .ic{width:20px;height:20px}
.lg1 ul{position:absolute;bottom:62px;left:50%;transform:translateX(-50%);width:260px;background:var(--p1);border-radius:8px;border:1px solid var(--p3);padding:8px;display:none;text-align:left;max-height:70vh;overflow:auto}
.lg1.op ul{display:block}.lg1 li a{display:block;padding:10px 12px;border-radius:6px;font-size:14px;color:var(--tx)}.lg1 li a:hover,.lg1 li a.on{background:var(--p3);color:var(--wh)}
.bdg{display:flex;justify-content:center;gap:10px;margin-top:24px}.bdg li{width:105px;height:52px;background:var(--p1);border-radius:8px;display:flex;align-items:center;justify-content:center;padding:8px}.bdg img{max-height:36px;width:auto}
/* cookie */
.ck{position:fixed;right:40px;bottom:40px;width:440px;background:var(--p1);border:1px solid var(--p1);border-radius:6px;padding:24px;z-index:60;font-size:14px;color:#d0d0d0;display:none;box-shadow:0 8px 32px rgba(0,0,0,.5)}
.ck.on{display:block}.ck p{line-height:24px;margin-bottom:16px}.ck a{color:var(--ac);text-decoration:underline}
.ck div{display:flex;gap:8px}.ck button{height:42px;padding:8px 16px;border-radius:8px;border:1px solid var(--ac);color:var(--ac);font-weight:700;font-size:14px}
.ck button.y{background:var(--ac);color:#000}
/* ≤1023: мобильная раскладка */
@media(max-width:1023px){
 .sb{display:none}
 .mn{margin-left:0;padding:66px 16px 0}
 .tpb{display:flex;position:fixed;top:0;left:0;right:0;height:66px;padding:16px;background:var(--bg);align-items:center;justify-content:space-between;z-index:30}
 .tpb img{width:116px;height:28px}
 .tpb ul{display:flex;gap:8px}.tpb .bt{height:32px;padding:7px 15px;font-size:12px}.tpb .bt.g{height:30px;background:none;border-color:transparent;color:var(--tx)}
 .bn{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;left:0;right:0;bottom:0;height:59px;background:#18171a;border-top:2px solid var(--p1);z-index:30;padding-bottom:env(safe-area-inset-bottom,0)}
 .bn a,.bn button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:11px;color:var(--wh);font-weight:500}
 .bn .ic{width:22px;height:22px}.bn .on{font-weight:700;color:var(--ac)}
 .hr{margin:0 -16px;height:429px}
 .hr .tx{left:0;right:0;top:0;bottom:0;max-width:none;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:0 24px}
 .hr .h{font-size:30px;line-height:1.25;margin-top:14px}.hr .h b{display:block;font-size:40px;line-height:1.2}
 .hr .sp{font-size:18px;margin-top:8px}
 .hr .bt{width:calc(100% - 32px);max-width:358px;height:48px;margin:26px 0 0;font-size:18px}
 .hr.sm{height:260px}.hr.sm .h{font-size:24px}.hr.sm .bt{height:42px;margin-top:16px}
 .tk{margin:0 -16px}
 .hd{padding:24px 0;gap:20px}.sr{display:none}.pl{flex:1 1 auto}
 .tr li{width:103px}.tr ul{gap:8px}.cd .im{width:103px;height:129px}
 .ar{display:none}
 .fg>div{grid-template-columns:1fr;padding:24px 16px;text-align:center;justify-items:center}.fg img{justify-self:center;width:180px;height:180px}.fg .t{justify-self:center}
 .g3{grid-template-columns:1fr}
 .gd{grid-template-columns:repeat(auto-fill,minmax(103px,1fr));gap:16px 8px}.gd .cd .im{aspect-ratio:103/129}
 .sx{margin:32px 0}
 .toc ol{columns:1}
 .fo{margin:48px -16px 0;padding:32px 16px 112px;text-align:left}
 .fo ul.nv{display:grid;grid-template-columns:1fr 1fr;gap:12px 8px}.fo ul.nv a{font-weight:700;color:var(--wh);font-size:14px}
 .fo .pm{display:grid;grid-template-columns:1fr 1fr;gap:10px}.fo .pm li{width:auto;height:52px}
 .lg1{display:block;text-align:center}.lg1 button{margin:0 auto}
 .bdg{justify-content:center}
 .ck{left:0;right:0;bottom:0;width:auto;border-radius:6px 6px 0 0;padding:24px 24px 78px}.ck div{flex-direction:column}.ck button{height:42px}
 .ck .y{order:-1}
}
@media(max-width:420px){.hr .h{font-size:28px}.hr .h b{font-size:38px}}
@media(prefers-reduced-motion:reduce){.tk div{animation:none}html{scroll-behavior:auto}}
.dr{position:fixed;inset:0;z-index:50;background:rgba(0,0,0,.6);display:none}
.dr.on{display:block}
.dr>div{position:absolute;left:0;right:0;bottom:59px;max-height:calc(100% - 66px);overflow:auto;background:var(--p1);border-radius:16px 16px 0 0;padding:16px 16px 20px}
.dr a{display:flex;align-items:center;gap:12px;height:44px;padding:0 8px;border-radius:8px;color:var(--wh);font-weight:500}
.dr a.on{background:var(--p2)}
.dr h5{margin:12px 8px 4px;font-size:12px;text-transform:uppercase;color:var(--mu);letter-spacing:.04em}
@media(min-width:1024px){.dr{display:none!important}}
.ar1 a.bt{color:var(--bg);text-decoration:none}.ar1 a.bt.g{color:var(--wh)}
.ar1 .cta .bt,.ar1 .bt{margin:0 0 4px}
