:root {
  --bg: #0a0a0b;
  --surface: #131315;
  --surface-2: #17181a;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f2f2f3;
  --muted: #9a9aa2;
  --faint: #6b6b73;
  --accent: #d8ff33;
  --accent-dim: rgba(216, 255, 51, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display",
    "Segoe UI", Inter, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 10px;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 26px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px;
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(14px);
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.logo img {
  border-radius: 8px;
}
.logo b {
  color: var(--faint);
  font-weight: 500;
}
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14.5px;
  color: var(--muted);
}
.nav-links a {
  transition: color 0.2s var(--ease);
}
.nav-links a:hover {
  color: var(--text);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 23px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.16s var(--ease), background 0.24s var(--ease),
    border-color 0.24s var(--ease);
}
.btn:active {
  transform: scale(0.98);
}
.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
  border-radius: 19px;
}
.btn-wide {
  width: 100%;
}
.btn-accent {
  background: var(--accent);
  color: #101010;
}
.btn-accent:hover {
  background: #e6ff5c;
}
.btn-ghost {
  background: var(--surface-2);
  border-color: var(--line-2);
  color: var(--text);
}
.btn-ghost:hover {
  background: #202124;
}

/* ---------- hero ---------- */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px 40px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 14px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.hero h1 {
  margin: 20px auto 0;
  max-width: 15ch;
  font-size: clamp(38px, 6.4vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.lead {
  margin: 20px auto 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 18.5px);
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}
.note {
  margin-top: 14px;
  color: var(--faint);
  font-size: 13.5px;
}

.shot {
  margin-top: 52px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
}
.shot-sm {
  margin: 44px auto 0;
  max-width: 880px;
}

/* ---------- sections ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px 24px 0;
}
.section h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -0.028em;
  font-weight: 600;
  margin-bottom: 34px;
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  list-style: none;
}
.steps li {
  padding: 26px 24px 28px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.step-n {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}
.steps h3 {
  margin: 16px 0 7px;
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.steps p {
  color: var(--muted);
  font-size: 14.8px;
}

/* feature cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.card {
  padding: 26px 24px 28px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.28s var(--ease), transform 0.28s var(--ease);
}
.card:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
}
.card h3 {
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.card p {
  color: var(--muted);
  font-size: 14.8px;
}

/* price */
.price-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}
.plan {
  padding: 30px 28px 28px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line-2);
}
.plan-quiet {
  border-color: var(--line);
}
.plan-name {
  color: var(--muted);
  font-size: 14px;
}
.plan-price {
  margin-top: 6px;
  color: var(--faint);
  font-size: 15px;
}
.plan-price span {
  color: var(--text);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-right: 6px;
}
.plan-list {
  list-style: none;
  margin: 22px 0 26px;
  display: grid;
  gap: 11px;
  font-size: 14.8px;
  color: var(--muted);
}
.plan-list li {
  padding-left: 24px;
  position: relative;
}
.plan-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.75;
}
.plan-note {
  margin-top: 12px;
  color: var(--faint);
  font-size: 13px;
  text-align: center;
  transition: color 0.25s var(--ease);
}
.plan-note.is-hot {
  color: var(--accent);
}

/* faq */
.faq {
  display: grid;
  gap: 10px;
}
.faq details {
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 4px 20px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  margin-left: auto;
  width: 9px;
  height: 9px;
  border-right: 1.6px solid var(--faint);
  border-bottom: 1.6px solid var(--faint);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}
.faq p {
  padding: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  max-width: 70ch;
}

