button.burger {
    position: fixed;
    z-index: 4;
    right: 7.5vw;
}

aside.panel {
    width: 225px;
    top: 0px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: 5px;
    height: 100%;
    z-index: 2;
    padding-top: 60px;
    padding-right: 6.25vw;
    display: flex;
    flex-direction: column;
    padding-left: 10px;
    max-height: 100%;
    transform: translateX(0%);
    transition: .3s;
    -webkit-transition: .3s;
    -o-transition: .3s;
    -moz-transition: .3s;
}

aside.panel.open {
    transform: translateX(-100%);
}

nav.panel-nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: right;
}

nav.panel-nav ul a , .panel-footer a {
    text-decoration: none;
    color: black;
    font-size: 1.25rem;
    font-family: "AA";
}

nav.panel-nav ul li {
    margin: 0;
    padding: 0;
    margin-bottom: 15px;
}

nav.panel-nav ul li a.active {
    color: rgba(34, 197, 94, 1);
    font-weight: 500;
}

.panel-footer {
    margin-top: auto;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.panel-footer a {
    font-size: 0.875rem;
}

.panel-footer a:nth-child(2) {
    margin-bottom: 10px;
}

p {
    margin: 0;
}

.panel-footer p {
    opacity: 50%;
    font-size: 0.875rem;
}

.panel-footer p:last-child {
    margin-bottom: 20px;
}

@media (min-width: 480px) {
      aside.panel {
        padding-right: 7.5vw;
      }
    }


@media (min-width: 520px) {
      aside.panel {
        width: 280px;
      }
    }

    span.brand-text-accent {
        color: rgba(34, 197, 94, 1);
    }

@media (min-width: 1024px) {
    nav.panel-nav ul li a {
        font-size: 1rem;
      }

      aside.panel {
        width: auto;
        padding: 0;
        align-items: center;
        flex-direction: row;
      }

      nav.panel-nav ul {
        align-items: center;
        gap: 10px;
      }

      nav.panel-nav ul li {
        margin-bottom: 0;
      }

      header .container {
        align-items: center;
        justify-content: space-between;
      }
      
}

@media (min-width: 1024px) {
      aside.panel {
        left: unset;
        position: static;
        flex-direction: row;
      }

      nav.panel-nav ul {
        display: flex;
        align-items: center;
      }

      .panel-footer {
        display: none !important;
      }

      header .container {
        display: flex;
      }

      button.burger {
        display: none;
      }

      nav.panel-nav ul li a {
        font-size: 1rem;
      }

      aside.panel {
        width: auto;
        padding: 0;
        background: transparent;
      }

      a.cta {
        display: block;
        color: white;
        font-weight: 500;
        width: 135px;
        height: 35px;
        border-radius: 41px;
        background: linear-gradient(180.00deg, rgba(34, 197, 94, 1),rgba(22, 228, 98, 1) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;

        transition: .3s;
        -webkit-transition: .3s;
        -moz-transition: .3s;
        -o-transition: .3s;
      }

      nav.panel-nav ul li a {
        transition: .3s;
        -webkit-transition: .3s;
        -moz-transition: .3s;
        -o-transition: .3s;
      }

      a.cta:hover {
        color: rgb(236, 236, 236);
      }

      nav.panel-nav ul li a:hover {
        color: rgba(34, 197, 94, 1);
      }

      .container {
        max-width: 95vw;
      }
    }

    @media (min-width: 1280px) {
      .container {
        max-width: 85vw;
      }
    }

    @media (min-width: 1440px) {
      .container {
        max-width: 75vw;
      }

      nav.panel-nav ul {
        gap: 20px;
      }
      a.cta {
        width: 190px;
      }
    }

form {
  background: url(/img/advice-food-table-background.jpg);
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

form.error {
  border-color: rgba(239, 68, 68, 1);
}

@media (min-width: 768px) {
  form {
    background: url(/img/advice-food-table-1920.png);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
  }
}

span.fa-dropzone-text {
  color: white;
}

span.fa-dropzone-text strong {
  font-weight: 500;
}

ol.how__steps li {
  box-shadow: 0px 56px 16px 0px rgba(0, 0, 0, 0),0px 36px 14px 0px rgba(0, 0, 0, 0.01),0px 20px 12px 0px rgba(0, 0, 0, 0.03),0px 9px 9px 0px rgba(0, 0, 0, 0.04),0px 2px 5px 0px rgba(0, 0, 0, 0.05),0px 0px 0px 0px rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 1);
  position: relative;
}

.how-step__number {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    font-family: 'RishaNeoUwU';
    border-radius: 50%;
    background: rgba(34, 197, 94, 1);
    font-size: 1.3rem;
    border: 4px solid rgba(249, 250, 251, 1);
}

.how-step__number.first {
  padding-right: 4px;
  padding-bottom: 2px;
}

body {
  background: rgba(249, 250, 251, 1);
}

span.label--btn span {
  display: block;
  position: relative;
}

span.label--btn span:after {
  width: 20px;
  position: absolute;
  content: '';
  height: 3px;
  border-radius: 5px;
  background: white;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
}

span.label--btn span:before {
  width: 3px;
  position: absolute;
  content: '';
  height: 20px;
  border-radius: 5px;
  background: white;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
}


@media (min-width: 580px) {
  form {
  border: 4px dashed rgba(34, 197, 94, 1);
}
}

article.comp--card {
  border: 2px solid rgba(213, 213, 213, 1);
  border-radius: 25px;
  box-shadow: 0px 104px 29px 0px rgba(0, 0, 0, 0),0px 67px 27px 0px rgba(0, 0, 0, 0.01),0px 37px 22px 0px rgba(0, 0, 0, 0.03),0px 17px 17px 0px rgba(0, 0, 0, 0.04),0px 4px 9px 0px rgba(0, 0, 0, 0.05),0px 0px 0px 0px rgba(0, 0, 0, 0.05);
  background: rgba(255, 253, 253, 1);
}


article.review {
  border-radius: 15px;
  box-shadow: 0px 31px 9px 0px rgba(0, 0, 0, 0),0px 20px 8px 0px rgba(0, 0, 0, 0.01),0px 11px 7px 0px rgba(0, 0, 0, 0.03),0px 5px 5px 0px rgba(0, 0, 0, 0.04),0px 1px 3px 0px rgba(0, 0, 0, 0.05),0px 0px 0px 0px rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 1);
}


footer {
  box-shadow: 0px -70px 20px 0px rgba(0, 0, 0, 0),0px -45px 18px 0px rgba(0, 0, 0, 0.01),0px -25px 15px 0px rgba(0, 0, 0, 0.03),0px -11px 11px 0px rgba(0, 0, 0, 0.04),0px -3px 6px 0px rgba(0, 0, 0, 0.05),0px 0px 0px 0px rgba(0, 0, 0, 0.05);
background: rgba(255, 255, 255, 1);
}

span.label--btn {
  cursor: pointer;
  transition: .3s;
  -webkit-transition: .3s;
  -o-transition: .3s;
  -moz-transition: .3s;
}

span.label--btn:hover {
  background: rgb(0, 181, 0);
}


  body,
  html {
    overflow-x: hidden;
    max-width: 100vw;
  }

@media (min-width: 1300px) {
  .bg_decor {
  display: block;
  margin: 0;
  position: absolute;
  pointer-events: none;
  transition: transform 0.2s ease-out;
  will-change: transform;
  z-index: -1;
}

.hero__decor--salat {
  top: 150px;
  left: -100px;
  width: 280px;
}
.hero__decor--tomato {
  right: 0px;
  width: 220px;
  top: 320px;
}

.bg__decor picture {
  width: 100%;
  height: 100%;
} 
  .hero__decor--salat {
    width: 555px;
    height: 595px;
    top: 0px;
    left: 10%;
  }

  .hero__decor--salat img {
    width: 100%;
    height: 100%;
  }

  .hero__decor--tomato {
    width: 420px;
    height: 420px;
    top: 300px;
    right: 12%;
  }

  .hero__decor--tomato img {
    width: 100%;
    height: 100%;
  }
}

progress.step--2 {
  appearance: none;
  -webkit-appearance: none;
  max-width: 328px;
  margin-top: 20px;
  width: 250px;
  background: rgba(150, 221, 176, 1);
  height: 10px;
  border-radius: 10px;
  overflow: hidden;
  accent-color: rgba(34, 197, 94, 1);
  margin-bottom: 8px;
}

progress.step--2::-webkit-progress-bar {
  border-radius: 10px;
  background: rgba(150, 221, 176, 1);
}

progress.step--2::-webkit-progress-value {
  background: rgba(34, 197, 94, 1);
  border-radius: 10px;
}

@media (min-width: 580px) {
  progress.step--2 {
    width: 328px;
    height: 15px;
  }
}

.label--btn {
  margin-bottom: 8px;
}

.fa-preview {
  border-radius: 10px;
  background: rgba(34, 197, 94, 1);
  width: 250px;
  padding: 5px;
  display: flex;
  gap: 7px;
  margin-bottom: 15px;
}

.fa-preview img {
  object-fit: cover;
  border-radius: 5px;
}

p.fa-filename {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
}

p.fa-filename b {
  font-weight: 500;
  font-size: 1rem;
  color: white;
  margin-bottom: 2px;
  word-break: break-all;
}

.fa-after {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

form {
  padding: 20px 10px;
}

legend.sr-only {
  font-weight: 500;
  color: white;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 8px;
  display: block;
}

.fa-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.fa-actions button {
  border-radius: 42px;
  background: rgba(34, 197, 94, 1);
  color: white;
  font-weight: 500;
  height: 40px;
  width: 250px;
  border: 0;
  font-size: 1rem;
  font-family: 'AA';
  margin-left: auto;
  margin-right: auto;
}

label.fa-comment-label {
  color: white;
  font-size: 0.875rem;
  margin-top: 10px;
  margin-bottom: 2px;
  max-width: 250px;
}

input#fa-comment {
  border-radius: 42px;
  background: rgba(255, 255, 255, 1);
  height: 40px;
  width: 250px;
  padding-left: 15px;
  padding-right: 15px;
  border: 1px solid transparent;
  outline: none;
  transition: .3s;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -o-transition: .3s;
  font-size: 1rem;
  font-family: 'AA';
}

input#fa-comment:focus {
  border-color: black;
}

