:root {
  --accent-100: #eccdff;
  --accent-200: #cf9bfb;
  --accent-300: #ab5cf5;
  --accent-400: #8a2be2;
  --accent-500: #6d1bc0;
  --accent-600: #4f1195;

  --glow: 171, 92, 245;
  --on-accent: #16052a;
  --neon-core: #f6ecff;

  --bg: #0e0d13;
  --bg-2: #121019;
  --bg-blur: rgba(14, 13, 19, .9);
  --menu-bg: #17151f;
  --panel: #15131c;
  --panel-2: #1b1924;
  --well: #100e16;
  --field: #0f0d15;

  --text: #ecebf2;
  --text-dim: rgba(236, 235, 242, .42);
  --muted: #a19db0;
  --faint: #6f6b80;

  --line: rgba(226, 220, 245, .085);
  --line-2: rgba(226, 220, 245, .05);
  --tint: rgba(255, 255, 255, .02);
  --hover: rgba(226, 220, 245, .05);
  --star-off: rgba(226, 220, 245, .16);
  --star: #f4b740;

  --ok: #5fbf95;
  --ok-rgb: 95, 191, 149;
  --bad: #ef6183;
  --bad-rgb: 239, 97, 131;

  --display: "Bahnschrift", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", monospace;

  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23a19db0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  --sw-default: #ab5cf5;
  --sw-default-bg: #0e0d13;
  --sw-autumn: #e2843f;
  --sw-autumn-bg: #2a170c;
  --sw-halloween: #ff8a1f;
  --sw-halloween-bg: #1b0f24;
  --sw-christmas: #f0525a;
  --sw-christmas-2: #2ea062;
  --sw-christmas-3: #f2c45c;

  --wrap: 1200px;
  --gut: 24px;
  --r: 8px;
  --r-sm: 6px;
  --stick: 86px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--stick); }

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main { flex: 1 0 auto; }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.15; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; }

[hidden] { display: none !important; }

::selection { background: rgba(var(--glow), .3); }
:focus-visible { outline: 2px solid var(--accent-300); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

.sr {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 16px; top: -70px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--accent-300);
  color: var(--on-accent);
  font-size: 13px;
  font-weight: 600;
  transition: top .2s ease;
}
.skip:focus { top: 14px; }

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, var(--bg-2) 0, var(--bg) 520px);
}
.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.3'/%3E%3C/svg%3E");
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 18px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: var(--accent-300);
  color: var(--on-accent);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--accent-200); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn:disabled:hover { background: var(--accent-300); }

.btn--ghost { background: var(--panel-2); color: var(--text); border-color: var(--line); }
.btn--ghost:hover, .btn--ghost:disabled:hover { background: var(--panel-2); border-color: rgba(var(--glow), .45); }

.btn--quiet {
  min-height: 34px;
  padding: 6px 12px;
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
  font-size: 13px;
  font-weight: 500;
}
.btn--quiet:hover, .btn--quiet:disabled:hover { background: var(--hover); color: var(--text); }

.btn--danger { color: var(--bad); }
.btn--danger:hover { background: rgba(var(--bad-rgb), .1); border-color: rgba(var(--bad-rgb), .35); color: var(--bad); }

.btn--block { width: 100%; }

.btn--alarm { background: var(--bad); color: #fff; }
.btn--alarm:hover { background: #ff7d99; }
.btn--alarm:disabled:hover { background: var(--bad); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg-blur);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.topbar.is-stuck { box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .9); }
.topbar__in { display: flex; align-items: center; gap: 26px; height: 62px; }

.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo__tile {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 9px;
  color: var(--on-accent);
  background: linear-gradient(150deg, var(--accent-200), var(--accent-400) 60%, var(--accent-500));
}
.logo__tile svg { width: 19px; height: 19px; fill: currentColor; }
.logo__word {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}
.logo__word b { font-weight: 700; color: var(--accent-300); }

.menu { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; }

.drop { position: relative; }
.drop__btn, .menu__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color .15s ease, background .15s ease;
}
.drop__btn:hover, .menu__link:hover, .drop.is-open .drop__btn { color: var(--text); background: var(--hover); }
.drop__btn svg {
  width: 11px; height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}
.drop.is-open .drop__btn svg { transform: rotate(180deg); }

.drop__panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 70;
  min-width: 250px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--menu-bg);
  box-shadow: 0 18px 44px -16px rgba(0, 0, 0, .85);
}
.drop__panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  font-size: 14px;
  color: var(--muted);
}
.drop__panel a:hover, .drop__panel a.is-current { color: var(--text); background: var(--hover); }
.drop__all { font-weight: 600; color: var(--text) !important; }
.drop__list:not(:empty) { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--line-2); }
.drop__n { min-width: 22px; text-align: right; font-family: var(--mono); font-size: 11.5px; color: var(--faint); }

.find { position: relative; flex: 0 1 300px; margin-left: auto; }
.find svg {
  position: absolute;
  left: 11px; top: 50%;
  width: 15px; height: 15px;
  translate: 0 -50%;
  fill: none;
  stroke: var(--faint);
  stroke-width: 1.6;
  stroke-linecap: round;
  pointer-events: none;
}
.find input[type="search"] {
  height: 36px;
  padding: 0 12px 0 34px;
  font-size: 13.5px;
}

