@font-face {
  font-display: swap;
  font-family: "Rubik";
  font-style: normal;
  font-weight: 300 900;
  src: url("assets/original/fonts/rubik-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-display: swap;
  font-family: "Rubik";
  font-style: normal;
  font-weight: 300 900;
  src: url("assets/original/fonts/rubik-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-display: swap;
  font-family: "Balsamiq Sans";
  font-style: normal;
  font-weight: 400;
  src: url("assets/original/fonts/balsamiq-400-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-display: swap;
  font-family: "Balsamiq Sans";
  font-style: normal;
  font-weight: 400;
  src: url("assets/original/fonts/balsamiq-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-display: swap;
  font-family: "Balsamiq Sans";
  font-style: normal;
  font-weight: 700;
  src: url("assets/original/fonts/balsamiq-700-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-display: swap;
  font-family: "Balsamiq Sans";
  font-style: normal;
  font-weight: 700;
  src: url("assets/original/fonts/balsamiq-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-display: swap;
  font-family: "Amatic SC";
  font-style: normal;
  font-weight: 400;
  src: url("assets/original/fonts/amatic-400-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-display: swap;
  font-family: "Amatic SC";
  font-style: normal;
  font-weight: 400;
  src: url("assets/original/fonts/amatic-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-display: swap;
  font-family: "Amatic SC";
  font-style: normal;
  font-weight: 700;
  src: url("assets/original/fonts/amatic-700-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-display: swap;
  font-family: "Amatic SC";
  font-style: normal;
  font-weight: 700;
  src: url("assets/original/fonts/amatic-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}

:root {
  color: #281846;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #f8f5f0;
}
body.site-page-ready {
  animation: site-page-enter .18s ease-out both;
}
body.auth-modal-open { overflow: hidden; }
[hidden] { display: none !important; }

@keyframes site-page-enter {
  from { opacity: .92; }
  to { opacity: 1; }
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.hero {
  aspect-ratio: 1619 / 971;
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.hero__media {
  display: block;
  inset: 0;
  position: absolute;
  z-index: -1;
}

.hero__background {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.mobile-dock { display: none; }

.header {
  align-items: center;
  backdrop-filter: blur(14px);
  background: #fffffff2;
  border-bottom: 1px solid #23173f12;
  display: flex;
  left: 0;
  padding: 16px 3.1%;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1000;
}

.brand { align-items: center; color: #1d3550; display: inline-flex; gap: 12px; text-decoration: none; }
.brand img { display: block; width: min(5.7vw, 94px); }
.brand span { font-family: "Balsamiq Sans", sans-serif; font-size: 1.35rem; font-weight: 700; letter-spacing: .06em; }

.nav {
  align-items: center;
  display: flex;
  gap: 2.8vw;
  margin-left: 5.4vw;
}

.nav > a,
.nav-menu__toggle {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 11px;
  color: #202024;
  cursor: pointer;
  display: flex;
  font-size: min(1.22vw, 20px);
  font-weight: 750;
  gap: 8px;
  min-height: 40px;
  padding: 0;
  text-decoration: none;
  white-space: nowrap;
}

.nav > a:hover,
.nav-menu__toggle:hover { color: #6c1be3; }

.nav-menu { align-items: center; display: flex; position: relative; }
.nav-menu__toggle { font-family: inherit; }
.nav-menu__toggle[aria-expanded="true"] { color: #6c1be3; }
.nav-menu__chevron {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  display: block;
  height: 8px;
  margin-left: 2px;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .18s ease;
  width: 8px;
}
.nav-menu__toggle[aria-expanded="true"] .nav-menu__chevron {
  transform: translateY(2px) rotate(-135deg);
}

.nav-menu__panel {
  background: #fffefc;
  border: 1px solid rgba(47, 31, 82, .12);
  border-radius: 16px;
  box-shadow: 0 22px 56px rgba(46, 23, 78, .17);
  color: #211940;
  left: 50%;
  overflow: visible;
  position: absolute;
  top: calc(100% + 18px);
  transform: translateX(-50%);
  width: min(452px, calc(100vw - 28px));
  z-index: 1100;
}
.nav-menu__panel::before {
  background: #fffefc;
  border-left: 1px solid rgba(47, 31, 82, .12);
  border-top: 1px solid rgba(47, 31, 82, .12);
  content: "";
  height: 14px;
  left: 50%;
  position: absolute;
  top: -8px;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
}
.nav-menu__grid { background: #fffefc; border-radius: 16px 16px 0 0; display: grid; gap: 6px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px; }
.nav-menu__item {
  align-items: center;
  border-radius: 12px;
  color: #241a43;
  display: grid;
  gap: 11px;
  grid-template-columns: 54px minmax(0, 1fr);
  min-height: 78px;
  padding: 9px;
  text-decoration: none;
  transition: background-color .16s ease, color .16s ease, transform .16s ease;
}
.nav-menu__item:hover,
.nav-menu__item:focus-visible,
.nav-menu__item[aria-current="page"] {
  background: #f7f2ff;
  color: #5e28cf;
  transform: translateY(-1px);
}
.nav-menu__item > span:last-child { display: grid; gap: 3px; min-width: 0; }
.nav-menu__item strong {
  font: 700 17px/1.05 "Balsamiq Sans", sans-serif;
  letter-spacing: -.015em;
}
.nav-menu__item small { color: #746f7e; font: 500 10px/1.3 "Rubik", sans-serif; }
.nav-menu__icon {
  align-items: center;
  display: flex;
  height: 48px;
  justify-content: center;
  overflow: hidden;
  width: 54px;
}
.nav-menu__icon img {
  display: block;
  height: 48px;
  object-fit: contain;
  width: 54px;
}
.nav-menu__footer {
  align-items: center;
  background: #fffefc;
  border-radius: 0 0 16px 16px;
  border-top: 1px solid rgba(47, 31, 82, .1);
  color: #642bd5;
  display: flex;
  font: 800 13px/1 "Rubik", sans-serif;
  gap: 8px;
  justify-content: center;
  min-height: 48px;
  text-decoration: none;
  transition: background-color .16s ease, color .16s ease;
}
.nav-menu__footer:hover,
.nav-menu__footer:focus-visible { background: #faf7ff; color: #e9540b; }
.nav-menu__toggle:focus-visible,
.nav > a:focus-visible,
.nav-menu__item:focus-visible,
.nav-menu__footer:focus-visible {
  outline: 3px solid rgba(108, 27, 227, .28);
  outline-offset: 3px;
}

.header__utility { align-items: center; display: flex; gap: 28px; margin-left: auto; }
.header__phone { align-items: center; background: linear-gradient(100deg, #8a30f6, #5238ed); background-clip: text; color: transparent; display: inline-flex; font-size: min(1.72vw, 28px); font-weight: 850; letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
.header__register { align-items: center; background: #ff641a; border-radius: 999px; box-shadow: 0 7px 14px #de500733; color: #fff; display: inline-flex; font-size: min(1.08vw, 17px); font-weight: 850; gap: 13px; max-width: 310px; padding: 16px 27px; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.header__register span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.header__register svg { fill: none; height: 20px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.4; width: 20px; }
.header__register:hover { background: #fc621a; transform: translateY(-1px); }
.header__register.is-authenticated { background: linear-gradient(110deg, #6c1be3, #8a30f6); box-shadow: 0 7px 16px rgba(108, 27, 227, .24); text-transform: none; }

.auth-modal { align-items: center; display: flex; inset: 0; justify-content: center; padding: 24px; position: fixed; z-index: 3000; }
.auth-modal__backdrop { backdrop-filter: blur(4px); background: rgba(28, 26, 32, .64); inset: 0; position: absolute; }
.auth-dialog { background: #fff; border: 1px solid rgba(39, 35, 63, .1); border-radius: 24px; box-shadow: 0 30px 90px rgba(20, 18, 28, .3); color: #27233f; font-family: "Rubik", sans-serif; max-height: calc(100dvh - 48px); overflow: auto; padding: 28px 30px 22px; position: relative; width: min(620px, 100%); z-index: 1; }
.auth-dialog__close { align-items: center; background: transparent; border: 0; border-radius: 50%; color: #242037; cursor: pointer; display: flex; height: 40px; justify-content: center; padding: 0; position: absolute; right: 18px; top: 18px; transition: background-color .18s ease, transform .18s ease; width: 40px; }
.auth-dialog__close:hover { background: #f4f0fa; transform: rotate(4deg); }
.auth-dialog__close svg { fill: none; height: 24px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; width: 24px; }
.auth-dialog__header { align-items: center; display: flex; gap: 14px; padding-right: 46px; }
.auth-dialog__header img { display: block; height: 62px; object-fit: contain; width: 68px; }
.auth-dialog__header h2 { color: #2f145f; font-family: "Balsamiq Sans", sans-serif; font-size: 32px; line-height: 1.05; margin: 0 0 3px; }
.auth-dialog__header p { color: #706b7b; font-size: 14px; line-height: 1.4; margin: 0; }
.auth-dialog__status { border-radius: 12px; font-size: 13px; font-weight: 600; line-height: 1.45; margin-top: 16px; padding: 11px 13px; }
.auth-dialog__status.is-error { background: #fff0ed; color: #b33321; }
.auth-dialog__status.is-success { background: #eefaf2; color: #237843; }
.auth-submit svg { fill: none; flex: 0 0 auto; height: 24px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 24px; }
.auth-form { display: grid; gap: 16px; margin-top: 18px; }
.auth-form__grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.auth-field { display: grid; gap: 6px; min-width: 0; }
.auth-field > span { color: #29243d; font-size: 13px; font-weight: 700; }
.auth-field input { appearance: none; background: #fff; border: 1.5px solid #dedbe5; border-radius: 10px; color: #29243d; font: inherit; height: 50px; min-width: 0; outline: 0; padding: 0 14px; transition: border-color .18s ease, box-shadow .18s ease; width: 100%; }
.auth-field input::placeholder { color: #aaa6b2; }
.auth-field input:focus { border-color: #6c1be3; box-shadow: 0 0 0 4px rgba(108, 27, 227, .1); }
.auth-field.is-invalid input { border-color: #dc4935; box-shadow: 0 0 0 4px rgba(220, 73, 53, .09); }
.auth-consent { align-items: flex-start; color: #575160; cursor: pointer; display: flex; font-size: 12px; gap: 10px; line-height: 1.45; }
.auth-consent input { accent-color: #6c1be3; flex: 0 0 auto; height: 19px; margin: 1px 0 0; width: 19px; }
.auth-consent__legal { color: #6c1be3; font-weight: 700; }
.auth-consent.is-invalid { color: #b33321; }
.auth-submit { align-items: center; border: 0; border-radius: 12px; color: #fff; cursor: pointer; display: inline-flex; font: 700 16px/1 "Rubik", sans-serif; gap: 10px; justify-content: center; min-height: 56px; padding: 14px 22px; transition: box-shadow .18s ease, opacity .18s ease, transform .18s ease; width: 100%; }
.auth-submit:hover { transform: translateY(-1px); }
.auth-submit:disabled { cursor: wait; opacity: .62; transform: none; }
.auth-submit--telegram { background: linear-gradient(110deg, #2f8be8, #499cf0); box-shadow: 0 10px 22px rgba(47, 139, 232, .22); }
.auth-submit--finish { background: linear-gradient(110deg, #ff6f13, #ff5a0b); box-shadow: 0 10px 22px rgba(242, 95, 20, .22); }
.auth-mode-switch { background: transparent; border: 0; color: #6c1be3; cursor: pointer; display: block; font: 700 13px/1.4 "Rubik", sans-serif; margin: 12px auto 0; padding: 5px 8px; }
.auth-code-intro { align-items: center; background: #f7f3fd; border: 1px solid #e8ddfa; border-radius: 16px; display: flex; gap: 14px; margin-top: 22px; padding: 16px; }
.auth-code-intro__icon { align-items: center; background: #2f8be8; border-radius: 50%; color: #fff; display: flex; flex: 0 0 auto; height: 48px; justify-content: center; width: 48px; }
.auth-code-intro__icon svg { fill: none; height: 25px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 25px; }
.auth-code-intro h3 { color: #2f145f; font-family: "Balsamiq Sans", sans-serif; font-size: 20px; margin: 0 0 3px; }
.auth-code-intro p { color: #706b7b; font-size: 13px; line-height: 1.4; margin: 0; }
.auth-code { display: grid; gap: 10px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.auth-code input { appearance: none; border: 1.5px solid #d9d5e1; border-radius: 11px; color: #2f145f; font: 800 25px/1 "Rubik", sans-serif; height: 56px; min-width: 0; outline: 0; text-align: center; transition: border-color .18s ease, box-shadow .18s ease; width: 100%; }
.auth-code input:focus { border-color: #6c1be3; box-shadow: 0 0 0 4px rgba(108, 27, 227, .1); }
.auth-code.is-invalid input { border-color: #dc4935; }
.auth-code-actions { align-items: center; display: flex; gap: 16px; justify-content: space-between; margin-top: 14px; }
.auth-code-actions button { background: transparent; border: 0; color: #6c1be3; cursor: pointer; font: 700 12px/1.4 "Rubik", sans-serif; padding: 6px 0; }
.auth-code-actions button:disabled { color: #a19ca9; cursor: default; }
.auth-dialog__safe { align-items: center; border-top: 1px solid #efedf2; color: #777180; display: flex; font-size: 12px; gap: 9px; justify-content: center; line-height: 1.35; margin: 16px 0 0; padding-top: 14px; text-align: center; }
.auth-dialog__safe svg { color: #844af2; fill: none; flex: 0 0 auto; height: 22px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 22px; }

.hero__actions { display: flex; gap: 24px; left: 3.1%; position: absolute; top: 72.5%; }

.button {
  align-items: center;
  border-radius: 15px;
  display: inline-flex;
  font-size: clamp(16px, 1.25vw, 21px);
  font-weight: 750;
  justify-content: center;
  min-height: clamp(58px, 6.8vw, 68px);
  padding: 0 clamp(25px, 2.45vw, 39px);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.button:hover { transform: translateY(-3px); }
.button--primary { background: linear-gradient(135deg, #ff8b00, #f54d0b); box-shadow: 0 8px 16px #db510544; color: white; }
.button--secondary { border: 2px solid #281846; color: #281846; }

.contacts {
  align-items: center;
  backdrop-filter: blur(10px);
  background: #fffaf0c9;
  border: 1px solid #ffffff;
  border-radius: 19px;
  bottom: 6.8%;
  box-shadow: 0 10px 25px #2b16401a;
  display: flex;
  gap: 0;
  left: 3.1%;
  overflow: hidden;
  padding: 7px 10px;
  position: absolute;
}
.contact { align-items: center; color: #281846; display: flex; font-size: min(.88vw, 15px); font-weight: 600; gap: 12px; line-height: 1.35; padding: 0 min(1.25vw, 20px); text-decoration: none; }
.contact + .contact { border-left: 1px solid #29194520; }
.contact b { align-items: center; background: #fff; border-radius: 13px; display: inline-flex; font-weight: 400; height: min(3.15vw, 51px); justify-content: center; width: min(3.15vw, 51px); }
.contact svg { fill: none; height: 50%; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.75; width: 50%; }
.contact:hover span { color: #e84c09; }

.hero > .contacts { display: none; }

.catalogs-placeholder {
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 122, 26, .10), transparent 26%),
    radial-gradient(circle at 93% 26%, rgba(108, 27, 227, .10), transparent 28%),
    linear-gradient(180deg, #fffaf4 0%, #fdfbf8 46%, #fbf7ff 100%);
  isolation: isolate;
  overflow: hidden;
  padding: clamp(26px, 3.4vw, 54px) clamp(12px, 2vw, 28px) clamp(30px, 4vw, 66px);
  position: relative;
  scroll-margin-top: 90px;
}

.catalogs-placeholder__inner {
  display: grid;
  gap: clamp(22px, 3vw, 46px);
  margin: 0 auto;
  max-width: 1086px;
  position: relative;
  z-index: 2;
}

.catalog-panel {
  background: rgba(255, 255, 255, .66);
  border: 1px solid rgba(48, 38, 83, .07);
  border-radius: clamp(18px, 2.2vw, 30px);
  box-shadow: 0 14px 40px rgba(54, 28, 96, .07);
  display: grid;
  gap: clamp(14px, 1.6vw, 24px);
  padding: clamp(16px, 2.1vw, 30px) clamp(14px, 2.1vw, 30px) clamp(18px, 2.3vw, 32px);
  scroll-margin-top: 90px;
}

.catalog-panel__head {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 8px clamp(12px, 2vw, 24px);
  justify-content: space-between;
}

.catalog-panel__title {
  color: #21165b;
  font: 700 clamp(24px, 3.1vw, 44px)/1.02 "Balsamiq Sans", sans-serif;
  letter-spacing: -.04em;
  margin: 0;
}

.catalogs-placeholder__link {
  align-items: center;
  border-radius: 999px;
  color: #6c1be3;
  display: inline-flex;
  flex: none;
  font-family: "Rubik", sans-serif;
  font-size: clamp(12px, 1.35vw, 18px);
  font-weight: 800;
  gap: clamp(4px, .6vw, 10px);
  line-height: 1;
  padding: clamp(5px, .6vw, 8px);
  text-decoration: none;
  transition: background-color .18s ease, transform .18s ease;
  white-space: nowrap;
}

.catalogs-placeholder__link span { font-size: 1.35em; line-height: .7; }
.catalogs-placeholder__link:hover { background: rgba(108, 27, 227, .08); transform: translateX(2px); }
.catalogs-placeholder__link:focus-visible { outline: 3px solid rgba(108, 27, 227, .32); outline-offset: 2px; }

.catalog-strip {
  color: #15163f;
  position: relative;
}

.catalog-strip__viewport {
  cursor: grab;
  height: clamp(250px, 33vw, 372px);
  outline: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  position: relative;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.catalog-strip__viewport::-webkit-scrollbar { display: none; }
.catalog-strip__viewport:focus-visible { outline: 3px solid rgba(108, 27, 227, .24); outline-offset: 2px; }
.catalog-strip__viewport.is-dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; user-select: none; }
.catalog-strip__viewport.is-jumping { scroll-behavior: auto; scroll-snap-type: none; }

.catalog-strip__track {
  display: grid;
  gap: 12px;
  grid-auto-columns: calc((100% - 36px) / 4);
  grid-auto-flow: column;
  grid-template-rows: minmax(0, 1fr);
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.catalog-strip__item {
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.catalog-card {
  background: #fff;
  border: 1px solid rgba(48, 38, 83, .12);
  border-radius: 14px;
  box-shadow: 0 5px 16px rgba(40, 25, 62, .09);
  display: grid;
  grid-template-rows: minmax(0, 55%) minmax(0, 45%);
  height: 100%;
  overflow: hidden;
  position: relative;
  transition: box-shadow .18s ease, transform .18s ease;
}

.catalog-card:hover {
  box-shadow: 0 9px 22px rgba(40, 25, 62, .14);
  transform: translateY(-2px);
}

.catalog-card__media {
  background: linear-gradient(145deg, #fff5e9 0%, #f7efff 58%, #e7fbf6 100%);
  border-bottom: 1px solid rgba(55, 39, 91, .08);
  min-height: 0;
  overflow: hidden;
}

.catalog-card__media:focus-visible { outline: 3px solid rgba(108, 27, 227, .32); outline-offset: -3px; }

.catalog-card__media img {
  display: block;
  height: 100%;
  width: 100%;
}

.catalog-card__media picture {
  display: block;
  height: 100%;
  width: 100%;
}

.catalog-card--character .catalog-card__media img {
  filter: drop-shadow(0 7px 8px rgba(32, 20, 52, .14));
  object-fit: contain;
  object-position: center bottom;
  padding: 8px 7px 0;
}

.catalog-card--show .catalog-card__media img {
  object-fit: cover;
  object-position: center;
}

.catalog-card--show .catalog-card__media--celebration img { object-position: center 88%; }

/* The Squid Game artwork is a transparent cut-out, so it needs the same red
   backdrop the builder and the show catalog give it — on a plain card the
   figures float on white. */
.catalog-strip__item[data-item-id="squid-game-program"] .catalog-card__media,
.catalog-strip__item[data-item-id^="squid-game"] .catalog-card__media {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 108, 100, .95) 0, rgba(255, 108, 100, 0) 35%),
    linear-gradient(145deg, #f33b3f 0%, #cf1f2b 52%, #8f0e1c 100%);
}

.catalog-card__body {
  display: grid;
  gap: 7px;
  grid-template-rows: auto minmax(0, 1fr) auto 36px;
  min-height: 0;
  padding: 11px 12px 11px;
}

.catalog-card__title {
  color: #21165b;
  font: 700 clamp(16px, 1.55vw, 21px)/1.04 "Balsamiq Sans", sans-serif;
  letter-spacing: -.025em;
  margin: 0;
}

.catalog-card__title-link {
  color: inherit;
  text-decoration: none;
}

.catalog-card__details {
  align-items: center;
  align-self: start;
  color: #6c1be3;
  display: inline-flex;
  font-family: "Rubik", sans-serif;
  font-size: clamp(11px, 1.05vw, 13px);
  font-weight: 700;
  justify-self: start;
  /* A 16px-tall link is a hard target with a mouse, and the carousel treats a
     slipped press as a drag; the padding gives the pointer room. */
  min-height: 30px;
  padding: 4px 8px;
  margin-left: -8px;
  border-radius: 9px;
  text-decoration: none;
}

.catalog-card__details:hover,
.catalog-card__details:focus-visible { background: rgba(108, 27, 227, .08); }

.catalog-card__details::after { content: " →"; }
.catalog-card__details:hover, .catalog-card__details:focus-visible { text-decoration: underline; }

.catalog-card__title-link:hover,
.catalog-card__title-link:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .12em;
}

.catalog-card__description {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #4c4963;
  display: -webkit-box;
  font: 500 clamp(12px, 1.02vw, 14px)/1.36 "Rubik", sans-serif;
  margin: 0;
  /* The grid row can be shorter than two lines, and then the clipped third line
     bled over the "Подробнее" link below. */
  max-height: 2.72em;
  min-height: 0;
  overflow: hidden;
}

.catalog-card__order {
  align-items: center;
  background: linear-gradient(105deg, #ff7700, #ff4d0b);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(240, 78, 12, .2);
  color: #fff;
  display: inline-flex;
  font: 750 clamp(12px, 1vw, 14px)/1 "Rubik", sans-serif;
  height: 36px;
  justify-content: center;
  min-height: 36px;
  padding: 7px 10px;
  text-decoration: none;
  transition: box-shadow .18s ease, transform .18s ease;
}

.catalog-card__order:hover { box-shadow: 0 7px 14px rgba(240, 78, 12, .3); transform: translateY(-1px); }
.catalog-card__order:focus-visible { outline: 3px solid rgba(255, 102, 18, .35); outline-offset: 2px; }

.catalog-strip__arrow {
  align-items: center;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, .97);
  border: 1px solid rgba(54, 46, 80, .1);
  border-radius: 50%;
  box-shadow: 0 7px 18px rgba(35, 22, 54, .14);
  color: #25214d;
  cursor: pointer;
  display: flex;
  font: 500 clamp(25px, 2.7vw, 34px)/1 "Rubik", sans-serif;
  height: auto;
  justify-content: center;
  padding: 0 0 .13em;
  position: absolute;
  top: 50%;
  width: clamp(34px, 3.7vw, 44px);
  z-index: 3;
}

.catalog-strip__arrow--prev { left: 0; transform: translate(-50%, -50%); }
.catalog-strip__arrow--next { right: 0; transform: translate(50%, -50%); }
.catalog-strip__arrow:hover:not(:disabled) { background: #fff7ed; color: #ee5d12; }
.catalog-strip__arrow:focus-visible { outline: 3px solid rgba(108, 27, 227, .3); outline-offset: 2px; }
.catalog-strip__arrow:disabled { cursor: default; opacity: .28; }

@media (max-width: 850px) {
  .catalog-strip__viewport { height: clamp(230px, 36vw, 290px); }
  .catalog-strip__track { gap: 8px; grid-auto-columns: calc((100% - 16px) / 3); }
  .catalog-card__body { gap: 4px; grid-template-rows: auto minmax(0, 1fr) auto 30px; padding: 7px 8px 8px; }
  .catalog-card__order { height: 30px; min-height: 30px; }
}

@media (max-width: 600px) {
  .catalogs-placeholder { padding: 24px 12px 32px; }
  .catalogs-placeholder__inner { gap: 22px; }

  .catalog-panel {
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    gap: 14px;
    padding: 0;
  }
  .catalog-panel + .catalog-panel { border-top: 1px solid rgba(48, 38, 83, .12); padding-top: 22px; }

  .catalog-panel__head { display: contents; }
  .catalog-panel__title { font-size: clamp(21px, 6.2vw, 28px); text-align: center; }

  .catalogs-placeholder__link {
    background: rgba(108, 27, 227, .07);
    font-size: clamp(13px, 3.6vw, 16px);
    justify-self: center;
    order: 2;
    padding: 10px 18px;
  }
  .catalogs-placeholder__link:hover { transform: none; }

  .catalog-strip__viewport {
    cursor: auto;
    height: auto;
    overflow-x: visible;
    scroll-snap-type: none;
  }
  .catalog-strip__track {
    gap: 10px;
    grid-auto-columns: auto;
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    height: auto;
  }
  .catalog-strip__item:nth-child(n + 5) { display: none; }
  .catalog-strip__arrow { display: none; }

  .catalog-card {
    border-radius: 13px;
    box-shadow: 0 3px 10px rgba(40, 25, 62, .09);
    grid-template-rows: auto minmax(0, 1fr);
  }
  .catalog-card:hover { box-shadow: 0 3px 10px rgba(40, 25, 62, .09); transform: none; }

  .catalog-card--character .catalog-card__media { aspect-ratio: 1 / 1; }
  .catalog-card--character .catalog-card__media img { padding: 7px 6px 0; }
  .catalog-card--show .catalog-card__media { aspect-ratio: 4 / 3; }

  .catalog-card__media img {
    object-position: var(--mobile-image-x, 50%) var(--mobile-image-y, 50%) !important;
    transform: scale(var(--mobile-image-zoom, 1)) !important;
    transform-origin: var(--mobile-image-x, 50%) var(--mobile-image-y, 50%) !important;
  }
  .catalog-card--character .catalog-card__media img { object-fit: var(--mobile-image-fit, contain) !important; }
  .catalog-card--show .catalog-card__media img { object-fit: var(--mobile-image-fit, cover) !important; }

  .catalog-card__body { gap: 6px; grid-template-rows: minmax(0, 1fr) auto 34px; padding: 9px 10px 10px; }
  .catalog-card__title {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    align-self: center;
    display: -webkit-box;
    font-size: clamp(13px, 3.7vw, 16px);
    overflow: hidden;
    text-align: center;
  }
  .catalog-card__description { display: none; }
  .catalog-card__order { border-radius: 8px; box-shadow: none; font-size: clamp(11px, 3vw, 13px); height: 34px; min-height: 34px; padding: 6px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-card, .catalog-card__order { transition: none; }
  .catalog-strip__viewport { scroll-behavior: auto; }
}

.legacy-lower { background: #fff; color: #1e293b; overflow: hidden; }
.legacy-about-section { margin: 0 auto; max-width: 1440px; padding: 100px 0; }
.legacy-facts__eyebrow { color: #6c1be3; font-family: "Amatic SC", sans-serif; font-size: 40px; font-weight: 700; line-height: 1.1; margin: 0 0 10px; text-align: center; text-transform: uppercase; }
.legacy-facts__title { color: #f26a20; font-family: "Balsamiq Sans", sans-serif; font-size: 60px; font-weight: 400; line-height: 1.1; margin: 0; text-align: center; text-transform: uppercase; }
.legacy-facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 30px; }
.legacy-fact { align-items: center; display: flex; flex-direction: column; gap: 30px; justify-content: flex-start; min-width: 0; }
.legacy-fact img { display: block; height: 250px; object-fit: contain; width: 250px; }
.legacy-fact p { color: #1e293b; font-family: "Balsamiq Sans", sans-serif; font-size: 22px; font-weight: 700; line-height: 1.15; margin: 0; text-align: center; }

.legacy-about { margin-top: 100px; }
.legacy-about__copy { display: flex; flex-direction: column; gap: 20px; max-width: 890px; min-width: 0; }
.legacy-about__copy h3 { color: #6c1be3; font-family: "Amatic SC", sans-serif; font-size: 40px; font-weight: 700; line-height: 1.15; margin: 0; }
.legacy-about__copy > p { color: #1e293b; font-family: "Rubik", sans-serif; font-size: 18px; font-weight: 400; line-height: 1.65; margin: 0; }
.legacy-trust { display: grid; gap: 16px; justify-items: center; margin-top: 26px; text-align: center; }
.legacy-trust h4 { color: #1e293b; font-family: "Balsamiq Sans", sans-serif; font-size: 20px; font-weight: 700; margin: 0; text-transform: uppercase; }
.legacy-trust__logos { align-items: center; display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.legacy-trust__logos img { aspect-ratio: 650 / 300; border: 1px solid #ebebeb; border-radius: 10px; display: block; height: auto; object-fit: contain; padding: 6px 10px; width: clamp(118px, 13vw, 168px); }
.legacy-trust__logos a { display: block; }
.surpriz-site-footer { background: radial-gradient(circle at 14% 10%, rgba(242, 106, 32, .09), transparent 28%), radial-gradient(circle at 88% 12%, rgba(108, 27, 227, .08), transparent 30%), linear-gradient(180deg, #fffaf5 0%, #f7f1ff 100%); box-sizing: border-box; color: #232131; isolation: isolate; margin-top: 28px; overflow: visible; padding: calc(clamp(2rem, 4vw, 3.2rem) + 14px) 0 1rem; position: relative; }
.surpriz-site-footer::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23fffaf5' d='M0 28 C160 58 330 5 520 28 C720 52 910 70 1120 30 C1240 8 1340 22 1440 38 L1440 80 L0 80 Z'/%3E%3Cpath fill='none' stroke='%23eadcfb' stroke-width='3' d='M0 30 C160 60 330 7 520 30 C720 54 910 72 1120 32 C1240 10 1340 24 1440 40'/%3E%3C/svg%3E") center top / 100% 100% no-repeat; content: ""; height: 44px; left: 0; pointer-events: none; position: absolute; right: 0; top: -30px; z-index: 0; }
.surpriz-site-footer *, .surpriz-site-footer *::before, .surpriz-site-footer *::after { box-sizing: border-box; }
.surpriz-site-footer a { color: inherit; text-decoration: none; }
.surpriz-site-footer a:hover, .surpriz-site-footer a:focus { color: #df7634; }
.surpriz-site-footer__inner { display: grid; gap: clamp(1.2rem, 3vw, 2rem); grid-template-columns: minmax(210px, 1.15fr) minmax(150px, .78fr) minmax(150px, .78fr) minmax(190px, .95fr) minmax(210px, 1fr); margin: 0 auto; position: relative; width: min(100% - 32px, 1240px); z-index: 1; }
.surpriz-site-footer__brand, .surpriz-site-footer__section { align-content: start; display: grid; gap: .85rem; min-width: 0; }
.surpriz-site-footer__logo { align-items: center; display: inline-flex; width: fit-content; }
.surpriz-site-footer__logo img { display: block; height: auto; width: 92px; }
.surpriz-site-footer__brand p, .surpriz-site-footer__bottom { color: #66606f; font-family: "Rubik", sans-serif; font-size: .95rem; line-height: 1.55; }
.surpriz-site-footer__brand p { margin: 0; }
.surpriz-site-footer__title { color: #22283a; display: inline-grid; font-family: "Balsamiq Sans", sans-serif; font-size: clamp(1.35rem, 2vw, 1.65rem); gap: .42rem; line-height: 1; margin: 0; width: fit-content; }
.surpriz-site-footer__title::after { background: linear-gradient(90deg, #f26a20 0%, #6c1be3 100%); border-radius: 999px; content: ""; display: block; height: 4px; opacity: .9; width: min(92px, 100%); }
.surpriz-site-footer__links { display: grid; gap: .55rem; list-style: none; margin: 0; padding: 0; }
.surpriz-site-footer__links a, .surpriz-site-footer__contact { align-items: center; color: #272431; display: inline-flex; font-family: "Rubik", sans-serif; font-weight: 800; line-height: 1.2; min-height: 34px; width: fit-content; }
.surpriz-site-footer__contact--phone { color: #272431; font-size: 1.08rem; }
.surpriz-site-footer__actions { display: grid; gap: .7rem; }
.surpriz-site-footer__button { align-items: center; background: #fff; border: 2px solid rgba(108, 27, 227, .16); border-radius: 999px; box-shadow: 0 10px 26px rgba(53, 27, 125, .08); color: #4d2ab3 !important; display: inline-flex; font-family: "Rubik", sans-serif; font-weight: 900; justify-content: center; min-height: 46px; padding: 0 1rem; text-align: center; transition: border-color .2s ease, box-shadow .2s ease, color .2s ease, background-color .2s ease, transform .2s ease; }
.surpriz-site-footer__button:hover, .surpriz-site-footer__button:focus { border-color: rgba(242, 106, 32, .38); color: #df7634 !important; transform: translateY(-1px); }
.surpriz-site-footer__popular { display: grid; gap: .55rem; }
.surpriz-site-footer__popular a { background: rgba(255, 255, 255, .76); border: 1px solid rgba(108, 27, 227, .12); border-radius: 18px; box-shadow: 0 12px 24px rgba(53, 27, 125, .05); display: grid; gap: .15rem; padding: .75rem .85rem; }
.surpriz-site-footer__popular strong { color: #22283a; font-family: "Rubik", sans-serif; font-size: .98rem; font-weight: 900; line-height: 1.2; }
.surpriz-site-footer__popular span { color: #777281; font-family: "Rubik", sans-serif; font-size: .84rem; font-weight: 700; line-height: 1.3; }
.surpriz-site-footer__bottom { border-top: 1px solid rgba(108, 27, 227, .12); display: flex; flex-wrap: wrap; gap: .7rem 1rem; justify-content: space-between; margin: clamp(1.5rem, 3vw, 2rem) auto 0; padding-top: 1rem; position: relative; width: min(100% - 32px, 1240px); z-index: 1; }

.scroll-to-top { align-items: center; background: #f26a20; border-radius: 2px; bottom: 16px; color: #fff; display: flex; font-family: "Rubik", sans-serif; font-size: 27px; font-weight: 700; height: 32px; justify-content: center; line-height: 1; position: fixed; right: 16px; text-decoration: none; width: 32px; z-index: 1200; }
.scroll-to-top:hover { background: #6c1be3; }

@media (max-width: 1440px) {
  .legacy-about-section { padding: 80px 30px; }
  .legacy-facts__title { font-size: 55px; }
  .legacy-trust h4 { font-size: 18px; }
}

@media (max-width: 1200px) {
  .legacy-facts__title { font-size: 50px; }
  .legacy-fact p { font-size: 20px; }
  .legacy-about__copy { padding-right: 50px; }
  .legacy-about__copy h3 { font-size: 35px; }
  .legacy-about__copy > p { font-size: 16px; }
  .legacy-trust h4 { font-size: 16px; }
}

@media (max-width: 1024px) {
  .legacy-facts__eyebrow { font-size: 35px; }
  .legacy-fact img { height: 220px; width: 220px; }
  .legacy-about { margin-top: 50px; }
  .legacy-about__copy { padding-right: 30px; }
  .legacy-trust h4 { font-size: 14px; }
  .surpriz-site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
  .legacy-about-section { padding: 60px 15px; }
  .legacy-facts__title { font-size: 40px; }
  .legacy-facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legacy-fact { gap: 20px; margin-bottom: 20px; }
  .legacy-fact img { height: 200px; width: 200px; }
  .legacy-fact p { font-size: 18px; line-height: 1.5; }
  .legacy-about__copy { padding-right: 0; }
}

@media (max-width: 767px) {
  .legacy-about-section { padding: 40px 15px 60px; }
  .legacy-facts__eyebrow { font-size: 25px; }
  .legacy-facts__title { font-size: 30px; }
  .legacy-facts-grid { margin-top: 0; }
  .legacy-fact { gap: 15px; }
  .legacy-fact img { height: 180px; max-width: 100%; width: 180px; }
  .legacy-fact p { font-size: 16px; }
  .legacy-about { margin-top: 30px; }
  .legacy-about__copy h3 { font-size: 25px; }
  .legacy-about__copy > p { font-size: 14px; }
  .legacy-trust__logos { gap: 12px; }
  .legacy-trust__logos img { width: clamp(104px, 38vw, 150px); }
}

@media (max-width: 640px) {
  .surpriz-site-footer { padding-top: calc(1.5rem + 12px); }
  .surpriz-site-footer__inner { column-gap: 1rem; grid-template-columns: 1fr 1fr; row-gap: 1.4rem; width: calc(100% - 28px); }
  .surpriz-site-footer__brand { grid-column: 1 / -1; }
  .surpriz-site-footer__section[aria-label="Навигация"] { grid-column: 1 / 2; order: 1; }
  .surpriz-site-footer__section[aria-label="Контакты"] { grid-column: 2 / 3; order: 2; }
  .surpriz-site-footer__section[aria-label="Быстрые действия"] { grid-column: 1 / -1; justify-items: center; order: 3; text-align: center; }
  .surpriz-site-footer__section[aria-label="Быстрые действия"] .surpriz-site-footer__title { margin-left: auto; margin-right: auto; }
  .surpriz-site-footer__section[aria-label="Быстрые действия"] .surpriz-site-footer__actions { margin: 0 auto; max-width: 360px; width: 100%; }
  .surpriz-site-footer__brand, .surpriz-site-footer__section { gap: .7rem; }
  .surpriz-site-footer__logo img { width: 78px; }
  .surpriz-site-footer__button { width: 100%; }
  .surpriz-site-footer__bottom { flex-direction: column; gap: .5rem; text-align: center; width: calc(100% - 28px); }
  .surpriz-site-footer__popular, .surpriz-site-footer__section--popular { display: none; }
}

@media (max-width: 850px) {
  .hero { min-height: 0; }
  .hero__background { height: 100%; object-position: center; }
  .header { padding: 12px 24px; }
  .nav { gap: 18px; margin-left: auto; padding: 0; }
  .nav a { font-size: 14px; }
  .header__phone { display: none; }
  .header__register { font-size: 14px; padding: 11px 15px; }
  .hero__actions { top: 66%; }
  .contacts { align-items: flex-start; flex-wrap: wrap; max-width: 440px; }
  .contact { padding: 0 12px; }
}

@media (max-width: 767px) {
  body {
    background: #211331;
    overflow-x: hidden;
    padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  }

  .hero {
    aspect-ratio: 941 / 1672;
    background: #211331;
    max-width: 100%;
    min-height: 0;
    width: 100%;
  }

  .hero__media { overflow: hidden; }
  .hero__background {
    height: auto;
    object-fit: contain;
    object-position: top center;
    transform: none;
    width: 100%;
  }

  .header {
    backdrop-filter: blur(12px);
    background: rgba(255, 252, 247, .94);
    border-bottom: 1px solid rgba(40, 24, 70, .08);
    box-shadow: 0 5px 18px rgba(40, 24, 70, .08);
    left: 0;
    padding: 8px 14px;
    position: fixed;
    right: 0;
    top: 0;
  }

  .brand { gap: 7px; }
  .brand img { width: 46px; }
  .brand span { font-size: 17px; }
  .nav { display: none; }
  .header__utility {
    align-items: center;
    display: flex;
    gap: 0;
    margin-left: auto;
  }

  .header__phone { display: none; }
  .header__register {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 12px;
    height: 44px;
    justify-content: center;
    max-width: 166px;
    padding: 0 15px;
    text-transform: none;
  }

  .header__register [data-auth-label] { font-size: 0; }
  .header__register [data-auth-label]::before { content: "Регистрация"; font-size: 12px; }
  .header__register.is-authenticated [data-auth-label] { font-size: 12px; }
  .header__register.is-authenticated [data-auth-label]::before { content: none; }

  .hero__actions,
  .hero > .contacts { display: none; }

  .mobile-dock {
    align-items: center;
    background: rgba(255, 253, 248, .98);
    border-top: 1px solid rgba(40, 24, 70, .08);
    bottom: 0;
    box-shadow: 0 -7px 22px rgba(35, 20, 55, .12);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    height: calc(76px + env(safe-area-inset-bottom, 0px));
    isolation: isolate;
    left: 0;
    overflow: visible;
    padding: 8px 6px max(8px, env(safe-area-inset-bottom, 0px));
    position: fixed;
    right: 0;
    z-index: 1400;
  }

  .mobile-dock__item,
  .mobile-dock__create {
    align-items: center;
    color: #1f1f1f;
    display: grid;
    font: 650 11px/1.1 "Rubik", sans-serif;
    gap: 4px;
    grid-template-rows: 27px 14px;
    justify-items: center;
    align-content: end;
    min-height: 0;
    min-width: 0;
    padding: 0 2px;
    position: relative;
    text-decoration: none;
    transition: color .16s ease, transform .16s ease;
    z-index: 1;
  }

  .mobile-dock__item:active {
    transform: translateY(1px) scale(.96);
  }

  .mobile-dock__item svg {
    fill: none;
    grid-row: 1;
    height: 27px;
    align-self: end;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 27px;
  }

  .mobile-dock__item > span,
  .mobile-dock__create > span:last-child {
    align-self: start;
    grid-row: 2;
    white-space: nowrap;
  }

  .mobile-dock__item.is-active {
    color: #f2530b;
    font-weight: 800;
  }

  .mobile-dock__item.is-active::after {
    background: currentColor;
    border-radius: 999px;
    bottom: 0;
    content: "";
    height: 2px;
    position: absolute;
    width: 18px;
  }

  .mobile-dock__create {
    color: #1f1f1f;
    font-weight: 800;
  }

  .mobile-dock__fab {
    align-items: center;
    background: linear-gradient(145deg, #ff6a00, #e84600);
    border: 4px solid #fffdf8;
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(226, 70, 0, .28);
    color: #fff;
    display: flex;
    height: 64px;
    justify-content: center;
    left: 50%;
    position: absolute;
    top: -33px;
    transform: translateX(-50%);
    width: 64px;
  }

  .mobile-dock__fab svg {
    fill: none;
    height: 32px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 35px;
  }

  .header__register:focus-visible,
  .mobile-dock a:focus-visible {
    outline: 3px solid #6c1be3;
    outline-offset: 3px;
  }

  .scroll-to-top { display: none; }
}

@media (max-width: 520px) {
  .auth-modal { align-items: flex-end; padding: 0; }
  .auth-dialog { border-bottom-left-radius: 0; border-bottom-right-radius: 0; max-height: calc(100dvh - 16px); padding: 22px 18px 20px; width: 100%; }
  .auth-dialog__close { right: 12px; top: 12px; }
  .auth-dialog__header { gap: 12px; padding-right: 42px; }
  .auth-dialog__header img { height: 58px; width: 64px; }
  .auth-dialog__header h2 { font-size: 27px; }
  .auth-dialog__header p { font-size: 12px; }
  .auth-form__grid { grid-template-columns: 1fr; }
  .auth-form { gap: 15px; margin-top: 16px; }
  .auth-submit { font-size: 15px; min-height: 54px; }
  .auth-code { gap: 6px; }
  .auth-code input { border-radius: 8px; font-size: 20px; height: 48px; }
}

@media (max-width: 340px) {
  .brand span { display: none; }
  .mobile-dock__item,
  .mobile-dock__create { font-size: 10px; }
  .mobile-dock__fab { height: 62px; width: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body,
  body.site-page-ready { animation: none; }
  .header__register,
  .mobile-dock a,
  .nav-menu__chevron,
  .nav-menu__item,
  .nav-menu__footer { scroll-behavior: auto; transition: none; }
  .catalog-card--loading::before { animation: none; }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .header { padding: 12px 2%; }
  .brand { gap: 8px; }
  .brand img { width: 54px; }
  .brand span { font-size: 18px; }
  .nav { gap: 14px; margin-left: 20px; }
  .nav > a,
  .nav-menu__toggle { font-size: 13px; }
  .header__utility { gap: 10px; }
  .header__phone { font-size: 14px; }
  .header__register { font-size: 11px; gap: 6px; padding: 11px 12px; }
  .header__register svg { height: 18px; width: 18px; }
  .nav-menu__panel { width: min(420px, calc(100vw - 28px)); }
}