.fa-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fa-controls button:nth-child(1) {
  background: rgba(34, 197, 94, 1);
  border-radius: 42px;
  width: 250px;
  height: 40px;
  color: white;
  font-weight: 500;
  font-size: 1rem;
  font-family: 'AA';
  border: 0;
}

.fa-controls button:nth-child(2) {
  background: transparent;
  color: white;
  font-weight: 500;
  border: 0;
  outline: none;
  font-size: 1rem;
  text-decoration: underline;
  font-family: 'AA';
  margin-top: 20px;
}

@media (min-width: 360px) {
  .fa-controls button:nth-child(1) {
    width: 280px;
  }

  input#fa-comment {
    width: 280px;
  }

  label.fa-comment-label {
    width: 280px;
    max-width: 280px;
  }

  .fa-actions button {
    width: 280px;
  }
}

@media (min-width: 1300px) {
  legend.sr-only {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .fa-preview {
    margin-bottom: 25px;
  }

  .fa-actions button {
    width: 300px;
    height: 50px;
    font-size: 1.125rem;
  }

  input#fa-comment {
    width: 615px;
    height: 50px;
    font-size: 1.125rem;
    padding-left: 20px;
  }

  label.fa-comment-label {
    width: 100%;
    max-width: unset;
    font-size: 1rem;
    margin-top: 10px;
  }

  .fa-controls button:nth-child(1) {
    width: 300px;
    height: 50px;
    font-size: 1.125rem;
    margin-top: 20px;
  }

  .fa-controls button:nth-child(2) {
    font-size: 1.125rem;
    font-weight: 400;
  }
}

