@font-face {
  font-family:Montserrat; src:url(fonts/montserrat-cyrillic.woff2) format("woff2");
  font-weight:100 900; font-display:swap; unicode-range:U+0400-052F,U+2116;
}
@font-face {
  font-family:Montserrat; src:url(fonts/montserrat-latin.woff2) format("woff2");
  font-weight:100 900; font-display:swap; unicode-range:U+0000-024F,U+2000-206F;
}
.demo-close svg {
  transform-origin:center;
  transition:transform 220ms ease;
}
@media (hover:hover) and (pointer:fine) {
  .demo-close:hover svg {transform:rotate(90deg) scale(var(--icon-zoom,1.26))}
}
.demo-close:is(:active,.touch-turn) svg {transform:rotate(90deg) scale(var(--icon-zoom,1.26))}
@media (prefers-reduced-motion:reduce) {
  .demo-close svg {transition:none}
  .demo-close:is(:hover,:active,.touch-turn) svg {transform:none}
}
dialog.mobile-qr {
  box-sizing:border-box;position:fixed;inset:0;margin:auto;
  width:min(340px,calc(100% - 24px));height:fit-content;max-height:calc(100dvh - 16px);
  overflow:auto;overscroll-behavior:contain;padding:24px;
  border:1px solid #cabda347;border-radius:32px;
  background:linear-gradient(145deg,#393129,#211d19);backdrop-filter:blur(20px);
  color:#faf6ed;text-align:center;font-family:Montserrat,var(--sys,system-ui),sans-serif;
  box-shadow:0 24px 80px #0006;
}
.mobile-qr::backdrop {background:#17120fb0;backdrop-filter:blur(10px)}
.mobile-qr .qr-close {
  position:absolute;right:12px;top:12px;display:grid;place-items:center;
  width:42px;height:42px;padding:0;border:1px solid #b5a99b45;border-radius:50%;
  background:#39322c;color:#faf6ed;cursor:pointer;
}
.qr-close svg {width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.mobile-qr .qr-target {
  display:block;margin:0 auto;background:white;border-radius:18px;
  width:min(205px,calc(100% - 38px),max(64px,calc(100dvh - 164px)));
  aspect-ratio:1;overflow:hidden;
}
.qr-target img {display:block;width:100%;height:100%}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .qr-target img {transition:transform 260ms ease}
  .qr-target:hover img {transform:scale(.97)}
}
.mobile-qr h2 {margin:16px 0 6px;color:inherit;font:600 22px/1.15 Montserrat,var(--sys,system-ui),sans-serif;letter-spacing:-.035em}
.mobile-qr p {margin:0 auto;max-width:28ch;color:#d1c7bb;font:400 14px/1.45 Montserrat,var(--sys,system-ui),sans-serif;text-wrap:balance}
.mobile-qr :is(a,button):focus-visible {outline:2px solid #e1b78c;outline-offset:2px}
.dm.qr-open :is(.dm-bar,.dm-cta) {visibility:hidden}
@media (max-height:350px) {
  dialog.mobile-qr {padding-block:16px}
}