.lang {
  display: flex;
  flex: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.lang button {
  height: 34px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.lang button + button { border-left: 1px solid var(--line); }
.lang button:hover { color: var(--text); }
.lang button.is-on { background: var(--hover); color: var(--text); }

.menu__cta {
  display: inline-flex;
  align-items: center;
  flex: none;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--panel-2);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color .15s ease;
}
.menu__cta:hover { border-color: rgba(var(--glow), .5); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px; height: 38px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: transparent;
  cursor: pointer;
}
.burger span[aria-hidden] {
  display: block;
  width: 17px; height: 1.5px;
  margin-inline: auto;
  background: var(--text);
  transition: transform .22s ease;
}
.burger.is-open span[aria-hidden]:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger.is-open span[aria-hidden]:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-2);
  background: radial-gradient(55% 130% at 88% 0%, rgba(var(--glow), .1), transparent 62%);
}
.hero__in {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 310px;
  padding-block: 64px 58px;
}
.hero h1 {
  max-width: 15ch;
  font-size: clamp(36px, 5.4vw, 60px);
  letter-spacing: -.01em;
  line-height: 1.02;
}
.hero__sub { max-width: 46ch; margin-top: 16px; font-size: 16.5px; color: var(--muted); }
.hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }

.quick { display: flex; flex-wrap: wrap; gap: 8px; }
.quick a {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 14px;
  color: var(--muted);
  transition: color .15s ease, border-color .15s ease;
}
.quick a:hover { color: var(--text); border-color: rgba(var(--glow), .45); }

.tool {
  position: absolute;
  top: 50%;
  right: max(var(--gut), calc((100vw - var(--wrap)) / 2 + 30px));
  width: 260px; height: 260px;
  translate: 0 -50%;
  rotate: -12deg;
  fill: rgba(var(--glow), .045);
  stroke: rgba(var(--glow), .3);
  stroke-width: .1;
  pointer-events: none;
}

.neon {
  position: relative;
  display: inline-block;
  color: var(--neon-core);
  text-shadow:
    0 0 14px rgba(var(--glow), .45),
    0 0 36px rgba(var(--glow), .22);
}

.sec { padding: 40px 0; }
.sec + .sec { padding-top: 8px; }
.sec--last { padding-bottom: 72px; }
.sec--page { padding: 28px 0 72px; }

.sec__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}
h2 { font-size: 21px; font-weight: 600; }
.sec__link { font-size: 13.5px; color: var(--muted); white-space: nowrap; transition: color .15s ease; }
.sec__link::after { content: " →"; }
.sec__link:hover { color: var(--accent-200); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.cards > li { display: flex; min-width: 0; }
.cards--row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards--lib { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.cards__empty { grid-column: 1 / -1; }
.lead + .cards { margin-top: 16px; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  color: inherit;
  transition: border-color .2s ease, background .2s ease;
}
.card:hover { border-color: rgba(var(--glow), .42); background: var(--panel-2); }

.card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: calc(var(--r) - 1px) calc(var(--r) - 1px) 0 0;
  background: var(--well);
}
.card__media img, .spot__media img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.card:hover .card__media img, .spot:hover .spot__media img { transform: scale(1.035); }

.card__flag {
  position: absolute;
  top: 10px; left: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--accent-300);
  color: var(--on-accent);
  font-size: 12px;
  font-weight: 700;
}

.card__body { display: flex; flex-direction: column; flex: 1; padding: 12px 14px 14px; }
.card__cat { font-size: 12px; color: var(--faint); }
.card__name {
  margin-top: 2px;
  overflow: hidden;
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
}
.card .price { font-size: 15px; }
.card .price__cut { display: none; }
.card__soon { font-size: 13px; color: var(--muted); }

.ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(60% 80% at 50% 50%, rgba(var(--glow), .09), transparent 70%),
    repeating-linear-gradient(135deg, rgba(var(--glow), .05) 0 1px, transparent 1px 11px),
    var(--well);
}
.ph svg { width: 20%; max-width: 64px; height: auto; fill: rgba(var(--glow), .32); }

.price { font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.price.is-sale { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.price__old { color: var(--faint); font-size: .82em; font-weight: 500; text-decoration-thickness: 1px; }
.price__new { color: var(--accent-200); }
.price__cut {
  padding: 1px 7px;
  border-radius: 4px;
  background: rgba(var(--glow), .16);
  color: var(--accent-100);
  font-size: 11.5px;
  font-weight: 700;
}
.price--big { font-size: 26px; line-height: 1.1; }
.price__until { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }

.rating { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--faint); }
.stars { display: inline-flex; gap: 1px; }
.star { color: var(--star-off); font-size: 13px; line-height: 1; }
.star.is-on { color: var(--star); }

.state { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.state::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--faint);
}
.state.is-live { color: var(--ok); }
.state.is-live::before { background: var(--ok); box-shadow: 0 0 0 3px rgba(var(--ok-rgb), .16); }