.cookie-banner {
  width: 100%;
  height: auto;
  position: fixed;
  display: block;
  bottom: 0;
  left: 0;

  border-radius: 15px;
  box-shadow: 0px 27px 7px 0px rgba(37, 46, 55, 0),0px 17px 7px 0px rgba(37, 46, 55, 0.01),0px 10px 6px 0px rgba(37, 46, 55, 0.03),0px 4px 4px 0px rgba(37, 46, 55, 0.04),0px 1px 2px 0px rgba(37, 46, 55, 0.05),0px 0px 0px 0px rgba(37, 46, 55, 0.05);
  background: rgba(255, 255, 255, 1);
  padding: 20px;

  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;

  transition: 1s;
  -webkit-transition: 1s;
  -moz-transition: 1s;
  -o-transition: 1s;

  transform: translateY(0px);
}

.cookie-banner.hide {
  transform: translateY(120%);
}

.cookie-banner h2 {
  margin: 0;
  font-weight: 500;
  font-family: 'AA';
  font-size: 1.125rem;
  margin-bottom: 2px;
}

.cookie-content p {
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.7);
  display: inline-block;
  max-width: 500px;
}

.cookie-content p a {
  font-weight: 500;
  color: rgba(0, 0, 0, 0.7);
  display: inline-block;
}