/* cta + footer */
.cta {
  max-width: var(--max);
  margin: 96px auto 0;
  padding: 60px 24px 64px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.cta h2 {
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.03em;
  font-weight: 600;
}
.cta p {
  margin: 10px 0 26px;
  color: var(--muted);
}

.footer {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  padding: 26px 24px 40px;
  color: var(--faint);
  font-size: 13.5px;
}
.footer a:hover {
  color: var(--text);
}
.footer-year {
  margin-left: 4px;
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
  .hero {
    padding-top: 48px;
  }
  .section {
    padding-top: 64px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}


/* ---------- language switch ---------- */
.lang {
  font-size: 14px;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.lang:hover {
  color: var(--text);
  border-color: var(--line-2);
}

/* ---------- comparison table ---------- */
.section-lead {
  margin: -18px 0 26px;
  color: var(--muted);
  max-width: 70ch;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.6px;
  min-width: 640px;
}
th,
td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
th {
  color: var(--text);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
tbody tr:last-child td {
  border-bottom: 0;
}
td:first-child {
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
}
tr.is-us td {
  background: rgba(216, 255, 51, 0.06);
}
tr.is-us td:first-child {
  color: var(--accent);
}
.after-table {
  margin-top: 22px;
  color: var(--muted);
  max-width: 74ch;
}

/* ---------- article links ---------- */
.links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.link-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.24s var(--ease), transform 0.24s var(--ease);
}
.link-card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}
.link-card span {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.link-card em {
  font-style: normal;
  font-size: 13.5px;
  color: var(--accent);
}

.coffee {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13.5px;
  text-align: center;
}

/* ---------- article page ---------- */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 0;
}
.crumbs {
  display: flex;
  gap: 8px;
  font-size: 13.5px;
  color: var(--faint);
  margin-bottom: 18px;
}
.crumbs a:hover {
  color: var(--text);
}
.article h1 {
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.article h2 {
  margin: 40px 0 14px;
  font-size: clamp(21px, 2.6vw, 26px);
  letter-spacing: -0.02em;
  font-weight: 600;
  scroll-margin-top: 84px;
}
.article p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.65;
}
.toc {
  margin: 26px 0 8px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.toc p {
  margin: 0 0 10px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
.toc ul {
  list-style: none;
  display: grid;
  gap: 7px;
}
.toc a {
  color: var(--muted);
  font-size: 14.6px;
}
.toc a:hover {
  color: var(--accent);
}
.bullets {
  margin: 0 0 20px;
  padding-left: 4px;
  list-style: none;
  display: grid;
  gap: 10px;
}
.bullets li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 16px;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.8;
}
.article .table-wrap {
  margin: 6px 0 22px;
}
.article .faq {
  margin-top: 8px;
}
.cta-inline {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  border-radius: 0;
}


/* ---------- blog hub ---------- */
.blog-hub {
  max-width: 860px;
}
.blog-lead {
  color: var(--muted);
  margin: 10px 0 30px;
}
.links-col {
  grid-template-columns: 1fr;
}
.link-card small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}


/* ---------- footer links + legal ---------- */
.footer {
  flex-direction: column;
  gap: 10px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
}
.footer-links a {
  color: var(--muted);
  transition: color 0.2s var(--ease);
}
.footer-links a:hover {
  color: var(--text);
}
.footer-meta {
  color: var(--faint);
  font-size: 12.5px;
}
.legal h2 {
  font-size: 19px;
  margin-top: 34px;
}
.legal p,
.legal .bullets li {
  font-size: 15.5px;
}


/* ---------- support ticket form ---------- */
.ticket {
  margin: 28px 0 8px;
  padding: 26px 24px 24px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.legal .ticket h2 {
  margin: 0 0 16px;
}
.ticket form {
  display: grid;
  gap: 14px;
}
.tk-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ticket label {
  display: grid;
  gap: 6px;
}
.ticket label span {
  color: var(--muted);
  font-size: 13px;
}
.ticket input,
.ticket select,
.ticket textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.2s var(--ease);
}
.ticket textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.5;
}
.ticket input:focus,
.ticket select:focus,
.ticket textarea:focus {
  outline: none;
  border-color: rgba(216, 255, 51, 0.55);
}
.ticket .btn {
  justify-self: start;
}
.ticket .btn[disabled] {
  opacity: 0.6;
  pointer-events: none;
}
.tk-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.tk-err {
  min-height: 18px;
  color: #ff6b83;
  font-size: 13.5px;
}
.tk-ok {
  text-align: center;
  padding: 18px 0 8px;
  animation: screen-in 0.4s var(--ease) both;
}
.tk-check {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 24px;
  font-weight: 700;
}
.tk-ok h3 {
  font-size: 18px;
}
.tk-ok p {
  color: var(--muted);
  margin: 6px 0 0;
}
@keyframes screen-in {
  from { opacity: 0; transform: translateY(10px); }
}
@media (max-width: 620px) {
  .tk-row { grid-template-columns: 1fr; }
}


/* ---------- article tables v2: wrap text, no side scroll ---------- */
.article .table-wrap {
  overflow: hidden;
  border-radius: 18px;
}
.article table {
  min-width: 0;
  table-layout: fixed;
}
.article th,
.article td {
  white-space: normal;
  vertical-align: top;
  line-height: 1.5;
  padding: 15px 18px;
  overflow-wrap: anywhere;
}
.article th {
  font-size: 12.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.02);
}
.article td {
  font-size: 14.5px;
}
.article td:first-child {
  white-space: normal;
  color: var(--text);
  font-weight: 500;
}
.article tbody tr {
  transition: background 0.2s var(--ease);
}
.article tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

