:root{--bg:#f8f4ec;--surf:#fcfaf6;--ink:#2f1e1e;--mut:#736764;--line:#dcd6cf;--acc:#ae221e;--acct:#ae221e;--accink:#ffffff;--tint:#f1dfd7;--deep:#450e0c;--r:0px;--w:1120px;--hf:"Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif;--bf:"Gill Sans","Gill Sans MT",Calibri,"Trebuchet MS",system-ui,sans-serif;--sp:1}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.65 var(--bf);-webkit-font-smoothing:antialiased;overflow-wrap:break-word}
img,svg{display:block;max-width:100%}
a{color:var(--acct);text-underline-offset:3px}
h1,h2,h3{font-family:var(--hf);font-weight:700;letter-spacing:-.01em;line-height:1.16;margin:0 0 .5em;text-wrap:balance;overflow-wrap:anywhere;hyphens:auto}
h1{font-size:clamp(2rem,4.8vw,3.4rem)}h2{font-size:clamp(1.5rem,3vw,2.15rem)}h3{font-size:1.15rem}
p{margin:0 0 1em}.th-zomu{color:var(--mut)}
.th-luso{max-width:var(--w);margin:0 auto;padding:0 clamp(16px,4vw,32px)}.th-jinu{max-width:780px}
.th-horezo{padding:calc(var(--sp)*72px) 0}.th-horezo.th-lobu{padding:calc(var(--sp)*28px) 0}.th-horezo.th-vigacu{background:var(--tint)}
.th-pepova{max-width:720px;margin:0 0 calc(var(--sp)*36px)}.th-nele .th-pepova{margin-left:auto;margin-right:auto;text-align:center}
.th-pepova h1{font-size:clamp(1.8rem,3.6vw,2.7rem)}.th-zifu{font-size:1.14em;color:var(--mut);max-width:62ch}.th-nele .th-pepova .th-zifu,.th-horije.th-lizo .th-zifu{margin-left:auto;margin-right:auto}
.th-pesite{font:600 .78rem/1.2 var(--bf);letter-spacing:.12em;text-transform:uppercase;color:var(--acct);margin:0 0 .9rem}
.th-posune h2,.th-posune h3.th-cesi{text-transform:uppercase;letter-spacing:.04em}
.th-tiluji{display:inline-block;background:var(--acc);color:var(--accink);text-decoration:none;font-weight:600;padding:.8em 1.5em;border-radius:999px;border:2px solid var(--acc);cursor:pointer;font-family:var(--bf);font-size:.97rem;line-height:1.2;transition:transform .15s,box-shadow .15s}
.th-tiluji:hover{transform:translateY(-1px);box-shadow:0 1px 2px rgba(16,24,40,.06),0 10px 28px rgba(16,24,40,.09)}.th-tiluji.th-vigacu{background:transparent;color:var(--ink);border-color:var(--line);}.th-tiluji.th-vigacu:hover{border-color:var(--acc)}
.th-tiluji.th-mivize{padding:.5em 1em;font-size:.88rem}.th-jejehu .th-tiluji{text-transform:uppercase;letter-spacing:.06em;font-size:.84rem}
a:focus-visible,.th-tiluji:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,label:focus-visible{outline:3px solid var(--acc);outline-offset:2px}
.th-siku{display:flex;gap:12px;flex-wrap:wrap;margin:1.6rem 0 0}
.th-neku{font-weight:600;text-decoration:none}.th-neku::after{content:" →"}.th-namatu{margin-top:2rem}
/* шапка */
.th-nepene{position:sticky;top:0;z-index:20;background:var(--bg);background:color-mix(in srgb,var(--bg) 92%,transparent);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.th-cude{display:flex;align-items:center;gap:20px;min-height:68px;flex-wrap:nowrap}
.th-jati{display:flex;align-items:center;gap:10px;min-width:0;color:var(--ink);text-decoration:none;font:700 1.12rem/1.15 var(--hf);letter-spacing:-.01em}.th-jati span{min-width:0;overflow-wrap:anywhere}.th-jati img{flex:none}
.th-gehu{display:flex;align-items:center;gap:6px;margin-left:auto;flex:none}.th-gehu a{color:var(--ink);text-decoration:none;padding:.5em .8em;border-radius:0px;font-size:.95rem}
.th-gehu a:hover{background:var(--tint)}.th-gehu a[aria-current]{color:var(--acct);font-weight:600}.th-gehu a.th-tiluji{color:var(--accink);margin-left:8px}.th-gehu a.th-tiluji:hover{background:var(--acc)}
.th-nisaja{position:absolute;opacity:0;pointer-events:none}.th-sira{display:none;margin-left:auto;width:44px;height:44px;border-radius:0px;border:1px solid var(--line);cursor:pointer;align-items:center;justify-content:center}
.th-sira i,.th-sira i::before,.th-sira i::after{display:block;width:20px;height:2px;background:var(--ink);position:relative;content:""}.th-sira i::before{position:absolute;top:-6px}.th-sira i::after{position:absolute;top:6px}
.th-hubu .th-cude{flex-direction:column;gap:6px;padding:14px 0}.th-hubu .th-gehu{margin:0;flex-wrap:wrap;justify-content:center}
.th-vokuvo{background:var(--deep);color:#fff;font-size:.82rem}.th-vokuvo a{color:#fff}.th-dele{display:flex;gap:24px;justify-content:space-between;flex-wrap:wrap;padding-top:7px;padding-bottom:7px}
/* герой */
.th-horije{padding:calc(var(--sp)*72px) 0 calc(var(--sp)*56px)}.th-cigosi{display:grid;gap:48px;align-items:center}
.th-horije.th-nabi .th-cigosi{grid-template-columns:1.05fr .95fr}.th-horije.th-nabi.th-parati .th-cigosi>:first-child{order:2}
.th-hafize{border-radius:4px;width:100%;height:auto;aspect-ratio:4/3.3;object-fit:cover}
.th-horije.th-lizo{text-align:center}.th-horije.th-lizo .th-cigosi{grid-template-columns:1fr;gap:40px}.th-horije.th-lizo .th-siku{justify-content:center}.th-horije.th-lizo .th-hafize{aspect-ratio:21/9}
.th-horije.th-vase{position:relative;color:#fff;padding:0;min-height:min(78vh,620px);display:flex;align-items:center;isolation:isolate}
.th-horije.th-vase .th-faviji{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.th-horije.th-vase::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,10,14,.82),rgba(8,10,14,.35));z-index:-1}
.th-horije.th-vase .th-zifu{color:rgba(255,255,255,.88)}.th-horije.th-vase .th-pesite{color:#fff;opacity:.85}.th-horije.th-vase .th-tiluji.th-vigacu{color:#fff;border-color:rgba(255,255,255,.5)}
.th-horije.th-vase .th-cigosi{padding-top:80px;padding-bottom:80px}.th-horije.th-vase .th-tiluji{background:#fff;color:#111;border-color:#fff}.th-horije.th-vase .th-tiluji.th-vigacu{background:transparent;color:#fff}
.th-horije.th-relutu .th-cigosi{grid-template-columns:1fr;gap:44px}.th-horije.th-relutu h1{font-size:clamp(1.9rem,7vw,5rem);max-width:15ch}
.th-horije.th-relutu .th-sopu{border-left:6px solid var(--acc);padding-left:clamp(16px,3vw,32px)}.th-pejile{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.th-pejile .th-tekona{border-radius:0px;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
/* сетки и карточки */
.th-vera{display:grid;gap:24px}.th-vera>*,.th-tifihu>*,.th-gene>*,.th-cigosi>*,.th-sazahu>*{min-width:0}.th-tapoke{grid-template-columns:repeat(2,1fr)}.th-badihi{grid-template-columns:repeat(3,1fr)}.th-zigeti{grid-template-columns:repeat(4,1fr)}
.th-kokica{background:var(--surf);border-radius:0px;padding:28px;display:flex;flex-direction:column;gap:2px}
.th-noso .th-kokica{border:1px solid var(--line)}.th-here .th-kokica{box-shadow:0 1px 2px rgba(16,24,40,.06),0 10px 28px rgba(16,24,40,.09)}.th-puku .th-kokica{background:var(--tint)}.th-horezo.th-vigacu .th-puku .th-kokica,.th-puku .th-horezo.th-vigacu .th-kokica{background:var(--surf)}.th-babe .th-kokica{border:1px solid var(--line);border-top:4px solid var(--acc)}
.th-kokica h3{margin-bottom:.4em}.th-kokica p{color:var(--mut);margin:0 0 .8em}.th-kokica .th-neku{margin-top:auto}
.th-tahi{width:48px;height:48px;border-radius:0px;background:var(--tint);color:var(--acct);display:inline-flex;align-items:center;justify-content:center;margin-bottom:16px;font:700 1rem var(--hf)}
.th-puku .th-tahi,.th-horezo.th-vigacu .th-tahi{background:var(--surf)}.th-tahi.th-mulime::after{content:"";width:14px;height:14px;border-radius:50%;background:var(--acc)}
.th-higizu,.th-nefuca{padding:0;overflow:hidden}.th-higizu .th-jasa,.th-nefuca .th-jasa{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}.th-nefuca .th-jasa{aspect-ratio:1}.th-ziduji{padding:22px 24px 26px;display:flex;flex-direction:column;flex:1}
.th-higizu time,.th-denu,time{font-size:.82rem;color:var(--mut)}.th-higizu h3 a{color:var(--ink);text-decoration:none}.th-higizu h3 a:hover{color:var(--acct)}.th-gasino{color:var(--ink)!important;font-weight:700}.th-bojura{display:flex;justify-content:space-between;align-items:center;margin-top:auto!important;gap:12px}
.th-tifihu{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}.th-tifihu.th-lehu{align-items:start}.th-tifihu.th-suvaka>:first-child{order:2}
.th-tucono .th-jasa{border-radius:0px;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.th-domi{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:30px 0}
.th-baba{text-align:center}.th-baba b{display:block;font:700 clamp(1.8rem,4vw,2.6rem)/1.1 var(--hf);color:var(--acct);margin-bottom:6px}.th-baba span{color:var(--mut);font-size:.92rem;overflow-wrap:anywhere}
.th-ruhibe{display:grid;gap:16px;grid-template-columns:repeat(4,1fr)}.th-ruhibe.th-vimigi{grid-template-columns:repeat(3,1fr)}.th-loze{margin:0;overflow:hidden;border-radius:0px}.th-loze img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3}
.th-ruhibe.th-vimigi .th-tope img{aspect-ratio:3/4}.th-ruhibe.th-vimigi .th-gadi img{aspect-ratio:1}.th-ruhibe.th-vimigi .th-duvo img{aspect-ratio:3/4}
.th-fano{margin:0;background:var(--surf);border-radius:0px;padding:28px;display:flex;flex-direction:column;justify-content:space-between;gap:22px}.th-noso .th-fano,.th-babe .th-fano{border:1px solid var(--line)}.th-here .th-fano{box-shadow:0 1px 2px rgba(16,24,40,.06),0 10px 28px rgba(16,24,40,.09)}
.th-fano blockquote{margin:0;font:1.04rem/1.6 var(--hf)}.th-fano blockquote::before{content:"“";display:block;font-size:2.4rem;line-height:.8;color:var(--acct)}
.th-fano figcaption{display:flex;gap:12px;align-items:center}.th-fano .th-juvoko{width:44px;height:44px;border-radius:50%}.th-fano figcaption span{display:flex;flex-direction:column;font-size:.9rem;line-height:1.35}.th-fano i{color:var(--mut);font-style:normal}
.th-hatile{display:grid;gap:10px}.th-rila{background:var(--surf);border:1px solid var(--line);border-radius:0px;padding:4px 22px}.th-rila summary{cursor:pointer;font-weight:600;padding:16px 0;list-style:none;display:flex;justify-content:space-between;gap:16px}
.th-rila summary::-webkit-details-marker{display:none}.th-rila summary::after{content:"+";color:var(--acct);font-size:1.3rem;line-height:1}.th-rila[open] summary::after{content:"−"}.th-rila p{color:var(--mut)}
.th-dejugo{background:var(--deep);color:#fff;border-radius:4px;padding:clamp(32px,6vw,64px);display:flex;gap:24px;justify-content:space-between;align-items:center;flex-wrap:wrap}.th-dejugo h2{margin:0;max-width:22ch;color:#fff}.th-dejugo .th-tiluji{background:#fff;color:#111;border-color:#fff}
.th-lido .th-repo{padding:32px}.th-repo .th-jocu{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;margin:.2em 0 1em!important}.th-repo .th-jocu b{font:700 2.1rem/1 var(--hf);color:var(--ink)}.th-repo .th-jocu span{font-size:.88rem}
.th-karadi{list-style:none;margin:0 0 1.4em;padding:0;display:grid;gap:8px;color:var(--mut)}.th-karadi li{padding-left:26px;position:relative}.th-karadi li::before{content:"";position:absolute;left:2px;top:.5em;width:12px;height:7px;border-left:2px solid var(--acct);border-bottom:2px solid var(--acct);transform:rotate(-45deg)}.th-repo .th-tiluji{margin-top:auto;text-align:center}.th-repo.th-nekefu{outline:2px solid var(--acc);outline-offset:-2px}
.th-kase{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:6px 56px}.th-kase li{padding:16px 0;border-bottom:1px solid var(--line)}.th-zipago{display:flex;align-items:baseline;gap:10px}.th-zipago h3{margin:0}.th-gumu{flex:1;border-bottom:2px dotted var(--line);transform:translateY(-4px)}.th-kase p{color:var(--mut);margin:.25em 0 0}
.th-benu{display:grid;gap:56px}.th-gene{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}.th-gene.th-suvaka>:first-child{order:2}
.th-lefi{overflow-x:auto}.th-moluro{width:100%;border-collapse:collapse;min-width:560px}.th-moluro td{padding:18px 14px;border-bottom:1px solid var(--line);vertical-align:top}.th-moluro h3{margin:0 0 .2em}.th-moluro p{margin:0;color:var(--mut)}.th-pikefe b{display:block;font:700 1.3rem var(--hf);color:var(--acct)}.th-pikefe{white-space:nowrap}.th-saha{white-space:nowrap}
.th-sisope{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.th-seto{margin:0;text-align:center}.th-seto .th-juvoko{width:100%;height:auto;aspect-ratio:1;border-radius:8px;object-fit:cover;margin-bottom:12px}.th-seto b{display:block}.th-seto i{color:var(--mut);font-style:normal;font-size:.92rem}
.th-kaka h1{font-size:clamp(1.9rem,4vw,2.8rem)}.th-kaka .th-jasa.th-soci{width:100%;height:auto;aspect-ratio:5/2;object-fit:cover;border-radius:0px;margin:0 0 28px}.th-kaka p{max-width:68ch}.th-molo a{text-decoration:none;font-weight:600}
.th-zogafa{list-style:none;margin:0 0 28px;padding:0;display:grid;gap:14px}.th-zogafa li{display:flex;flex-direction:column}.th-zogafa span{font-size:.8rem;color:var(--mut);text-transform:uppercase;letter-spacing:.08em}.th-kagomi li{flex-direction:row;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:8px}.th-kagomi span{text-transform:none;letter-spacing:0;font-size:.95rem}
.th-divike{display:grid;gap:16px;background:var(--surf);border:1px solid var(--line);border-radius:0px;padding:28px}.th-divike label{display:grid;gap:6px;font-size:.88rem;font-weight:600}
.th-divike input,.th-divike textarea{font:inherit;font-weight:400;color:var(--ink);background:var(--bg);border:1px solid var(--mut);border-radius:0px;padding:.7em .9em;width:100%}.th-vifa{font-size:.82rem;color:var(--mut);margin:0}
.th-gutefi{text-align:center;padding:60px 0}.th-jafagu{font:700 clamp(5rem,18vw,10rem)/1 var(--hf);color:var(--acct);margin:0;opacity:.9}.th-zuho{display:flex;gap:18px;justify-content:center;flex-wrap:wrap;margin-top:28px}.th-gutefi .th-siku{justify-content:center}
/* подвал */
.th-gisi{border-top:1px solid var(--line);margin-top:0;padding:48px 0 28px;font-size:.93rem}.th-gisi.th-codu{background:var(--deep);color:#d7dce3;border:0}.th-gisi.th-codu a{color:#fff}.th-gisi.th-codu .th-zomu{color:#aab3bf}.th-gisi.th-codu .th-momaca{border-color:rgba(255,255,255,.15)}
.th-sazahu{display:grid;grid-template-columns:1.4fr 1fr 1.2fr;gap:40px;margin-bottom:32px}.th-mapi{font:700 1.1rem var(--hf);margin:0 0 .4em}.th-milama{font-weight:700;margin:0 0 .6em}.th-tosati{display:grid;gap:6px}.th-tosati a,.th-gisi a{text-decoration:none}.th-tosati a:hover,.th-gisi a:hover{text-decoration:underline}
.th-momaca{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:22px;color:var(--mut)}.th-gisi.th-lodefa{padding:26px 0}.th-gisi.th-lodefa .th-momaca{border:0;padding-top:0;padding-bottom:0}
.th-gisi.th-jose{background:var(--tint)}
/* документация */
.th-kosi{display:grid;grid-template-columns:250px minmax(0,1fr);gap:48px;padding-top:36px;padding-bottom:64px}.th-have{position:sticky;top:90px;align-self:start;display:grid;gap:2px;font-size:.93rem;max-height:calc(100vh - 110px);overflow:auto}
.th-have a{color:var(--ink);text-decoration:none;padding:.35em .7em;border-radius:0px}.th-have a:hover{background:var(--tint)}.th-samila{font-weight:700;margin:16px 0 4px;font-size:.78rem;text-transform:uppercase;letter-spacing:.1em;color:var(--mut)}
.th-sosi{min-width:0}.th-sosi h2{margin-top:1.8em}.th-sosi h1{font-size:clamp(1.9rem,4vw,2.7rem)}.th-sosi pre{background:var(--deep);color:#e6edf3;border-radius:0px;padding:18px 20px;overflow-x:auto;font:.88rem/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;margin:1em 0}
.th-sosi code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;font-size:.92em}.th-jita{border-top:1px solid var(--line);padding-top:24px;margin-top:28px}.th-jita h3 code{background:var(--tint);padding:.15em .45em;border-radius:6px}.th-lufe{border-top:1px solid var(--line);padding-top:18px;margin-top:18px}.th-pina{font:600 .72rem var(--bf);font-style:normal;background:var(--tint);color:var(--acct);padding:.2em .6em;border-radius:99px}
/* адаптив */
@media (max-width:980px){.th-zigeti{grid-template-columns:repeat(2,1fr)}.th-badihi{grid-template-columns:repeat(2,1fr)}.th-horije.th-nabi .th-cigosi,.th-tifihu,.th-gene{grid-template-columns:1fr;gap:32px}.th-horije.th-nabi.th-parati .th-cigosi>:first-child,.th-tifihu.th-suvaka>:first-child,.th-gene.th-suvaka>:first-child{order:0}.th-sisope{grid-template-columns:repeat(2,1fr)}.th-kase{grid-template-columns:1fr}.th-sazahu{grid-template-columns:1fr 1fr}.th-kosi{grid-template-columns:1fr}.th-have{display:none}.th-ruhibe{grid-template-columns:repeat(2,1fr)}.th-ruhibe.th-vimigi{grid-template-columns:repeat(2,1fr)}}
@media (max-width:900px){.th-cude{flex-wrap:wrap}.th-jati{flex:1 1 0}.th-sira{display:flex;flex:none}.th-gehu{display:none;flex-direction:column;align-items:stretch;width:100%;margin:0 0 14px;order:9}.th-nisaja:checked~.th-gehu{display:flex}.th-gehu a{padding:.8em .6em}.th-gehu a.th-tiluji{margin:8px 0 0;text-align:center}.th-hubu .th-sira{margin:0 auto}.th-hubu .th-jati{margin:0 auto}}
@media (max-width:720px){
.th-lefi{overflow:visible}.th-moluro,.th-moluro tbody{display:block;min-width:0}.th-moluro tr{display:grid;grid-template-columns:84px minmax(0,1fr);gap:2px 14px;padding:14px 0;border-bottom:1px solid var(--line)}.th-moluro td{display:block;padding:0;border:0}.th-moluro td.th-pikefe{grid-row:1/span 3}.th-moluro td.th-saha{white-space:normal;font-size:.9rem;color:var(--mut)}.th-moluro td:empty{display:none}
.th-tapoke,.th-badihi,.th-zigeti,.th-sisope{grid-template-columns:1fr}.th-domi{grid-template-columns:repeat(2,1fr)}.th-pejile{gap:8px}.th-pejile .th-tekona{aspect-ratio:1}.th-sazahu{grid-template-columns:1fr}.th-horezo{padding:calc(var(--sp)*48px) 0}.th-horije{padding:calc(var(--sp)*40px) 0}.th-horije.th-vase{min-height:0}.th-dele span:nth-child(2){display:none}.th-dejugo{flex-direction:column;align-items:flex-start}.th-sisope{grid-template-columns:repeat(2,1fr)}.th-ruhibe,.th-ruhibe.th-vimigi{grid-template-columns:1fr 1fr}.th-divike{padding:20px}}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