.cookie-buttons {
  display: flex;
  align-items: center;
  margin-top: 10px;
  gap: 15px;
}

.cookie-buttons button {
  width: 190px;
  height: 40px;
  background: rgba(34, 197, 94, 1);
  border-radius: 42px;
  border: 0;
  color: white;
  font-family: 'AA';
  font-weight: 500;
  font-size: 1rem;
  outline: none;
  cursor: pointer;
}

button.cookie-decline {
  background: rgba(142, 142, 142, 1);
}

@media (min-width: 580px) {
  .cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  .cookie-banner {
    box-shadow: 0 0px 15px rgba(0, 0, 0, 0.25);
    border-radius: 0;
  }

  .cookie-content p {
    min-width: 500px;
  }

  .cookie-buttons button {
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
  }

  .cookie-buttons button:nth-child(1):hover {
    background: #1FB154;
  }

  .cookie-buttons button:nth-child(2):hover {
    background: rgb(108, 108, 108);
  }

  .fa-after .btn-primary,
  .fa-after .btn-secondary,
  .fa-after .btn-submit,
  .fa-after .btn-link {
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    cursor: pointer;
  }
  .fa-after .btn-primary:hover,
  .fa-after .btn-secondary:hover,
  .fa-after .btn-submit:hover {
    background: #1FB154;
  }

  .fa-after .btn-primary.inactive:hover {
    background: #848383;
  }

  .fa-after .btn-link:hover {
    color: white;
    opacity: 1;
  }

  span.label--btn:hover {
    background: #1FB154;
  }
}

.preloader img {
  opacity: 1;
  position: static;
  max-width: 100%;

  transition: 2s;
  -webkit-transition: 2s;
  -moz-transition: 2s;
  -o-transition: 2s;
}

.preloader span {
  color: white;
  opacity: 0;
  text-align: center;
  display: block;
  top: 48%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.25rem;
  transition: 1s;
  -webkit-transition: 1s;
  -moz-transition: 1s;
  -o-transition: 1s;
}

.preloader span.end {
  opacity: 1;
  top: 52%;
}

.preloader p {
  color: white;
  opacity: 0;
  text-align: center;
  display: block;
  top: 52%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.25rem;
  transition: 1s;
  -webkit-transition: 1s;
  -moz-transition: 1s;
  -o-transition: 1s;
  white-space: nowrap;
}

.preloader p.end {
  opacity: 1;
  top: 56%;
}

.preloader img.end {
  transform: scale(0.5) translateY(-100px);
}

.preloader {
  transition: 2s;
  -webkit-transition: 2s;
  -moz-transition: 2s;
  -o-transition: 2s;
}

.preloader.hide {
  z-index: -10;
  opacity: 0;
}