.spot { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.spot__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: calc(var(--r) - 1px) 0 0 calc(var(--r) - 1px);
  background: var(--well);
}
.spot__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px 28px;
  border-left: 1px solid var(--line-2);
}
.spot__cat { font-size: 13px; font-weight: 600; color: var(--accent-200); }
.spot__name { margin-top: 6px; font-size: clamp(24px, 2.6vw, 32px); overflow-wrap: anywhere; }
.spot__sum {
  display: -webkit-box;
  margin-top: 10px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: var(--muted);
  font-size: 15px;
}
.spot__facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--faint);
}
.spot__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
  padding-top: 22px;
}
.spot:hover .spot__foot .btn { background: var(--accent-200); }
.spot .price--big { font-size: 26px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 112px;
  padding: 16px 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  transition: border-color .2s ease;
}
.tile::before {
  content: "→";
  position: absolute;
  top: 12px; right: 16px;
  z-index: 1;
  color: var(--faint);
  transition: color .2s ease, translate .2s ease;
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--panel) 15%, transparent 90%);
}
.tile__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .2;
  transition: opacity .3s ease, transform .4s ease;
}
.tile__name, .tile__n { position: relative; z-index: 1; }
.tile__name { font-family: var(--display); font-size: 19px; font-weight: 700; }
.tile__n { margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.tile:hover { border-color: rgba(var(--glow), .42); }
.tile:hover::before { color: var(--accent-200); translate: 3px 0; }
.tile:hover .tile__img { opacity: .3; transform: scale(1.04); }

.band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-300);
  border-radius: var(--r);
  background: var(--panel);
}
.band h2 { font-size: 21px; }
.band p { margin-top: 5px; font-size: 14.5px; color: var(--muted); }

.empty {
  padding: 40px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--r);
  color: var(--faint);
  font-size: 14.5px;
  text-align: center;
}

.pagehead { margin-bottom: 22px; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--faint);
}
.crumbs a { transition: color .15s ease; }
.crumbs a:hover { color: var(--text); }
.page-title { font-size: clamp(28px, 3.6vw, 36px); }

.market { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; }
.market__side { position: sticky; top: var(--stick); }
.side__title {
  margin-bottom: 8px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--faint);
}
.side__nav { display: flex; flex-direction: column; gap: 2px; }
.side__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.side__link:hover { background: var(--hover); color: var(--text); }
.side__link.is-on { background: rgba(var(--glow), .12); color: var(--text); box-shadow: inset 2px 0 0 var(--accent-300); }
.side__n { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  min-height: 49px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-2);
}
.toolbar__count { font-size: 14px; color: var(--muted); }
.toolbar__query {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-2);
  color: var(--text);
  font-size: 12.5px;
  cursor: pointer;
}
.toolbar__query::after { content: "✕"; font-size: 10px; color: var(--faint); }
.toolbar__query:hover { border-color: rgba(var(--bad-rgb), .4); }
.toolbar__query:hover::after { color: var(--bad); }
.toolbar__sort { display: flex; align-items: center; gap: 10px; margin-left: auto; font-size: 13px; color: var(--faint); }
.toolbar__sort select { width: auto; height: 34px; padding-block: 0; font-size: 13.5px; }
.market .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.product__head { margin-bottom: 22px; }
.product__cat { font-size: 13px; font-weight: 600; color: var(--faint); }
.product__cat a { color: var(--accent-200); transition: color .15s ease; }
.product__cat a:hover { color: var(--accent-100); }
.product__name { margin-top: 4px; font-size: clamp(28px, 3.8vw, 40px); overflow-wrap: anywhere; }
.product__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--muted);
}
.product__rate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 13.5px;
  cursor: pointer;
}
.product__rate:hover { color: var(--text); }
.product__rate .star { font-size: 14px; }
.product__ver { font-family: var(--mono); font-size: 12.5px; color: var(--faint); }

.product__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }

.shot {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--well);
}
.shot img { width: 100%; height: 100%; object-fit: contain; }
.shot .ph svg { max-width: 84px; }

.strip { display: flex; gap: 8px; margin-top: 10px; padding-bottom: 4px; overflow-x: auto; }
.strip__btn {
  display: block;
  width: 104px;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--well);
  cursor: pointer;
  opacity: .55;
  transition: opacity .2s ease, border-color .2s ease;
}
.strip__btn img { display: block; width: 100%; height: 100%; object-fit: cover; }
.strip__btn:hover { opacity: .85; }
.strip__btn.is-active { opacity: 1; border-color: var(--accent-300); }

.ptabs { display: flex; gap: 4px; margin-top: 28px; border-bottom: 1px solid var(--line); }
.ptabs button {
  position: relative;
  padding: 12px 14px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: color .15s ease;
}
.ptabs button:hover { color: var(--text); }
.ptabs button[aria-selected="true"] { color: var(--text); }
.ptabs button[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-300);
}
.ptabs__n {
  margin-left: 4px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--panel-2);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 400;
}
.ptabs__n:empty { display: none; }
.ptab { padding-top: 22px; }
.ptab__empty { color: var(--faint); }

