* {
  box-sizing: border-box;
}

/* Предотвращение overflow на всех элементах */
img, svg, video, canvas, audio, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

.root, html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
}

.wrapper {
  max-width: 402px;
  width: 100%;
  margin: 0 auto;
  background: #F0F7FF;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

ol, ul {
  padding-left: 30px;
}

.center {
  max-width: 360px;
  width: 100%;
  margin: 0 auto;
}

/* Контент с отступом для фиксированного footer */
.content {
  flex: 1;
  padding-bottom: 65px; /* Отступ для footer */
}

/* Дополнительные отступы для страниц без .content */
body {
  padding-bottom: 65px;
}

/* Отступы для wrapper на всех страницах */
.wrapper {
  padding-bottom: 65px;
}

/* Специальные отступы для админских страниц */
.admin-content {
  padding-bottom: 65px;
}

header {
  position: relative;
  display: flex;
  justify-content: start;
  padding: 24px 20px;
  background: #FFF;
  box-shadow: 0 4px 21.6px 0 rgba(23, 107, 167, 0.2);
  width: 100%;
  align-items: center;
  overflow: hidden;
}
header img {
  width: 103px;
  height: 23px;
}

img { max-width: 100%; height: auto; }

.admin-stats-btn {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
  white-space: nowrap;
  max-width: 120px;
  text-align: center;
  display: none; /* По умолчанию скрыта */
}

.admin-stats-btn.show {
  display: block !important;
}

.admin-stats-btn:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

header a {
  color: #FDFDFE;
  font-family: Gilroy;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 113.092%; /* 20.357px */
  padding: 12px 29px;
  border-radius: 7px;
  background: #FF9500;
  margin-left: auto;
}

footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 402px;
  padding: 25px 35px 24px 35px;
  border-radius: 25px 25px 0 0;
  background: #FFF;
  box-shadow: 0 4px 21.6px 0 rgba(23, 107, 167, 0.2);
  z-index: 1000;
}
footer .nav {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
footer .nav a.link {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
  color: #4F2D3E;
  text-align: center;
  font-family: Gilroy;
  font-size: 15.211px;
  font-style: normal;
  font-weight: 500;
  line-height: 113.092%; /* 17.203px */
}
footer .nav a.link.active {
  gap: 2px;
}
footer .nav a.link.active img {
  padding: 5px 18px;
  border-radius: 16px;
  background: #E2E2FF;
}

.modalWrapper {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.149);
  display: none;
  z-index: 9999;
}
.modalWrapper.open {
  display: flex;
}
.modalWrapper .modal {
  padding: 25px;
  border-radius: 15px;
  background: #FFF;
  box-shadow: 0 4px 21.6px 0 rgba(23, 107, 167, 0.2);
  -webkit-backdrop-filter: blur(8.2173910141px);
          backdrop-filter: blur(8.2173910141px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: min(380px, 90vw);
  position: relative;
}
.modalWrapper .modal img {
  right: 10px;
  top: 10px;
  position: absolute;
  cursor: pointer;
}
.modalWrapper .modal h2 {
  color: #3738ED;
  text-align: center;
  font-family: "Druk Wide Cyr";
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.32px;
  text-transform: uppercase;
  padding: 16px 0px;
  border-radius: 15px;
  background: #FFF;
  width: 100%;
  box-shadow: 0 4px 21.6px 0 rgba(23, 107, 167, 0.2);
  -webkit-backdrop-filter: blur(8.2173910141px);
          backdrop-filter: blur(8.2173910141px);
}
.modalWrapper .modal ol {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.modalWrapper .modal ol li {
  color: #4F2D3E;
  font-family: Gilroy;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 113.092%; /* 18.095px */
}
.modalWrapper .modal ol li span {
  color: #FFF;
  font-family: Gilroy;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 113.092%;
  border-radius: 4px;
  background: #3738ED;
  padding: 0px 5px;
}/*# sourceMappingURL=global.css.map */