@media (min-width: 1024px) {
  .preloader img.end {
    transform: scale(0.5) translateX(-800px);
  }

  .preloader span {
    font-size: 8rem;
    top: 50%;
    left: 60%;
    transform: translateY(-50%) translateX(-50%);
    width: 0;
    overflow: hidden;
  }

  .preloader span.end {
    width: 550px;
  }


  .preloader p {
    font-size: 4rem;
    top: 62%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
  }

  .preloader p.end {
    top: 64%;
    opacity: 1;
  }
}

/* Result */

.result--container {
  display: flex;
  flex-direction: column-reverse;

}

.result--img section {
  display: flex;
  flex-direction: column-reverse;
  margin-top: 20px;
}

figure.dish-image {
  margin: 0;
  text-align: center;
}

h1#result-title {
  text-align: center;
  font-weight: 400;
  margin: 0;
  font-family: 'RishaNeoUwU';
  margin-top: 20px;

  color: rgba(34, 197, 94, 1);

  font-size: 1.75rem;
}

.dish-image figcaption {
  text-align: center;
  font-size: 0.875rem;
}

aside.share-block {
  display: flex;
  margin: 0;
  padding: 0;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  flex-wrap: wrap;
  gap: 5px;
  text-align: left;
}

aside.share-block p {
  font-size: 0.875rem;
  max-width: 80%;
}

aside.share-block button {
  border-radius: 64px;
  background: rgba(34, 197, 94, 1);
  width: 50px;
  height: 40px;
  border: 0;
  color: white;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-family: 'AA';
  gap: 10px;
}

aside.share-block button b {
  display: none;
}


.res--title {
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: 400;
  font-size: 1.25rem;
  font-family: 'RishaNeoUwU';
}


.circle {
  --value: 73;
  --size: 100px;
  --thickness: 10px;
  --color: #ff9800;
  --bg-color: #ffe0b2;

  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 28px;
  color: #3a1d00;
  background:
    /* основной круг */
    conic-gradient(
      var(--color) calc(var(--value) * 1%),
      var(--bg-color) 0
    );
}

.circle:after {
  position: absolute;
  content: '';
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 80%;
  height: 80%;
  background: white;
}

/* центр */
.circle .value {
  position: absolute;
  z-index: 2;
  color: black;
  font-size: 2.25rem;
  display: block;
}

.score--diag h2 {
  font-weight: 500;
  font-size: 1.5rem;
  font-family: 'AA';
}

.score--diag {
  display: flex;
  gap: 15px;
}

.score-text {
  font-size: 1rem;
  margin-top: 10px;
}

p.calory {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 500;
  font-family: 'AA';
  gap: 5px;
  margin-top: 10px;
  margin-bottom: 10px;
}

p.calory strong {
  font-weight: 500;
}

i.humor--comment {
  font-size: 1rem;
  margin: 0;
  margin-bottom: 25px;
}

ul.tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 5px;
  margin-bottom: 30px;
}

ul.tags li {
  color: rgba(154, 52, 18, 1);
  padding: 5px 14px;
  border-radius: 62px;
  background: rgba(254, 215, 170, 1);
}

ul.tags li.hint {
  position: relative;
}

span.hint {
  display: block;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -8px;
  right: -5px;
  background: rgba(154, 52, 18, 1);
  border-radius: 50%;
  cursor: help;
}

span.hint p {
  display: none;
  position: absolute;
  border-radius: 15px;
background: rgba(254, 215, 170, 1);
padding: 7px 10px;
  width: max-content;
  max-width: 300px;
  color: rgba(154, 52, 18, 0.61);
  left: -130px;
  top: 46px;
  z-index: 2;
}

span.hint b {
  color: white;
  font-weight: 700;
}

@media screen and (min-width: 1024px) {
  span.hint:hover p{
    display: block;
  }

  ul.tags li:hover span.hint p {
    display: block;
  }
}

span.hint p span {
  color: rgba(154, 52, 18, 1);
  font-size: 1rem;
  width: 100%;
  display: block;
  margin-bottom: 2px;
  white-space: nowrap;
}

.tips ul {
  padding: 0;
  margin: 0;
  margin-top: 2px;
  margin-bottom: 25px;
  padding-left: 20px;
  list-style: disc;
}