.prose p { color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.prose p + p { margin-top: 12px; }
.prose + .feats, .ptab__empty + .feats { margin-top: 26px; }
.feats h2 { margin-bottom: 14px; font-size: 18px; }

.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.points li { position: relative; padding-left: 26px; color: var(--muted); font-size: 15px; }
.points li::before {
  content: "";
  position: absolute;
  left: 2px; top: .3em;
  width: 6px; height: 11px;
  border-right: 2px solid var(--accent-300);
  border-bottom: 2px solid var(--accent-300);
  rotate: 45deg;
}

.buybox {
  position: sticky;
  top: var(--stick);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
}
.buybox__price .price--big { font-size: 30px; }
.pay { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.pay .btn { width: 100%; }
.pay .btn.is-gated:disabled { opacity: .45; }
.buybox .note:empty { display: none; }

.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.consent input { flex: none; width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--accent-300); cursor: pointer; }
.consent a { color: var(--accent-200); text-decoration: underline; text-underline-offset: 2px; }

.specs {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 16px;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
}
.specs dt { align-self: center; font-size: 13px; color: var(--faint); }
.specs dd { margin: 0; font-size: 13.5px; text-align: right; overflow-wrap: anywhere; }
.specs:empty { display: none; }

.reviews__head { margin-bottom: 8px; }
.reviews__score { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.reviews__score .star { font-size: 18px; }
.reviews__policy { margin-bottom: 18px; font-size: 12.5px; color: var(--faint); }
.reviews__gate {
  padding: 14px 16px;
  border: 1px dashed var(--line);
  border-radius: var(--r);
  font-size: 14px;
  color: var(--faint);
}
.reviews__gate.is-locked { border-style: solid; border-color: rgba(var(--ok-rgb), .3); color: var(--muted); }

.review-form {
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
}
.review-form__title { font-size: 14px; font-weight: 600; }
.review-form__warn { margin-top: 8px; font-size: 12.5px; color: var(--accent-200); }
.review-form__acts { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.rate { display: flex; gap: 2px; margin: 10px 0 12px; }
.rate .star {
  padding: 0 2px;
  border: 0;
  background: transparent;
  font-size: 26px;
  cursor: pointer;
  transition: color .15s ease, transform .15s ease;
}
.rate .star:hover { transform: scale(1.12); color: var(--star); }

.review-list { display: flex; flex-direction: column; margin-top: 8px; }
.review { padding: 16px 0; border-top: 1px solid var(--line-2); }
.review__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.review__who { font-size: 14px; font-weight: 600; }
.review__date { font-size: 12px; color: var(--faint); }
.review__tag {
  padding: 1px 7px;
  border-radius: 4px;
  background: rgba(var(--glow), .14);
  color: var(--accent-100);
  font-size: 11px;
  font-weight: 600;
}
.review__kill {
  margin-left: auto;
  padding: 2px 7px;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--faint);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.review__kill:hover { color: var(--bad); }
.review__text { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.review__text + .review__text { margin-top: 6px; }

.panel {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
}
.panel + .panel { margin-top: 16px; }
.panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  margin-bottom: 16px;
}
.panel__head h2 { font-size: 18px; }
.panel__hint { font-size: 13px; color: var(--faint); }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 500; color: var(--muted); }

input[type="email"], input[type="password"], input[type="text"], input[type="number"], input[type="date"], input[type="search"], select, textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--field);
  color: var(--text);
  font-size: 14.5px;
  color-scheme: dark;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: rgba(var(--glow), .6);
  box-shadow: 0 0 0 3px rgba(var(--glow), .14);
}
input[type="search"] { -webkit-appearance: none; appearance: none; }
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
select {
  appearance: none;
  padding-right: 34px;
  background-image: var(--chevron);
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 12px;
  cursor: pointer;
}
option { background: var(--panel-2); color: var(--text); }
textarea { font-family: var(--sans); line-height: 1.55; resize: vertical; }

.note { min-height: 20px; margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.note.is-error { color: var(--bad); }
.note.is-ok { color: var(--ok); }

.form-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.form-row .field { flex: 1 1 240px; margin: 0; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.form-inline { display: flex; gap: 8px; max-width: 460px; }

.auth { max-width: 420px; margin: 20px auto 0; }
.auth__head { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 22px; text-align: center; }
.auth__head .logo__tile { width: 44px; height: 44px; border-radius: 11px; }
.auth__head .logo__tile svg:not(.snowcap) { width: 25px; height: 25px; }
.auth__head h1 { font-size: 26px; }
.auth .panel { padding-top: 0; }

.tabs { display: flex; margin: 0 -24px 22px; border-bottom: 1px solid var(--line); }
.tabs button {
  position: relative;
  flex: 1;
  padding: 15px 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: color .15s ease;
}
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { color: var(--text); }
.tabs button[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 20%; right: 20%; bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-300);
}

.acct { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.acct__side {
  position: sticky;
  top: var(--stick);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
}
.acct__nav { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.acct__nav a {
  padding: 8px 10px;
  border-radius: var(--r-sm);
  font-size: 14px;
  color: var(--muted);
  transition: background .15s ease, color .15s ease;
}
.acct__nav a:hover { background: var(--hover); color: var(--text); }
.acct__main .panel { scroll-margin-top: var(--stick); }

.identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.identity__avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--accent-300), var(--accent-500));
  color: var(--neon-core);
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
}
.identity__text { min-width: 0; }
.identity__name, .identity__mail { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.identity__name { font-weight: 600; }
.identity__mail { font-size: 12.5px; color: var(--faint); }
.identity__role { margin-top: 3px; font-size: 11.5px; font-weight: 600; color: var(--accent-200); }

.notice {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px 20px;
  margin-bottom: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(var(--glow), .35);
  border-left: 3px solid var(--accent-300);
  border-radius: var(--r);
  background: rgba(var(--glow), .07);
}
.notice__text { min-width: 0; font-size: 14px; color: var(--muted); }
.notice__title { margin-bottom: 3px; font-size: 15px; font-weight: 600; color: var(--text); }
.notice .note:empty { display: none; }
.notice .btn { flex: none; }

.pay__hint { font-size: 13.5px; color: var(--muted); }
.user-rw__warn { color: var(--bad); }

.verify { max-width: 460px; margin: 48px auto; text-align: center; }
.verify__seal {
  display: none;
  place-items: center;
  width: 54px; height: 54px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(var(--ok-rgb), .12);
  color: var(--ok);
}
.verify__seal svg { width: 26px; height: 26px; }
.verify.is-ok .verify__seal { display: grid; }
.verify__title { font-size: clamp(24px, 4vw, 30px); }
.verify.is-bad .verify__title { color: var(--bad); }
.verify--danger:not(.is-ok):not(.is-bad) .verify__title { color: var(--bad); }
.verify .note { text-align: center; }
.verify .note:empty { display: none; }
.verify__text { margin-top: 12px; font-size: 15px; color: var(--muted); }
.verify__text:empty { display: none; }
.verify__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.cards > li.own { flex-direction: column; gap: 8px; }
.own__dl { width: 100%; }
.dl-none { display: block; padding: 8px 0; text-align: center; font-size: 13px; color: var(--faint); }

.rows { display: flex; flex-direction: column; gap: 8px; }

.order {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--panel-2);
}
.order__name { font-size: 15px; font-weight: 600; }
.order__meta { margin-top: 2px; font-size: 12.5px; color: var(--faint); }
.order__right { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.order__sum { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }

.badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--hover);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}
.badge--live, .badge--paid { color: var(--ok); background: rgba(var(--ok-rgb), .12); }
.badge--claimed { color: var(--accent-200); background: rgba(var(--glow), .14); }
.badge--rejected { color: var(--bad); background: rgba(var(--bad-rgb), .12); }
.badge--expired { color: var(--faint); background: transparent; border-color: var(--line); border-style: dashed; }

