/* v60: общая шапка и подвал сайта Poly на странице «Деньги». Разметка — _build/v60_chrome.py (из текстов about на 11 языках).
   Гамма чёрная в обеих темах страницы; значок Poly чёрно-белый (currentColor). Всё под классами .pm-* и .site-*, страницу не трогает. */
.pm-sprite{position:absolute;width:0;height:0;overflow:hidden}
.pm-skip{position:absolute;top:-100px;left:12px;z-index:60;padding:10px 18px;border-radius:0 0 8px 8px;background:#f2f1ec;color:#0b0c0f;font-weight:700;text-decoration:none}
.pm-skip:focus{top:0}
.site-header,.site-footer{--pm-bg:#0b0c0f;--pm-ink:#f2f1ec;--pm-mut:#a6a6b0;--pm-line:#23262e;background:var(--pm-bg);color:var(--pm-ink);font:15px/1.5 "Inter Tight",system-ui,sans-serif}
.site-header a,.site-footer a{color:inherit;text-decoration:none}
.site-header{position:relative;z-index:30;display:flex;justify-content:space-between;align-items:center;gap:8px 24px;padding:6px max(24px,calc((100% - 1180px)/2 + 24px));border-bottom:1px solid var(--pm-line)}
.site-header .pm-id{display:flex;align-items:center;gap:10px;min-width:0}
.site-header .brand,.site-footer .brand{display:flex;align-items:center;gap:6px;min-height:44px;font-weight:800;font-size:22px;letter-spacing:-.01em}
.site-header .brand svg,.site-footer .brand svg,.pm-mark{width:34px;height:34px;flex:none}
.site-header .pm-cap{display:inline-flex;align-items:center;min-height:30px;padding:0 12px;border:1px solid #3a3e49;border-radius:999px;font-size:13px;font-weight:700;letter-spacing:.02em;color:var(--pm-ink);white-space:nowrap}
.site-header .pm-cap:hover{border-color:var(--pm-ink)}
.site-header nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:0 26px}
.site-header nav>a{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;color:#d9d8d2}
.site-header nav>a::after{content:"";position:absolute;left:0;bottom:6px;width:0;height:2px;background:var(--pm-ink);transition:width .25s}
.site-header nav>a:hover::after,.site-header nav>a[aria-current]::after{width:100%}
.site-header nav>a:hover,.site-header nav>a[aria-current]{color:#fff}
.site-header nav>a[aria-current]{font-weight:700}
.site-header a:focus-visible,.site-footer a:focus-visible,.langsel summary:focus-visible{outline:2px solid #fff;outline-offset:3px;border-radius:4px}
.langsel{position:relative}
.langsel summary{display:inline-flex;align-items:center;gap:8px;min-width:44px;min-height:44px;padding:0 14px;border-radius:999px;border:1px solid #3a3e49;background:#15171d;font-size:14px;font-weight:700;list-style:none;cursor:pointer;color:var(--pm-ink)}
.langsel summary::-webkit-details-marker{display:none}
.langsel summary svg{width:16px;height:16px;fill:currentColor}
.langsel summary::after{content:"";width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .2s}
.langsel[open] summary::after{transform:rotate(225deg)}
.langsel ul{position:absolute;right:0;top:calc(100% + 8px);z-index:50;min-width:190px;padding:6px;margin:0;list-style:none;border-radius:14px;border:1px solid #2f333d;background:#15171d;box-shadow:0 20px 40px rgba(0,0,0,.5);text-align:left}
.langsel li{list-style:none}
.langsel li a{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 14px;border-radius:10px;color:var(--pm-ink)}
.langsel li a:hover{background:rgba(255,255,255,.08)}
.langsel li a[aria-current]{font-weight:700}
.langsel li a[aria-current]::after{content:"\2713";margin-left:auto}
@media(max-width:768px){
  .site-header{flex-wrap:wrap;justify-content:center;padding:6px 12px}
  .site-header nav{justify-content:center;gap:0 14px;font-size:14px}
}
@media(max-width:480px){.site-header{padding-inline:8px}.site-header nav{gap:0 8px;font-size:13px}.site-header nav>a{padding-inline:2px;white-space:nowrap}.site-header .brand{font-size:20px}}
@media(max-width:380px){.site-header nav{gap:0 5px;font-size:12px}}
/* v60: телефон (до 700 px) — меню сайта в кнопке-бургере; без JS меню остаётся раскрытым (класс .pm-js ставит site-chrome.js) */
.pm-burger{display:none;flex:none;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:44px;height:44px;padding:0;border-radius:999px;border:1px solid #3a3e49;background:#15171d;color:var(--pm-ink);cursor:pointer}
.pm-burger span{display:block;width:18px;height:2px;border-radius:2px;background:currentColor;transition:transform .2s,opacity .2s}
.pm-open .pm-burger span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.pm-open .pm-burger span:nth-child(2){opacity:0}
.pm-open .pm-burger span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.pm-burger:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(max-width:700px){
  .site-header.pm-js{flex-wrap:wrap;justify-content:space-between;padding:2px 12px}
  .site-header.pm-js .brand{min-height:40px}
  .site-header.pm-js .pm-burger{display:inline-flex}
  .site-header.pm-js nav{display:none;width:100%;flex-direction:column;align-items:stretch;gap:0;padding:4px 0 12px;border-top:1px solid var(--pm-line);font-size:16px}
  .site-header.pm-js.pm-open nav{display:flex}
  .site-header.pm-js nav>a{justify-content:flex-start;padding:0 4px;white-space:normal}
  .site-header.pm-js nav>a::after{bottom:8px}
  .site-header.pm-js .langsel{align-self:flex-start;margin-top:8px}
  .site-header.pm-js .langsel ul{left:0;right:auto}
}
#lang[hidden]{display:none!important}
/* логотип в липкой полосе глав: только знак, в цвет страницы */
.nav .logo{gap:0}
.nav .logo .pm-mark{width:30px;height:30px;color:var(--ink)}
/* подвал */
footer.site-footer{margin:0;padding:34px 24px 26px;border-top:1px solid var(--pm-line);text-align:center;font-size:14px;color:var(--pm-mut)}
.site-footer>*{max-width:1180px;margin-inline:auto}
.site-footer .pm-money{display:flex;justify-content:space-between;gap:8px 20px;flex-wrap:wrap;padding-bottom:20px;margin-bottom:22px;border-bottom:1px solid var(--pm-line);text-align:left;font-size:13px;color:var(--pm-mut)}
.site-footer .pm-money b{color:var(--pm-ink)}
.site-footer .pm-money a{display:inline-block;padding:10px 2px;color:var(--pm-ink);text-decoration:underline;text-underline-offset:3px}
.site-footer .brand{justify-content:center;width:fit-content;margin-bottom:8px;font-size:21px;color:var(--pm-ink)}
.site-footer nav{display:flex;flex-wrap:wrap;justify-content:center;gap:0 4px;padding-bottom:14px;font-size:14px}
.site-footer nav a{display:inline-flex;align-items:center;min-width:44px;min-height:44px;padding:0 4px;color:#a6a6b0}
.site-footer nav a:not(:last-child)::after{content:"\00b7";margin-left:10px;color:#5d5d6a}
.site-footer nav a:hover,.site-footer nav a[aria-current]{color:#fff}
.site-footer .stores-foot{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:16px}
.site-footer .store{display:flex;flex-direction:column;align-items:center;min-width:140px;min-height:46px;padding:6px 16px;border-radius:12px;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.04);color:var(--pm-ink);font-weight:700;font-size:15px;line-height:1.25}
.site-footer .store small{color:#a6a6b0;font-size:12px;font-weight:500}
.site-footer .store:hover{border-color:#fff}
.site-footer p.legal{display:flex;justify-content:center;margin-top:12px;font-size:13px}
.site-footer p.legal a{display:inline-flex;align-items:center;min-height:44px;color:#8d8d98}
.site-footer p.copy{margin-top:2px;font-size:13px;color:#6f6f7a}
@media(max-width:560px){footer.site-footer{padding-inline:14px}.site-footer .pm-money{flex-direction:column}.site-footer .store{flex:1;min-width:0}}
@media print{.site-header,.site-footer{display:none!important}}