.tips ul li {
  font-size: 1rem;
  margin-bottom: 8px;
}

aside.report-block {
  border: 2px solid rgba(34, 197, 94, 1);
  border-radius: 15px;
  background: rgba(240, 253, 244, 1);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

aside.report-block h2 {
  color: rgba(34, 197, 94, 1);
  font-family: 'RishaNeoUwU';
  font-size: 1.5rem;
  margin: 0;
  margin-bottom: 3px;
  font-weight: normal;
}

aside.report-block p strong{
  font-weight: 500;

  font-size: 1rem;
}

aside.report-block ul {
  padding: 0;
  margin: 0;
  list-style: none;
  padding-left: 15px;
  margin-top: 10px;
  margin-bottom: 10px;
}

aside.report-block ul li {
  margin-bottom: 5px;
  position: relative;
}

aside.report-block ul li:after {
  position: absolute;
  content: '+';
  font-weight: 500;
  font-size: 1.5rem;
  color: rgba(34, 197, 94, 1);
  top: 9px;
  line-height: 0;
  left: -15px;
}

aside.report-block a {
  border-radius: 64px;
  background: rgba(34, 197, 94, 1);
  padding: 12px 16px;
  font-weight: 500;
  font-family: 'AA';
  border: 0;
  color: white;
  white-space: nowrap;
  font-size: 1rem;
  text-decoration: none;
  display: flex;
  text-align: center;
  justify-content: center;
  width: min-content;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, 0.3s background;
  animation: pulse 1.5s infinite;
}

button.burger {
  transition: transform 0.2s ease, box-shadow 0.2s ease, 0.3s background;
  animation: pulseBurger 1.5s infinite ease-in-out;
  transition: .3s;
  -webkit-transition: .3s;
  -o-transition: .3s;
  -moz-transition: .3s;
}

button.burger span {
  transition: .3s;
  -webkit-transition: .3s;
  -o-transition: .3s;
  -moz-transition: .3s;
}

@keyframes pulseBurger {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(36, 195, 100, 0));
  }
  50% {
    transform: scale(1.15);
    filter: drop-shadow(0 0 6px rgba(36, 195, 100, 0.5));
  }
}

header:has(aside.panel.open) button.burger {
  animation: none;
}

header:has(aside.panel.open) button.burger span:nth-child(1) {
  transform: rotate(45deg) translateX(25%) translateY(50%);
  width: 30px;
}

header:has(aside.panel.open) button.burger span:nth-child(3) {
  transform: rotate(-45deg) translateX(31%) translateY(-115%);
  width: 30px;
}

header:has(aside.panel.open) button.burger span:nth-child(2) {
  opacity: 0;
}


@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(38, 198, 92, 0.6);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 0 12px rgba(38, 198, 92, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(38, 198, 92, 0);
  }
}

/* (опционально) при наведении — лёгкое усиление */
aside.report-block a:hover {
  transform: scale(1.07);
  background-color: #22b456;
}


.fa-after button.inactive {
  background: rgba(143, 143, 143, 1);
  color: rgba(255, 255, 255, 0.8);
}

.fa-preview {
  position: relative;
}

span.close--file {
  position: absolute;
  display: block;
  width: 20px;
  height: 20px;
  right: 5px;
  bottom: 5px;
  transform: rotate(45deg);
  cursor: pointer;
  transition: .3s;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -o-transition: .3s;
}

button {
  transition: .3s;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -o-transition: .3s;
  cursor: pointer;
}

span.close--file:hover {
  opacity: 80%;
}

span.close--file:after {
  width: 100%;
  height: 3px;
  position: absolute;
  content: '';
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  background: white;
  border-radius: 5px;
}


span.close--file:before {
  width: 100%;
  height: 3px;
  position: absolute;
  content: '';
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  left: 0;
  background: white;
  border-radius: 5px;
}

.fa-after button.btn-primary:hover {
  background: #1FB154;
}

button:hover {
  transform: translateY(-5%);
}

.score--diag h2 {
  margin: 0;
}

.score--diag {
  align-items: center;
}