.owns-all {
  padding: 6px 12px;
  border: 1px solid rgba(var(--glow), .3);
  border-radius: var(--r-sm);
  color: var(--accent-200);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.guard { max-width: 420px; margin: 60px auto; text-align: center; }
.guard h1 { margin-bottom: 12px; font-size: 26px; }
.guard p { margin-bottom: 22px; color: var(--muted); }

.console { display: grid; grid-template-columns: 210px minmax(0, 1fr); column-gap: 24px; align-items: start; }
.console > section { grid-column: 2; grid-row: 1; min-width: 0; }
.atabs {
  position: sticky;
  top: var(--stick);
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
}
.atabs__title {
  padding: 4px 10px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--faint);
}
.atabs button {
  padding: 9px 10px;
  border: 0;
  border-radius: var(--r-sm);
  background: none;
  color: var(--muted);
  font-size: 14px;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.atabs button:hover { background: var(--hover); color: var(--text); }
.atabs button.is-on { background: rgba(var(--glow), .12); color: var(--text); box-shadow: inset 2px 0 0 var(--accent-300); }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.kpi {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
}
.kpi__value {
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.kpi__label { margin-top: 4px; font-size: 12.5px; color: var(--faint); }
.kpi__note { margin-bottom: 16px; font-size: 13px; color: var(--faint); }

.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 16px; }
.split .panel { margin-top: 0; }
.panel + .split, .split + .panel, .mini + .panel { margin-top: 16px; }
.split + .mini { margin-top: 16px; }

.chart { position: relative; margin: 6px 0 0; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }

.tip {
  position: absolute;
  z-index: 3;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--panel-2);
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .9);
  white-space: nowrap;
  transform: translate(-50%, calc(-100% - 12px));
  pointer-events: none;
}
.tip b { display: block; font-size: 13px; color: var(--text); }
.tip span { font-size: 11px; color: var(--faint); }

.bars { display: flex; flex-direction: column; gap: 15px; margin-top: 4px; }
.bar__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.bar__name { overflow: hidden; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.bar__value { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bar__track { height: 6px; margin-top: 7px; overflow: hidden; border-radius: 999px; background: var(--hover); }
.bar__fill { height: 100%; border-radius: 999px; background: var(--accent-300); }
.bar__meta { margin-top: 5px; font-size: 11.5px; color: var(--faint); }

.dtable { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 13.5px; }
.dtable th, .dtable td { padding: 8px 10px; border-bottom: 1px solid var(--line-2); text-align: left; }
.dtable th { font-size: 12px; font-weight: 600; color: var(--faint); }
.dtable td { font-variant-numeric: tabular-nums; }

.mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.mini li { padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--tint); }
.mini b { display: block; font-family: var(--display); font-size: 21px; }
.mini span { font-size: 12.5px; color: var(--faint); }

.switch { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; cursor: pointer; }
.switch input { position: absolute; width: 0; height: 0; opacity: 0; }
.switch__track {
  position: relative;
  width: 44px; height: 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--field);
  transition: background .2s ease, border-color .2s ease;
}
.switch__knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--faint);
  transition: transform .2s ease, background .2s ease;
}
.switch input:checked + .switch__track { background: rgba(var(--bad-rgb), .2); border-color: rgba(var(--bad-rgb), .5); }
.switch input:checked + .switch__track .switch__knob { transform: translateX(20px); background: var(--bad); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--accent-300); outline-offset: 2px; }
.switch__label { font-size: 14.5px; color: var(--muted); }
.switch__label.is-off { color: var(--bad); font-weight: 600; }

