:root {
  --bg: #09090b;
  --text: #f4f4f6;
  --muted: #a1a1aa;
  --dim: #6e6e78;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --ok: #4ade80;
  --warn: #fbbf24;
  --bad: #f87171;

  /* clay — raised surfaces */
  --clay: linear-gradient(155deg, #1a1a1f 0%, #131317 100%);
  --clay-sh:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -2px 6px rgba(0, 0, 0, 0.35),
    0 1px 2px rgba(0, 0, 0, 0.5),
    0 14px 30px -14px rgba(0, 0, 0, 0.75);
  /* clay — small raised chips/icons */
  --clay-chip: linear-gradient(160deg, #27272e 0%, #17171b 100%);
  --clay-chip-sh:
    inset 1px 1px 1px rgba(255, 255, 255, 0.12),
    inset -2px -3px 5px rgba(0, 0, 0, 0.5),
    2px 4px 10px rgba(0, 0, 0, 0.45);
  /* clay — pressed wells */
  --well: #0d0d10;
  --well-sh: inset 2px 3px 8px rgba(0, 0, 0, 0.65), inset -1px -1px 0 rgba(255, 255, 255, 0.035);

  --r: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --spring: cubic-bezier(0.34, 1.36, 0.64, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }  /* opening the cart/search hides the scrollbar — keep its space so the page doesn't jump */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.6 Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.scroll-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }
::selection { background: rgba(255, 255, 255, 0.85); color: #000; }
:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.55); outline-offset: 2px; border-radius: 8px; }
kbd { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; font: 500 11px Inter, sans-serif; border-radius: 6px; background: var(--clay-chip); box-shadow: var(--clay-chip-sh); color: var(--muted); }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

/* ───────── surfaces ───────── */
.clay, .tile, .card, .qa, .support-card, .cta, .numbers, .search, .tabs, .empty, .review {
  background: var(--clay);
  border: 1px solid var(--line);
  box-shadow: var(--clay-sh);
}
.clay-ic {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px;
  background: var(--clay-chip); box-shadow: var(--clay-chip-sh); color: #ececf0;
  transition: background 0.5s var(--ease), color 0.5s var(--ease), transform 0.5s var(--spring);
}
.clay-ic svg { width: 20px; height: 20px; }
.clay-ic.sm { width: 34px; height: 34px; border-radius: 11px; }
.clay-ic.sm svg { width: 16px; height: 16px; }
.clay-ic.lg { width: 52px; height: 52px; border-radius: 16px; }
.clay-ic.lg svg { width: 22px; height: 22px; }
.glass-panel, .nav.scrolled .nav-bar, .sheet, .cur-menu, .modal-card, .palette-card, .drawer, .toast, .promo {
  background: rgba(17, 17, 21, 0.78);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 24px 60px -24px rgba(0, 0, 0, 0.85);
}

/* ───────── backdrop ───────── */
.backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.backdrop .grid {
  position: absolute; inset: 0; opacity: 0.4;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, #000 25%, transparent 75%);
}
.noise {
  position: absolute; inset: -50%; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 100; background: #f4f4f6; transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* ───────── buttons ───────── */
.btn {
  --h: 42px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 18px; border-radius: 12px;
  font-weight: 600; font-size: 14px; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform 0.45s var(--spring), box-shadow 0.3s var(--ease), background 0.3s, color 0.3s, opacity 0.2s;
}
.btn svg { width: 16px; height: 16px; }
.btn .arrow { transition: transform 0.45s var(--ease); }
.btn:hover .arrow, a:hover > .arrow, .s-link .arrow { transition: transform 0.45s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-sm { --h: 36px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.btn-lg { --h: 50px; padding: 0 24px; font-size: 15px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-light {
  background: linear-gradient(180deg, #fcfcfd 0%, #dcdce1 100%); color: #0b0b0e;
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 6px rgba(0, 0, 0, 0.16), 0 2px 3px rgba(0, 0, 0, 0.45), 0 10px 22px -10px rgba(0, 0, 0, 0.8);
}
.btn-light:hover { transform: translateY(-2px); }
.btn-light:active { transform: translateY(1px) scale(0.985); box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.22), 0 1px 2px rgba(0, 0, 0, 0.5); }
.btn-clay { background: var(--clay-chip); color: var(--text); box-shadow: var(--clay-chip-sh); }
.btn-clay:hover { transform: translateY(-2px); background: linear-gradient(160deg, #2c2c34, #1a1a1f); }
.btn-clay:active { transform: translateY(1px) scale(0.985); box-shadow: inset 2px 3px 6px rgba(0, 0, 0, 0.55); }
.btn[disabled] { opacity: 0.38; pointer-events: none; }

.icon-btn { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: var(--muted); transition: color 0.25s, background 0.25s, transform 0.4s var(--spring), box-shadow 0.25s; }
.icon-btn:hover { color: var(--text); background: var(--clay-chip); box-shadow: var(--clay-chip-sh); }
.icon-btn:active { transform: scale(0.92); }
.count {
  position: absolute; top: 2px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px;
  background: #f4f4f6; color: #000; font-size: 10px; font-weight: 700; line-height: 17px; text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); transform: scale(0); transition: transform 0.45s var(--spring);
}
.count.on { transform: scale(1); }
.count.bump { animation: bump 0.5s var(--spring); }
@keyframes bump { 40% { transform: scale(1.35); } }

.dot { position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: 0.45; } }

/* ───────── nav ───────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 14px 16px 0; }
.nav-bar {
  width: min(1180px, 100%); margin-inline: auto; height: 62px; padding: 0 10px 0 16px;
  display: flex; align-items: center; gap: 16px; border-radius: 18px; border: 1px solid transparent;
  transition: background 0.5s, border-color 0.5s, box-shadow 0.5s, width 0.7s var(--ease);
}
.nav.scrolled .nav-bar { width: min(1060px, 100%); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.brand img { width: 40px; height: auto; transition: transform 0.6s var(--spring); }
.brand:hover img { transform: translateY(-1px) scale(1.04); }
.nav-links { position: relative; display: flex; gap: 2px; margin-left: 12px; }
.nav-links a { position: relative; z-index: 1; padding: 8px 13px; font-size: 14px; color: var(--muted); border-radius: 10px; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.on { color: var(--text); }
.nav-ind { position: absolute; top: 0; height: 100%; border-radius: 10px; background: var(--clay-chip); box-shadow: var(--clay-chip-sh); opacity: 0; transition: left 0.5s var(--ease), width 0.5s var(--ease), opacity 0.3s; }
.nav-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-cta { margin-left: 6px; }
.search-trigger {
  display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 7px 0 11px; margin-right: 4px; border-radius: 11px;
  background: var(--well); box-shadow: var(--well-sh); color: var(--dim); font-size: 13px; transition: color 0.25s;
}
.search-trigger:hover { color: var(--muted); }
.search-trigger svg { width: 15px; height: 15px; }
.search-trigger span { margin-right: 22px; }

.currency { position: relative; }
.cur-btn { display: flex; align-items: center; gap: 4px; height: 36px; padding: 0 8px 0 11px; border-radius: 11px; font-size: 12.5px; color: var(--muted); transition: background 0.25s, color 0.25s, box-shadow 0.25s; }
.cur-btn b { font-weight: 600; }
.cur-btn:hover, .currency.open .cur-btn { background: var(--clay-chip); box-shadow: var(--clay-chip-sh); color: var(--text); }
.cur-btn svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease); }
.currency.open .cur-btn svg { transform: rotate(180deg); }
.cur-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 150px; padding: 6px; border-radius: 14px;
  opacity: 0; transform: translateY(-6px) scale(0.97); transform-origin: top right; pointer-events: none; transition: opacity 0.25s, transform 0.4s var(--ease);
}
.currency.open .cur-menu { opacity: 1; transform: none; pointer-events: auto; }
.cur-menu button { display: flex; align-items: center; width: 100%; padding: 8px 10px; border-radius: 9px; font-size: 13px; color: var(--muted); transition: background 0.2s, color 0.2s; }
.cur-menu button:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.cur-menu button.on { color: var(--text); }
.cur-menu button.on::after { content: "✓"; margin-left: auto; }
.cur-menu button span { width: 22px; color: var(--dim); }

.burger { display: none; }
.burger i { position: absolute; width: 16px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform 0.45s var(--ease); }
.burger i:first-child { transform: translateY(-3.5px); }
.burger i:last-child { transform: translateY(3.5px); }
.nav.open .burger i:first-child { transform: rotate(45deg); }
.nav.open .burger i:last-child { transform: rotate(-45deg); }
.sheet {
  display: none; width: 100%; margin-top: 8px; padding: 8px; border-radius: 18px;
  flex-direction: column; opacity: 0; transform: translateY(-8px) scale(0.98); pointer-events: none; transition: opacity 0.3s, transform 0.45s var(--ease);
}
.sheet a { padding: 12px 14px; border-radius: 10px; color: var(--muted); }
.sheet a:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }
.nav.open .sheet { opacity: 1; transform: none; pointer-events: auto; }

/* ───────── hero ───────── */
.hero { position: relative; padding: 150px 0 76px; text-align: center; overflow: hidden; }
.beams { position: absolute; inset: 0; display: flex; justify-content: center; gap: clamp(40px, 9vw, 130px); pointer-events: none;
  mask-image: linear-gradient(#000 10%, transparent 80%); -webkit-mask-image: linear-gradient(#000 10%, transparent 80%); }
.beams i { width: clamp(70px, 14vw, 190px); height: 100%; background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 70%); border-inline: 1px solid rgba(255, 255, 255, 0.035); }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: 140px; margin-bottom: 28px; }
.hero-logo img { width: 100%; height: auto; }

.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px 0 14px; border-radius: 99px; font-size: 13px; color: var(--muted);
  background: var(--clay-chip); box-shadow: var(--clay-chip-sh); transition: color 0.3s, transform 0.45s var(--spring);
}
.pill:hover { color: var(--text); transform: translateY(-1px); }
.pill svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease); }
.pill:hover svg { transform: translateX(2px); }

h1 { margin-top: 26px; max-width: 900px; font-size: clamp(40px, 6.6vw, 78px); line-height: 1.04; font-weight: 700; letter-spacing: -0.045em; }
.metal { background: linear-gradient(100deg, #8e8e98 0%, #f2f2f4 40%, #a6a6b0 75%, #f2f2f4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 560px; margin-top: 22px; font-size: 17px; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.ticks { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 28px; font-size: 13px; color: var(--dim); }
.ticks li { display: flex; align-items: center; gap: 7px; }
.ticks svg { width: 14px; height: 14px; color: var(--ok); stroke-width: 2.4; }

/* ───────── motion primitives ───────── */
.in { opacity: 0; transform: translateY(16px); filter: blur(6px); animation: enter 1s var(--ease) forwards; animation-delay: calc(var(--d) * 80ms + 100ms); }
@keyframes enter { to { opacity: 1; transform: none; filter: none; } }
.reveal { opacity: 0; transform: translateY(26px); filter: blur(5px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--rd, 0ms); }
.reveal.shown { opacity: 1; transform: none; filter: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.02em 0.14em; margin-bottom: -0.14em; }
.split .wi { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--wi) * 55ms + var(--sd, 0ms)); }
.split.shown .wi { transform: none; }

/* ───────── payment strip ───────── */
.paystrip { border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.012); }
.paystrip-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; flex-wrap: wrap; }
.paystrip-label { display: flex; align-items: center; gap: 14px; }
.paystrip-label b { display: block; font-size: 14px; font-weight: 600; }
.paystrip-label span { font-size: 12.5px; color: var(--dim); }
.paychips { display: flex; flex-wrap: wrap; gap: 10px; }
.paychip {
  display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 8px; border-radius: 13px; font-size: 13.5px; font-weight: 500; color: var(--muted); white-space: nowrap;
  background: var(--clay-chip); box-shadow: var(--clay-chip-sh); transition: transform 0.45s var(--spring), color 0.3s;
}
.paychip .coin { width: 30px; height: 30px; }
.paychip:hover { transform: translateY(-2px); color: var(--text); }
.coin { display: grid; place-items: center; border-radius: 50%; background: var(--well); box-shadow: var(--well-sh); color: #e7e7ea; transition: color 0.35s, background 0.35s; }
.coin svg { width: 55%; height: 55%; }
.coin svg.fill { fill: currentColor; stroke: none; }
.paychip:hover .coin { color: var(--brand); }

/* ───────── sections ───────── */
.section { padding: 84px 0; scroll-margin-top: 70px; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.head.center { justify-content: center; text-align: center; margin-bottom: 46px; }
.head.center .sub { max-width: 560px; margin-inline: auto; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
h2 { margin-top: 8px; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; font-weight: 700; letter-spacing: -0.035em; }
.sub { margin-top: 12px; color: var(--muted); }

.search { display: flex; align-items: center; gap: 10px; width: min(300px, 100%); height: 44px; padding: 0 14px; border-radius: 13px; color: var(--dim); background: var(--well); box-shadow: var(--well-sh); border-color: transparent; transition: color 0.25s; }
.search:focus-within { color: var(--text); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 14px; }
.search input::placeholder { color: var(--dim); }
.search input::-webkit-search-cancel-button { display: none; }

.tabs-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.tabs { position: relative; display: inline-flex; gap: 2px; padding: 5px; border-radius: 15px; max-width: 100%; overflow-x: auto; scrollbar-width: none; background: var(--well); box-shadow: var(--well-sh); border-color: transparent; }
.tabs button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 10px; font-size: 13.5px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: color 0.35s; }
.tabs button:hover { color: var(--text); }
.tabs button.on { color: #0b0b0e; }
.tabs button sup { font-size: 10.5px; opacity: 0.55; vertical-align: 0; line-height: 1; }
.tab-ind { position: absolute; top: 5px; bottom: 5px; border-radius: 10px; background: linear-gradient(180deg, #fcfcfd, #dcdce1); box-shadow: inset 0 1px 0 #fff, inset 0 -2px 4px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.5); transition: left 0.55s var(--ease), width 0.55s var(--ease); }
.toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); cursor: pointer; user-select: none; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle span { position: relative; width: 40px; height: 24px; border-radius: 99px; background: var(--well); box-shadow: var(--well-sh); transition: background 0.35s; }
.toggle span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--clay-chip); box-shadow: var(--clay-chip-sh); transition: transform 0.5s var(--spring), background 0.35s; }
.toggle input:checked + span { background: #2a2a30; }
.toggle input:checked + span::after { transform: translateX(16px); background: linear-gradient(180deg, #fff, #d8d8dd); }
.toggle input:focus-visible + span { outline: 2px solid rgba(255, 255, 255, 0.55); outline-offset: 2px; }

/* ───────── product cards ───────── */
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  --px: 0; --py: 0;
  position: relative; display: flex; flex-direction: column; padding: 8px; border-radius: var(--r); cursor: pointer; text-align: left; color: inherit;
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease), opacity 0.4s, border-color 0.5s;
  will-change: transform;
}
.card.enter { animation: cardIn 0.75s var(--ease) both; animation-delay: calc(var(--i) * 50ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(0.97); } }
.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -2px 6px rgba(0, 0, 0, 0.35), 0 2px 3px rgba(0, 0, 0, 0.5), 0 32px 50px -20px rgba(0, 0, 0, 0.9);
}
.card:active { transform: translateY(-2px) scale(0.985); transition-duration: 0.25s; }
.card.out { opacity: 0.5; }
.card.out:hover { opacity: 0.85; }

.media { position: relative; aspect-ratio: 16 / 11; border-radius: 15px; overflow: hidden; background: var(--well); box-shadow: var(--well-sh); }
.media::before {
  content: ""; position: absolute; inset: -10%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.2px); background-size: 14px 14px;
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 62%); -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 62%);
  transform: translate(calc(var(--px, 0) * -10px), calc(var(--py, 0) * -10px)) scale(1);
  transition: transform 0.9s var(--ease);
}
.card:hover .media::before, .pd-media:hover .media::before { transform: translate(calc(var(--px, 0) * -14px), calc(var(--py, 0) * -14px)) scale(1.12); }
.rings { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.rings i {
  position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%) scale(0.6); opacity: 0;
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, 0.05), inset -2px -2px 5px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: transform 0.9s var(--ease), opacity 0.6s var(--ease);
}
.rings i:nth-child(1) { width: 110px; height: 110px; }
.rings i:nth-child(2) { width: 160px; height: 160px; transition-delay: 0.05s; }
.rings i:nth-child(3) { width: 214px; height: 214px; transition-delay: 0.1s; }
.card:hover .rings i, .pd-media:hover .rings i { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.card:hover .rings i:nth-child(2), .pd-media:hover .rings i:nth-child(2) { opacity: 0.7; }
.card:hover .rings i:nth-child(3), .pd-media:hover .rings i:nth-child(3) { opacity: 0.4; }
.media .glyph {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; border-radius: 20px;
  transform: translate(calc(-50% + var(--px, 0) * 14px), calc(-50% + var(--py, 0) * 14px));
  transition: transform 0.8s var(--ease), background 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.media .glyph svg { width: 26px; height: 26px; stroke-width: 1.6; transition: transform 0.8s var(--ease); }
.card:hover .glyph { transform: translate(calc(-50% + var(--px, 0) * 14px), calc(-50% - 4px + var(--py, 0) * 14px)) scale(1.1); }
.card:hover .glyph svg { transform: scale(1.06); }
.media .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.card:hover .media .photo { transform: scale(1.05); }

.tag { position: absolute; top: 18px; z-index: 1; transition: transform 0.6s var(--ease); display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 99px; font-size: 11px; font-weight: 600; }
.tag.badge { left: 18px; background: linear-gradient(180deg, #fcfcfd, #dcdce1); color: #0b0b0e; box-shadow: inset 0 1px 0 #fff, 0 2px 5px rgba(0, 0, 0, 0.5); }
.tag.sale { right: 18px; background: var(--clay-chip); box-shadow: var(--clay-chip-sh); color: var(--ok); }

.c-body { display: flex; flex-direction: column; flex: 1; padding: 14px 10px 8px; }
.c-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--dim); }
.c-meta .dl { display: inline-flex; align-items: center; gap: 5px; }
.c-meta .dl svg { width: 12px; height: 12px; }
.st { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); flex: none; }
.st.low::before { background: var(--warn); }
.st.none::before { background: var(--bad); }
.st.group::before { background: var(--muted); }
.card:hover .tag.badge { transform: translateX(2px); }
.card:hover .tag.sale { transform: translateX(-2px); }
.c-name { margin-top: 8px; transition: transform 0.6s var(--ease); font-size: 15.5px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; }
.c-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.c-price small { display: block; font-size: 11.5px; color: var(--dim); }
.card:hover .c-name { transform: translateX(2px); }
.c-price b { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.c-price s { margin-left: 6px; font-size: 12.5px; color: var(--dim); }
.c-go {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 11px; flex: none; font-size: 12.5px; font-weight: 600;
  background: var(--clay-chip); box-shadow: var(--clay-chip-sh); color: var(--text);
  transition: background 0.35s, color 0.35s, box-shadow 0.35s;
}
.c-go svg { width: 14px; height: 14px; transition: transform 0.45s var(--ease); }
.card:hover .c-go { background: linear-gradient(180deg, #fcfcfd, #dcdce1); color: #0b0b0e; box-shadow: inset 0 1px 0 #fff, inset 0 -2px 4px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.5); }
.card:hover .c-go svg { transform: translateX(2px); }

.empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 50px 20px; border-radius: var(--r); color: var(--muted); text-align: center; animation: cardIn 0.5s var(--ease); }
.empty b { color: var(--text); }

/* ───────── bento ───────── */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; padding: 10px; border-radius: 26px; overflow: hidden; }
.t-delivery { grid-column: span 7; }
.t-stock { grid-column: span 5; }
.t-crypto, .t-balance, .t-support { grid-column: span 4; }
.t-strip { grid-column: span 12; }
.viz {
  position: relative; flex: 1; min-height: 230px; display: grid; place-items: center; padding: 22px; border-radius: 18px; overflow: hidden;
  background: var(--well); box-shadow: var(--well-sh);
}
.viz::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.2px); background-size: 16px 16px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 75%);
}
.viz > * { position: relative; }
.tile-text { padding: 20px 14px 12px; }
.tile h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.tile p { margin-top: 6px; font-size: 14px; color: var(--muted); max-width: 440px; }

