:root {
  --bg: #09090b;
  --side: #101013;
  --ink: #16161a;
  --muted: #8d8d96;
  --line: #e6e6ea;
  --gold: #f0b429;
  --gold-2: #ffd36a;
  --wine: #6e1830;
  --paper: #f3f4f6;
  --white: #fff;
  --side-w: 248px;
  --top: 74px;
  --sans: Manrope, "Segoe UI", sans-serif;
  --control: 44px;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  color-scheme: dark;
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  color: #f4efe6;
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(110, 24, 48, 0.45), transparent 34%),
    radial-gradient(ellipse at 0% 80%, rgba(240, 180, 41, 0.16), transparent 36%),
    radial-gradient(ellipse at 100% 0%, rgba(240, 180, 41, 0.12), transparent 32%),
    var(--bg);
}
button, input, select, textarea {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: inherit;
}
button { cursor: pointer; background: none; border: 0; padding: 0; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .logo strong, .side__brand b, .drawer h2, .done h3, .door h3, .stage__sign {
  font-family: var(--display);
  font-weight: 600;
}
a { color: inherit; text-decoration: none; }
::selection { background: #f0b429; color: #1a1204; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: var(--side-w) 1fr auto;
  gap: 18px;
  align-items: center;
  height: var(--top);
  padding: 0 22px 0 18px;
  background: rgba(9, 9, 11, 0.92);
  border-bottom: 1px solid rgba(240, 180, 41, 0.28);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}
.logo { display: flex; align-items: center; gap: 12px; }
.mark {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}
.mark img { width: 100%; height: 100%; }
.mark::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 34%, rgba(255, 248, 220, 0.8) 50%, transparent 66%);
  background-size: 240% 100%;
  background-position: 130% 0;
  animation: gleam 5.6s ease-in-out infinite;
  -webkit-mask: url("logo.svg") center / contain no-repeat;
  mask: url("logo.svg") center / contain no-repeat;
  mix-blend-mode: screen;
}
.goldcard .mark--badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  width: 52px;
  height: 52px;
}
.goldcard .logo-badge { filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.75)); }
.logo strong { display: block; letter-spacing: 0.16em; font-size: 28px; line-height: 0.85; font-weight: 700; }
.logo em { display: block; margin-top: 2px; font-style: normal; color: var(--gold); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 560px;
  height: var(--control);
  padding: 0 16px;
  border-radius: 999px;
  background: #16161a;
  box-shadow: inset 0 0 0 1px rgba(240, 180, 41, 0.45);
}
.search svg, .top__link svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.7; }
.search:focus-within { box-shadow: inset 0 0 0 1px var(--gold), 0 0 0 4px rgba(240, 180, 41, 0.14); }
.search input { width: 100%; height: 100%; background: transparent; border: 0; outline: none; color: #fff; font-size: 14px; font-weight: 700; }
.search input::placeholder { color: #8a8a93; }
.menu-btn { display: none; height: var(--control); padding: 0 12px; border-radius: 999px; background: #16161a; color: #fff; font-weight: 800; }
.top__actions { display: flex; align-items: center; gap: 8px; }
.top__link, .lang, .bag {
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--control);
  padding: 0 12px;
  border-radius: 999px;
  background: #16161a;
  color: #fff;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 600;
}
.lang { font-weight: 800; letter-spacing: 0.06em; }
.bag b {
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #1a1204;
}

.shell { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); min-height: calc(100vh - var(--top)); }
.side {
  position: sticky;
  top: var(--top);
  align-self: start;
  max-height: calc(100vh - var(--top));
  overflow: auto;
  padding: 18px 14px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 12px, rgba(240, 180, 41, 0.045) 12px, rgba(240, 180, 41, 0.045) 13px);
}
.menu { display: grid; gap: 4px; }
.menu button {
  height: var(--control);
  padding: 0 14px;
  border-radius: 12px;
  text-align: left;
  color: #d5d5dc;
  font-weight: 600;
  font-size: 14px;
}
.menu button:hover { background: rgba(255, 255, 255, 0.04); }
.menu button.is-on { background: linear-gradient(90deg, #f6c453, #e39a12); color: #1a1204; }
.side__card, .rail__card {
  padding: 16px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(240, 180, 41, 0.28), transparent 42%),
    #141416;
  box-shadow: inset 0 0 0 1px rgba(240, 180, 41, 0.2);
}
.side__card strong, .rail__card strong { display: block; margin-bottom: 6px; }
.side__card p, .rail__card p, .fine { color: #b9b3a6; font-size: 13px; }
.tgcopy { display: flex; gap: 8px; align-items: center; color: #f4efe6; font-size: 13px; font-weight: 700; }
.tgcopy input { width: 16px; height: 16px; accent-color: #f0b429; }
.side__brand { margin-top: auto; display: grid; grid-template-columns: 46px 1fr; column-gap: 10px; align-items: center; }
.side__brand b { letter-spacing: 0.08em; }
.side__brand small { grid-column: 2; color: var(--muted); }

.stage {
  margin: 14px 14px 14px 0;
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 276px;
  gap: 16px;
  align-items: start;
  min-width: 0;
  border-radius: 28px;
  background: var(--paper);
  color: var(--ink);
  color-scheme: light;
}
.stage__main { min-width: 0; }
.banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  align-items: center;
  gap: 28px;
  min-height: 292px;
  padding: 28px 28px 24px;
  border-radius: 22px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse at 0% 120%, rgba(110, 24, 48, 0.55), transparent 42%),
    linear-gradient(105deg, #120e12 0%, #17130f 58%, #0c0c0e 100%);
}
.banner__copy, .banner__art { position: relative; z-index: 1; min-width: 0; }
.banner__brand { color: var(--gold); font-size: 11px; letter-spacing: 0.16em; font-weight: 700; }
.banner h1 { margin: 10px 0 16px; font-size: clamp(40px, 4.4vw, 60px); line-height: 0.98; font-weight: 600; }
.banner h1 span { color: var(--gold-2); }
.perks { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; color: #efe8dc; font-size: 14px; font-weight: 600; }
.perks li { display: flex; align-items: center; gap: 10px; min-height: 24px; }
.perks li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(240, 180, 41, 0.16); flex: none; }
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--control);
  min-height: var(--control);
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f8c85a, #e79b12);
  color: #1a1204;
  font-weight: 800;
  font-size: 14px;
}
.pill, .menu button, .chips button, .rail button { position: relative; overflow: hidden; }
.pill::after, .menu button.is-on::after, .chips button.is-on::after, .rail button.is-on::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.42) 50%, transparent 72%);
  transform: translateX(-130%);
}
.pill:hover::after, .menu button.is-on:hover::after, .chips button.is-on:hover::after, .rail button.is-on:hover::after {
  transform: translateX(130%);
  transition: transform 0.65s ease;
}
.pill--ghost { background: transparent; color: var(--gold-2); box-shadow: inset 0 0 0 1px rgba(240, 180, 41, 0.5); }
.banner__art { display: grid; place-items: center; }
.showcase { width: min(300px, 100%); animation: rise 6.5s ease-in-out infinite; }
.showcase__card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 214, 120, 0.42), transparent 34%),
    linear-gradient(165deg, #322616 0%, #16130f 58%, #3d1730 130%);
  box-shadow: 0 0 0 1px rgba(240, 180, 41, 0.5), 0 18px 36px rgba(0, 0, 0, 0.38);
}
.showcase__card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 248, 220, 0.2) 48%, transparent 64%);
  transform: translateX(-130%);
  animation: sheen 6s ease-in-out infinite;
}
.showcase__top, .showcase__title, .showcase__marks { position: relative; z-index: 1; }
.showcase__top { display: flex; align-items: center; gap: 12px; }
.showcase__top img { width: 46px; height: 46px; }
.showcase__top b { display: block; letter-spacing: 0.14em; font-size: 20px; line-height: 1; }
.showcase__top span { display: block; margin-top: 3px; color: var(--gold-2); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.showcase__title { margin: 16px 0 14px; font-family: var(--display); font-size: 36px; line-height: 0.95; font-weight: 600; }
.showcase__marks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 0; list-style: none; }
.showcase__marks li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 6px 8px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
}
.showcase__marks img { width: 32px; height: 32px; border-radius: 50%; flex: none; }
.showcase__marks span { font-size: 12px; font-weight: 800; line-height: 1.15; }
.door .mark { width: 56px; height: 56px; }
.door img { width: 56px; height: 56px; }
.door__lead { color: #4d4d55; max-width: 36ch; }
.door__link { color: #8d5e10; font-weight: 700; font-size: 14px; }
.top__link.is-in { box-shadow: inset 0 0 0 1px rgba(240, 180, 41, 0.65); }
.dots { display: flex; gap: 6px; margin-top: 16px; }
.dots button { width: 7px; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, 0.35); }
.dots button.is-on { width: 18px; background: var(--gold); }

.filters, .results, .faq { margin-top: 18px; }
.frow { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 10px; align-items: center; margin-bottom: 12px; }
.frow p { color: #6f6f78; font-size: 13px; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button, .rail button {
  height: var(--control);
  min-height: var(--control);
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  color: #3a3a42;
  box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 700;
  font-size: 14px;
}
.chips button.is-on { background: linear-gradient(90deg, #f8c85a, #e79b12); color: #1a1204; box-shadow: none; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 8px; align-items: end; }
.fields label, .door label { display: grid; gap: 6px; color: #6f6f78; font-size: 12px; font-weight: 700; }
.fields span { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fields input, .fields select, .door input {
  height: var(--control);
  width: 100%;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.apply { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.apply p, .stage__foot span, .results__bar p { color: var(--muted); font-size: 13px; }

.results__bar { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.results__bar h2, .faq h2, .rail h2 { font-size: 34px; line-height: 0.95; font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 16, 12, 0.05);
  overflow: hidden;
  text-align: left;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(20, 16, 12, 0.12), inset 0 0 0 1px rgba(212, 160, 48, 0.55);
}
.plate { position: relative; height: 168px; display: grid; place-items: center; color: #f0b429; background: radial-gradient(circle at 50% 20%, rgba(240, 180, 41, 0.18), transparent 55%), #14120f; }
.plate--photo img.avatar {
  position: relative;
  z-index: 1;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px #f0b429, 0 12px 28px rgba(0, 0, 0, 0.45);
}
.dossier .plate--photo img.avatar { width: 196px; height: 196px; }
.plate__num { position: absolute; left: 10px; top: 10px; z-index: 1; color: #f0d78c; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; }
.plate__stock { position: absolute; right: 10px; top: 10px; z-index: 1; padding: 3px 8px; border-radius: 999px; background: var(--gold); color: #1a1204; font-size: 11px; font-weight: 800; }
.motif { width: 92px; height: auto; }
.card__body { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.card__meta { display: flex; justify-content: space-between; gap: 8px; color: #8a8a93; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.card h3, .results__bar h2, .faq h2, .rail h2, .faq summary { font-family: var(--sans); }
.card h3 {
  font-size: 18px;
  line-height: 1.05;
  font-weight: 600;
  min-height: 2.1em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.card__meta span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; }
.card__row span { display: inline-flex; gap: 6px; align-items: center; }
.card__row b { font-size: 16px; }
.add, .heart {
  height: var(--control);
  min-height: var(--control);
  padding: 0 14px;
  border-radius: 999px;
  background: #1a1204;
  color: var(--gold-2);
  font-size: 14px;
  font-weight: 800;
}
.heart { width: var(--control); padding: 0; background: #f3f4f6; color: #1a1204; flex: 0 0 auto; }
.heart.is-on { background: var(--gold); }
.empty { padding: 28px 0; font-size: 18px; font-weight: 700; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.facts span {
  padding: 3px 7px;
  border-radius: 999px;
  background: #f6f1e6;
  color: #3a342c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.pager { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.pager[hidden] { display: none; }
.pager button[disabled] { opacity: 0.45; }
.sheet-wrap { overflow-x: auto; }
.sheet { width: 100%; min-width: 640px; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; }
.sheet th, .sheet td { padding: 12px; text-align: left; border-bottom: 1px solid var(--line); }
.sheet th { color: #8a8a93; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.sheet tr { cursor: pointer; }
.sheet tr.is-active td { background: #fff7e4; }

.faq details { background: #fff; border-radius: 14px; padding: 12px 14px; margin-top: 8px; }
.faq summary { cursor: pointer; font-weight: 800; }
.faq p { margin-top: 8px; color: #4d4d55; }

.stage__foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 12px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #e4e4e8;
}
.stage__foot b { display: block; }
.stage__sign { text-align: right; font-weight: 800; letter-spacing: 0.08em; }
.legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.legal a { font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.doc { max-width: 760px; margin: 24px auto; padding: 28px 24px 36px; background: #fff; color: #1a1a1a; border-radius: 20px; }
.doc h1 { font-family: var(--sans); font-size: 34px; line-height: 1.05; }
.doc h2 { font-family: var(--sans); font-size: 18px; margin-top: 22px; }
.doc p, .doc li { font-size: 16px; line-height: 1.5; margin-top: 10px; }
.doc a { text-decoration: underline; text-underline-offset: 3px; }
.doc ul { padding-left: 18px; }

.rail h2 { margin-bottom: 10px; }
.rail {
  position: sticky;
  top: 16px;
  align-self: start;
  display: grid;
  align-content: start;
  gap: 8px;
}
.rail button {
  width: 100%;
  height: var(--control);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  text-align: left;
}
.rail-group { display: grid; gap: 6px; }
.rail-group > button { font-weight: 800; }
.rail-sub { display: grid; gap: 6px; padding-left: 10px; }
.rail-sub button { padding: 8px 10px; }
.rail button small { display: block; color: #8a8a93; font-weight: 700; }
.rail button.is-on { background: linear-gradient(90deg, #f8c85a, #e79b12); color: #1a1204; }
.rail button.is-on small { color: #5c4310; }
.rail__card { margin-top: 8px; color: #f4efe6; }

.scrim { position: fixed; inset: 0; z-index: 32; background: rgba(0, 0, 0, 0.55); }
.drawer {
  position: fixed;
  z-index: 50;
  top: 0; right: 0; bottom: 0;
  width: min(400px, 100%);
  display: flex;
  flex-direction: column;
  background: #121216;
  color: #f4efe6;
}
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 18px; }
.drawer footer { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 18px; }
.splitline { display: flex; justify-content: space-between; gap: 12px; color: #b9b3a6; font-size: 14px; }
.splitline b { color: #f4efe6; }
.splitline--total { color: #f4efe6; font-size: 16px; }
.orders { display: grid; gap: 12px; }
.orders h2 { font-size: 40px; line-height: 0.95; }
.order {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(22, 22, 26, 0.08);
}
.order header, .bill div { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.order header b { font-size: 18px; }
.tag {
  padding: 3px 8px;
  border-radius: 999px;
  background: #1a1204;
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 800;
}
.bill { display: grid; gap: 4px; color: #4d4d55; font-size: 14px; }
.bill b { color: var(--ink); }
.order li { display: grid; gap: 4px; min-width: 0; }
.order li b, .line b { overflow-wrap: anywhere; }
.access { display: grid; gap: 6px; }
.order code, .access code {
  display: block;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  padding: 8px 10px;
  border-radius: 10px;
  background: #14120f;
  color: #ffd36a;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0;
}
.order ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.order__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.order .pill--ghost { color: #8d5e10; }
.order__link { color: #8d5e10; font-weight: 800; }
.order .pill { justify-self: start; }
.drawer footer .pill { width: 100%; }
.card__price { display: grid; gap: 2px; }
.card__fee { color: #8a8a93; font-size: 12px; font-weight: 700; }
.drawer h2 { font-size: 28px; }
.lines { flex: 1; overflow: auto; padding: 0 18px 18px; display: grid; align-content: start; gap: 12px; }
.line { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
.line b { display: block; }
.line span, .qty span { color: #b9b3a6; font-size: 12px; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button { width: 26px; height: 26px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(240,180,41,.4); color: var(--gold-2); }
.done { padding: 24px 18px; }
.done h3 { font-size: 32px; margin-bottom: 8px; }
dialog { border: 0; border-radius: 22px; padding: 0; color: var(--ink); background: #fff; color-scheme: light; width: min(860px, calc(100% - 28px)); max-height: calc(100vh - 28px); overflow: auto; }
dialog#keep { width: min(460px, calc(100% - 28px)); }
dialog::backdrop { background: rgba(0,0,0,.62); }
.dossier { display: grid; grid-template-columns: 0.8fr 1.2fr; }
.dossier .plate { height: 100%; min-height: 320px; }
.dossier__body { padding: 22px; display: grid; align-content: center; gap: 10px; }
.dossier h3 { font-size: 42px; line-height: 0.92; font-weight: 600; }
.meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.meta dt { color: #8a8a93; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.meta dd { margin: 2px 0 0; font-weight: 700; }
.x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 10px; background: #f3f4f6; font-size: 20px; }
.door { padding: 22px; display: grid; gap: 10px; }
.door h3 { font-size: 28px; }
.toast {
  position: fixed; z-index: 50; left: 50%; bottom: 18px;
  transform: translateX(-50%) translateY(8px);
  padding: 10px 14px; border-radius: 999px;
  background: #1a1204; color: var(--gold-2); font-weight: 800; font-size: 13px;
  opacity: 0; pointer-events: none; transition: 0.25s ease;
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
.noscript { padding: 24px; }
[hidden] { display: none !important; }

@media (max-width: 1180px) {
  .fields { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .banner { grid-template-columns: minmax(0, 1fr) 250px; gap: 18px; padding: 22px; }
}

@media (max-width: 860px) {
  :root { --top: 118px; }
  .top {
    height: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "menu logo actions"
      "search search search";
    gap: 10px;
    padding: 10px 12px;
  }
  .menu-btn {
    grid-area: menu;
    display: grid;
    place-items: center;
    width: var(--control);
    height: var(--control);
    padding: 0;
    font-size: 0;
  }
  .menu-btn::before { content: ""; width: 16px; height: 2px; background: #fff; box-shadow: 0 -5px 0 #fff, 0 5px 0 #fff; }
  .logo { grid-area: logo; min-width: 0; }
  .logo strong { font-size: 22px; letter-spacing: 0.04em; }
  .logo em { display: none; }
  .logo .mark { width: 40px; height: 40px; }
  .search { grid-area: search; display: flex; max-width: none; width: 100%; }
  .top__actions { grid-area: actions; }
  .top__link span, .lang { display: none; }
  .top__link.is-in { width: auto; max-width: 108px; padding: 0 8px; }
  .top__link.is-in span { display: block; font-size: 11px; line-height: 1.1; overflow: hidden; }
  .top__link { width: var(--control); height: var(--control); justify-content: center; padding: 0; }
  .bag { height: var(--control); padding: 0 10px; }
  .shell { grid-template-columns: 1fr; }
  .side {
    display: none;
    position: fixed;
    z-index: 36;
    top: var(--top);
    left: 0;
    bottom: 0;
    width: min(320px, 88vw);
    max-height: none;
    background: #101013;
    box-shadow: 16px 0 40px rgba(0, 0, 0, 0.45);
  }
  .side.is-open { display: flex; }
  .stage { margin: 8px; padding: 12px; border-radius: 20px; grid-template-columns: 1fr; }
  .banner { grid-template-columns: 1fr; min-height: 0; padding: 20px 16px 18px; gap: 18px; }
  .banner h1 { font-size: 44px; }
  .showcase { width: min(320px, 100%); margin-inline: auto; }
  .frow { grid-template-columns: 1fr; align-items: start; gap: 6px; }
  .chips { flex-wrap: wrap; }
  .fields, .stage__foot, .dossier, .meta { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card h3 { font-size: 18px; }
  .card__row { flex-wrap: wrap; align-items: center; }
  .add { white-space: nowrap; }
  .plate { height: 132px; }
  .plate--photo img.avatar { width: 84px; height: 84px; }
  .dossier h3 { font-size: 32px; overflow-wrap: anywhere; }
  .dossier .plate { height: 180px; min-height: 0; }
  .dossier .plate--photo img.avatar { width: 112px; height: 112px; }
  .search input, select, .fields input { font-size: 16px; }
  .orders h2 { font-size: 32px; }
  .banner h1 { font-size: 40px; }
  .drawer { padding-bottom: env(safe-area-inset-bottom); }
  .top { padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); }
  .rail { position: static; }
  .rail__card { display: none; }
  #rail { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .results__bar { flex-direction: column; align-items: flex-start; gap: 4px; }
  .stage__sign { text-align: left; }
  .line { grid-template-columns: 1fr auto; }
  .line em { grid-column: 2; }
  .toast { bottom: calc(16px + env(safe-area-inset-bottom)); max-width: calc(100% - 24px); text-align: center; }
}
@keyframes gleam {
  0%, 58% { background-position: 140% 0; }
  82%, 100% { background-position: -50% 0; }
}
@keyframes rise {
  50% { transform: translateY(-6px); }
}
@keyframes sheen {
  0%, 42% { transform: translateX(-130%); }
  72%, 100% { transform: translateX(130%); }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
  .stage { margin: 0; border-radius: 0; }
  .banner h1 { font-size: 34px; }
  .bag { font-size: 0; gap: 0; }
  .bag b { font-size: 13px; }
  #rail { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mark::after, .showcase, .showcase__card::after { animation: none; }
  .card, .pill::after { transition: none; }
}