.themes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.themes button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.themes button:hover { color: var(--text); border-color: rgba(var(--glow), .35); }
.themes button[aria-checked="true"] { color: var(--text); border-color: rgba(var(--glow), .6); background: rgba(var(--glow), .1); }
.themes button:disabled { opacity: .6; cursor: wait; }
.themes__swatch { flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.themes__swatch--default { background: linear-gradient(135deg, var(--sw-default) 0 50%, var(--sw-default-bg) 50%); }
.themes__swatch--autumn { background: linear-gradient(135deg, var(--sw-autumn) 0 50%, var(--sw-autumn-bg) 50%); }
.themes__swatch--halloween { background: linear-gradient(135deg, var(--sw-halloween) 0 50%, var(--sw-halloween-bg) 50%); }
.themes__swatch--christmas { background: linear-gradient(135deg, var(--sw-christmas) 0 34%, var(--sw-christmas-2) 34% 67%, var(--sw-christmas-3) 67%); }

.rw {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel-2);
}
.rw__thumb {
  position: relative;
  display: grid;
  place-items: center;
  width: 96px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-sm);
  background: repeating-linear-gradient(135deg, rgba(var(--glow), .05) 0 1px, transparent 1px 9px), var(--well);
}
.rw__thumb img { width: 100%; height: 100%; object-fit: cover; }
.rw__thumb span { font-family: var(--display); font-size: 22px; color: rgba(var(--glow), .45); }
.rw__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.rw__grid input, .rw__grid select { padding: 8px 11px; font-size: 14px; }
.rw__grid select { padding-right: 30px; }
.rw__acts { grid-column: 2; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.rw__file { display: none; }
.rw__warn {
  grid-column: 1 / -1;
  margin-top: 2px;
  padding: 7px 11px;
  border: 1px solid rgba(var(--bad-rgb), .35);
  border-radius: var(--r-sm);
  background: rgba(var(--bad-rgb), .08);
  color: var(--bad);
  font-size: 12.5px;
}
.rw-host { display: flex; flex-direction: column; }

.promo, .zip {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px dashed var(--line);
  border-radius: var(--r-sm);
}
.promo.is-on { border-style: solid; border-color: rgba(var(--glow), .35); background: rgba(var(--glow), .06); }
.promo__label { font-size: 12px; font-weight: 600; color: var(--faint); }
.promo input[type="number"] { width: 78px; padding: 7px 10px; }
.promo input[type="date"] { width: 150px; padding: 7px 10px; }
.promo__preview { margin-right: auto; font-size: 13px; font-weight: 600; color: var(--accent-200); }

.zip.is-on { border-style: solid; border-color: rgba(var(--ok-rgb), .3); background: rgba(var(--ok-rgb), .05); }
.zip__info { flex: 1 1 200px; min-width: 0; font-family: var(--mono); font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.zip.is-on .zip__info { color: var(--text); }
.zip__info.is-warn { color: var(--bad); }
.zip__bar { flex: 1 1 100%; order: 9; height: 4px; overflow: hidden; border-radius: 999px; background: var(--hover); }
.zip__bar i { display: block; width: 0; height: 100%; background: var(--accent-300); transition: width .2s ease; }

.more {
  margin-top: -1px;
  padding: 20px;
  border: 1px solid var(--line);
  border-top-color: transparent;
  border-radius: 0 0 var(--r) var(--r);
  background: var(--field);
}
.more__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.more__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
}
.more__title { font-size: 13px; font-weight: 600; color: var(--muted); }
.more__link {
  display: inline-block;
  margin-top: 16px;
  border-bottom: 1px solid transparent;
  color: var(--accent-200);
  font-size: 13px;
}
.more__link:hover { border-bottom-color: var(--accent-200); }

.shots { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.shots__item {
  position: relative;
  width: 120px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--well);
}
.shots__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shots__off {
  position: absolute;
  top: 4px; right: 4px;
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-blur);
  color: var(--text);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}
.shots__off:hover { background: var(--bad); color: #fff; }
.shots__empty { font-size: 13.5px; color: var(--faint); }

.cat-add { max-width: 460px; margin: 0 0 14px; }
.cats { display: flex; flex-direction: column; gap: 7px; }
.cat-rw {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto auto;
  align-items: center;
  gap: 7px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--panel-2);
}
.cat-rw input { padding: 7px 11px; font-size: 14px; }
.cat-rw__n { min-width: 76px; padding: 0 8px; font-size: 12px; color: var(--faint); text-align: right; white-space: nowrap; }
.cat-rw__mv:disabled { opacity: .35; cursor: default; }

.newscript {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid rgba(var(--glow), .3);
  border-radius: var(--r);
  background: rgba(var(--glow), .05);
}
.newscript .field { margin: 0; }
.newscript__acts { display: flex; gap: 7px; }

.star-tog.is-on { color: var(--star); border-color: rgba(244, 183, 64, .4); background: rgba(244, 183, 64, .08); }

.user-rw {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel-2);
}
.user-rw__mail { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.user-rw__meta { margin-top: 2px; font-size: 12.5px; color: var(--faint); }
.lib { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.lib__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 4px 3px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 12.5px;
}
.lib__item button {
  padding: 2px 5px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--faint);
  line-height: 1;
  cursor: pointer;
}
.lib__item button:hover { color: var(--bad); }
.grant { display: flex; align-items: center; gap: 7px; }

.panel--danger { border-color: rgba(var(--bad-rgb), .3); }
.panel--danger h2 { color: var(--bad); }
.panel__text { max-width: 62ch; margin-bottom: 16px; font-size: 14px; color: var(--muted); }

