:root{--bg:#fdfcfc;--surf:#ffffff;--ink:#271f17;--mut:#706a65;--line:#dfdddc;--acc:#9a6328;--acct:#9a6328;--accink:#ffffff;--tint:#f3ede7;--deep:#412a11;--r:14px;--w:1200px;--hf:Georgia,Cambria,"Times New Roman",Times,serif;--bf:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--sp:1.12}
*,*::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:400;letter-spacing:-.02em;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}.ep-muhe{color:var(--mut)}
.ep-sima{max-width:var(--w);margin:0 auto;padding:0 clamp(16px,4vw,32px)}.ep-raruke{max-width:780px}
.ep-sace{padding:calc(var(--sp)*72px) 0}.ep-sace.ep-supo{padding:calc(var(--sp)*28px) 0}.ep-sace.ep-tumi{background:var(--tint)}
.ep-mojubi{max-width:720px;margin:0 0 calc(var(--sp)*36px)}.ep-bafe .ep-mojubi{margin-left:auto;margin-right:auto;text-align:center}
.ep-mojubi h1{font-size:clamp(1.8rem,3.6vw,2.7rem)}.ep-bimi{font-size:1.14em;color:var(--mut);max-width:62ch}.ep-bafe .ep-mojubi .ep-bimi,.ep-homina.ep-hagepo .ep-bimi{margin-left:auto;margin-right:auto}
.ep-vilija{font:600 .78rem/1.2 var(--bf);letter-spacing:.12em;text-transform:uppercase;color:var(--acct);margin:0 0 .9rem}
.ep-gejori h2,.ep-gejori h3.ep-voneze{text-transform:uppercase;letter-spacing:.04em}
.ep-beguta{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}
.ep-beguta:hover{transform:translateY(-1px);box-shadow:0 1px 2px rgba(16,24,40,.06),0 10px 28px rgba(16,24,40,.09)}.ep-beguta.ep-tumi{background:transparent;color:var(--ink);border-color:var(--line);}.ep-beguta.ep-tumi:hover{border-color:var(--acc)}
.ep-beguta.ep-soju{padding:.5em 1em;font-size:.88rem}.ep-jihu .ep-beguta{text-transform:uppercase;letter-spacing:.06em;font-size:.84rem}
a:focus-visible,.ep-beguta:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,label:focus-visible{outline:3px solid var(--acc);outline-offset:2px}
.ep-sahila{display:flex;gap:12px;flex-wrap:wrap;margin:1.6rem 0 0}
.ep-doravi{font-weight:600;text-decoration:none}.ep-doravi::after{content:" →"}.ep-mojuso{margin-top:2rem}
/* шапка */
.ep-mipi{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)}
.ep-foka{display:flex;align-items:center;gap:20px;min-height:68px;flex-wrap:nowrap}
.ep-bohiku{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:-.02em}.ep-bohiku span{min-width:0;overflow-wrap:anywhere}.ep-bohiku img{flex:none}
.ep-peheko{display:flex;align-items:center;gap:6px;margin-left:auto;flex:none}.ep-peheko a{color:var(--ink);text-decoration:none;padding:.5em .8em;border-radius:8px;font-size:.95rem}
.ep-peheko a:hover{background:var(--tint)}.ep-peheko a[aria-current]{color:var(--acct);font-weight:600}.ep-peheko a.ep-beguta{color:var(--accink);margin-left:8px}.ep-peheko a.ep-beguta:hover{background:var(--acc)}
.ep-gufife{position:absolute;opacity:0;pointer-events:none}.ep-nupo{display:none;margin-left:auto;width:44px;height:44px;border-radius:10px;border:1px solid var(--line);cursor:pointer;align-items:center;justify-content:center}
.ep-nupo i,.ep-nupo i::before,.ep-nupo i::after{display:block;width:20px;height:2px;background:var(--ink);position:relative;content:""}.ep-nupo i::before{position:absolute;top:-6px}.ep-nupo i::after{position:absolute;top:6px}
.ep-nara .ep-foka{flex-direction:column;gap:6px;padding:14px 0}.ep-nara .ep-peheko{margin:0;flex-wrap:wrap;justify-content:center}
.ep-nijo{background:var(--deep);color:#fff;font-size:.82rem}.ep-nijo a{color:#fff}.ep-rosa{display:flex;gap:24px;justify-content:space-between;flex-wrap:wrap;padding-top:7px;padding-bottom:7px}
/* герой */
.ep-homina{padding:calc(var(--sp)*72px) 0 calc(var(--sp)*56px)}.ep-vefa{display:grid;gap:48px;align-items:center}
.ep-homina.ep-pahesa .ep-vefa{grid-template-columns:1.05fr .95fr}.ep-homina.ep-pahesa.ep-sasefu .ep-vefa>:first-child{order:2}
.ep-caba{border-radius:14px;width:100%;height:auto;aspect-ratio:4/3.3;object-fit:cover}
.ep-homina.ep-hagepo{text-align:center}.ep-homina.ep-hagepo .ep-vefa{grid-template-columns:1fr;gap:40px}.ep-homina.ep-hagepo .ep-sahila{justify-content:center}.ep-homina.ep-hagepo .ep-caba{aspect-ratio:21/9}
.ep-homina.ep-redu{position:relative;color:#fff;padding:0;min-height:min(78vh,620px);display:flex;align-items:center;isolation:isolate}
.ep-homina.ep-redu .ep-fepupa{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.ep-homina.ep-redu::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,10,14,.82),rgba(8,10,14,.35));z-index:-1}
.ep-homina.ep-redu .ep-bimi{color:rgba(255,255,255,.88)}.ep-homina.ep-redu .ep-vilija{color:#fff;opacity:.85}.ep-homina.ep-redu .ep-beguta.ep-tumi{color:#fff;border-color:rgba(255,255,255,.5)}
.ep-homina.ep-redu .ep-vefa{padding-top:80px;padding-bottom:80px}.ep-homina.ep-redu .ep-beguta{background:#fff;color:#111;border-color:#fff}.ep-homina.ep-redu .ep-beguta.ep-tumi{background:transparent;color:#fff}
.ep-homina.ep-tese .ep-vefa{grid-template-columns:1fr;gap:44px}.ep-homina.ep-tese h1{font-size:clamp(1.9rem,7vw,5rem);max-width:15ch}
.ep-homina.ep-tese .ep-bike{border-left:6px solid var(--acc);padding-left:clamp(16px,3vw,32px)}.ep-deca{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.ep-deca .ep-bibubu{border-radius:14px;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
/* сетки и карточки */
.ep-zofo{display:grid;gap:24px}.ep-zofo>*,.ep-ruvagu>*,.ep-cizi>*,.ep-vefa>*,.ep-core>*{min-width:0}.ep-teme{grid-template-columns:repeat(2,1fr)}.ep-gefohu{grid-template-columns:repeat(3,1fr)}.ep-fogifi{grid-template-columns:repeat(4,1fr)}
.ep-gaba{background:var(--surf);border-radius:14px;padding:28px;display:flex;flex-direction:column;gap:2px}
.ep-fedede .ep-gaba{border:1px solid var(--line)}.ep-vosone .ep-gaba{box-shadow:0 1px 2px rgba(16,24,40,.06),0 10px 28px rgba(16,24,40,.09)}.ep-mere .ep-gaba{background:var(--tint)}.ep-sace.ep-tumi .ep-mere .ep-gaba,.ep-mere .ep-sace.ep-tumi .ep-gaba{background:var(--surf)}.ep-sozefo .ep-gaba{border:1px solid var(--line);border-top:4px solid var(--acc)}
.ep-gaba h3{margin-bottom:.4em}.ep-gaba p{color:var(--mut);margin:0 0 .8em}.ep-gaba .ep-doravi{margin-top:auto}
.ep-fofo{width:48px;height:48px;border-radius:14px;background:var(--tint);color:var(--acct);display:inline-flex;align-items:center;justify-content:center;margin-bottom:16px;font:700 1rem var(--hf)}
.ep-mere .ep-fofo,.ep-sace.ep-tumi .ep-fofo{background:var(--surf)}.ep-fofo.ep-luzudo::after{content:"";width:14px;height:14px;border-radius:50%;background:var(--acc)}
.ep-nuzufu,.ep-jonacu{padding:0;overflow:hidden}.ep-nuzufu .ep-sukamu,.ep-jonacu .ep-sukamu{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}.ep-jonacu .ep-sukamu{aspect-ratio:1}.ep-rehuku{padding:22px 24px 26px;display:flex;flex-direction:column;flex:1}
.ep-nuzufu time,.ep-kuga,time{font-size:.82rem;color:var(--mut)}.ep-nuzufu h3 a{color:var(--ink);text-decoration:none}.ep-nuzufu h3 a:hover{color:var(--acct)}.ep-piha{color:var(--ink)!important;font-weight:700}.ep-pevu{display:flex;justify-content:space-between;align-items:center;margin-top:auto!important;gap:12px}
.ep-ruvagu{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}.ep-ruvagu.ep-peme{align-items:start}.ep-ruvagu.ep-tuji>:first-child{order:2}
.ep-husupe .ep-sukamu{border-radius:14px;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.ep-racoke{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}
.ep-darebu{text-align:center}.ep-darebu b{display:block;font:400 clamp(1.8rem,4vw,2.6rem)/1.1 var(--hf);color:var(--acct);margin-bottom:6px}.ep-darebu span{color:var(--mut);font-size:.92rem;overflow-wrap:anywhere}
.ep-fobu{display:grid;gap:16px;grid-template-columns:repeat(4,1fr)}.ep-fobu.ep-jaho{grid-template-columns:repeat(3,1fr)}.ep-piba{margin:0;overflow:hidden;border-radius:14px}.ep-piba img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3}
.ep-fobu.ep-jaho .ep-kigaci img{aspect-ratio:3/4}.ep-fobu.ep-jaho .ep-movaja img{aspect-ratio:1}.ep-fobu.ep-jaho .ep-cipo img{aspect-ratio:3/4}
.ep-zonu{margin:0;background:var(--surf);border-radius:14px;padding:28px;display:flex;flex-direction:column;justify-content:space-between;gap:22px}.ep-fedede .ep-zonu,.ep-sozefo .ep-zonu{border:1px solid var(--line)}.ep-vosone .ep-zonu{box-shadow:0 1px 2px rgba(16,24,40,.06),0 10px 28px rgba(16,24,40,.09)}
.ep-zonu blockquote{margin:0;font:1.04rem/1.6 var(--hf)}.ep-zonu blockquote::before{content:"“";display:block;font-size:2.4rem;line-height:.8;color:var(--acct)}
.ep-zonu figcaption{display:flex;gap:12px;align-items:center}.ep-zonu .ep-firu{width:44px;height:44px;border-radius:50%}.ep-zonu figcaption span{display:flex;flex-direction:column;font-size:.9rem;line-height:1.35}.ep-zonu i{color:var(--mut);font-style:normal}
.ep-lafo{display:grid;gap:10px}.ep-lajo{background:var(--surf);border:1px solid var(--line);border-radius:12px;padding:4px 22px}.ep-lajo summary{cursor:pointer;font-weight:600;padding:16px 0;list-style:none;display:flex;justify-content:space-between;gap:16px}
.ep-lajo summary::-webkit-details-marker{display:none}.ep-lajo summary::after{content:"+";color:var(--acct);font-size:1.3rem;line-height:1}.ep-lajo[open] summary::after{content:"−"}.ep-lajo p{color:var(--mut)}
.ep-poju{background:var(--deep);color:#fff;border-radius:14px;padding:clamp(32px,6vw,64px);display:flex;gap:24px;justify-content:space-between;align-items:center;flex-wrap:wrap}.ep-poju h2{margin:0;max-width:22ch;color:#fff}.ep-poju .ep-beguta{background:#fff;color:#111;border-color:#fff}
.ep-basigo .ep-kohimo{padding:32px}.ep-kohimo .ep-ruje{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;margin:.2em 0 1em!important}.ep-kohimo .ep-ruje b{font:400 2.1rem/1 var(--hf);color:var(--ink)}.ep-kohimo .ep-ruje span{font-size:.88rem}
.ep-reliho{list-style:none;margin:0 0 1.4em;padding:0;display:grid;gap:8px;color:var(--mut)}.ep-reliho li{padding-left:26px;position:relative}.ep-reliho 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)}.ep-kohimo .ep-beguta{margin-top:auto;text-align:center}.ep-kohimo.ep-gora{outline:2px solid var(--acc);outline-offset:-2px}
.ep-bekiji{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:6px 56px}.ep-bekiji li{padding:16px 0;border-bottom:1px solid var(--line)}.ep-jodabe{display:flex;align-items:baseline;gap:10px}.ep-jodabe h3{margin:0}.ep-roce{flex:1;border-bottom:2px dotted var(--line);transform:translateY(-4px)}.ep-bekiji p{color:var(--mut);margin:.25em 0 0}
.ep-tiguju{display:grid;gap:56px}.ep-cizi{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}.ep-cizi.ep-tuji>:first-child{order:2}
.ep-subara{overflow-x:auto}.ep-ruto{width:100%;border-collapse:collapse;min-width:560px}.ep-ruto td{padding:18px 14px;border-bottom:1px solid var(--line);vertical-align:top}.ep-ruto h3{margin:0 0 .2em}.ep-ruto p{margin:0;color:var(--mut)}.ep-mido b{display:block;font:700 1.3rem var(--hf);color:var(--acct)}.ep-mido{white-space:nowrap}.ep-razevo{white-space:nowrap}
.ep-dajeje{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.ep-lase{margin:0;text-align:center}.ep-lase .ep-firu{width:100%;height:auto;aspect-ratio:1;border-radius:14px;object-fit:cover;margin-bottom:12px}.ep-lase b{display:block}.ep-lase i{color:var(--mut);font-style:normal;font-size:.92rem}
.ep-zoro h1{font-size:clamp(1.9rem,4vw,2.8rem)}.ep-zoro .ep-sukamu.ep-mume{width:100%;height:auto;aspect-ratio:5/2;object-fit:cover;border-radius:14px;margin:0 0 28px}.ep-zoro p{max-width:68ch}.ep-pinu a{text-decoration:none;font-weight:600}
.ep-fohi{list-style:none;margin:0 0 28px;padding:0;display:grid;gap:14px}.ep-fohi li{display:flex;flex-direction:column}.ep-fohi span{font-size:.8rem;color:var(--mut);text-transform:uppercase;letter-spacing:.08em}.ep-hozu li{flex-direction:row;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:8px}.ep-hozu span{text-transform:none;letter-spacing:0;font-size:.95rem}
.ep-sebo{display:grid;gap:16px;background:var(--surf);border:1px solid var(--line);border-radius:14px;padding:28px}.ep-sebo label{display:grid;gap:6px;font-size:.88rem;font-weight:600}
.ep-sebo input,.ep-sebo textarea{font:inherit;font-weight:400;color:var(--ink);background:var(--bg);border:1px solid var(--mut);border-radius:8px;padding:.7em .9em;width:100%}.ep-fofu{font-size:.82rem;color:var(--mut);margin:0}
.ep-tofaji{text-align:center;padding:60px 0}.ep-robe{font:400 clamp(5rem,18vw,10rem)/1 var(--hf);color:var(--acct);margin:0;opacity:.9}.ep-nefizu{display:flex;gap:18px;justify-content:center;flex-wrap:wrap;margin-top:28px}.ep-tofaji .ep-sahila{justify-content:center}
/* подвал */
.ep-veguci{border-top:1px solid var(--line);margin-top:0;padding:48px 0 28px;font-size:.93rem}.ep-veguci.ep-dotage{background:var(--deep);color:#d7dce3;border:0}.ep-veguci.ep-dotage a{color:#fff}.ep-veguci.ep-dotage .ep-muhe{color:#aab3bf}.ep-veguci.ep-dotage .ep-pova{border-color:rgba(255,255,255,.15)}
.ep-core{display:grid;grid-template-columns:1.4fr 1fr 1.2fr;gap:40px;margin-bottom:32px}.ep-game{font:700 1.1rem var(--hf);margin:0 0 .4em}.ep-dezeki{font-weight:700;margin:0 0 .6em}.ep-rivaco{display:grid;gap:6px}.ep-rivaco a,.ep-veguci a{text-decoration:none}.ep-rivaco a:hover,.ep-veguci a:hover{text-decoration:underline}
.ep-pova{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:22px;color:var(--mut)}.ep-veguci.ep-vazo{padding:26px 0}.ep-veguci.ep-vazo .ep-pova{border:0;padding-top:0;padding-bottom:0}
.ep-veguci.ep-faza{background:var(--tint)}
/* документация */
.ep-fami{display:grid;grid-template-columns:250px minmax(0,1fr);gap:48px;padding-top:36px;padding-bottom:64px}.ep-hebuze{position:sticky;top:90px;align-self:start;display:grid;gap:2px;font-size:.93rem;max-height:calc(100vh - 110px);overflow:auto}
.ep-hebuze a{color:var(--ink);text-decoration:none;padding:.35em .7em;border-radius:6px}.ep-hebuze a:hover{background:var(--tint)}.ep-jijobu{font-weight:700;margin:16px 0 4px;font-size:.78rem;text-transform:uppercase;letter-spacing:.1em;color:var(--mut)}
.ep-poluse{min-width:0}.ep-poluse h2{margin-top:1.8em}.ep-poluse h1{font-size:clamp(1.9rem,4vw,2.7rem)}.ep-poluse pre{background:var(--deep);color:#e6edf3;border-radius:10px;padding:18px 20px;overflow-x:auto;font:.88rem/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;margin:1em 0}
.ep-poluse code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;font-size:.92em}.ep-juhase{border-top:1px solid var(--line);padding-top:24px;margin-top:28px}.ep-juhase h3 code{background:var(--tint);padding:.15em .45em;border-radius:6px}.ep-zomuzu{border-top:1px solid var(--line);padding-top:18px;margin-top:18px}.ep-jita{font:600 .72rem var(--bf);font-style:normal;background:var(--tint);color:var(--acct);padding:.2em .6em;border-radius:99px}
/* адаптив */
@media (max-width:980px){.ep-fogifi{grid-template-columns:repeat(2,1fr)}.ep-gefohu{grid-template-columns:repeat(2,1fr)}.ep-homina.ep-pahesa .ep-vefa,.ep-ruvagu,.ep-cizi{grid-template-columns:1fr;gap:32px}.ep-homina.ep-pahesa.ep-sasefu .ep-vefa>:first-child,.ep-ruvagu.ep-tuji>:first-child,.ep-cizi.ep-tuji>:first-child{order:0}.ep-dajeje{grid-template-columns:repeat(2,1fr)}.ep-bekiji{grid-template-columns:1fr}.ep-core{grid-template-columns:1fr 1fr}.ep-fami{grid-template-columns:1fr}.ep-hebuze{display:none}.ep-fobu{grid-template-columns:repeat(2,1fr)}.ep-fobu.ep-jaho{grid-template-columns:repeat(2,1fr)}}
@media (max-width:900px){.ep-foka{flex-wrap:wrap}.ep-bohiku{flex:1 1 0}.ep-nupo{display:flex;flex:none}.ep-peheko{display:none;flex-direction:column;align-items:stretch;width:100%;margin:0 0 14px;order:9}.ep-gufife:checked~.ep-peheko{display:flex}.ep-peheko a{padding:.8em .6em}.ep-peheko a.ep-beguta{margin:8px 0 0;text-align:center}.ep-nara .ep-nupo{margin:0 auto}.ep-nara .ep-bohiku{margin:0 auto}}
@media (max-width:720px){
.ep-subara{overflow:visible}.ep-ruto,.ep-ruto tbody{display:block;min-width:0}.ep-ruto tr{display:grid;grid-template-columns:84px minmax(0,1fr);gap:2px 14px;padding:14px 0;border-bottom:1px solid var(--line)}.ep-ruto td{display:block;padding:0;border:0}.ep-ruto td.ep-mido{grid-row:1/span 3}.ep-ruto td.ep-razevo{white-space:normal;font-size:.9rem;color:var(--mut)}.ep-ruto td:empty{display:none}
.ep-teme,.ep-gefohu,.ep-fogifi,.ep-dajeje{grid-template-columns:1fr}.ep-racoke{grid-template-columns:repeat(2,1fr)}.ep-deca{gap:8px}.ep-deca .ep-bibubu{aspect-ratio:1}.ep-core{grid-template-columns:1fr}.ep-sace{padding:calc(var(--sp)*48px) 0}.ep-homina{padding:calc(var(--sp)*40px) 0}.ep-homina.ep-redu{min-height:0}.ep-rosa span:nth-child(2){display:none}.ep-poju{flex-direction:column;align-items:flex-start}.ep-dajeje{grid-template-columns:repeat(2,1fr)}.ep-fobu,.ep-fobu.ep-jaho{grid-template-columns:1fr 1fr}.ep-sebo{padding:20px}}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
