@charset "UTF-8";
@media screen and (min-width: 1540px) {
  .container {
    max-width: 1440px;
  }
}
.js_reg_auth {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

*, body, h1, h2, h3, h4, h5, h6, p, span, a, li {
  font-family: "Montserrat", "Lora", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  border-radius: 10px;
  background-color: #E5E5E5;
}
*::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #1B945D;
  cursor: pointer;
}
*::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: #E5E5E5;
}

.header {
  position: sticky;
  top: 0;
  padding: 16px;
  background-color: #0c3450;
  box-shadow: 0 4px 16px rgba(16, 59, 84, 0.3);
  z-index: 1;
}
.header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.header span {
  font-size: 1.6rem;
  font-weight: bold;
  color: #fff;
}
.header__auth {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 1.4rem;
  color: #fff;
  font-weight: 500;
}
.header__auth a, .header__auth button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
}
.header__auth i {
  font-weight: 600;
}
.header__auth svg {
  fill: #fff;
  transition: fill 0.4s ease;
}
.header__name {
  transition: color 0.4s ease;
}
.header__name:hover {
  color: #1B945D;
}
.header__name:hover svg {
  fill: #1B945D;
}

.main img {
  border-radius: 8px;
  box-shadow: -1px 4px 11px 0px rgba(50, 50, 50, 0.2);
}
.main__content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}
.main__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
}
.main__video::before {
  content: "Если видео не появилось, перезагрузите страницу";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: #afafaf;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
}
.main__video iframe {
  border-radius: 8px;
}
.main__chat {
  width: 100%;
}
.main__chat #msg_form {
  font-size: 1.6rem;
  color: #0c3450;
}
.main__chat .send_msg_form, .main__chat #comments_list {
  font-size: 1.2rem;
}
.main__chat #comments_list {
  margin-bottom: 0;
  max-height: 355px;
}
.main .voting-form-box {
  border: none;
}
.main .vote-item-title {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 30px;
  color: #0c3450;
}
.main .vote-form .vote-items-list .vote-answers-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
.main ol.vote-answers-list li {
  margin: 0;
}
.main .vote-vote-footer {
  margin-top: 1.6rem;
}
.main .vote-form input[type=submit] {
  background-color: #1B945D;
  background-size: 200% 100%;
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  text-decoration: none;
  width: 100%;
}
.main .vote-form input[type=submit]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.main .vote-answer-item-radio {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.main .vote-answer-item-radio input {
  position: absolute;
  width: 20px;
  height: 20px;
  opacity: 0;
  cursor: pointer;
}
.main .vote-answer-item-radio label {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  background: #FF0000;
  margin: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  text-align: center;
  line-height: 80px;
  cursor: pointer;
  filter: drop-shadow(0 2px 4px rgba(10, 10, 10, 0.2));
  transition: all 0.4s ease;
}
.main .vote-answer-item-radio label:hover {
  filter: drop-shadow(0 4px 8px rgba(10, 10, 10, 0.5));
}
.main .vote-item-vote:nth-child(8) label, .main .vote-item-vote:nth-child(9) label {
  background: #FFA500;
}
.main .vote-item-vote:nth-child(10) label, .main .vote-item-vote:nth-child(11) label {
  background: #008000;
}
.main__policy {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1rem;
  gap: 1rem;
  border: 1px solid #d3d3d3;
  border-radius: 8px;
  background: #F7F7F7;
  box-shadow: -1px 4px 11px 0px rgba(50, 50, 50, 0.2);
}
.main__policy p {
  font-size: 1.2rem;
  margin-bottom: 8px;
  text-align: center;
}
.main__auth {
  position: relative;
  margin: 0 auto;
  max-width: 720px;
  width: 100%;
  aspect-ratio: 16/9;
  background: url("assets/images/bg_auth.png") center/100% 100% no-repeat;
  border-radius: 8px;
  box-shadow: -1px 4px 11px 0px rgba(50, 50, 50, 0.1);
}
.main__auth::before {
  content: "Авторизуйтесь, чтобы получить доступ к трансляции";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 10, 0.4);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  backdrop-filter: blur(10px);
  filter: drop-shadow(0 2px 4px rgba(10, 10, 10, 0.2));
}

.footer p {
  margin-bottom: 8px;
}
.footer a {
  color: #1B945D;
}