.kill { grid-column: 1 / -1; padding-top: 10px; border-top: 1px solid var(--line-2); }
.kill__panel {
  padding: 14px;
  border: 1px solid rgba(var(--bad-rgb), .35);
  border-radius: var(--r-sm);
  background: rgba(var(--bad-rgb), .06);
}
.kill__warn { font-size: 13px; color: var(--bad); }
.kill__label { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.kill__label b { color: var(--text); font-weight: 600; }
.kill__label input { max-width: 360px; }
.kill__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.grant select { min-width: 170px; }

.log { display: flex; flex-direction: column; gap: 1px; max-height: 380px; overflow-y: auto; }
.log__row {
  display: grid;
  grid-template-columns: 150px 190px minmax(0, 1fr);
  gap: 14px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  font-size: 13px;
}
.log__row:nth-child(odd) { background: var(--tint); }
.log__at { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.log__who { overflow: hidden; color: var(--muted); text-overflow: ellipsis; }

.legal-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.field--wide, .legal-form__acts { grid-column: 1 / -1; }
.legal-form__acts { display: flex; flex-wrap: wrap; gap: 9px; }

body.is-locked { overflow: hidden; }

.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px; }
.modal__veil {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 9, .72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.modal__card {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 30px 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 1);
  text-align: center;
  animation: pop .25s cubic-bezier(.2, .8, .3, 1);
}
@keyframes pop {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.modal__seal {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(var(--ok-rgb), .12);
  color: var(--ok);
}
.modal__seal svg { width: 24px; height: 24px; }
.modal__title { font-size: 24px; }
.modal__text { margin-top: 12px; font-size: 15px; color: var(--muted); }
.modal__acts { display: flex; flex-direction: column; gap: 9px; margin-top: 24px; }

.maint-flag {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 18px;
  border-bottom: 1px solid rgba(var(--bad-rgb), .3);
  background: rgba(var(--bad-rgb), .12);
  color: var(--bad);
  font-size: 13.5px;
  text-align: center;
}
body.is-maint .maint-flag { display: flex; }

.hold-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding-block: 48px;
}
.hold { width: 100%; max-width: 560px; margin: 0 auto; text-align: center; }
.hold__logo { display: inline-flex; margin-bottom: 40px; }
.hold__code {
  font-family: var(--display);
  font-size: clamp(80px, 16vw, 132px);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(var(--glow), .7);
}
.hold__title { margin-top: 14px; font-size: clamp(22px, 4vw, 30px); }
.hold__title .neon { font-size: clamp(38px, 8vw, 60px); }
.hold__lead { max-width: 44ch; margin: 18px auto 0; font-size: 16px; color: var(--muted); }
.hold__custom {
  max-width: 44ch;
  margin: 18px auto 0;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  font-size: 15px;
  white-space: pre-line;
}
.hold .btn { margin-top: 30px; }

.code {
  display: inline-block;
  margin: 12px 0;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--field);
  color: var(--accent-100);
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: .12em;
  word-break: break-all;
}
.codes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.codes .code { margin: 0; font-size: 13px; letter-spacing: .08em; }
.totp__lead { max-width: 52ch; margin-top: 14px; font-size: 14px; color: var(--muted); }
.totp__state { margin-bottom: 16px; font-size: 14.5px; }
.totp__state span:first-child { color: var(--ok); font-weight: 600; }

.doc { display: grid; grid-template-columns: 200px minmax(0, 760px); gap: 40px; align-items: start; }
.doc__nav {
  position: sticky;
  top: var(--stick);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
}
.doc__nav a {
  margin-left: -1px;
  padding: 7px 14px;
  border-left: 2px solid transparent;
  font-size: 14px;
  color: var(--muted);
  transition: color .15s ease, border-color .15s ease;
}
.doc__nav a:hover { color: var(--text); }
.doc__nav a[aria-current="page"] { color: var(--text); border-left-color: var(--accent-300); }

.legal__date { margin-top: 8px; font-size: 13px; color: var(--faint); }
.legal section { margin-top: 32px; }
.legal h2 { margin-bottom: 12px; font-size: 19px; }
.legal p, .legal li { font-size: 15px; line-height: 1.7; color: var(--muted); }
.legal p + p { margin-top: 10px; }
.legal ul { display: flex; flex-direction: column; gap: 6px; padding-left: 18px; list-style: disc; }
.legal li::marker { color: var(--accent-300); }
.legal a { color: var(--accent-200); text-decoration: underline; text-underline-offset: 3px; }
.legal__id { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 8px 18px; margin: 0; }
.legal__id dt { padding-top: 2px; font-size: 13px; color: var(--faint); }
.legal__id dd { margin: 0; font-size: 15px; color: var(--text); }
.todo { padding: 0 6px; border-radius: 4px; background: rgba(var(--bad-rgb), .12); color: var(--bad); font-style: italic; }

.foot { margin-top: auto; border-top: 1px solid var(--line); background: rgba(0, 0, 0, .18); }
.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: 32px;
  padding-block: 40px 32px;
}
.logo--foot .logo__tile { width: 28px; height: 28px; border-radius: 8px; }
.logo--foot .logo__tile svg:not(.snowcap) { width: 16px; height: 16px; }
.logo--foot .logo__word { font-size: 14px; }
.foot__tag { max-width: 34ch; margin-top: 12px; font-size: 13.5px; color: var(--faint); }
.foot__col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.foot__title {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.foot__col a { font-size: 14px; color: var(--muted); transition: color .15s ease; }
.foot__col a:hover { color: var(--accent-200); }
.foot__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 16px 22px;
  border-top: 1px solid var(--line-2);
  font-size: 12.5px;
  color: var(--faint);
}

.fx-defs { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }

.fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.fx__fall {
  position: absolute;
  top: calc(var(--size) * -2);
  left: var(--x);
  width: var(--size);
  height: var(--size);
  animation: fx-fall var(--dur) linear var(--delay) infinite;
  will-change: transform;
}
.fx__sway {
  display: block;
  width: 100%;
  height: 100%;
  opacity: var(--alpha, 1);
  animation: fx-sway var(--sway-dur) ease-in-out var(--sway-delay) infinite alternate;
}
.fx__sway > * { display: block; width: 100%; height: 100%; }

@keyframes fx-fall {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(var(--drift), calc(100vh + var(--size) * 4), 0); }
}
@keyframes fx-sway {
  from { transform: translateX(calc(var(--amp) * -1)) rotate(var(--rot-a)); }
  to { transform: translateX(var(--amp)) rotate(var(--rot-b)); }
}

@media (max-width: 1080px) {
  .product__grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .market { grid-template-columns: 190px minmax(0, 1fr); gap: 22px; }
  .market .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards--row > li:nth-child(4) { display: none; }
}

@media (max-width: 900px) {
  :root { --stick: 78px; }
  .topbar__in { gap: 14px; }
  .burger { display: flex; }
  .menu {
    position: absolute;
    top: calc(100% + 6px);
    left: var(--gut);
    right: var(--gut);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--menu-bg);
    box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .9);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  }
  .menu.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
  .find { order: -1; flex: none; margin: 0 0 6px; }
  .find input[type="search"] { height: 40px; font-size: 15px; }
  .drop__btn, .menu__link { width: 100%; height: 42px; justify-content: space-between; }
  .drop__panel { position: static; min-width: 0; margin: 2px 0 4px; padding: 4px; border: 0; background: var(--hover); box-shadow: none; }
  .lang { align-self: flex-start; margin-top: 6px; }
  .menu__cta { justify-content: center; height: 42px; margin-top: 4px; }

  .spot { grid-template-columns: minmax(0, 1fr); }
  .spot__media { border-radius: calc(var(--r) - 1px) calc(var(--r) - 1px) 0 0; }
  .spot__body { padding: 20px; border-left: 0; border-top: 1px solid var(--line-2); }
  .cards--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--row > li:nth-child(4) { display: flex; }

  .product__grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .product__main { display: contents; }
  .gallery { order: 1; }
  .buybox { position: static; order: 2; margin-top: 18px; }
  .ptabs { order: 3; }
  .ptab { order: 4; }

  .market { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .market__side { position: static; margin: 0 calc(var(--gut) * -1); }
  .side__title { display: none; }
  .side__nav { flex-direction: row; gap: 8px; padding: 0 var(--gut) 10px; overflow-x: auto; scrollbar-width: none; }
  .side__nav::-webkit-scrollbar { display: none; }
  .side__link { flex: none; padding: 7px 12px; border: 1px solid var(--line); }
  .side__link.is-on { box-shadow: none; border-color: rgba(var(--glow), .5); }

  .acct { grid-template-columns: minmax(0, 1fr); }
  .acct__side { position: static; }
  .acct__nav { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .acct__nav a { padding: 7px 10px; border: 1px solid var(--line); }

  .console { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  .console > section { grid-column: 1; grid-row: 2; }
  .atabs { position: static; flex-direction: row; gap: 4px; padding: 6px; overflow-x: auto; }
  .atabs__title { display: none; }
  .atabs button { flex: none; }
  .atabs button.is-on { box-shadow: none; }

  .doc { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .doc__nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; border-left: 0; }
  .doc__nav a { margin: 0; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); }
  .doc__nav a[aria-current="page"] { border-color: rgba(var(--glow), .5); }

  .rw { grid-template-columns: 80px minmax(0, 1fr); }
  .rw__thumb { width: 80px; }
  .rw__acts { grid-column: 1 / -1; justify-content: flex-start; }
  .rw__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .kpis, .mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --gut: 18px; }
  .hero__in { min-height: 0; padding-block: 44px 40px; }
  .tool { width: 200px; height: 200px; right: -40px; opacity: .7; }
  .sec { padding: 32px 0; }
  .band { flex-direction: column; align-items: flex-start; padding: 20px; }
  .notice { flex-direction: column; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; padding-block: 32px 24px; }
  .foot__about { grid-column: 1 / -1; }
  .points { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 18px; }
  .tabs { margin-inline: -18px; }
  .pair, .legal-form { grid-template-columns: minmax(0, 1fr); }
  .legal__id { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .legal__id dd { margin-bottom: 10px; }
  .cat-rw { grid-template-columns: minmax(0, 1fr) auto auto auto; }
  .cat-rw input { grid-column: 1 / -1; }
  .newscript { grid-template-columns: minmax(0, 1fr); }
  .themes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .user-rw { grid-template-columns: minmax(0, 1fr); }
  .log__row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .grant { flex-wrap: wrap; }
  .grant select { flex: 1 1 100%; }
}

@media (max-width: 560px) {
  .logo__word { font-size: 14px; letter-spacing: .1em; }
  .cards, .cards--row, .market .cards { grid-template-columns: minmax(0, 1fr); }
  .cards--lib { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__row .btn { flex: 1 1 100%; }
  .toolbar__sort { margin-left: 0; width: 100%; }
  .toolbar__sort select { flex: 1; }
  .more__pair, .rw__grid { grid-template-columns: minmax(0, 1fr); }
  .kpis, .mini { grid-template-columns: minmax(0, 1fr); }
  .form-inline { flex-wrap: wrap; }
  .form-inline .btn { flex: 1 1 100%; }
  .foot__base { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .fx { display: none; }
}