aside.report-block .report--head {
  text-align: center;
}

@media (min-width: 480px) {
  aside.share-block button b {
    display: unset;
    font-weight: 500;
  }
  aside.share-block button {
    width: 150px;
  }

  aside.share-block p {
    max-width: 50%;
  }
}

@media (min-width: 580px) {
  figure.dish-image img {
    width: 396px;
    height: 275px;
  }

  .dish-image figcaption {
    font-size: 1.25rem;
  }

  aside.share-block p {
    font-size: 1rem;
  }

  aside.share-block button {
    width: 150px;
  }

  aside.share-block {
    max-width: 505px;
    margin-left: auto;
    margin-right: auto;
  }

  aside.report-block {
    display: grid;
    grid-template-areas: 
    
      "A B"
      "D B"
      "C B";
  }

  aside.report-block .report--head {
    grid-area: A;
    align-self: start;
    text-align: left;
  }

  aside.report-block p {
    grid-area: D;
  }

  aside.report-block ul {
    grid-area: B;
  }

  aside.report-block a {
    grid-area: C;
  }

  aside.report-block ul {
    align-self: start;
    max-width: 200px;
    margin-left: auto;
    display: block;
  }
}

@media (min-width: 630px) {
  aside.report-block ul {
    max-width: 250px;
  }
}

@media (min-width: 720px) {
  aside.report-block ul {
    max-width: 330px;
  }
}

@media (min-width: 820px) {
  aside.report-block ul {
    max-width: 450px;
  }

  aside.report-block {
    max-width: 720px;
  }
}

@media (min-width: 1024px) {
  .result--container {
    flex-direction: row;
    gap: 20px;
  }

  .report--head {
    margin-right: 20px;
  }

  aside.report-block a {
    margin-right: 20px;
  }
}

@media (min-width: 1200px) {
  figure.dish-image img {
    width: 505px;
    height: 350px;
  }

  aside.share-block button {
    width: 220px;
  }

  h1#result-title {
    font-size: 2.75rem;
  }
}

@media (min-width: 1700px) {
  .container {
    max-width: 65vw;
  }
}

body.secondary {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

footer.secondary {
  margin-top: auto;
}

.result--container {
  margin-bottom: 90px;
  justify-content: space-between;
}

/* Policy */


.privacy-policy {
  margin: 0;
  padding: 0;
  margin-bottom: 90px;
}

.privacy-policy h1 {
  margin: 0;
  font-weight: 400;
  font-family: 'RishaNeoUwU';
  color: rgba(34, 197, 94, 1);
  text-align: center;
  font-size: 1.5rem;
}

.privacy-policy p {
  text-align: left;
  margin-top: 20px;
  margin-bottom: 20px;
}

.privacy-policy strong {
  font-weight: 500;
}

.privacy-policy h2 {
  font-family: 'RishaNeoUwU';
  color: rgba(34, 197, 94, 1);
  font-weight: 400;
  font-size: 1.25rem;
  margin: 0;
  margin-bottom: 15px;
  margin-top: 30px;
}

.privacy-policy section p {
  margin: 0;
}

.privacy-policy section ul {
  padding: 0;
  padding-left: 15px;
  list-style-type: disc;
}

.privacy-policy section ul li {
  margin-bottom: 8px;
}

.privacy-policy section a {
  color: black;
  font-weight: 500;
}

.panel-nav a.cta {
  width: 100%;
  height: 35px;
  color: white;
  font-weight: 500;
  text-align: center;
  justify-content: center;
  text-decoration: none;
  align-items: center;
  margin-bottom: 20px;
  margin-top: 20px;
  border-radius: 41px;
background: linear-gradient(180.00deg, rgba(34, 197, 94, 1),rgba(22, 228, 98, 1) 100%);
}

@media screen and (min-width: 768px) {
  .privacy-policy h1 {
    font-size: 2.75rem;
    margin-top: 30px;
  }

  .privacy-policy p {
    font-size: 1.25rem;
  }

  .privacy-policy section h2 {
    font-size: 1.75rem;
  }

  .privacy-policy section ul li {
    margin-bottom: 15px;
    font-size: 1.25rem;
  }

}

.circle {
  min-width: 100px;
}

.cookie-banner {
  z-index: 100;
}

.dish-image img {
  border-radius: 15px;
  object-fit: cover;
}


/* Mini-Game */

#miniGame{
  touch-action: none;      /* жест отдаём JS, а не скроллу */
  -webkit-user-select: none;
  user-select: none;
}