.btn-about {
  background-color: #1B945D;
  background-size: 200% 100%;
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  text-decoration: none;
}
.btn-about--animate {
  background: linear-gradient(135deg, #1B945D, #0c3450, #1B945D) 0 50%/200% 100% no-repeat;
  animation: gradientFlow 3s ease infinite;
}
.btn-about:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.bell {
  color: #FFA500;
  transition: transform 0.2s ease;
  filter: drop-shadow(2px 4px rgba(0, 0, 0, 0.15));
}
.bell:hover {
  animation: shake 0.4s ease infinite;
}

body:has(dialog[open]) {
  overflow: hidden;
}

.modal-custom {
  width: min(100% - 2rem, 60rem);
  max-height: calc(100vh - 2rem);
  padding: 0;
  border: 1px solid rgba(53, 72, 151, 0.22);
  border-radius: 8px;
  color: white;
  background: #F7F7F7;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  position: fixed;
  inset: 0;
  margin: auto;
}
.modal-custom.auth {
  width: min(100% - 2rem, 30rem);
}
.modal-custom.auth table {
  width: 100%;
}
.modal-custom.auth table tr:nth-child(3), .modal-custom.auth table tr:nth-child(5), .modal-custom.auth table tr:nth-child(6), .modal-custom.auth table tr:nth-child(7) {
  display: none;
}
.modal-custom.auth a {
  text-decoration: none;
  color: #0c3450;
  transition: color 0.4s ease;
}
.modal-custom.auth a:hover {
  color: #1B945D;
}
.modal-custom:not([open]) {
  display: none !important;
}
.modal-custom::backdrop {
  background: rgba(2, 6, 18, 0.78);
  backdrop-filter: blur(10px);
}
.modal-custom__container {
  position: relative;
  padding: 1.2rem;
  max-height: calc(100vh - 2rem);
  border-radius: 8px;
  overflow: hidden;
}
.modal-custom__container h2 {
  margin-bottom: 0.7rem;
  color: #0c3450;
  font-size: 2rem;
}
.modal-custom__content {
  border-radius: 8px;
  max-height: calc(100vh - 12rem);
  overflow: auto;
}
.modal-custom__content div {
  color: #0a0a0a;
}
.modal-custom__content p {
  margin-bottom: 1rem;
  color: #0a0a0a;
  font-size: 0.9rem;
}
.modal-custom__content ul {
  margin-bottom: 1rem;
  color: #0a0a0a;
  font-size: 0.9rem;
}
.modal-custom__content label {
  display: none;
}
.modal-custom__content input {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(175, 175, 175, 0.5);
  border-radius: 0.55rem;
  color: #0a0a0a;
  outline: none;
  background: white;
  margin-bottom: 10px;
}
.modal-custom__content input:focus {
  border-color: rgba(12, 52, 80, 0.55);
}
.modal-custom__content input[type=submit] {
  background-color: #1B945D;
  background-size: 200% 100%;
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  text-decoration: none;
}
.modal-custom__content input[type=submit]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.modal-custom__content .button {
  width: 100%;
  margin-top: 0.3rem;
}
.modal-custom__content img {
  width: 100%;
}
.modal-custom__content .vote-form-box-buttons {
  display: flex;
  flex-direction: column;
}
.modal-custom__content .voting-form-box {
  border: none;
}
.modal-custom__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgba(12, 52, 80, 0.9);
  border-radius: 50%;
  color: white;
  background: #0c3450;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 220ms ease, color 220ms ease, background 220ms ease;
}
.modal-custom__close:hover {
  border-color: rgba(27, 148, 93, 0.9);
  background: rgba(27, 148, 93, 0.9);
}

@keyframes gradientFlow {
  0% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
@keyframes shake {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(8deg);
  }
  50% {
    transform: rotate(-8deg);
  }
  75% {
    transform: rotate(8deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
@media (max-width: 1539px) {
  .main__chat #comments_list {
    max-height: 300px;
  }
}
@media (max-width: 1399px) {
  html {
    font-size: 14px;
  }
  .main__chat #comments_list {
    max-height: 250px;
  }
  .main .vote-form .vote-items-list .vote-answers-list {
    grid-template-columns: repeat(8, 1fr);
  }
}
@media (max-width: 1199px) {
  .main__content {
    grid-template-columns: 1fr;
  }
  .main__chat #comments_list {
    max-height: 500px;
  }
}
@media (max-width: 991px) {
  html {
    font-size: 12px;
  }
  .main .vote-form .vote-items-list .vote-answers-list {
    grid-template-columns: repeat(6, 1fr);
  }
  .modal-custom {
    padding: 0.6rem;
  }
}
@media (max-width: 767px) {
  .header span {
    font-size: 1.4rem;
  }
  .header__auth {
    font-size: 1.2rem;
  }
  .main .vote-answer-item-radio label {
    width: 60px;
    height: 60px;
  }
}
@media (max-width: 575px) {
  html {
    font-size: 10px;
  }
}
@media (max-width: 500px) {
  .main .vote-form .vote-items-list .vote-answers-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

/*# sourceMappingURL=style.css.map */
