  @font-face { font-display: block; font-family: "Pusia Bold"; font-style: normal; font-weight: 400; src: url(/assets/fonts/Pusia-Bold.woff2) format("woff2"); }

  :root {
    --safe-area-left: env(safe-area-inset-left);
    --safe-area-right: env(safe-area-inset-right);
    --stage-width: 1024;
    --screen-width-in-points: 1024;
    --offset: 0;
  }
  * { box-sizing: border-box; }
  html {
    width: 100%; height: 100vh;
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
    overscroll-behavior: none;
    font-size: min(20.48px, 2vw);
    overflow: hidden;
    text-size-adjust: 100% !important;
  }
  body {
    margin: 0; height: 100vh;
    overscroll-behavior: none; overflow: hidden;
    -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none;
    -webkit-user-select: none; user-select: none;
  }
  button { margin: 0; padding: 0; }

  /* верхняя панель и кнопки Назад и Домой: стили оригинала без изменений */
  .nav {
    z-index: 100; width: 100%;
    padding-top: env(safe-area-inset-top);
    pointer-events: none;
    justify-content: center; align-items: flex-start;
    display: flex; position: fixed;
  }
  .nav > * { pointer-events: auto; }
  .topBgBar { z-index: 0; pointer-events: none; background: #14041a; width: 100vw; height: .83682rem; position: fixed; top: 0; left: 0; }
._button_2wo9r_11{z-index:200;width:calc(221 / var(--screen-width-in-points) * 100vw);height:calc(.409502 * 221 / var(--screen-width-in-points) * 100vw);cursor:pointer;-webkit-tap-highlight-color:transparent;border:none;display:none;position:fixed}
._button_2wo9r_11.visible{display:flex}
._button_2wo9r_11:active{transition:transform .2s;transform:scale(.97)}
._button_2wo9r_11{top:calc(-26 / var(--screen-width-in-points) * 100vw + env(safe-area-inset-top));left:calc((-123.62 + var(--offset) + (var(--stage-width) - 1024) * .5) / var(--screen-width-in-points) * 100vw);transform-origin:0 0;background:url("data:image/svg+xml,%3csvg%20viewBox='0%200%20887.04%20360.24'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cclipPath%20id='a'%3e%3cpath%20d='m865.29%207.22c4.19%200%208.05%201.7%2010.88%204.79s4.18%207.09%203.82%2011.26l-27.16%20300.49c-.68%207.67-7%2013.46-14.7%2013.46h-814.35c-4.19%200-8.05-1.7-10.88-4.79s-4.19-7.08-3.82-11.25l26.83-300.49c.67-7.68%206.99-13.47%2014.7-13.47z'/%3e%3c/clipPath%3e%3cpath%20d='m837.13%20360.24h-812.35c-12.76%200-22.78-10.93-21.67-23.65l26.83-307.49c.98-11.24%2010.39-19.86%2021.67-19.86h812.68c12.77%200%2022.79%2010.95%2021.67%2023.67l-27.16%20307.49c-.99%2011.23-10.4%2019.84-21.67%2019.84z'%20fill='%23040404'%20opacity='.46'/%3e%3cpath%20d='m865.29.22h-814.68c-11.28%200-20.69%208.62-21.67%2019.86l-26.83%20307.49c-1.11%2012.71%208.91%2023.65%2021.67%2023.65h814.35c11.27%200%2020.68-8.61%2021.67-19.84l27.16-307.49c1.12-12.72-8.9-23.67-21.67-23.67z'%20fill='%23040404'/%3e%3cpath%20d='m865.29%207.22c4.19%200%208.05%201.7%2010.88%204.79s4.18%207.09%203.82%2011.26l-27.16%20300.49c-.68%207.67-7%2013.46-14.7%2013.46h-814.35c-4.19%200-8.05-1.7-10.88-4.79s-4.19-7.08-3.82-11.25l26.83-300.49c.67-7.68%206.99-13.47%2014.7-13.47z'%20fill='%23343c52'/%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20d='m0%20315.18h860.21v22.04h-860.21z'%20fill='%23272c3c'/%3e%3cpath%20d='m26.83%207.22h860.21v18h-860.21z'%20fill='%236d6084'/%3e%3cpath%20d='m842.63%200%2043.62%2048.13v-48.13z'%20fill='%23826f9d'/%3e%3c/g%3e%3cpath%20d='m717.44%20125.17c-1.83%200-3.61.72-5.28%202.15-11.55%209.87-33.15%2028.33-47.98%2041.16-14.55%2012.48-30.37%2026.84-38.5%2034.29-1.97%201.81-3.11%204.28-3.21%206.95-.09%202.68.87%208.35%202.72%2010.29l78.32%2083.26c1.36%201.44%203.19%202.22%205.15%202.22%202.41%200%204.64-1.21%205.95-3.23l21.2-33.47c2.73-4.21%202.61-12.73-.32-16.84l-29.51-40.77%2032.61-37.52c5.12-5.88%203.31-14.09.87-18.28l-15.28-25.78c-2.25-3.86-5.2-4.44-6.75-4.44z'/%3e%3cpath%20d='m717.44%20129.07c1.29%200%202.44.89%203.4%202.53l15.26%2025.75c2.42%204.16%202.72%206.99-.44%2010.63l-36.23%2041.43%2032.89%2044.81c1.98%202.79%202.06%206.5.2%209.37l-21.18%2033.44c-.62.96-1.64%201.45-2.68%201.45-.84%200-1.68-.33-2.31-1l-78.33-83.27c-2.31-2.44-2.18-6.29.29-8.55%207.63-6.99%2023.73-21.62%2038.42-34.22%2015.46-13.37%2038.26-32.86%2047.96-41.15.97-.82%201.89-1.22%202.75-1.22'%20fill='%23fff'/%3e%3c/svg%3e") 50% no-repeat}
._button_1har9_11{z-index:200;width:calc(221 / var(--screen-width-in-points) * 100vw);height:calc(.409502 * 221 / var(--screen-width-in-points) * 100vw);cursor:pointer;-webkit-tap-highlight-color:transparent;border:none;display:none;position:fixed}
._button_1har9_11.visible{display:flex}
._button_1har9_11:active{transition:transform .2s;transform:scale(.97)}
._button_1har9_11{top:calc(-28 / var(--screen-width-in-points) * 100vw + env(safe-area-inset-top));right:calc((-129 + var(--offset) + (var(--stage-width) - 1024) * .5) / var(--screen-width-in-points) * 100vw);transform-origin:100% 0;background:url("data:image/svg+xml,%3csvg%20viewBox='0%200%20885.02%20360.02'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cclipPath%20id='a'%3e%3cpath%20d='m863.26%207c4.19%200%208.05%201.7%2010.88%204.79s4.18%207.09%203.82%2011.26l-27.16%20300.49c-.68%207.67-7%2013.46-14.7%2013.46h-814.34c-4.19%200-8.05-1.7-10.88-4.79s-4.19-7.08-3.82-11.25l26.82-300.49c.67-7.68%206.99-13.47%2014.7-13.47z'/%3e%3c/clipPath%3e%3cpath%20d='m835.1%20360.02h-812.34c-12.76%200-22.78-10.93-21.67-23.65l26.82-307.48c.98-11.24%2010.39-19.86%2021.67-19.86h812.68c12.77%200%2022.79%2010.95%2021.67%2023.67l-27.16%20307.49c-.99%2011.23-10.4%2019.84-21.67%2019.84z'%20fill='%23040404'%20opacity='.46'/%3e%3cpath%20d='m863.26%200h-814.68c-11.28%200-20.69%208.62-21.67%2019.86l-26.83%20307.49c-1.11%2012.71%208.91%2023.65%2021.67%2023.65h814.35c11.27%200%2020.68-8.61%2021.67-19.84l27.16-307.49c1.12-12.72-8.9-23.67-21.67-23.67z'%20fill='%23040404'/%3e%3cpath%20d='m863.26%207c4.19%200%208.05%201.7%2010.88%204.79s4.18%207.09%203.82%2011.26l-27.16%20300.49c-.68%207.67-7%2013.46-14.7%2013.46h-814.34c-4.19%200-8.05-1.7-10.88-4.79s-4.19-7.08-3.82-11.25l26.82-300.49c.67-7.68%206.99-13.47%2014.7-13.47z'%20fill='%23343c52'/%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20d='m-2.03%20314.96h860.21v22.04h-860.21z'%20fill='%23272c3c'/%3e%3cpath%20d='m24.81%207h860.21v18h-860.21z'%20fill='%236d6084'/%3e%3cpath%20d='m840.6-.22%2043.62%2048.13v-48.13z'%20fill='%23826f9d'/%3e%3c/g%3e%3cpath%20d='m191.79%20134.46c-2.47%200-4.85.76-6.86%202.19l-93.32%2066.48c-1.76%201.25-2.92%203.12-3.25%205.26s.19%207.57%201.48%209.3l30.58%2041.06c1.5%202.01%203.89%203.21%206.4%203.21%201.75%200%203.48-.59%204.87-1.66l1.18-.91v25.06c0%204.4%203.58%207.97%207.97%207.97h26.94c4.4%200%207.97-3.58%207.97-7.97v-20.9h30.24v20.9c0%204.4%203.58%207.97%207.97%207.97h26.94c4.4%200%207.97-3.58%207.97-7.97v-24.96l1.24.93c1.39%201.04%203.04%201.59%204.78%201.59%202.51%200%204.9-1.2%206.4-3.21l30.63-41.13c1.28-1.72%201.81-7.14%201.49-9.26s-1.46-3.99-3.2-5.25l-91.49-66.43c-2.03-1.48-4.43-2.26-6.95-2.26z'/%3e%3cpath%20d='m191.79%20138.58c1.59%200%203.17.49%204.52%201.47l91.49%2066.43c1.74%201.26%202.11%203.69.83%205.41l-30.63%2041.13c-.76%201.01-1.92%201.55-3.09%201.55-.8%200-1.61-.25-2.3-.77l-7.84-5.87v33.2c0%202.13-1.72%203.85-3.85%203.85h-26.94c-2.13%200-3.85-1.72-3.85-3.85v-25.02h-38.49v25.02c0%202.13-1.72%203.85-3.85%203.85h-26.94c-2.13%200-3.85-1.72-3.85-3.85v-33.44l-7.83%206.03c-.7.54-1.53.8-2.35.8-1.17%200-2.33-.53-3.09-1.55l-30.58-41.06c-1.29-1.73-.9-4.18.85-5.43l93.32-66.48c1.34-.95%202.9-1.43%204.47-1.43'%20fill='%23fff'/%3e%3c/svg%3e") 50% no-repeat}

  /* фон: градиент и движущийся узор с черепами, как в оригинале */
  .stage {
    position: fixed; inset: 0; overflow: hidden;
    background: radial-gradient(50% 50%, #5e28ff 0%, #321593 100%);
    opacity: 0; transition: opacity .36s .15s;
  }
  .stage.ready { opacity: 1; }
  .pattern {
    contain: strict; pointer-events: none;
    background-image: url(/assets/img/skullpattern.svg);
    background-repeat: repeat; background-size: 20.9205rem;
    width: calc(100vw + 5.23013rem); height: calc(100% + 15.6904rem);
    position: absolute; top: 0; left: 0;
    transform: translate(-5.23013rem);
    will-change: transform;
    animation: 30s linear infinite movePattern;
  }
  @keyframes movePattern {
    0% { transform: translate(-5.23013rem); }
    to { transform: translateY(-15.6904rem); }
  }

  /* сообщение по центру */
  .empty {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: .55rem; padding: .84rem 10vw 0; text-align: center;
  }
  .empty h1 {
    margin: 0;
    font-family: var(--font-title); font-weight: var(--font-title-weight);
    font-size: 1.75rem; line-height: 1.1; color: #fff;
    paint-order: stroke fill;
    text-shadow: 0 max(.104603rem, 1px) 0 #000, 0 .2rem .5rem rgba(0, 0, 0, .35);
    -webkit-text-stroke-color: #000; -webkit-text-stroke-width: var(--font-stroke-width);
  }
  .empty p {
    margin: 0; font-family: var(--font-title); font-weight: var(--font-title-weight);
    font-size: 1rem; line-height: 1.3; color: #fff; opacity: .92;
    text-shadow: 0 max(.0836rem, 1px) 0 rgba(0, 0, 0, .6);
  }