#miniGame{ position:relative; width:300px; height:300px; background:#fffbe7; overflow:hidden; border-radius:12px; margin:20px auto; box-shadow:0 0 12px rgba(0,0,0,.15); overflow: hidden; transition: 1s height;}
#basket{ position:absolute; bottom:10px; left:130px; width:60px; height:26px; background:#ff9800; border-radius:6px; /* ТЕНЬ только на wrapper, не на hit: */ box-shadow:none; }
#basketHit{ position:absolute; left:4px; right:4px; top:6px; height:14px; background:transparent; } /* внутренняя «полка» */
.food{ position:absolute; top:-40px; width:28px; height:28px; display:flex; align-items:center; justify-content:center; font-size:20px; line-height:1; pointer-events:none; }
.food .hit{ position:absolute; left:4px; top:4px; width:20px; height:20px; } /* компактный hit-box по центру эмодзи */

.floating-score{ position:absolute; font:700 14px/1 system-ui, sans-serif; pointer-events:none; transform:translate(-50%,-50%); animation:floatUp 700ms ease-out forwards; text-shadow:0 1px 0 rgba(0,0,0,.15); }
@keyframes floatUp{ from{opacity:0; transform:translate(-50%,0);} 15%{opacity:1;} to{opacity:0; transform:translate(-50%,-28px);} }
.shake{ animation:shake .25s linear; } @keyframes shake{0%,100%{transform:translateX(0);}25%{transform:translateX(-4px);}75%{transform:translateX(4px);}}

/* 🔎 ВКЛ/ВЫКЛ отладку хитбоксов (показывает их цветом) */
.debug #basketHit{ background:rgba(33,150,243,.25); outline:1px solid rgba(33,150,243,.6); }
.debug .food .hit{ background:rgba(244,67,54,.25); outline:1px solid rgba(244,67,54,.6); }

.minigame--header {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  margin-bottom: 5px;
}

.minigame--header .game--block {
  display: flex;
  align-items: center;
  gap: 5px;
}

button.playGameBtn {
  padding: 6px 10px;
  border-radius: 42px;
  background: rgba(34, 197, 94, 1);
  color: white;
  font-weight: 500;
  border: 0;
  outline: 0;

}

form {
  min-height: 250px;
}

p.play--offer {
  color: white;
  font-size: 0.875rem;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 2px;

}

.mask {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: #000;
  opacity: 0.5;
  top: 0;
  left: 0;
  z-index: 15;
  transition: .3s;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -o-transition: .3s;
}

.mask.hide {
  z-index: -1;
  opacity: 0;
}

.popup--hint {
  opacity: 1;
  height: auto;
  padding: 6px 10px;
  background: white;
  border-radius: 8px;
  display: block;
  width: max-content;
  text-align: center;
  top: 50%;
  transform: translateY(-50%) translateX(-50%);
  left: 50%;
  max-width: 300px;
  z-index: 20;
}

.popup--hint p {
  text-align: center;
}

.popup--hint.hide {
  z-index: -1;
  display: none;
}

form {
  position: relative;
}

.hov--block {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(34, 197, 94, 0.43);
  border-radius: 15px;
  left: 0;
  top: 0;
  z-index: -1;
  opacity: 0;
  transition: .3s;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -o-transition: .3s;
}

.hov--block:after {
  position: absolute;
  content: '';
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  width: 145px;
  height: 12px;
  border-radius: 15px;
  background: white;
}

.hov--block:before {
  position: absolute;
  content: '';
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%) rotate(90deg);
  width: 145px;
  height: 12px;
  border-radius: 15px;
  background: white;
}

form.drag .hov--block{
  z-index: 2;
  opacity: 1;
}