/* delivery pipeline */
.t-delivery .viz { gap: 26px; align-content: center; }
.pipe { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); width: min(440px, 100%); }
.pipe-track { position: absolute; top: 21px; left: 16.66%; right: 16.66%; height: 3px; border-radius: 3px; background: #1d1d22; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6); overflow: hidden; }
.pipe-track i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #8e8e98, #f4f4f6); transition: width 0.9s var(--ease-io); }
.pipe[data-step="2"] .pipe-track i { width: 50%; }
.pipe[data-step="3"] .pipe-track i, .pipe[data-step="4"] .pipe-track i { width: 100%; }
.pipe-node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12.5px; color: var(--dim); transition: color 0.4s; }
.pipe-node b { font-weight: 500; }
.pipe-node .clay-ic { color: var(--dim); }
.pipe-node .clay-ic svg { transition: transform 0.6s var(--spring); }
.pipe[data-step="1"] .pipe-node:nth-of-type(-n + 2), .pipe[data-step="2"] .pipe-node:nth-of-type(-n + 3), .pipe[data-step="3"] .pipe-node, .pipe[data-step="4"] .pipe-node { color: var(--text); }
.pipe[data-step="1"] .pipe-node:nth-of-type(-n + 2) .clay-ic,
.pipe[data-step="2"] .pipe-node:nth-of-type(-n + 3) .clay-ic,
.pipe[data-step="3"] .pipe-node .clay-ic, .pipe[data-step="4"] .pipe-node .clay-ic {
  background: linear-gradient(180deg, #fcfcfd, #d8d8dd); color: #0b0b0e; box-shadow: inset 0 1px 0 #fff, inset 0 -3px 5px rgba(0, 0, 0, 0.18), 2px 4px 10px rgba(0, 0, 0, 0.5);
}
.pipe[data-step="2"] .pipe-node:nth-of-type(3) .clay-ic svg { animation: spin 1.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.order-card {
  width: min(440px, 100%); padding: 14px; border-radius: 16px; background: var(--clay); box-shadow: var(--clay-sh); border: 1px solid var(--line);
  opacity: 0.35; transform: translateY(8px) scale(0.98); transition: opacity 0.6s var(--ease), transform 0.7s var(--spring);
}
.pipe[data-step="4"] + .order-card { opacity: 1; transform: none; }
.oc-head { display: flex; align-items: center; gap: 12px; }
.oc-head div { flex: 1; min-width: 0; }
.oc-head b { display: block; font-size: 13.5px; font-weight: 600; }
.oc-head span { font-size: 12px; color: var(--dim); }
.oc-badge { flex: none; padding: 3px 9px; border-radius: 99px; font-size: 11px !important; font-weight: 600; color: var(--ok) !important; background: var(--clay-chip); box-shadow: var(--clay-chip-sh); transform: scale(0.6); opacity: 0; transition: transform 0.5s var(--spring) 0.15s, opacity 0.3s 0.15s; }
.pipe[data-step="4"] + .order-card .oc-badge { transform: none; opacity: 1; }
.oc-key { display: flex; align-items: center; gap: 2px; margin-top: 12px; height: 40px; padding: 0 6px 0 12px; border-radius: 11px; background: var(--well); box-shadow: var(--well-sh); }
.oc-key code { font: 500 13px "JetBrains Mono", ui-monospace, Consolas, monospace; letter-spacing: 0.06em; color: var(--text); white-space: nowrap; overflow: hidden; }
.caret { width: 2px; height: 15px; background: var(--muted); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.oc-copy { margin-left: auto; height: 28px; padding: 0 10px; border-radius: 8px; font-size: 11.5px; font-weight: 600; color: var(--muted); background: var(--clay-chip); box-shadow: var(--clay-chip-sh); }

/* live stock */
.stock-list { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.srow { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 12px; row-gap: 7px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--clay); box-shadow: var(--clay-sh); border: 1px solid var(--line);
  opacity: 0; transform: translateY(10px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i) * 110ms + 250ms); }
.tile.shown .srow { opacity: 1; transform: none; }
.srow .clay-ic { grid-row: span 2; }
.srow b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srow .st { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.meter { grid-column: 2 / 4; height: 5px; border-radius: 5px; background: var(--well); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #7c7c86, #e9e9ee); transition: width 1.4s var(--ease); transition-delay: calc(var(--i) * 110ms + 500ms); }
.meter.low i { background: linear-gradient(90deg, #8a6a1c, var(--warn)); }
.meter.none i { background: var(--bad); }
.tile.shown .meter i { width: var(--w); }

/* crypto coins */
.coins { display: flex; gap: 14px; }
.coin-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; color: var(--dim); transition: color 0.45s; }
.coin-wrap .coin { width: 66px; height: 66px; background: var(--clay-chip); box-shadow: var(--clay-chip-sh); color: var(--muted); transition: background 0.5s var(--ease), color 0.5s var(--ease), transform 0.6s var(--spring); }
.coin-wrap.on { color: var(--text); }
.coin-wrap.on .coin { background: linear-gradient(180deg, #fcfcfd, #d6d6db); color: #0b0b0e; transform: scale(1.06); box-shadow: inset 0 1px 0 #fff, inset 0 -4px 7px rgba(0, 0, 0, 0.2), 3px 6px 14px rgba(0, 0, 0, 0.55); }
.coin-wrap span { letter-spacing: 0.06em; }

/* balance wallet */
.wallet { width: min(280px, 100%); padding: 16px; border-radius: 18px; background: var(--clay); box-shadow: var(--clay-sh); border: 1px solid var(--line); }
.w-top { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--dim); }
.w-amt { display: block; margin: 8px 0 14px; font-size: 30px; font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.w-rows { display: flex; flex-direction: column; gap: 6px; }
.w-row { display: flex; align-items: center; gap: 9px; height: 34px; padding: 0 10px; border-radius: 10px; font-size: 12px; color: var(--muted); background: var(--well); box-shadow: var(--well-sh);
  opacity: 0.25; transform: scale(0.98); transition: opacity 0.5s var(--ease), transform 0.5s var(--spring); }
.w-row i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 6px; font-style: normal; font-weight: 700; font-size: 12px; background: var(--clay-chip); box-shadow: var(--clay-chip-sh); }
.in-row i { color: var(--ok); }
.out-row i { color: var(--text); }
.wallet[data-phase="in"] .in-row, .wallet[data-phase="out"] .out-row { opacity: 1; transform: none; }
.wallet[data-phase="out"] .in-row { opacity: 0.45; }

/* chat */
.chat { display: flex; flex-direction: column; gap: 9px; width: min(280px, 100%); }
.bubble { align-self: flex-start; padding: 9px 13px; border-radius: 15px 15px 15px 5px; font-size: 12.5px; color: var(--muted); background: var(--clay-chip); box-shadow: var(--clay-chip-sh); max-width: 92%; }
.bubble.me { align-self: flex-end; border-radius: 15px 15px 5px 15px; background: linear-gradient(180deg, #fcfcfd, #dcdce1); color: #0b0b0e; box-shadow: inset 0 1px 0 #fff, inset 0 -2px 5px rgba(0, 0, 0, 0.14), 2px 4px 10px rgba(0, 0, 0, 0.45); }
.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 11px 13px; border-radius: 15px; background: var(--clay-chip); box-shadow: var(--clay-chip-sh); }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: dot 1.3s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: 0.16s; }
.typing i:nth-child(3) { animation-delay: 0.32s; }
@keyframes dot { 30% { transform: translateY(-3px); opacity: 1; } 0%, 60%, 100% { opacity: 0.35; } }
.chat > * { opacity: 0; transform: translateY(10px) scale(0.96); transition: opacity 0.55s var(--ease), transform 0.6s var(--spring); }
.tile.shown .chat > * { opacity: 1; transform: none; }
.tile.shown .b1 { transition-delay: 0.3s; }
.tile.shown .b2 { transition-delay: 1.1s; }
.tile.shown .b3 { transition-delay: 1.9s; }

/* guarantees strip */
.t-strip { flex-direction: row; padding: 8px; }
.g-item { flex: 1; display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.g-item + .g-item { border-left: 1px solid var(--line); }
.g-item b { display: block; font-size: 14.5px; font-weight: 600; }
.g-item span { font-size: 13px; color: var(--dim); }
.g-item .clay-ic { transition: transform 0.6s var(--spring); }
.g-item:hover .clay-ic { transform: translateY(-2px) scale(1.05); }

/* ───────── numbers ───────── */
.numbers-wrap { padding-top: 0; }
.numbers { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); border-radius: 24px; padding: 8px; gap: 8px; }
.num { padding: 26px 16px; text-align: center; border-radius: 17px; background: var(--well); box-shadow: var(--well-sh); }
.num b { display: block; font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.num span { font-size: 13px; color: var(--dim); }

/* ───────── steps ───────── */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps-line { position: absolute; top: 31px; left: 16.6%; right: 16.6%; height: 3px; border-radius: 3px; background: var(--well); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6); overflow: hidden; }
.steps-line i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #6e6e78, #f4f4f6); transition: width 1.8s var(--ease-io) 0.3s; }
.steps.go .steps-line i { width: 100%; }
.step { position: relative; text-align: center; }
.step-num { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px; font-weight: 700; font-size: 16px; background: var(--clay-chip); box-shadow: var(--clay-chip-sh); color: var(--dim); transition: background 0.6s var(--ease), color 0.6s var(--ease); }
.steps.go .step:nth-of-type(2) .step-num { transition-delay: 0.3s; }
.steps.go .step:nth-of-type(3) .step-num { transition-delay: 1.1s; }
.steps.go .step:nth-of-type(4) .step-num { transition-delay: 1.9s; }
.steps.go .step-num { background: linear-gradient(180deg, #fcfcfd, #d8d8dd); color: #0b0b0e; box-shadow: inset 0 1px 0 #fff, inset 0 -3px 6px rgba(0, 0, 0, 0.18), 3px 6px 14px rgba(0, 0, 0, 0.55); }
.step h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.step p { margin-top: 6px; font-size: 14px; color: var(--muted); max-width: 260px; margin-inline: auto; }

/* ───────── reviews ───────── */
.review-rows { display: flex; flex-direction: column; gap: 14px; overflow: hidden; padding: 10px 0 20px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.review-track { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.review-track.rev { animation-direction: reverse; }
.review-rows:hover .review-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.review { width: 320px; padding: 18px; border-radius: 20px; }
.review .stars { color: #f4f4f6; letter-spacing: 2px; font-size: 13px; }
.review p { margin: 10px 0 14px; font-size: 14px; }
.review .who { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--dim); }
.review .who b { color: var(--muted); font-weight: 500; }

/* ───────── FAQ ───────── */
.faq { display: flex; flex-direction: column; gap: 10px; }
.qa { border-radius: 18px; overflow: hidden; }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 16px 16px 22px; cursor: pointer; font-weight: 500; transition: color 0.3s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; width: 32px; height: 32px; flex: none; border-radius: 10px; background: var(--clay-chip); box-shadow: var(--clay-chip-sh); transition: transform 0.5s var(--spring); }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -0.8px 0 0 -6px; background: var(--muted); border-radius: 2px; transition: transform 0.5s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa summary:hover i { transform: scale(1.06); }
.qa-body { overflow: hidden; }
.qa-body p { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; max-width: 620px; }

/* ───────── support ───────── */
.support { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 860px; margin-inline: auto; }
.support-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 26px; border-radius: 24px; transition: transform 0.6s var(--ease); }
.support-card:hover { transform: translateY(-3px); }
.support-card .clay-ic { margin-bottom: 20px; }
.support-card:hover .clay-ic { transform: translateY(-2px) scale(1.05); }
.support-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.support-card p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.s-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-size: 14px; font-weight: 600; }
.s-link svg { width: 15px; height: 15px; }
.support-card:hover .s-link .arrow { transform: translateX(4px); }
.s-tag { position: absolute; top: 24px; right: 24px; padding: 3px 10px; border-radius: 99px; background: linear-gradient(180deg, #fcfcfd, #dcdce1); color: #0b0b0e; font-size: 11px; font-weight: 600; box-shadow: inset 0 1px 0 #fff, 0 2px 5px rgba(0, 0, 0, 0.5); }

/* ───────── CTA ───────── */
.cta { position: relative; overflow: hidden; padding: 72px 24px; border-radius: 30px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-logo { position: absolute; width: 520px; max-width: 90%; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-8deg); opacity: 0.035; pointer-events: none; }
.cta h2 { margin-top: 10px; }
.cta p { margin-top: 12px; color: var(--muted); max-width: 460px; }
.cta .cta-row { margin-top: 30px; }

/* ───────── footer ───────── */
.footer { position: relative; margin-top: 40px; border-top: 1px solid var(--line); padding: 56px 0 0; overflow: hidden; }
.foot { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand { max-width: 300px; }
.foot-brand p { margin: 12px 0 16px; color: var(--dim); font-size: 14px; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-cols h4 { font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.foot-cols a { display: block; padding: 3px 0; font-size: 14px; color: var(--dim); transition: color 0.25s, transform 0.4s var(--ease); }
.foot-cols a:hover { color: var(--text); transform: translateX(2px); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 44px; padding: 22px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.ok { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); }
.to-top { display: inline-flex; align-items: center; gap: 6px; transition: color 0.25s; }
.to-top:hover { color: var(--text); }
.to-top svg { width: 14px; height: 14px; transition: transform 0.45s var(--ease); }
.to-top:hover svg { transform: translateY(-2px); }
.foot-word {
  text-align: center; font-size: clamp(70px, 17vw, 240px); font-weight: 700; letter-spacing: -0.06em; line-height: 0.78; margin-top: 10px; user-select: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ───────── modal ───────── */
.modal, .palette { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; visibility: hidden; transition: visibility 0s 0.5s; }
.modal.open, .palette.open { visibility: visible; transition: none; }
.modal-scrim, .scrim { position: absolute; inset: 0; background: rgba(4, 4, 6, 0.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity 0.45s var(--ease); }
.modal.open .modal-scrim, .palette.open .modal-scrim { opacity: 1; }
.modal-card {
  position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; width: min(920px, 100%); max-height: calc(100dvh - 32px); padding: 8px;
  border-radius: 28px; overflow: hidden; opacity: 0; transform: translateY(26px) scale(0.96); transition: opacity 0.35s var(--ease), transform 0.6s var(--ease);
}
.modal.open .modal-card { opacity: 1; transform: none; }
.modal-x { position: absolute; top: 14px; right: 14px; z-index: 5; }
.m-media { aspect-ratio: auto; min-height: 100%; border-radius: 21px; }
.m-media .glyph { width: 110px; height: 110px; border-radius: 32px; }
.m-media .glyph svg { width: 42px; height: 42px; }
.m-body { padding: 24px 22px 18px 28px; overflow-y: auto; overscroll-behavior: contain; }
.m-body > * { opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.modal.open .m-body > * { opacity: 1; transform: none; }
.modal.open .m-body > :nth-child(1) { transition-delay: 0.08s; }
.modal.open .m-body > :nth-child(2) { transition-delay: 0.12s; }
.modal.open .m-body > :nth-child(3) { transition-delay: 0.16s; }
.modal.open .m-body > :nth-child(4) { transition-delay: 0.2s; }
.modal.open .m-body > :nth-child(n + 5) { transition-delay: 0.24s; }
.m-cat { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.m-body h3 { margin-top: 6px; font-size: 26px; font-weight: 700; letter-spacing: -0.03em; padding-right: 40px; }
.m-price { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.m-price b { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.m-price s { color: var(--dim); font-size: 15px; }
.m-stock { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; font-size: 12.5px; color: var(--muted); }
.m-stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.m-stock.low::before { background: var(--warn); }
.m-stock.none::before { background: var(--bad); }
.m-desc { margin-top: 14px; color: var(--muted); font-size: 14.5px; }
.m-label { margin: 20px 0 8px; font-size: 12.5px; font-weight: 600; color: var(--dim); }
.variants { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.variant {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 11px 13px; border-radius: 13px; text-align: left; font-size: 13.5px; font-weight: 500;
  background: var(--well); box-shadow: var(--well-sh); transition: background 0.35s, box-shadow 0.35s, color 0.35s, transform 0.45s var(--spring);
}
.variant span { color: var(--muted); font-size: 12.5px; font-weight: 400; transition: color 0.35s; }
.variant span s { color: var(--dim); margin-left: 4px; }
.variant:hover { transform: translateY(-1px); }
.variant:active { transform: scale(0.97); }
.variant.on { background: var(--clay-chip); box-shadow: var(--clay-chip-sh), inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.variant.on span { color: var(--text); }
.variant:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.m-buy { display: flex; gap: 8px; flex-wrap: wrap; }
.m-buy .btn { flex: 1; min-width: 120px; }
.qty { display: flex; align-items: center; height: 42px; border-radius: 12px; overflow: hidden; background: var(--well); box-shadow: var(--well-sh); }
.qty button { display: grid; place-items: center; width: 36px; height: 100%; color: var(--muted); font-size: 17px; transition: color 0.2s; }
.qty button:hover { color: var(--text); }
.qty button:active { transform: scale(0.9); }
.qty input { width: 36px; text-align: center; background: none; border: 0; outline: 0; color: var(--text); font: 600 14px Inter, sans-serif; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.m-perks { list-style: none; display: flex; gap: 8px 18px; flex-wrap: wrap; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }
.m-perks li { display: flex; align-items: center; gap: 7px; }
.m-perks svg { width: 14px; height: 14px; }

/* ───────── search palette ───────── */
.palette { place-items: start center; padding-top: 12vh; }
.palette-card { position: relative; width: min(600px, 100%); border-radius: 22px; overflow: hidden; opacity: 0; transform: translateY(-12px) scale(0.97); transition: opacity 0.3s var(--ease), transform 0.55s var(--ease); }
.palette.open .palette-card { opacity: 1; transform: none; }
.p-input { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); color: var(--dim); }
.p-input input { flex: 1; background: none; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 16px; }
.p-input input::placeholder { color: var(--dim); }
.p-list { max-height: min(52vh, 420px); overflow-y: auto; padding: 8px; overscroll-behavior: contain; }
.p-group { padding: 8px 10px 6px; font-size: 11.5px; font-weight: 600; color: var(--dim); letter-spacing: 0.06em; text-transform: uppercase; }
.p-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border-radius: 12px; text-align: left; font-size: 14px; color: var(--muted); transition: background 0.2s, color 0.2s; animation: cardIn 0.4s var(--ease) both; }
.p-item.on { background: rgba(255, 255, 255, 0.055); color: var(--text); }
.p-item b { flex: 1; font-weight: 500; }
.p-item em { font-style: normal; font-size: 13px; color: var(--dim); }
.p-none { padding: 26px; text-align: center; color: var(--dim); font-size: 14px; }
.p-foot { display: flex; gap: 18px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); }
.p-foot kbd { margin-right: 3px; }

/* ───────── drawer ───────── */
.scrim { position: fixed; z-index: 70; pointer-events: none; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; z-index: 75; top: 10px; right: 10px; bottom: 10px; width: min(410px, calc(100% - 20px));
  display: flex; flex-direction: column; border-radius: 24px; transform: translateX(calc(100% + 20px)); transition: transform 0.65s var(--ease);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 14px 14px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 17px; font-weight: 600; }
.drawer-head h3 span { color: var(--dim); font-weight: 500; }
.drawer-items { flex: 1; overflow-y: auto; padding: 10px; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 6px; }
.line-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; background: var(--clay); box-shadow: var(--clay-sh); border: 1px solid var(--line); }
.drawer.open .line-item { animation: cardIn 0.5s var(--ease) both; animation-delay: calc(var(--i) * 60ms + 120ms); }
.line-item .info { flex: 1; min-width: 0; }
.line-item .info b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.line-item .info span { font-size: 12.5px; color: var(--dim); }
.line-item .right { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.line-item .right b { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.line-item .qty { height: 28px; border-radius: 9px; }
.line-item .qty button { width: 26px; font-size: 14px; }
.line-item .qty input { width: 24px; font-size: 12.5px; }
.drawer-empty { flex: 1; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--muted); text-align: center; padding: 20px; }
.drawer-empty .clay-ic { margin-bottom: 14px; }
.drawer-empty b { color: var(--text); font-weight: 600; }
.drawer-empty p { font-size: 14px; margin-bottom: 16px; }
.drawer.is-empty .drawer-empty { display: flex; }
.drawer.is-empty .drawer-items, .drawer.is-empty .drawer-foot { display: none; }
.drawer-foot { padding: 16px 18px 14px; border-top: 1px solid var(--line); }
.sum { display: flex; justify-content: space-between; font-size: 13px; color: var(--dim); margin-bottom: 4px; }
.sum b { color: var(--ok); font-weight: 600; }
.total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; color: var(--muted); font-size: 14px; }
.total b { color: var(--text); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pay-with { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; font-size: 12px; color: var(--dim); }
.pay-with > span:first-child { margin-right: auto; }
.pay-with .coin { width: 28px; height: 28px; }
.clear-cart { display: block; margin: 10px auto 0; font-size: 12.5px; color: var(--dim); transition: color 0.25s; }
.clear-cart:hover { color: var(--bad); }

/* ───────── promo ───────── */
.promo { position: fixed; z-index: 60; left: 16px; bottom: 16px; width: min(340px, calc(100% - 32px)); padding: 20px; border-radius: 22px; animation: promoIn 0.7s var(--ease) both; }
.promo.bye { animation: promoOut 0.4s var(--ease) both; }
@keyframes promoIn { from { opacity: 0; transform: translateY(20px) scale(0.96); } }
@keyframes promoOut { to { opacity: 0; transform: translateY(20px) scale(0.96); } }
.promo img { width: 46px; height: auto; margin-bottom: 12px; }
.promo h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.promo p { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.promo-actions { display: flex; gap: 8px; margin-top: 16px; }
.promo-x { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; }
.promo-x svg { width: 15px; height: 15px; }

/* ───────── toast ───────── */
.toast {
  position: fixed; z-index: 90; left: 50%; bottom: 24px; display: flex; align-items: center; gap: 9px; max-width: calc(100% - 32px); padding: 11px 16px; border-radius: 14px; font-size: 14px;
  transform: translate(-50%, 24px) scale(0.95); opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.55s var(--spring);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 16px; height: 16px; color: var(--ok); }

/* ───────── page transitions ───────── */
main, .footer { transition: opacity 0.26s var(--ease), transform 0.26s var(--ease); }
body.leaving main, body.leaving .footer { opacity: 0; transform: translateY(8px); }
.page-main { padding: 120px 0 40px; min-height: 70vh; }

/* ───────── drawer: cart ⇄ checkout ───────── */
.drawer { overflow: hidden; }
.drawer-views { display: flex; width: 200%; height: 100%; transition: transform 0.6s var(--ease); }
.drawer.paying .drawer-views { transform: translateX(-50%); }
.dv { width: 50%; height: 100%; display: flex; flex-direction: column; min-width: 0; transition: opacity 0.4s var(--ease); }
.drawer.paying .dv-cart, .drawer:not(.paying) .dv-pay { opacity: 0; pointer-events: none; }
.dv-pay .drawer-head { gap: 6px; padding-left: 12px; }
.dv-pay .drawer-head h3 { flex: 1; }
.li-ic { flex: none; }
.pay-form { flex: 1; overflow-y: auto; padding: 18px 18px 16px; display: flex; flex-direction: column; overscroll-behavior: contain; }
.field-label { display: block; margin: 0 0 8px; font-size: 12.5px; font-weight: 600; color: var(--dim); }
.pay-form .field-label:not(:first-child) { margin-top: 20px; }
.field { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border-radius: 13px; background: var(--well); box-shadow: var(--well-sh); color: var(--dim); transition: box-shadow 0.3s; }
.field:focus-within { color: var(--text); box-shadow: var(--well-sh), inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.field input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 15px; }
.field input::placeholder { color: var(--dim); }
.hint { margin-top: 7px; font-size: 12px; color: var(--dim); }
.methods { display: flex; flex-direction: column; gap: 8px; }
.method {
  position: relative; display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 14px 0 10px; border-radius: 14px; cursor: pointer;
  background: var(--well); box-shadow: var(--well-sh); transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.45s var(--spring);
}
.method input { position: absolute; opacity: 0; pointer-events: none; }
.method .coin { width: 34px; height: 34px; }
.method b { flex: 1; font-size: 14px; font-weight: 500; color: var(--muted); transition: color 0.3s; }
.method:hover { transform: translateY(-1px); }
.method:active { transform: scale(0.985); }
.radio { position: relative; width: 20px; height: 20px; border-radius: 50%; flex: none; background: var(--well); box-shadow: inset 1px 2px 4px rgba(0, 0, 0, 0.7), inset -1px -1px 0 rgba(255, 255, 255, 0.05); }
.radio::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: linear-gradient(180deg, #fff, #cfcfd5); transform: scale(0); transition: transform 0.45s var(--spring); }
.method:has(input:checked) { background: var(--clay-chip); box-shadow: var(--clay-chip-sh), inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.method:has(input:checked) b { color: var(--text); }
.method:has(input:checked) .radio::after { transform: scale(1); }
.method:has(input:focus-visible) { outline: 2px solid rgba(255, 255, 255, 0.55); outline-offset: 2px; }
.coupon { margin-top: 16px; }
.coupon [hidden] { display: none !important; }
.coupon-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 0; background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; transition: color 0.25s; }
.coupon-toggle:hover { color: var(--text); }
.coupon-toggle svg, .coupon-on > svg { width: 16px; height: 16px; flex: none; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row .field { flex: 1; min-width: 0; }
.coupon-row .field input { text-transform: uppercase; letter-spacing: 0.04em; }
.coupon-row .field input::placeholder { text-transform: none; letter-spacing: 0; }
.coupon-row .btn { --h: 48px; flex: none; }
.coupon-on { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 6px 0 14px; border-radius: 13px; background: var(--well); box-shadow: var(--well-sh); color: var(--good, #4ade80); }
.coupon-on span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; color: var(--muted); }
.coupon-on span b { color: var(--text); font-weight: 600; letter-spacing: 0.03em; }
.coupon-on .icon-btn { width: 34px; height: 34px; }
.coupon-on .icon-btn svg { width: 14px; height: 14px; }
.pay-summary { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding: 18px 2px 0; font-size: 14px; color: var(--muted); }
.pay-summary b { font-size: 22px; font-weight: 600; color: var(--text); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.form-error { min-height: 20px; margin: 8px 2px; font-size: 13px; color: var(--bad); }
.form-error:empty { min-height: 0; margin: 4px 0; }
#payBtn { position: relative; }
.spinner { position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(0, 0, 0, 0.18); border-top-color: #0b0b0e; opacity: 0; animation: spin 0.8s linear infinite; transition: opacity 0.2s; }
#payBtn.loading .spinner { opacity: 1; }
#payBtn.loading .pay-label, #authBtn.loading .auth-label { opacity: 0; }
#authBtn.loading .spinner { opacity: 1; }
.auth-label { transition: opacity 0.2s; }
.pay-label { transition: opacity 0.2s; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 12px; font-size: 12px; color: var(--dim); }
.secure-note svg { width: 13px; height: 13px; }
#toCheckout .arrow { transition: transform 0.45s var(--ease); }
#toCheckout:hover .arrow { transform: translateX(3px); }

/* ───────── breadcrumbs ───────── */
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: 13px; color: var(--dim); }
.crumbs a { transition: color 0.25s; }
.crumbs a:hover { color: var(--text); }
.crumbs svg { width: 12px; height: 12px; opacity: 0.6; }
.crumbs span { color: var(--muted); }

/* ───────── product page ───────── */
.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: start; }
.pd-gallery { display: flex; flex-direction: column; gap: 14px; }
.pd-media { --px: 0; --py: 0; position: relative; padding: 10px; border-radius: 28px; background: var(--clay); border: 1px solid var(--line); box-shadow: var(--clay-sh); }
.pd-media .media { aspect-ratio: 4 / 3.3; border-radius: 20px; }
.pd-media .glyph { width: 116px; height: 116px; border-radius: 34px; transform: translate(calc(-50% + var(--px, 0) * 20px), calc(-50% + var(--py, 0) * 20px)); }
.pd-media .glyph svg { width: 46px; height: 46px; }
.pd-media:hover .glyph { transform: translate(calc(-50% + var(--px, 0) * 20px), calc(-50% - 4px + var(--py, 0) * 20px)) scale(1.05); }
.pd-media .rings i:nth-child(1) { width: 190px; height: 190px; }
.pd-media .rings i:nth-child(2) { width: 280px; height: 280px; }
.pd-media .rings i:nth-child(3) { width: 380px; height: 380px; }
.pd-media .tag.badge { top: 26px; left: 26px; }
.pd-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hl { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: var(--clay); border: 1px solid var(--line); box-shadow: var(--clay-sh); transition: transform 0.6s var(--ease); }
.hl:hover { transform: translateY(-2px); }
.hl b { display: block; font-size: 13.5px; font-weight: 600; }
.hl span { font-size: 12px; color: var(--dim); }

.pd-buy { position: sticky; top: 96px; }
.pd-panel { padding: 26px; border-radius: 28px; background: var(--clay); border: 1px solid var(--line); box-shadow: var(--clay-sh); }
.pd-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pd-top .chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 5px; border-radius: 99px; font-size: 12.5px; font-weight: 500; color: var(--muted); background: var(--clay-chip); box-shadow: var(--clay-chip-sh); }
.chip-ic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--well); box-shadow: var(--well-sh); color: var(--text); }
.chip-ic svg { width: 13px; height: 13px; }
.pd-title { margin-top: 16px; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.08; font-weight: 700; letter-spacing: -0.04em; }
.pd-price { display: flex; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.pd-price b { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pd-price b.tick { animation: tick 0.5s var(--ease); }
@keyframes tick { from { opacity: 0.4; transform: translateY(4px); } }
.pd-price b { display: inline-block; }
.pd-price s { font-size: 16px; color: var(--dim); }
.save-pill { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 99px; font-size: 12px; font-weight: 600; color: var(--ok); background: var(--clay-chip); box-shadow: var(--clay-chip-sh); }
.pd-desc { margin-top: 14px; color: var(--muted); font-size: 15px; }
.pd-panel .field-label { margin-top: 22px; }
.pd-variants { display: flex; flex-direction: column; gap: 8px; }
.pv {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 13px 16px 13px 14px; border-radius: 15px; text-align: left;
  background: var(--well); box-shadow: var(--well-sh); transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.45s var(--spring);
}
.pv:hover { transform: translateY(-1px); }
.pv:active { transform: scale(0.99); }
.pv-name { flex: 1; display: flex; flex-direction: column; }
.pv-name b { font-size: 14.5px; font-weight: 600; color: var(--muted); transition: color 0.3s; }
.pv-name small { font-size: 12px; color: var(--dim); }
.pv-price { display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.pv-price b { font-size: 15px; font-weight: 600; }
.pv-price s { font-size: 12.5px; color: var(--dim); }
.pv.on { background: var(--clay-chip); box-shadow: var(--clay-chip-sh), inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.pv.on .pv-name b { color: var(--text); }
.pv.on .radio::after { transform: scale(1); }
.pv:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.pd-buyrow { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-buyrow .btn { flex: 1; min-width: 140px; }
.qty-lg { height: 50px; border-radius: 14px; }
.qty-lg button { width: 42px; }
.qty-lg input { width: 40px; font-size: 15px; }
#pdAdd.done svg { animation: pop 0.5s var(--spring); }
@keyframes pop { 40% { transform: scale(1.35); } }
.pd-paywith { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }
.pd-paywith > span:first-child { margin-right: auto; }
.pd-paywith .coin { width: 32px; height: 32px; transition: color 0.35s, transform 0.45s var(--spring); }
.pd-paywith .coin:hover { color: var(--brand); transform: translateY(-2px); }

.pd-info { margin-top: 56px; }
.pd-tabs { margin-bottom: 16px; }
.pd-tabs button svg { width: 15px; height: 15px; }
.pd-panels { position: relative; overflow: hidden; padding: 24px; border-radius: 24px; background: var(--clay); border: 1px solid var(--line); box-shadow: var(--clay-sh); }
.pd-pane { display: none; }
.pd-pane.on { display: block; animation: paneIn 0.55s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateY(10px); } }
.ticklist { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.ticklist li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--well); box-shadow: var(--well-sh); font-size: 14px; color: var(--muted); }
.ticklist li b { color: var(--text); font-weight: 600; }
.steps-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steps-mini > div { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 16px; background: var(--well); box-shadow: var(--well-sh); }
.steps-mini .clay-ic { margin-bottom: 6px; }
.steps-mini b { font-size: 14.5px; }
.steps-mini span { font-size: 13px; color: var(--muted); }
.pd-related { margin-top: 70px; }
.pd-missing { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 80px 20px; text-align: center; }
.pd-missing h1 { margin-top: 8px; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.035em; }
.pd-missing p { color: var(--muted); margin-bottom: 14px; }

/* ───────── invoice page ───────── */
.inv-wrap { width: min(820px, 100% - 32px); }
.inv-lookup { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 40px 0 20px; }
.inv-lookup h1 { margin-top: 10px; font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.04em; line-height: 1.1; }
.inv-lookup > p { color: var(--muted); max-width: 440px; }
.inv-form { display: flex; gap: 10px; width: min(520px, 100%); margin-top: 18px; }
.inv-form .field { flex: 1; height: 50px; }
.inv-form input { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; letter-spacing: 0.04em; text-transform: uppercase; }
.recent { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12.5px; color: var(--dim); }
.recent div { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.recent-chip { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 11px; font: 500 12.5px "JetBrains Mono", ui-monospace, Consolas, monospace; color: var(--muted); background: var(--clay-chip); box-shadow: var(--clay-chip-sh); transition: transform 0.45s var(--spring), color 0.3s; }
.recent-chip:hover { transform: translateY(-2px); color: var(--text); }
.recent-chip svg { width: 14px; height: 14px; }

.inv-hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 10px 0 30px; }
.inv-badge { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 28px; background: var(--clay-chip); box-shadow: var(--clay-chip-sh); color: var(--dim); }
.inv-badge.ok { background: linear-gradient(180deg, #fcfcfd, #d6d6db); color: #0b0b0e; box-shadow: inset 0 1px 0 #fff, inset 0 -4px 8px rgba(0, 0, 0, 0.2), 4px 8px 20px rgba(0, 0, 0, 0.55); }
.inv-badge svg { width: 38px; height: 38px; stroke-width: 2.4; }
.inv-badge .draw { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw 0.7s var(--ease) 0.45s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.inv-hero h1 { margin-top: 22px; font-size: clamp(30px, 4.6vw, 44px); letter-spacing: -0.04em; line-height: 1.1; }
.inv-hero p { margin-top: 10px; max-width: 480px; color: var(--muted); }
.inv-hero p b { color: var(--text); font-weight: 500; }
.inv-id { display: inline-flex; align-items: center; gap: 10px; height: 42px; margin-top: 22px; padding: 0 12px 0 14px; border-radius: 13px; background: var(--well); box-shadow: var(--well-sh); color: var(--muted); font-size: 12.5px; transition: color 0.3s, transform 0.45s var(--spring); }
.inv-id b { font: 600 14px "JetBrains Mono", ui-monospace, Consolas, monospace; letter-spacing: 0.06em; color: var(--text); }
.inv-id svg { width: 15px; height: 15px; }
.inv-id:hover { color: var(--text); transform: translateY(-1px); }
.inv-id:active { transform: scale(0.98); }

.inv-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.inv-meta > div { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px; border-radius: 18px; background: var(--clay); border: 1px solid var(--line); box-shadow: var(--clay-sh); min-width: 0; }
.inv-meta .clay-ic, .inv-meta .coin { margin-bottom: 10px; }
.inv-meta .coin { width: 34px; height: 34px; }
.inv-meta span { font-size: 12px; color: var(--dim); }
.inv-meta b { font-size: 14px; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status.paid { color: var(--ok); }
.inv-card { padding: 22px; border-radius: 24px; background: var(--clay); border: 1px solid var(--line); box-shadow: var(--clay-sh); }
.inv-card-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.inv-card-head h2 { margin: 0; font-size: 18px; letter-spacing: -0.02em; }
.inv-card-head span { font-size: 13px; color: var(--dim); }
.inv-items { display: flex; flex-direction: column; gap: 8px; }
.inv-item { display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: 16px; background: var(--well); box-shadow: var(--well-sh); transition: transform 0.5s var(--ease); animation: cardIn 0.6s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 300ms); }
.inv-item:hover { transform: translateX(3px); }
.ii-info { flex: 1; min-width: 0; }
.ii-info b { display: block; font-size: 14.5px; font-weight: 600; }
.ii-info span { font-size: 12.5px; color: var(--dim); }
.ii-total { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.inv-totals { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.inv-totals > div { display: flex; justify-content: space-between; }
.inv-totals .save span:last-child { color: var(--ok); }
.inv-totals .grand { margin-top: 6px; color: var(--text); align-items: baseline; }
.inv-totals .grand b { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.inv-help { display: flex; align-items: center; gap: 18px; margin-top: 14px; padding: 20px; border-radius: 24px; background: var(--clay); border: 1px solid var(--line); box-shadow: var(--clay-sh); }
.inv-help > div:nth-child(2) { flex: 1; }
.inv-help h3 { font-size: 16px; font-weight: 600; }
.inv-help p { margin-top: 2px; font-size: 13.5px; color: var(--muted); }
.inv-help-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.skel { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.skel i { height: 18px; border-radius: 8px; background: linear-gradient(90deg, #141418 0%, #1d1d22 50%, #141418 100%) 0 0 / 200% 100%; animation: skel 1.3s linear infinite; }
.skel i:nth-child(1) { width: 40%; height: 26px; }
.skel i:nth-child(3) { width: 70%; }
@keyframes skel { to { background-position: -200% 0; } }

/* ───────── nav account button ───────── */
.acct-btn { width: auto; padding: 0 10px; gap: 7px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 500; }
.acct-btn svg { width: 17px; height: 17px; }
.acct-btn.in .acct-label { font-variant-numeric: tabular-nums; color: var(--text); }
.link { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.3); }
.link:hover { text-decoration-color: currentColor; }
.text-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); transition: color 0.25s; }
.text-btn svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease); }
.text-btn:hover { color: var(--text); }
.text-btn:hover svg { transform: translateX(2px); }
.text-btn.danger:hover, .btn.danger:hover { color: var(--bad); }
.muted-row { padding: 22px; text-align: center; color: var(--dim); font-size: 14px; }
.grow { flex: 1; }
.mono, .area.mono { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; }
.field.sm { height: 40px; padding: 0 12px; border-radius: 11px; }
.field.sm input { font-size: 14px; }
.field .unit { font-size: 12px; font-weight: 600; color: var(--dim); }
.area {
  width: 100%; resize: vertical; padding: 12px 14px; border-radius: 13px; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 14px; line-height: 1.55;
  background: var(--well); box-shadow: var(--well-sh); transition: box-shadow 0.3s;
}
.area:focus { box-shadow: var(--well-sh), inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.area::placeholder { color: var(--dim); }
.field-label small { font-weight: 400; color: var(--dim); }
.method.off { opacity: 0.5; cursor: not-allowed; }
.method .m-note { font-size: 12px; font-weight: 400; color: var(--dim); }
.line-item .li-ic img { width: 44px; height: 44px; border-radius: 14px; object-fit: cover; box-shadow: var(--clay-chip-sh); }
.toggle.big { margin-top: 18px; }
.temp-toggles { display: grid; gap: 10px; margin-top: 18px; }
.temp-toggles .toggle.big { margin-top: 0; }
.chip-btn {
  display: inline-grid; place-items: center; min-width: 40px; height: 36px; padding: 0 12px; border-radius: 11px; font-size: 13px; font-weight: 600; color: var(--muted);
  background: var(--well); box-shadow: var(--well-sh); transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.4s var(--spring);
}
.chip-btn:hover { color: var(--text); transform: translateY(-1px); }
.chip-btn.on { background: linear-gradient(180deg, #fcfcfd, #dcdce1); color: #0b0b0e; box-shadow: inset 0 1px 0 #fff, inset 0 -2px 4px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.5); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.icon-btn.sm { width: 30px; height: 30px; border-radius: 9px; }
.icon-btn.sm svg { width: 14px; height: 14px; }
.thumb { width: 44px; height: 44px; border-radius: 14px; object-fit: cover; flex: none; box-shadow: var(--clay-chip-sh); }
.thumb.sm { width: 34px; height: 34px; border-radius: 11px; }
.skel-card { pointer-events: none; }
.skel-card .media { background: linear-gradient(90deg, #0f0f12 0%, #17171b 50%, #0f0f12 100%) 0 0 / 200% 100%; animation: skel 1.3s linear infinite; }
.skel-card .c-body { gap: 10px; }
.skel-card .c-body i { display: block; height: 12px; border-radius: 6px; background: #17171b; }
.skel-card .c-body i:nth-child(2) { width: 70%; height: 16px; }
.skel-card .c-body i:nth-child(3) { width: 40%; }

/* ───────── auth ───────── */
.auth-main { display: grid; place-items: center; }
.auth { display: grid; grid-template-columns: 1fr 1fr; width: min(960px, 100%); border-radius: 30px; overflow: hidden; background: var(--clay); border: 1px solid var(--line); box-shadow: var(--clay-sh); }
.auth-side { position: relative; padding: 44px 40px; display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; min-height: 520px; background: var(--well); box-shadow: var(--well-sh); margin: 10px; border-radius: 22px; overflow: hidden; }
.auth-side::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.2px); background-size: 16px 16px;
  mask-image: radial-gradient(ellipse at 30% 20%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 30% 20%, #000, transparent 70%);
}
.auth-side img { position: absolute; top: 40px; left: 40px; width: 120px; height: auto; }
.auth-side h2 { position: relative; font-size: 28px; line-height: 1.15; }
.auth-side ul { position: relative; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.auth-side li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.auth-card { padding: 40px 36px; display: flex; flex-direction: column; }
.auth-tabs { align-self: flex-start; margin-bottom: 26px; }
.auth-card h1 { font-size: 30px; letter-spacing: -0.035em; line-height: 1.1; }
.auth-sub { margin: 8px 0 22px; color: var(--muted); font-size: 14.5px; }
.auth-card .field-label:not(:first-child) { margin-top: 16px; }
.auth-card .field { height: 50px; }
.auth-card #authBtn { margin-top: 6px; }
.peek { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--dim); transition: color 0.2s, background 0.2s; }
.peek:hover, .peek.on { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.peek svg { width: 16px; height: 16px; }
.auth-foot { margin-top: auto; padding-top: 22px; font-size: 12.5px; color: var(--dim); }
.setup-note { display: flex; gap: 12px; align-items: center; padding: 12px 14px; margin-bottom: 18px; border-radius: 16px; background: var(--well); box-shadow: var(--well-sh); }
.setup-note b { display: block; font-size: 14px; }
.setup-note span:not(.clay-ic) { font-size: 12.5px; color: var(--muted); }

/* ───────── dashboard shell ───────── */
.dash { display: grid; grid-template-columns: 250px 1fr; gap: 22px; align-items: start; }
.dash-nav { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 24px; background: var(--clay); border: 1px solid var(--line); box-shadow: var(--clay-sh); }
.dash-me { display: flex; align-items: center; gap: 12px; padding: 8px 8px 16px; margin-bottom: 6px; border-bottom: 1px solid var(--line); min-width: 0; }
.dash-me div { min-width: 0; }
.dash-me b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-me span:not(.avatar) { font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 14px; font-weight: 700; background: linear-gradient(180deg, #fcfcfd, #d6d6db); color: #0b0b0e; box-shadow: inset 0 1px 0 #fff, inset 0 -3px 6px rgba(0, 0, 0, 0.18), 2px 4px 10px rgba(0, 0, 0, 0.5); }
.avatar svg { width: 20px; height: 20px; }
.avatar.sm { width: 36px; height: 36px; border-radius: 12px; font-size: 14px; }
.dash-nav nav { position: relative; display: flex; flex-direction: column; gap: 2px; }
.dash-nav nav button { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color 0.3s; }
.dash-nav nav button svg { width: 17px; height: 17px; }
.dash-nav nav button:hover, .dash-nav nav button.on { color: var(--text); }
.dash-ind { position: absolute; left: 0; right: 0; border-radius: 12px; background: var(--clay-chip); box-shadow: var(--clay-chip-sh); transition: top 0.5s var(--ease), height 0.5s var(--ease); }
.admin-link { margin-top: 10px; }
.logout { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border-radius: 12px; font-size: 13.5px; color: var(--dim); transition: color 0.25s, background 0.25s; }
.logout svg { width: 16px; height: 16px; }
.logout:hover { color: var(--bad); background: rgba(248, 113, 113, 0.06); }
.dash-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 4px; }
.dash-head h1 { margin-top: 6px; font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -0.04em; line-height: 1.05; }
.head-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.dash-card { padding: 20px; border-radius: 24px; background: var(--clay); border: 1px solid var(--line); box-shadow: var(--clay-sh); }
.dash-card h2 { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; }
.dash-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.dash-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 34px 16px; }
.dash-empty .clay-ic { margin-bottom: 10px; }
.dash-empty b { font-size: 16px; }
.dash-empty p { max-width: 360px; font-size: 14px; color: var(--muted); margin-bottom: 12px; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 22px; background: var(--clay); border: 1px solid var(--line); box-shadow: var(--clay-sh); animation: cardIn 0.6s var(--ease) both; }
.stat-card:nth-child(2) { animation-delay: 60ms; }
.stat-card:nth-child(3) { animation-delay: 120ms; }
.stat-card:nth-child(4) { animation-delay: 180ms; }
.stat-card > span { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--dim); }
.stat-card > span svg { width: 15px; height: 15px; }
.stat-card b { font-size: 28px; font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat-card small { font-size: 12px; color: var(--dim); }
.balance-card { background: linear-gradient(160deg, #24242b, #141418); }
.balance-card .btn { align-self: flex-start; margin-top: 4px; }

.order-list, .prod-list, .user-list, .tx-list { display: flex; flex-direction: column; gap: 8px; }
.order-row, .prod-row {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px 14px 10px 10px; border-radius: 16px; text-align: left; color: inherit;
  background: var(--well); box-shadow: var(--well-sh); transition: transform 0.5s var(--ease), background 0.3s;
  animation: cardIn 0.5s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms);
}
.order-row:hover, .prod-row:hover { transform: translateX(3px); background: #111115; }
.order-row > svg, .prod-row > svg { width: 15px; height: 15px; color: var(--dim); }
.order-row img, .prod-row img.thumb { width: 44px; height: 44px; border-radius: 14px; object-fit: cover; box-shadow: var(--clay-chip-sh); }
.or-info, .pr-info, .ur-info { flex: 1; min-width: 0; }
.or-info b, .pr-info b, .ur-info b { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.or-info span, .pr-info span, .ur-info span { display: block; font-size: 12.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.or-total, .pr-price, .ur-bal { font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plus { color: var(--ok); }
.minus { color: var(--text); }
.pill-status { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 99px; font-size: 11.5px; font-weight: 600; color: var(--muted); background: var(--clay-chip); box-shadow: var(--clay-chip-sh); white-space: nowrap; }
.pill-status.paid { color: var(--ok); }
.pill-status.none { color: var(--bad); }
.prod-row.inactive { opacity: 0.6; }
.user-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--well); box-shadow: var(--well-sh); animation: cardIn 0.5s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); flex-wrap: wrap; }

.balance-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; }
.wallet-big { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 24px; min-height: 240px; border-radius: 24px;
  background: linear-gradient(160deg, #2a2a32 0%, #141418 70%); border: 1px solid var(--line-2); box-shadow: var(--clay-sh); }
.wallet-big::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.06), inset -6px -8px 14px rgba(0, 0, 0, 0.5); }
.wallet-big > span { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.wallet-big > span svg { width: 16px; height: 16px; }
.wallet-big b { font-size: 44px; font-weight: 700; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.wallet-big p { font-size: 13.5px; color: var(--muted); max-width: 320px; }
.wallet-big.sm { min-height: 0; padding: 18px; margin-bottom: 8px; }
.wallet-big.sm b { font-size: 30px; }
.topup h2 { margin-bottom: 14px; }
.topup .field-label:not(:first-of-type) { margin-top: 16px; }
.methods-row { flex-direction: row; }
.methods-row .method { flex: 1; height: 50px; padding: 0 10px 0 8px; }
.methods-row .method .coin { width: 30px; height: 30px; }
.topup .btn-block { margin-top: 6px; }
.tx { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--well); box-shadow: var(--well-sh); animation: cardIn 0.5s var(--ease) both; animation-delay: calc(var(--i, 0) * 30ms); }
.tx div { flex: 1; min-width: 0; }
.tx div b { display: block; font-size: 14px; font-weight: 500; }
.tx div span { font-size: 12px; color: var(--dim); }
.tx > b { font-variant-numeric: tabular-nums; }
.settings { display: flex; flex-direction: column; }
.settings h2 { margin-bottom: 12px; }
.settings .field-label:not(:first-of-type) { margin-top: 14px; }
.settings .btn { align-self: flex-start; margin-top: 8px; }
.kv { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--dim); }
.kv b { font-weight: 500; text-align: right; overflow-wrap: anywhere; }

/* ───────── admin ───────── */
.bars { display: grid; grid-template-columns: repeat(14, 1fr); gap: 8px; align-items: end; height: 170px; padding: 10px; border-radius: 16px; background: var(--well); box-shadow: var(--well-sh); }
.bar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; }
.bar i { width: 100%; max-width: 30px; height: var(--h); border-radius: 8px; background: linear-gradient(180deg, #f4f4f6, #8e8e98); box-shadow: inset 0 1px 0 #fff; transform-origin: bottom; animation: grow 0.9s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
@keyframes grow { from { transform: scaleY(0); } }
.bar span { font-size: 10.5px; color: var(--dim); }

.sheet-modal { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: 16px; visibility: hidden; transition: visibility 0s 0.5s; }
.sheet-modal.open { visibility: visible; transition: none; }
.sheet-modal.open .modal-scrim { opacity: 1; }
.sheet-card {
  position: relative; display: flex; flex-direction: column; width: min(560px, 100%); max-height: calc(100dvh - 32px); border-radius: 26px; overflow: hidden;
  background: rgba(17, 17, 21, 0.92); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 30px 80px -20px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  opacity: 0; transform: translateY(24px) scale(0.97); transition: opacity 0.35s var(--ease), transform 0.55s var(--ease), width 0.5s var(--ease);
}
.sheet-modal.wide .sheet-card { width: min(1000px, 100%); }
.sheet-modal.open .sheet-card { opacity: 1; transform: none; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 16px 14px 24px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { font-size: 18px; letter-spacing: -0.02em; }
.sheet-body { flex: 1; overflow-y: auto; padding: 22px 24px; overscroll-behavior: contain; }
.sheet-foot { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }

.editor { display: grid; grid-template-columns: 260px 1fr; gap: 26px; }
.ed-side .field-label { margin-top: 18px; }
.drop { display: flex; flex-direction: column; gap: 10px; padding: 10px; border-radius: 20px; background: var(--well); box-shadow: var(--well-sh); transition: box-shadow 0.3s; }
.drop.over { box-shadow: var(--well-sh), inset 0 0 0 2px rgba(255, 255, 255, 0.35); }
.drop.busy { opacity: 0.6; pointer-events: none; }
.drop-preview { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #0b0b0e; }
.drop-preview img { width: 100%; height: 100%; object-fit: cover; }
.drop-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.drop .hint { margin: 0 2px 2px; }
.icon-pick { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.icon-pick button { display: grid; place-items: center; aspect-ratio: 1; border-radius: 11px; color: var(--muted); background: var(--well); box-shadow: var(--well-sh); transition: all 0.3s var(--ease); }
.icon-pick button svg { width: 17px; height: 17px; }
.icon-pick button:hover { color: var(--text); }
.icon-pick button.on { color: #0b0b0e; background: linear-gradient(180deg, #fcfcfd, #d6d6db); box-shadow: inset 0 1px 0 #fff, 0 2px 6px rgba(0, 0, 0, 0.5); }
.ed-main { display: flex; flex-direction: column; min-width: 0; }
.ed-main .field-label { margin-top: 16px; }
.ed-main > .row2:first-child .field-label { margin-top: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg button { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px; border-radius: 14px; text-align: left; background: var(--well); box-shadow: var(--well-sh); transition: all 0.35s var(--ease); }
.seg button svg { width: 17px; height: 17px; color: var(--muted); margin-bottom: 4px; }
.seg button b { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.seg button span { font-size: 11.5px; color: var(--dim); line-height: 1.45; }
.seg button.on { background: var(--clay-chip); box-shadow: var(--clay-chip-sh), inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.seg button.on b, .seg button.on svg { color: var(--text); }
.ed-vhead { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 4px; }
.vars { display: flex; flex-direction: column; gap: 8px; }
.var { display: grid; grid-template-columns: 1.6fr 0.9fr 0.9fr 1.2fr auto; gap: 10px; align-items: end; padding: 12px; border-radius: 16px; background: var(--clay); border: 1px solid var(--line); box-shadow: var(--clay-sh); animation: cardIn 0.4s var(--ease) both; }
.vf { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.vf > span { font-size: 11.5px; font-weight: 600; color: var(--dim); }
.vf .btn { height: 40px; justify-content: flex-start; }
.stock-manual { display: flex; gap: 6px; }
.stock-manual .field { flex: 1; min-width: 0; }
.stock-manual .chip-btn { height: 40px; font-size: 16px; }
.var .rm { margin-bottom: 1px; }
.var .rm:disabled { opacity: 0.3; pointer-events: none; }
.stock-mgr .hint code { padding: 1px 6px; border-radius: 6px; background: var(--well); }
.stock-mgr .field-label { margin-top: 16px; }
.stock-actions { display: flex; align-items: center; gap: 10px; margin: 10px 0 22px; }
.items-list { display: flex; flex-direction: column; gap: 6px; max-height: 320px; overflow-y: auto; margin-bottom: 20px; padding: 2px; }
.item { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; border-radius: 12px; background: var(--well); box-shadow: var(--well-sh); }
.item code { flex: 1; min-width: 0; font: 500 12.5px "JetBrains Mono", ui-monospace, Consolas, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.items-list.sold .item { opacity: 0.6; }
.items-list.sold .item span { font: 500 11.5px "JetBrains Mono", ui-monospace, Consolas, monospace; color: var(--dim); }
.order-detail h3 { margin: 18px 0 10px; font-size: 15px; }
.od-item { padding: 12px; border-radius: 16px; background: var(--well); box-shadow: var(--well-sh); margin-bottom: 8px; }
.od-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.od-head b { font-size: 14px; }
.od-head span { font-size: 12.5px; color: var(--dim); }
.delivered { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #08080a; font: 500 12.5px "JetBrains Mono", ui-monospace, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--muted); }
.btn.danger { color: var(--muted); }

/* ───────── invoice: delivered items ───────── */
.inv-goods { margin-bottom: 14px; }
.good { padding: 14px; border-radius: 18px; background: var(--well); box-shadow: var(--well-sh); }
.good + .good { margin-top: 10px; }
.good-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.good-head img { width: 34px; height: 34px; border-radius: 11px; object-fit: cover; }
.good-head b { font-size: 14.5px; }
.good-head span { font-size: 12.5px; color: var(--dim); }
.secret { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 12px; border-radius: 12px; background: var(--clay); border: 1px solid var(--line); box-shadow: var(--clay-sh); animation: cardIn 0.5s var(--ease) both; }
.secret + .secret { margin-top: 6px; }
.secret .n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; font-size: 11px; font-weight: 700; color: var(--dim); background: var(--well); }
.secret code { flex: 1; min-width: 0; font: 500 13.5px "JetBrains Mono", ui-monospace, Consolas, monospace; overflow-wrap: anywhere; user-select: all; }
.mini-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 9px; font-size: 12px; font-weight: 600; color: var(--text); background: var(--clay-chip); box-shadow: var(--clay-chip-sh); transition: transform 0.4s var(--spring); flex: none; }
.mini-btn svg { width: 13px; height: 13px; }
.mini-btn:hover { transform: translateY(-1px); }
.mini-btn:active { transform: scale(0.95); }
.good-note, .locked { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--muted); }
.good-note svg { width: 16px; height: 16px; flex: none; }
.locked { padding: 6px 2px; }
.ii-img { width: 44px; height: 44px; border-radius: 14px; object-fit: cover; box-shadow: var(--clay-chip-sh); }

/* ───────── responsive ───────── */
@media (max-width: 1100px) {
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .search-trigger span, .search-trigger kbd { display: none; }
  .search-trigger { width: 36px; padding: 0; justify-content: center; margin-right: 0; }
}
@media (max-width: 960px) {
  .dash { grid-template-columns: 1fr; }
  .dash-nav { position: static; }
  .dash-nav nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .dash-nav nav button { flex: none; }
  .dash-ind { display: none; }
  .dash-nav nav button.on { background: var(--clay-chip); box-shadow: var(--clay-chip-sh); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .balance-grid { grid-template-columns: 1fr; }
  .editor { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { min-height: 0; padding-top: 140px; }
  .grid-products { grid-template-columns: repeat(2, 1fr); }
  .t-delivery, .t-stock { grid-column: span 12; }
  .t-crypto, .t-balance { grid-column: span 6; }
  .t-support { grid-column: span 12; }
  .t-strip { flex-direction: column; }
  .g-item + .g-item { border-left: 0; border-top: 1px solid var(--line); }
  .numbers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .pd { grid-template-columns: 1fr; }
  .pd-buy { position: static; }
  .inv-meta { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .page-main { padding-top: 100px; }
  .pd-highlights { grid-template-columns: 1fr; }
  .steps-mini { grid-template-columns: 1fr; }
  .pd-panel { padding: 20px 16px; }
  .inv-help { flex-direction: column; align-items: flex-start; }
  .inv-form { flex-direction: column; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: grid; }
  .sheet { display: flex; }
  .nav.scrolled .nav-bar { width: 100%; }
  .hero { padding: 120px 0 58px; }
  .hero-logo { width: 110px; }
  .lead { font-size: 15.5px; }
  .head { align-items: stretch; }
  .search { width: 100%; }
  .paystrip-inner { flex-direction: column; align-items: flex-start; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps-line { display: none; }
  .support { grid-template-columns: 1fr; }
  .modal { padding: 0; place-items: end center; }
  .modal-card { grid-template-columns: 1fr; border-radius: 28px 28px 0 0; max-height: 92dvh; overflow-y: auto; transform: translateY(100%); }
  .m-media { aspect-ratio: 16 / 8; min-height: 0; }
  .m-body { overflow: visible; padding: 20px 12px 18px; }
  .palette { padding-top: 70px; }
  .p-foot { display: none; }
}
@media (max-width: 560px) {
  .acct-label { display: none; }
  .acct-btn { padding: 0; width: 38px; justify-content: center; }
  .var { grid-template-columns: 1fr 1fr; }
  .var .vf:first-child { grid-column: span 2; }
  .seg { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .order-row .pill-status, .prod-row .pill-status { display: none; }
  .methods-row { flex-direction: column; }
  .auth-card { padding: 28px 20px; }
  .grid-products { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card { padding: 6px; border-radius: 18px; }
  .media { aspect-ratio: 1 / 0.85; border-radius: 13px; }
  .media .glyph { width: 50px; height: 50px; border-radius: 16px; }
  .media .glyph svg { width: 21px; height: 21px; }
  .c-body { padding: 10px 6px 6px; }
  .c-name { font-size: 14px; }
  .c-meta .dl { display: none; }
  .c-foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .c-go { justify-content: center; }
  .tag { top: 13px; height: 20px; font-size: 10px; padding: 0 7px; }
  .tag.badge { left: 13px; }
  .tag.sale { right: 13px; }
  .t-crypto, .t-balance { grid-column: span 12; }
  .viz { min-height: 200px; padding: 18px 14px; }
  .coins { gap: 10px; }
  .coin-wrap .coin { width: 58px; height: 58px; }
  .pipe-node { font-size: 11.5px; }
  .cta-row .btn { flex: 1; }
  .foot-cols { gap: 36px; }
  .cur-btn { padding: 0 6px 0 8px; }
  .paychips { width: 100%; }
  .paychip { flex: 1 1 40%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .in, .reveal { opacity: 1; transform: none; filter: none; }
  .split .wi { transform: none; }
  .srow, .chat > * { opacity: 1; transform: none; }
}

/* headings inside admin sheets use card sizes, not page sizes */
.sheet-body h2 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.015em; }
.sheet-body .dash-card-head { margin: 4px 0 12px; }
.head-actions { align-items: center; }
.head-actions .search { width: 240px; }

/* ───────── tags ───────── */
.c-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.c-tags span { height: 20px; padding: 0 8px; display: inline-flex; align-items: center; border-radius: 99px; font-size: 10.5px; font-weight: 600; color: var(--muted); background: var(--well); box-shadow: var(--well-sh); }
.tag-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: -8px 0 20px; }
.tag-label { display: inline-flex; align-items: center; gap: 6px; margin-right: 4px; font-size: 12px; font-weight: 600; color: var(--dim); }
.tag-label svg { width: 13px; height: 13px; }
.tag-chip {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 99px; font-size: 12px; font-weight: 600; color: var(--muted);
  background: var(--clay-chip); box-shadow: var(--clay-chip-sh); transition: background 0.3s, color 0.3s, transform 0.4s var(--spring);
}
.tag-chip:hover { color: var(--text); transform: translateY(-1px); }
.tag-chip.on { background: linear-gradient(180deg, #fcfcfd, #dcdce1); color: #0b0b0e; box-shadow: inset 0 1px 0 #fff, 0 2px 6px rgba(0, 0, 0, 0.5); }
.tag-chip button { display: grid; place-items: center; width: 16px; height: 16px; margin-right: -4px; border-radius: 50%; color: inherit; opacity: 0.6; }
.tag-chip button:hover { opacity: 1; background: rgba(0, 0, 0, 0.1); }
.tag-chip button svg { width: 10px; height: 10px; stroke-width: 2.6; }
.pd-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag-input { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 48px; padding: 7px 10px; border-radius: 13px; background: var(--well); box-shadow: var(--well-sh); cursor: text; }
.tag-input #tagChips { display: contents; }
.tag-input input { flex: 1; min-width: 90px; height: 30px; background: none; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 14px; }
.tag-input input::placeholder { color: var(--dim); }
.mini-tag { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: 99px; font-size: 10.5px; font-weight: 600; color: var(--muted); background: var(--clay-chip); box-shadow: var(--clay-chip-sh); }
.repl-pill { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 8px; border-radius: 99px; font-size: 10.5px; font-weight: 700; color: var(--ok); background: var(--clay-chip); box-shadow: var(--clay-chip-sh); vertical-align: 2px; }
.repl-pill svg { width: 11px; height: 11px; }
.good.is-repl { box-shadow: var(--well-sh), inset 0 0 0 1px rgba(74, 222, 128, 0.18); }

/* ───────── status colours ───────── */
.pill-status.pending, .status.pending { color: var(--warn); }
.pill-status.confirming, .status.confirming { color: #93c5fd; }
.pill-status.expired, .status.expired { color: var(--bad); }
.inv-badge.pending, .inv-badge.confirming { color: var(--text); }
.inv-badge.pending svg, .inv-badge.confirming svg, .inv-badge.expired svg { width: 34px; height: 34px; stroke-width: 1.8; }
.inv-note { display: flex; align-items: center; gap: 10px; margin: -8px auto 18px; padding: 12px 16px; max-width: 640px; border-radius: 16px; font-size: 13.5px; color: var(--warn); background: var(--well); box-shadow: var(--well-sh); }
.inv-note svg { width: 16px; height: 16px; flex: none; }
.crypto-line { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; font-size: 12.5px; color: var(--dim); }

/* ───────── payment screen ───────── */
.pay-box { margin-bottom: 14px; padding: 22px; border-radius: 26px; background: var(--clay); border: 1px solid var(--line); box-shadow: var(--clay-sh); }
.pay-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px; }
.ps { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--well); box-shadow: var(--well-sh); color: var(--dim); font-size: 13px; transition: color 0.4s; }
.ps span { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 9px; font-size: 12px; font-weight: 700; background: var(--clay-chip); box-shadow: var(--clay-chip-sh); }
.ps span svg { width: 14px; height: 14px; stroke-width: 2.6; }
.ps b { font-weight: 600; }
.ps.on { color: var(--text); }
.ps.on span { background: linear-gradient(180deg, #fcfcfd, #d6d6db); color: #0b0b0e; box-shadow: inset 0 1px 0 #fff, 0 2px 6px rgba(0, 0, 0, 0.5); }
.ps.done { color: var(--ok); }
.ps.done span { color: var(--ok); }
.pay-grid { display: grid; grid-template-columns: 230px 1fr; gap: 22px; align-items: center; }
.qr-wrap { position: relative; padding: 12px; border-radius: 22px; background: var(--well); box-shadow: var(--well-sh); }
.qr svg { display: block; width: 100%; height: auto; border-radius: 12px; }
.qr-cap { display: block; margin-top: 10px; text-align: center; font-size: 12px; color: var(--muted, #9a9aa2); }
.qr-wrap.no-qr { display: none; }
.pay-fields { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pf > span { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; color: var(--dim); }
.pf small { display: block; margin-top: 6px; font-size: 12px; color: var(--dim); }
.pf-row { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 14px; border-radius: 14px; background: var(--well); box-shadow: var(--well-sh); min-width: 0; }
.pf-row code { flex: 1; min-width: 0; font: 500 13px "JetBrains Mono", ui-monospace, Consolas, monospace; overflow-wrap: anywhere; user-select: all; }
.pf-row.big b { font: 700 24px "JetBrains Mono", ui-monospace, Consolas, monospace; letter-spacing: -0.02em; user-select: all; }
.pf-row.big em { flex: 1; font-style: normal; font-weight: 600; color: var(--muted); }
.pay-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.pay-meta > svg { width: 15px; height: 15px; }
.pay-meta > span:not(.live-dot) { flex: 1; }
.pay-meta b { color: var(--text); font-variant-numeric: tabular-nums; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #93c5fd; animation: breathe 1.4s ease-in-out infinite; }
.tx-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.tx-link svg { width: 13px; height: 13px; }
.tx-link:hover { color: var(--text); }
.pay-notes { list-style: none; display: grid; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.pay-notes li { display: flex; align-items: flex-start; gap: 9px; }
.pay-notes svg { width: 15px; height: 15px; margin-top: 2px; color: var(--dim); }
.pay-expired { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 16px 10px 6px; }
.pay-expired h2 { margin-top: 8px; font-size: 20px; }
.pay-expired p { max-width: 460px; font-size: 14px; color: var(--muted); margin-bottom: 10px; }

/* ───────── admin payments ───────── */
.checker-card { display: flex; align-items: center; gap: 14px; }
.checker-card b { display: block; font-size: 15px; }
.checker-card span:not(.clay-ic) { font-size: 13px; color: var(--muted); }
.checker-card.ok .clay-ic { color: var(--ok); }
.checker-card.down .clay-ic { color: var(--warn); }
.wallet-row { display: flex; align-items: flex-end; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.wallet-row:last-of-type { border-bottom: 0; }
.wallet-row .coin { width: 40px; height: 40px; margin-bottom: 4px; color: var(--brand); }
.wr-main { flex: 1; min-width: 0; }
.wallet-row .pill-status { margin-bottom: 12px; }
.pay-settings .btn { margin-top: 8px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mono.small { font-size: 12px; overflow-wrap: anywhere; }

@media (max-width: 760px) {
  .pay-grid { grid-template-columns: 1fr; }
  .qr-wrap { width: min(260px, 100%); margin: 0 auto; }
  .pay-steps { grid-template-columns: 1fr; }
  .row3 { grid-template-columns: 1fr; }
  .wallet-row { flex-wrap: wrap; }
}
.old-pill { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 99px; font-size: 10.5px; font-weight: 700; color: var(--dim); background: var(--clay-chip); box-shadow: var(--clay-chip-sh); }
.good.is-old { opacity: 0.6; }
.preview-addr { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: var(--well); box-shadow: var(--well-sh); }
.preview-addr span { font-size: 11.5px; color: var(--dim); margin-bottom: 2px; }
.preview-addr code { font: 500 12px "JetBrains Mono", ui-monospace, Consolas, monospace; color: var(--muted); overflow-wrap: anywhere; }
.explain { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.explain > div { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--well); box-shadow: var(--well-sh); }
.explain svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--muted); }
.explain p { font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.explain b { color: var(--text); font-weight: 600; }
@media (max-width: 760px) { .explain { grid-template-columns: 1fr; } }

/* ───────── staff access + Discord tabs ───────── */
.or-info code, .ur-info code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; color: var(--muted); }
.chips .grow { flex: 1; }
.search.sm { height: 38px; width: min(280px, 100%); }
.field select { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 15px; }
.field select option { background: #111115; color: var(--text); }
.access-edit { display: flex; flex-direction: column; gap: 6px; }
.access-edit .field-label { margin-top: 10px; }
.access-edit .seg { margin-top: 2px; }
.seg button.on b { color: var(--text); }
.perm-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.toggle.perm { align-items: flex-start; padding: 12px; border-radius: 14px; background: var(--well); box-shadow: var(--well-sh); }
.toggle.perm > span { flex: none; margin-top: 2px; }
.toggle.perm div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.toggle.perm b { color: var(--text); font-size: 13.5px; font-weight: 600; text-transform: capitalize; }
.toggle.perm small { font-size: 12px; color: var(--dim); line-height: 1.35; }
.toggle.perm.locked { opacity: 0.45; cursor: not-allowed; }
.pw-reset { display: flex; gap: 10px; align-items: center; }
.pw-reset .field { flex: 1; }
.kv.col { flex-direction: column; gap: 4px; }
.kv.col b { text-align: left; white-space: pre-wrap; }
@media (max-width: 640px) {
  .perm-list { grid-template-columns: 1fr; }
  .seg { grid-template-columns: 1fr; }
  .pw-reset { flex-direction: column; align-items: stretch; }
}
