/*
 * Мини-игра «Подберите себе аромат» — блок .aroma-section.
 * Источник: game/ready-to-upload (style.css, motion.css, design-tokens.css).
 * Все правила ограничены блоком .aroma-section, чтобы не влиять на остальную страницу.
 * Адаптивность: один переход — @media (width < 1024px), как в стилях сайта.
 * Сборка: lessc assets/game/css/game.less assets/game/css/game.css
 */
.aroma-section {
  --navy: #0d164b;
  --gold: #f0cc9f;
  --muted: #a7b2d7;
  --gold-gradient: linear-gradient(105deg, #fcddba 4%, #dca76e 53%, #fbdab6);
  --panel-border: linear-gradient(180deg, rgba(59, 83, 180, 0.2) 40%, #3b53b4 100%);
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --motion-quick: 110ms;
  --motion-control: 240ms;
  --motion-object: 380ms;
  --type-h2: 600 40rem/1 Manrope, Arial, sans-serif;
  --type-h3: 600 24rem/1 Manrope, Arial, sans-serif;
  --type-body: 400 16rem/1.6 Montserrat, Arial, sans-serif;
  --type-ui: 400 16rem/1.3 Montserrat, Arial, sans-serif;
  --type-ui-strong: 600 16rem/1.3 Montserrat, Arial, sans-serif;
  --type-small: 400 14rem/1.3 Manrope, Arial, sans-serif;
  --type-caption: 400 12rem/1.2 Montserrat, Arial, sans-serif;
  --type-heading: var(--type-h2);
  font-family: Manrope, Arial, sans-serif;
  color: #fff;
  position: relative;
}
.aroma-section *,
.aroma-section *::before,
.aroma-section *::after {
  box-sizing: border-box;
}
.aroma-section button,
.aroma-section input {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}
.aroma-section button {
  color: inherit;
  border: 0;
  cursor: pointer;
  touch-action: manipulation;
}
.aroma-section button:disabled {
  cursor: default;
}
.aroma-section button:focus-visible,
.aroma-section input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4rem;
}
.aroma-section h2:focus {
  outline: none;
}
.aroma-section a {
  color: inherit;
}
.aroma-section .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.aroma-section .section-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: color-dodge;
}
.aroma-section .section-star {
  position: absolute;
  width: 43.7642rem;
  height: 43.7642rem;
  transform: scale(var(--star-scale, 0.6)) rotate(-15deg);
}
.aroma-section .section-star img {
  display: block;
  animation: site-star-twinkle 2s linear infinite;
}
.aroma-section .star-one {
  left: 56%;
  top: 12rem;
  --star-scale: 0.45;
}
.aroma-section .star-two {
  left: -34rem;
  top: 48%;
  --star-scale: 0.65;
}
.aroma-section .star-three {
  right: -30rem;
  bottom: 12rem;
  --star-scale: 0.8;
}
.aroma-section .star-two img {
  animation-delay: -0.7s;
}
.aroma-section .star-three img {
  animation-delay: -1.4s;
}
.aroma-section .section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40rem;
  margin-bottom: 38rem;
}
.aroma-section .section-heading h2 {
  font: var(--type-heading);
  letter-spacing: 0;
  margin: 0;
  text-transform: uppercase;
}
.aroma-section .section-heading > p {
  font: var(--type-body);
  letter-spacing: 0;
  text-align: right;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  max-width: 360rem;
}
.aroma-section .audience-switch {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  width: 288rem;
  max-width: 100%;
  padding: 0;
  gap: 6rem;
  margin-bottom: 16rem;
}
.aroma-section .audience-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8rem;
  flex: 1;
  min-width: 0;
  min-height: 44rem;
  padding: 8rem;
  border-radius: 999rem;
  background: transparent;
  font: var(--type-ui);
  color: #b7c4e6;
  transition: color 180ms, background 180ms, transform 110ms;
}
.aroma-section .audience-option svg {
  width: 26rem;
  height: 26rem;
  flex-shrink: 0;
}
.aroma-section .audience-option[aria-pressed=true] {
  color: var(--gold);
  background: #2e3d75;
}
.aroma-section .audience-option:focus-visible {
  outline-offset: 1px;
}
.aroma-section .audience-option:not(:disabled):active {
  transform: scale(0.97);
}
@media (hover: hover) and (pointer: fine) {
  .aroma-section .audience-option:not(:disabled):hover {
    color: #fff;
  }
}
.aroma-section .game-shell {
  min-height: 520rem;
  border-radius: 32rem;
  overflow: hidden;
  position: relative;
  background: linear-gradient(125deg, #13205b 0%, #12215b 57%, #1a3281 100%);
  scroll-margin-top: 24rem;
}
.aroma-section .game-shell::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  padding: 1px;
  background: var(--panel-border);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.aroma-section .loading {
  padding: 40rem;
  color: var(--muted);
}
.aroma-section .game-body {
  display: grid;
  grid-template-columns: 1.42fr 1fr;
  height: 520rem;
  min-height: 520rem;
}
.aroma-section .palette {
  padding: 32rem 30rem 0 40rem;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.aroma-section .filters {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.aroma-section .filter-scroll {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 6rem;
  padding: 4rem;
  margin-left: -4rem;
}
.aroma-section .filter {
  flex: 0 0 auto;
  font: var(--type-ui);
  letter-spacing: 0;
  min-height: 44rem;
  padding: 10rem 20rem;
  border-radius: 24rem;
  background: transparent;
  color: #b7c4e6;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.aroma-section .filter[aria-pressed=true] {
  color: #ffe0b6;
  background: #2e3d75;
}
.aroma-section .filter:disabled {
  opacity: 0.32;
}
.aroma-section .filter:not(:disabled):hover {
  color: white;
  background: #29396e;
}
.aroma-section .rail-controls {
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .aroma-section .rail-controls {
    display: flex;
    align-items: center;
    margin-left: 6rem;
    flex: 0 0 auto;
  }
  .aroma-section .rail-controls button {
    display: grid;
    place-items: center;
    width: 36rem;
    height: 44rem;
    padding: 0;
    border-radius: 22rem;
    background: transparent;
    color: #c7d2f1;
    transition: background 0.2s, color 0.2s;
  }
  .aroma-section .rail-controls svg {
    width: 19rem;
    height: 19rem;
  }
  .aroma-section .rail-controls button:hover {
    color: #ffe0b6;
    background: #29396e;
  }
}
.aroma-section .note-grid {
  --scroll-fade: 38rem;
  --note-fade-alpha: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10rem 16rem;
  min-height: 0;
  align-content: start;
  padding: 18rem 4rem 4rem;
  margin: 0 -4rem;
  scroll-padding-top: var(--scroll-fade);
  mask-image: linear-gradient(to bottom, rgb(0 0 0 / var(--note-fade-alpha)), #000 var(--scroll-fade)), linear-gradient(#000 0 0);
  mask-size: calc(100% - 12rem) 100%, 12rem 100%;
  mask-position: left top, right top;
  mask-repeat: no-repeat;
}
.aroma-section .note-grid {
  height: 0;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-color: #566ca5 transparent;
  scrollbar-width: thin;
  padding-right: 8rem;
  padding-bottom: 20rem;
}
.aroma-section .note-grid::-webkit-scrollbar {
  width: 5rem;
}
.aroma-section .note-grid::-webkit-scrollbar-thumb {
  background: #566ca5;
  border-radius: 5rem;
}
.aroma-section .note-grid::-webkit-scrollbar-track {
  background: transparent;
}
.aroma-section .note-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
  border-radius: 20rem;
  min-width: 0;
  padding: 5rem 4rem 10rem;
  position: relative;
  min-height: 160rem;
  transition: background 0.2s;
}
.aroma-section .note-choice:hover {
  background: rgba(98, 132, 218, 0.08);
}
.aroma-section .note-choice:active {
  transform: scale(0.96);
}
.aroma-section .note-label {
  font: var(--type-small);
  letter-spacing: 0;
  color: #e7ecff;
  min-height: 18rem;
  text-align: center;
}
.aroma-section .add-note {
  position: absolute;
  top: 10rem;
  right: 8rem;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: 18rem;
  line-height: 22rem;
  opacity: 0;
  transform: scale(0.7);
  transition: 0.2s;
}
.aroma-section .note-choice:hover .add-note,
.aroma-section .note-choice:focus-visible .add-note {
  opacity: 1;
  transform: scale(1);
}
.aroma-section .ingredient {
  position: relative;
  overflow: hidden;
  display: block;
  flex-shrink: 0;
  width: 132rem;
  height: 132rem;
  background-repeat: no-repeat;
  filter: drop-shadow(0 9rem 8rem rgba(0, 0, 0, 0.12));
  transition: transform 0.25s;
}
.aroma-section .note-choice:hover .ingredient {
  transform: translateY(-4rem) rotate(-3deg) scale(1.04);
}
.aroma-section .empty-search {
  font: var(--type-small);
  letter-spacing: 0;
  grid-column: 1/-1;
  padding: 64rem 12rem;
  color: var(--muted);
  text-align: center;
}
.aroma-section .empty-search button {
  display: block;
  margin: 16rem auto;
  min-height: 44rem;
  padding: 0 20rem;
  background: #293c79;
  border-radius: 22rem;
  color: var(--gold);
}
.aroma-section .composition {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32rem 28rem 24rem;
  background: radial-gradient(ellipse at 52% 55%, rgba(52, 85, 166, 0.22), transparent 70%);
}
.aroma-section .composition-heading {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 18rem;
  min-height: 52rem;
  width: 100%;
  font: var(--type-ui);
  padding-top: calc((52rem - 1.3em) / 2);
}
.aroma-section .composition h3 {
  font: var(--type-ui);
  letter-spacing: 0;
  color: #c4d0ef;
  margin: 0;
}
.aroma-section .selection-count {
  font: var(--type-ui);
  letter-spacing: 0;
  display: flex;
  align-items: baseline;
  gap: 6rem;
  color: #91a4d3;
  font-variant-numeric: tabular-nums;
}
.aroma-section .selection-count b {
  color: var(--gold);
  font-weight: 600;
}
.aroma-section .selection-count > span {
  color: #667eb9;
}
.aroma-section .mix-notes {
  position: relative;
  width: 100%;
  max-width: 410rem;
  height: 410rem;
}
.aroma-section .mix-slot {
  position: absolute;
  width: 158rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  padding: 0;
  transform: translateX(-50%);
  border-radius: 18rem;
}
.aroma-section .mix-slot:nth-child(1) {
  left: 50%;
  top: 32rem;
}
.aroma-section .mix-slot:nth-child(2) {
  left: 25%;
  top: 214rem;
}
.aroma-section .mix-slot:nth-child(3) {
  left: 76%;
  top: 214rem;
}
.aroma-section .slot-art {
  width: 126rem;
  height: 126rem;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 50%;
  background: rgba(119, 145, 213, 0.045);
}
.aroma-section .slot-number {
  font: var(--type-h3);
  letter-spacing: 0;
  color: #6c83bd;
}
.aroma-section .slot-label {
  font: var(--type-caption);
  letter-spacing: 0;
  margin-top: 10rem;
  color: #869ccc;
  max-width: 152rem;
}
.aroma-section .mix-slot.current .slot-art {
  background: radial-gradient(circle at 36% 28%, rgba(248, 211, 169, 0.1), rgba(111, 140, 211, 0.045));
}
.aroma-section .mix-slot.current .slot-number,
.aroma-section .mix-slot.current .slot-label {
  color: var(--gold);
}
.aroma-section .mix-slot.filled .slot-art {
  background: transparent;
}
.aroma-section .mix-slot.filled .slot-label {
  color: #f0f3ff;
  margin-top: 20rem;
}
.aroma-section .mix-slot.filled .ingredient {
  width: 148rem;
  height: 148rem;
}
.aroma-section .mix-slot.filled:hover .ingredient {
  transform: translateY(-4rem);
}
.aroma-section .mix-slot.filled:hover .slot-label {
  color: var(--gold);
}
.aroma-section .remove-note {
  position: absolute;
  z-index: 1;
  top: 0;
  right: -3rem;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f0cc9f;
  color: #101b50;
  box-shadow: 0 3rem 12rem #07113730;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.18s, transform 0.18s;
}
.aroma-section .remove-note svg {
  width: 20rem;
  height: 20rem;
}
.aroma-section .mix-slot:hover .remove-note,
.aroma-section .mix-slot:focus-visible .remove-note,
.aroma-section .result-note:hover .remove-note,
.aroma-section .result-note:focus-visible .remove-note {
  opacity: 1;
  transform: scale(1);
}
.aroma-section .gold-button {
  font: var(--type-ui-strong);
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14rem;
  min-height: 50rem;
  padding: 0 27rem;
  border-radius: 12rem;
  background: var(--gold-gradient);
  box-shadow: 0 8rem 12rem #00000020;
  color: #711328;
  text-transform: uppercase;
  transition: filter 0.2s, transform 0.2s;
}
.aroma-section .gold-button:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}
.aroma-section .gold-button:active {
  transform: translateY(0);
}
.aroma-section .gold-button svg {
  width: 17rem;
  height: 17rem;
}
.aroma-section .result-content {
  display: grid;
  grid-template-columns: 0.95fr 1.2fr;
  min-height: 520rem;
}
.aroma-section .product-art {
  --glow: 56, 202, 210;
  --glow-accent: 66, 111, 240;
  position: relative;
  isolation: isolate;
  min-height: 440rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30rem 12rem 30rem 32rem;
}
.aroma-section .product-art::before {
  content: '';
  position: absolute;
  z-index: -2;
  inset: 0 -18% 0 0;
  background: url('../img/perfume-light-backdrop.webp') center / cover no-repeat;
  mask-image: linear-gradient(90deg, #000 64%, transparent);
}
.aroma-section .product-art::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 -8% 0 0;
  background: radial-gradient(ellipse at 49% 47%, rgba(var(--glow), 0.22), transparent 64%);
}
.aroma-section .product-art[data-perfume=love-yourself] {
  --glow: 190, 113, 242;
  --glow-accent: 114, 93, 238;
}
.aroma-section .product-art[data-perfume=blue-seduction] {
  --glow: 52, 154, 253;
  --glow-accent: 46, 216, 228;
}
.aroma-section .product-art[data-perfume=her-secret-absolu] {
  --glow: 247, 148, 88;
  --glow-accent: 198, 90, 161;
}
.aroma-section .product-art[data-perfume=the-icon-elixir-woman] {
  --glow: 225, 129, 225;
  --glow-accent: 140, 93, 235;
}
.aroma-section .product-art img {
  display: block;
  width: 84%;
  height: 370rem;
  object-fit: contain;
  position: relative;
  filter: drop-shadow(0 22rem 20rem #030b392f);
}
.aroma-section .product-bottle {
  position: relative;
  width: 84%;
  height: 370rem;
  flex-shrink: 0;
  transform-origin: 50% 58%;
}
.aroma-section .product-bottle > img {
  width: 100%;
  height: 100%;
}
.aroma-section .result-bloom {
  position: absolute;
  z-index: -1;
  inset: 7% -10% 3%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse at 50% 52%, #fff4d9cc 0%, #f5d3a76b 15%, #8bafff30 37%, transparent 67%);
}
.aroma-section .bottle-glint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  mask-image: var(--bottle-mask);
  mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
  mix-blend-mode: screen;
}
.aroma-section .bottle-glint-beam {
  position: absolute;
  inset: -10% -20%;
  opacity: 0;
  background: linear-gradient(107deg, transparent 32%, #fff5d866 44%, #fffef6ee 50%, #d8eaff55 56%, transparent 68%);
}
.aroma-section .result-copy {
  padding: 46rem 48rem 40rem 28rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  position: relative;
}
.aroma-section .result-copy h2 {
  font: var(--type-heading);
  letter-spacing: 0;
  margin: 0 0 21rem;
}
.aroma-section .product-brand {
  font: var(--type-caption);
  letter-spacing: 0;
  margin: 0 0 14rem;
  color: #aec0e8;
  text-transform: uppercase;
}
.aroma-section .product-description {
  font: var(--type-body);
  letter-spacing: 0;
  color: #c8d2f0;
  margin: 0;
  max-width: 490rem;
}
.aroma-section .result-notes {
  display: flex;
  gap: 8rem;
  margin: 20rem -9rem 22rem;
}
.aroma-section .result-note {
  font: var(--type-caption);
  letter-spacing: 0;
  width: 104rem;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  border-radius: 14rem;
  padding: 0 4rem 7rem;
  color: #e0e7fa;
  position: relative;
}
.aroma-section .result-note-art {
  display: block;
  position: relative;
}
.aroma-section .result-note .remove-note {
  width: 26rem;
  height: 26rem;
  right: -5rem;
}
.aroma-section .result-note .ingredient {
  width: 76rem;
  height: 76rem;
}
.aroma-section .result-note:hover {
  color: var(--gold);
}
.aroma-section .result-note:hover .ingredient {
  transform: translateY(-3rem);
}
.aroma-section .result-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16rem;
}
.aroma-section .result-paging {
  font: var(--type-caption);
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 14rem;
  color: var(--muted);
}
.aroma-section .paging-button {
  border-radius: 50%;
  height: 40rem;
  width: 40rem;
  background: #2e3d75;
  display: grid;
  place-items: center;
}
.aroma-section .paging-button svg {
  width: 14rem;
  height: 14rem;
}
.aroma-section .paging-button:hover {
  color: var(--gold);
}
.aroma-section .scene-enter {
  animation: scene-enter 0.35s ease both;
}
@media (width < 1024px) {
  .aroma-section {
    --type-heading: 600 28rem/34rem Manrope, Arial, sans-serif;
  }
  .aroma-section .star-one {
    display: none;
  }
  .aroma-section .star-two {
    left: -22rem;
    top: 32%;
    --star-scale: 0.35;
  }
  .aroma-section .star-three {
    right: -18rem;
    bottom: 0;
    --star-scale: 0.5;
  }
  .aroma-section .section-heading {
    display: block;
    margin-bottom: 25rem;
  }
  .aroma-section .section-heading > p {
    text-align: left;
    color: #c0c9e9;
    margin: 14rem 0 0;
    max-width: none;
  }
  .aroma-section .section-heading > p br {
    display: none;
  }
  .aroma-section .game-shell {
    border-radius: 24rem;
    min-height: 0;
  }
  .aroma-section .game-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: auto;
  }
  .aroma-section .palette {
    padding: 0 18rem;
  }
  .aroma-section .filters {
    margin-bottom: 0;
  }
  .aroma-section .filter-scroll {
    flex: 1;
    min-width: 0;
    flex-wrap: nowrap;
    padding: 4rem 2px;
    margin-left: -2px;
    gap: 4rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, transparent, #000 var(--filter-fade-start, 0px), #000 calc(100% - var(--filter-fade-end, 0px)), transparent);
  }
  .aroma-section .filter-scroll::-webkit-scrollbar {
    display: none;
  }
  .aroma-section .filter {
    flex: 0 0 auto;
    min-height: 44rem;
    padding: 10rem 20rem;
  }
  .aroma-section .filter:focus-visible {
    outline-offset: -3rem;
  }
  .aroma-section .note-grid {
    --scroll-fade: 28rem;
    --note-size: clamp(86rem, 25vw, 112rem);
    flex: none;
    gap: 12rem 0;
    min-height: 0;
    height: clamp(320rem, 46svh, 420rem);
    max-height: none;
    padding-top: 12rem;
  }
  .aroma-section .note-choice {
    min-height: calc(var(--note-size) + 48rem);
    padding: 3rem 1px 8rem;
  }
  .aroma-section .note-choice .ingredient {
    width: var(--note-size);
    height: var(--note-size);
  }
  .aroma-section .note-label {
    max-width: 110rem;
  }
  .aroma-section .note-choice .add-note {
    display: none;
  }
  .aroma-section .composition {
    order: -1;
    padding: 16rem 18rem 8rem;
    background: none;
  }
  .aroma-section .composition-heading {
    justify-content: space-between;
    min-height: 24rem;
    padding-top: 0;
  }
  .aroma-section .composition h3 {
    color: #afc1e9;
  }
  .aroma-section .mix-notes {
    height: 112rem;
    max-width: none;
    display: flex;
    justify-content: space-between;
    gap: 6rem;
    margin-top: 10rem;
  }
  .aroma-section .mix-slot {
    position: relative;
    inset: auto !important;
    transform: none;
    width: calc((100% - 12rem)/3);
  }
  .aroma-section .slot-art {
    width: 68rem;
    height: 68rem;
  }
  .aroma-section .slot-label {
    margin-top: 8rem;
    max-width: 96rem;
  }
  .aroma-section .mix-slot.filled .ingredient {
    width: 80rem;
    height: 80rem;
  }
  .aroma-section .mix-slot.filled .slot-label {
    margin-top: 10rem;
  }
  .aroma-section .remove-note {
    width: 26rem;
    height: 26rem;
    top: -3rem;
    right: -5rem;
    opacity: 1;
    transform: none;
  }
  .aroma-section .gold-button {
    min-height: 49rem;
    padding: 0 24rem;
  }
  .aroma-section .result-content {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .aroma-section .product-art {
    min-height: 280rem;
    height: 280rem;
    padding: 24rem 20rem 0;
  }
  .aroma-section .product-art img {
    width: 90%;
    height: 256rem;
  }
  .aroma-section .product-bottle {
    width: 90%;
    height: 256rem;
  }
  .aroma-section .product-bottle > img {
    width: 100%;
    height: 100%;
  }
  .aroma-section .product-art::before {
    inset: 0 0 -50rem;
    background-position: center 48%;
    mask-image: linear-gradient(#000 66%, transparent);
  }
  .aroma-section .product-art::after {
    inset: 0 0 -40rem;
  }
  .aroma-section .result-copy {
    padding: 24rem 22rem 26rem;
  }
  .aroma-section .result-copy h2 {
    margin-bottom: 17rem;
  }
  .aroma-section .product-brand {
    margin-bottom: 11rem;
  }
  .aroma-section .result-notes {
    gap: 3rem;
    justify-content: flex-start;
    margin: 18rem -8rem 22rem;
  }
  .aroma-section .result-note {
    width: 94rem;
  }
  .aroma-section .result-note .ingredient {
    width: 69rem;
    height: 69rem;
  }
}
@media (hover: none), (pointer: coarse) {
  .aroma-section .remove-note {
    opacity: 1;
    transform: none;
  }
}
.aroma-section .filter-scroll::-webkit-scrollbar {
  display: none;
}
.aroma-section .audience-option[aria-pressed=true]::after,
.aroma-section .filter[aria-pressed=true]::after,
.aroma-section .filter-indicator::after {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(116deg, rgba(255, 255, 255, 0.5), transparent 60%), linear-gradient(296deg, rgba(255, 255, 255, 0.3), transparent 30%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.aroma-section .filter {
  position: relative;
}
.aroma-section .has-filter-indicator .filter[aria-pressed=true]::after {
  display: none;
}
.aroma-section .note-choice .ingredient {
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
}
.aroma-section .filter-scroll {
  mask-image: linear-gradient(90deg, transparent, #000 var(--filter-fade-start, 0px), #000 calc(100% - var(--filter-fade-end, 0px)), transparent);
}
.aroma-section .scene-enter {
  animation: none;
}
.aroma-section .note-choice {
  transition: transform var(--motion-quick) var(--motion-ease), background-color var(--motion-control) var(--motion-ease);
  transform-origin: 50% 60%;
}
.aroma-section .ingredient {
  transition: transform var(--motion-object) var(--motion-ease), opacity var(--motion-control) var(--motion-ease);
  transform-origin: 50% 65%;
}
.aroma-section .add-note,
.aroma-section .remove-note {
  transition: opacity 180ms var(--motion-ease), transform 260ms var(--motion-ease);
}
.aroma-section .slot-label,
.aroma-section .result-note {
  transition: color var(--motion-control) var(--motion-ease);
}
.aroma-section .filter {
  transition: color 180ms var(--motion-ease), background-color var(--motion-control) var(--motion-ease), opacity 180ms var(--motion-ease), transform var(--motion-quick) var(--motion-ease);
}
.aroma-section .paging-button {
  transition: color var(--motion-control) var(--motion-ease), background-color var(--motion-control) var(--motion-ease), transform var(--motion-quick) var(--motion-ease);
}
.aroma-section .note-choice:hover {
  background: transparent;
}
.aroma-section .note-choice:hover .ingredient,
.aroma-section .mix-slot.filled:hover .ingredient,
.aroma-section .result-note:hover .ingredient {
  transform: none;
}
.aroma-section .note-choice:hover .add-note {
  opacity: 0;
  transform: scale(0.76);
}
.aroma-section .mix-slot.filled:hover .slot-label {
  color: #f0f3ff;
}
.aroma-section .result-note:hover {
  color: #e0e7fa;
}
.aroma-section .filter:not(:disabled):hover {
  color: #b7c4e6;
  background: transparent;
}
.aroma-section .filter[aria-pressed=true]:hover {
  color: #ffe0b6;
  background: #2e3d75;
}
.aroma-section .paging-button:hover {
  color: inherit;
}
.aroma-section .note-choice:focus-visible .add-note {
  opacity: 1;
  transform: scale(1);
}
.aroma-section .mix-slot:focus-visible .remove-note,
.aroma-section .result-note:focus-visible .remove-note {
  opacity: 1;
  transform: scale(1);
}
.aroma-section .gold-button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--motion-control) var(--motion-ease);
}
.aroma-section .gold-button:hover {
  filter: none;
  transform: none;
}
.aroma-section .gold-button::after {
  content: '';
  position: absolute;
  pointer-events: none;
  inset: -40% -30%;
  background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, 0.6) 50%, transparent 65%);
  opacity: 0;
  transform: translateX(-110%) skewX(-15deg);
}
.aroma-section .gold-button:focus-visible::after {
  animation: button-light-pass 700ms var(--motion-ease) both;
}
@media (hover: hover) and (pointer: fine) {
  .aroma-section .note-choice:not(:disabled):hover {
    background: rgba(98, 132, 218, 0.08);
  }
  .aroma-section .note-choice:not(:disabled):hover .ingredient {
    transform: translateY(-5rem) rotate(-1.6deg) scale(1.035);
  }
  .aroma-section .note-choice:not(:disabled):hover .add-note {
    opacity: 1;
    transform: scale(1);
  }
  .aroma-section .mix-slot.filled:hover .ingredient,
  .aroma-section .result-note:hover .ingredient {
    transform: translateY(-4rem) rotate(-1deg) scale(1.02);
  }
  .aroma-section .mix-slot.filled:hover .slot-label,
  .aroma-section .result-note:hover {
    color: var(--gold);
  }
  .aroma-section .mix-slot.filled:hover .remove-note,
  .aroma-section .result-note:hover .remove-note {
    opacity: 1;
    transform: scale(1);
  }
  .aroma-section .filter:not(:disabled):hover {
    color: #fff;
    background: #29396e;
  }
  .aroma-section .filter[aria-pressed=true]:hover {
    color: #ffe0b6;
    background: #2e3d75;
  }
  .aroma-section .paging-button:not(:disabled):hover {
    color: var(--gold);
    transform: translateY(-2px);
  }
  .aroma-section .gold-button:not(:disabled):hover {
    transform: translateY(-2px);
  }
  .aroma-section .gold-button:not(:disabled):hover::after {
    animation: button-light-pass 700ms var(--motion-ease) both;
  }
}
.aroma-section .note-choice:not(:disabled):active {
  transform: scale(0.98);
  transition-duration: var(--motion-quick);
}
.aroma-section .note-choice:not(:disabled):active .ingredient {
  transform: translateY(-1px) scale(0.975);
  transition-duration: var(--motion-quick);
}
.aroma-section .mix-slot.filled:active .ingredient,
.aroma-section .result-note:active .ingredient {
  transform: scale(0.965);
  transition-duration: var(--motion-quick);
}
.aroma-section .mix-slot.filled:active .remove-note,
.aroma-section .result-note:active .remove-note {
  transform: scale(0.9);
}
.aroma-section .gold-button:not(:disabled):active {
  transform: translateY(0) scale(0.985);
  transition-duration: var(--motion-quick);
}
.aroma-section .paging-button:not(:disabled):active,
.aroma-section .filter:not(:disabled):active {
  transform: scale(0.97);
  transition-duration: var(--motion-quick);
}
.aroma-section .product-art::before {
  transform-origin: 50% 48%;
  transform: translate(-0.6%, 0.4%) scale(1.06);
  animation: perfume-light-drift 12s var(--motion-ease-in-out) 1 both;
}
.aroma-section .motion-no-hover .note-choice:hover,
.aroma-section .motion-no-hover .note-choice:active {
  background: transparent;
}
.aroma-section .motion-no-hover .note-choice:hover .ingredient,
.aroma-section .motion-no-hover .note-choice:active .ingredient {
  transform: none;
  transition: none;
}
.aroma-section .motion-no-hover .note-choice:hover .add-note,
.aroma-section .motion-no-hover .note-choice:active .add-note {
  opacity: 0;
  transform: scale(0.76);
  transition: none;
}
.aroma-section .filter-scroll {
  position: relative;
  isolation: isolate;
}
.aroma-section .filter-scroll > .filter {
  position: relative;
  z-index: 1;
}
.aroma-section .filter-indicator {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  border-radius: 999rem;
  background: #2e3d75;
  pointer-events: none;
  transform-origin: 0 0;
}
.aroma-section .has-filter-indicator .filter[aria-pressed=true],
.aroma-section .has-filter-indicator .filter[aria-pressed=true]:hover {
  background: transparent;
}
/* Вне блока: «перелетающие» ноты рендерятся в body. */
.aroma-section#game-section {
  z-index: 10;
  scroll-margin-top: 110rem;
}
@media (width < 1024px) {
  .aroma-section#game-section {
    scroll-margin-top: 80rem;
  }
}
@keyframes site-star-twinkle {
  0% {
    animation-timing-function: ease-in-out;
    opacity: 0;
  }
  46.299% {
    animation-timing-function: ease-in-out;
    opacity: 1;
  }
  92.598%,
  100% {
    opacity: 0;
  }
}
@keyframes scene-enter {
  from {
    opacity: 0;
    transform: translateY(8rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.ingredient-image {
  position: absolute;
  display: block;
  background-repeat: no-repeat;
  pointer-events: none;
}
@keyframes perfume-light-drift {
  from {
    transform: translate(-0.6%, 0.4%) scale(1.06);
  }
  to {
    transform: translate(0.7%, -0.5%) scale(1.1);
  }
}
@keyframes button-light-pass {
  0% {
    opacity: 0;
    transform: translateX(-110%) skewX(-15deg);
  }
  18% {
    opacity: 0.38;
  }
  72% {
    opacity: 0.28;
  }
  100% {
    opacity: 0;
    transform: translateX(110%) skewX(-15deg);
  }
}
.note-flight {
  position: fixed;
  z-index: 50;
  pointer-events: none;
  margin: 0;
  transition: none !important;
  transform-origin: 0 0;
  will-change: transform, opacity;
}
.note-flight .ingredient {
  margin: 0;
  transform: none;
  transition: none !important;
  animation: none !important;
}
.aroma-section.motion-paused *,
.aroma-section.motion-paused *::before,
.aroma-section.motion-paused *::after,
.aroma-section .motion-paused,
.aroma-section .motion-paused::before,
.aroma-section .motion-paused::after,
.aroma-section .motion-paused *,
.aroma-section .motion-paused *::before,
.aroma-section .motion-paused *::after {
  animation-play-state: paused !important;
}