/* phones: each row becomes a small card */
@media (max-width: 720px) {
  .article table,
  .article tbody,
  .article tr,
  .article td {
    display: block;
    width: 100%;
  }
  .article thead {
    display: none;
  }
  .article tbody tr {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }
  .article tbody tr:last-child {
    border-bottom: 0;
  }
  .article td {
    padding: 4px 0;
    border: 0;
  }
  .article td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-size: 11.5px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--faint);
  }
  .article td:first-child {
    font-size: 15.5px;
    padding-bottom: 8px;
  }
  .article td:first-child::before {
    display: none;
  }
}

/* ---------- checkout dialog ---------- */
.buy {
  width: min(440px, calc(100vw - 32px));
  margin: auto;
  padding: 30px 26px 24px;
  border-radius: 24px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.buy[open] {
  animation: buy-in 0.36s var(--ease) both;
}
.buy::backdrop {
  background: rgba(5, 5, 6, 0.62);
  backdrop-filter: blur(10px);
}
@keyframes buy-in {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
}
.buy form {
  display: grid;
  gap: 14px;
}
.buy h2 {
  font-size: 22px;
  margin: 0;
}
.buy-sub {
  color: var(--muted);
  margin: -6px 0 4px;
  line-height: 1.5;
}
.buy label {
  display: grid;
  gap: 6px;
}
.buy label > span {
  color: var(--muted);
  font-size: 13px;
}
.buy input[type="email"] {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.2s var(--ease);
}
.buy input[type="email"]:focus {
  outline: none;
  border-color: rgba(216, 255, 51, 0.55);
}
.buy .buy-agree {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  cursor: pointer;
}
.buy .buy-agree span {
  font-size: 13px;
  line-height: 1.45;
}
.buy-agree input {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  accent-color: var(--accent);
}
.buy-agree a {
  color: var(--text);
}
.buy .tk-err {
  min-height: 0;
}
.buy .btn[disabled] {
  opacity: 0.6;
  pointer-events: none;
}
.buy-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--faint);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.buy-x:hover {
  background: var(--line);
  color: var(--text);
}
.buy-inline {
  margin: 18px 0 6px;
}

.buy-note {
  color: var(--faint);
  font-size: 12.5px;
  line-height: 1.45;
  margin: -4px 0 0;
  text-align: center;
}
#thx-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.thx-key {
  margin: 16px auto 6px;
  padding: 14px 18px;
  max-width: 420px;
  border-radius: 14px;
  border: 1px solid rgba(216, 255, 51, 0.45);
  background: var(--accent-dim);
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 18px;
  letter-spacing: 0.04em;
  user-select: all;
  word-break: break-all;
}
.thx-sub {
  color: var(--muted);
  font-size: 13.5px;
}

