/* FEDERATION — desktop accessible/low-vision mode */
@media (min-width:761px){
  .earth-design-button,.earth-design-button--static{
    pointer-events:auto!important;cursor:pointer!important;
  }
  .earth-design-button::before{
    content:'Для слабовидящих';position:absolute;right:82px;top:50%;transform:translateY(-50%);
    white-space:nowrap;padding:7px 10px;border-radius:999px;background:rgba(10,10,12,.82);
    color:#fff;font:600 11px/1.2 Arial,sans-serif;letter-spacing:.04em;opacity:0;pointer-events:none;
    transition:opacity .2s ease,border-color .2s ease;border:1px solid rgba(255,255,255,.2)
  }
  .earth-design-button:hover::before,.earth-design-button:focus-visible::before{opacity:1}
}

.fed-vision-toolbar{display:none}
html.fed-vision-mode .fed-vision-toolbar{
  display:flex;position:fixed;z-index:100000;left:0;right:0;top:0;min-height:54px;
  align-items:center;justify-content:center;gap:10px;padding:8px 14px;background:#000;color:#fff;
  border-bottom:3px solid #ff2a2a;font-family:Arial,sans-serif;box-sizing:border-box
}
html.fed-vision-mode body{padding-top:58px!important;background:#fff!important;color:#000!important;font-size:20px!important;line-height:1.65!important}
html.fed-vision-mode body *{text-shadow:none!important;filter:none!important}
html.fed-vision-mode main,html.fed-vision-mode section,html.fed-vision-mode article,html.fed-vision-mode header,html.fed-vision-mode footer,
html.fed-vision-mode .site-header,html.fed-vision-mode .header{background-color:#fff!important;color:#000!important}
html.fed-vision-mode h1{font-size:2.4em!important;line-height:1.15!important;color:#000!important}
html.fed-vision-mode h2{font-size:1.9em!important;line-height:1.2!important;color:#000!important}
html.fed-vision-mode h3{font-size:1.45em!important;line-height:1.25!important;color:#000!important}
html.fed-vision-mode p,html.fed-vision-mode li,html.fed-vision-mode label,html.fed-vision-mode input,html.fed-vision-mode textarea,html.fed-vision-mode select,
html.fed-vision-mode button,html.fed-vision-mode a{font-size:1.08em!important;line-height:1.55!important}
html.fed-vision-mode a{color:#0000b8!important;text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:3px!important}
html.fed-vision-mode button,html.fed-vision-mode .btn,html.fed-vision-mode [class*="button"]{min-height:46px!important;border:2px solid #000!important}
html.fed-vision-mode input,html.fed-vision-mode textarea,html.fed-vision-mode select{background:#fff!important;color:#000!important;border:2px solid #000!important}
html.fed-vision-mode *:focus-visible{outline:4px solid #ff2a2a!important;outline-offset:3px!important}
html.fed-vision-mode .earth-design-button{position:fixed!important;right:18px!important;bottom:20px!important;width:78px!important;height:78px!important;z-index:100001!important;filter:none!important}
html.fed-vision-mode .earth-design-button::before{content:'Обычная версия';opacity:1;background:#000;border-color:#fff}
html.fed-vision-mode.fed-vision-contrast body,
html.fed-vision-mode.fed-vision-contrast main,
html.fed-vision-mode.fed-vision-contrast section,
html.fed-vision-mode.fed-vision-contrast article,
html.fed-vision-mode.fed-vision-contrast header,
html.fed-vision-mode.fed-vision-contrast footer{background:#000!important;color:#fff!important}
html.fed-vision-mode.fed-vision-contrast h1,html.fed-vision-mode.fed-vision-contrast h2,html.fed-vision-mode.fed-vision-contrast h3,
html.fed-vision-mode.fed-vision-contrast p,html.fed-vision-mode.fed-vision-contrast li,html.fed-vision-mode.fed-vision-contrast span{color:#fff!important}
html.fed-vision-mode.fed-vision-contrast a{color:#ffe600!important}
html.fed-vision-mode.fed-vision-noimages img,html.fed-vision-mode.fed-vision-noimages video,html.fed-vision-mode.fed-vision-noimages picture{display:none!important}
html.fed-vision-mode.fed-vision-noimages .earth-design-button img{display:block!important}
html.fed-vision-mode.fed-vision-font-xl body{font-size:24px!important}
html.fed-vision-mode .fed-vision-toolbar button{appearance:none;background:#fff!important;color:#000!important;border:2px solid #fff!important;border-radius:7px!important;padding:7px 12px!important;font:bold 16px/1 Arial,sans-serif!important;cursor:pointer!important;min-height:38px!important}
html.fed-vision-mode .fed-vision-toolbar button:hover{background:#ffe600!important}
html.fed-vision-mode .fed-vision-toolbar .fed-vision-title{font:bold 17px/1.2 Arial,sans-serif;margin-right:4px}
@media(max-width:760px){.fed-vision-toolbar{display:none!important}}

/* Unified lightweight-version entry, 2026-10-22 */
html body a#fed-lite-entry,html body .dk-lite a,html body a.fed-footer-lite{position:fixed!important;left:16px!important;bottom:16px!important;right:auto!important;top:auto!important;z-index:9990!important;display:block!important;box-sizing:border-box!important;width:200px!important;max-width:calc(100vw - 32px)!important;min-height:0!important;padding:11px 13px!important;border:1px solid #53616b!important;border-radius:11px!important;background:#161e24!important;background-image:none!important;color:#fff!important;box-shadow:0 5px 18px #0003!important;text-align:left!important;text-transform:none!important;text-decoration:none!important;text-shadow:none!important;white-space:normal!important;font:0/1.4 Arial,Helvetica,sans-serif!important;letter-spacing:0!important;opacity:1!important;transform:none!important}
html body a#fed-lite-entry::before,html body .dk-lite a::before,html body a.fed-footer-lite::before{content:"\41c \435 \434 \43b \435 \43d \43d \44b \439  \438 \43d \442 \435 \440 \43d \435 \442 ?"!important;color:#fff!important;font:600 11px/1.4 Arial,sans-serif!important}
html body a#fed-lite-entry::after,html body .dk-lite a::after,html body a.fed-footer-lite::after{content:"\41e \431 \43b \435 \433 \447 \451 \43d \43d \430 \44f  \432 \435 \440 \441 \438 \44f  \2192 "!important;color:#e6ff00!important;font:700 12px/1.5 Arial,sans-serif!important}
html body a#fed-lite-entry::before,html body .dk-lite a::before,html body a.fed-footer-lite::before,html body a#fed-lite-entry::after,html body .dk-lite a::after,html body a.fed-footer-lite::after{position:static!important;display:block!important;width:auto!important;height:auto!important;background:none!important;letter-spacing:0!important;transform:none!important;opacity:1!important}
html[lang^="en"] body a#fed-lite-entry::before,html[lang^="en"] body .dk-lite a::before,html[lang^="en"] body a.fed-footer-lite::before{content:"Slow internet?"!important}html[lang^="en"] body a#fed-lite-entry::after,html[lang^="en"] body .dk-lite a::after,html[lang^="en"] body a.fed-footer-lite::after{content:"Lightweight version \2192 "!important}
html body a#fed-lite-entry>*,html body .dk-lite a>*,html body a.fed-footer-lite>*{display:none!important}html body .fed-artist-subnav a[href*="/lite/"]{display:none!important}html body a#fed-lite-entry:hover,html body .dk-lite a:hover,html body a.fed-footer-lite:hover{background:#202a31!important;border-color:#e6ff00!important}html body a#fed-lite-entry:focus-visible,html body a.fed-footer-lite:focus-visible{outline:3px solid #e6ff00!important;outline-offset:3px!important}@media(max-width:620px){html body a#fed-lite-entry,html body .dk-lite a,html body a.fed-footer-lite{left:10px!important;bottom:10px!important;width:184px!important;padding:9px 12px!important}}