.sources {
  margin: 10px 0 0;
  color: var(--faint);
  font-size: 13px;
  line-height: 1.6;
}
.sources a {
  color: var(--muted);
}

/* ---------- support dialog ---------- */
.sup {
  width: min(460px, calc(100vw - 28px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  margin: auto;
  padding: 30px 30px 26px;
  border-radius: 26px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  overflow: visible;
}
.sup[open] {
  animation: buy-in 0.4s var(--ease) both;
}
.sup::backdrop {
  background: rgba(5, 5, 6, 0.66);
  backdrop-filter: blur(12px);
}
.sup form {
  display: grid;
  gap: 16px;
}
.sup h2 {
  font-size: 23px;
  letter-spacing: -0.02em;
  margin: 0;
}
.sup-lead {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: -10px 0 2px;
}
.sup-field {
  display: grid;
  gap: 7px;
}
.sup-field > span,
.sup-label {
  color: var(--faint);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sup input[type="email"],
.sup textarea,
.sup select {
  width: 100%;
  padding: 13px 15px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.sup textarea {
  resize: vertical;
  min-height: 116px;
  line-height: 1.55;
}
/* родная полоса прокрутки в тёмном поле белая - красим */
.sup textarea,
.sup {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}
.sup textarea::-webkit-scrollbar,
.sup::-webkit-scrollbar {
  width: 8px;
}
.sup textarea::-webkit-scrollbar-thumb,
.sup::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 8px;
}
.sup textarea::-webkit-scrollbar-track,
.sup::-webkit-scrollbar-track {
  background: transparent;
}
.sup input[type="email"]:focus,
.sup textarea:focus,
.sup select:focus {
  outline: none;
  border-color: rgba(216, 255, 51, 0.6);
  box-shadow: 0 0 0 3px rgba(216, 255, 51, 0.12);
}
.sup ::placeholder {
  color: var(--faint);
}
/* родной список браузера светлый - рисуем свой контрол со стрелкой */
.sup-select {
  position: relative;
}
.sup-select select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  cursor: pointer;
}
.sup-select svg {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.sup-select option {
  background: var(--surface);
  color: var(--text);
}
.sup-drop {
  display: grid;
  justify-items: center;
  gap: 4px;
  width: 100%;
  padding: 20px 16px;
  border-radius: 16px;
  border: 1px dashed var(--line-2);
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.sup-drop b {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}
.sup-drop small {
  color: var(--faint);
  font-size: 12.5px;
}
.sup-drop svg {
  color: var(--accent);
  opacity: 0.85;
}
.sup-drop:hover,
.sup-drop:focus-visible,
.sup-drop.is-over {
  border-color: rgba(216, 255, 51, 0.6);
  background: var(--accent-dim);
  color: var(--text);
  outline: none;
}
.sup-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sup-thumbs:empty {
  display: none;
}
.sup-thumbs figure {
  position: relative;
  margin: 0;
  animation: buy-in 0.28s var(--ease) both;
}
.sup-thumbs img {
  width: 78px;
  height: 58px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  display: block;
}
.sup-thumb-x {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--text);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.sup-thumb-x:hover {
  background: #ff6b83;
  color: #11110f;
  transform: scale(1.08);
}
.sup .tk-err {
  min-height: 0;
}
.sup .tk-err.is-shake {
  animation: sup-shake 0.4s var(--ease);
}
@keyframes sup-shake {
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-2px); }
}
.sup .btn[disabled] {
  opacity: 0.6;
  pointer-events: none;
}
.sup-x {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--faint);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.sup-x:hover,
.sup-x:focus-visible {
  background: var(--line);
  color: var(--text);
  outline: none;
}
@media (prefers-reduced-motion: reduce) {
  .sup[open], .sup-thumbs figure, .sup .tk-err.is-shake { animation: none; }
}
@media (max-width: 480px) {
  .sup { padding: 26px 20px 22px; border-radius: 22px; }
}

/* скрытие важнее раскладки: у формы display:grid перебивал [hidden] */
[hidden] {
  display: none !important;
}
