@font-face {
  font-family: "Archivo";
  src: url("archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #070707;
  --paper: #FCFCFC;
  --mist: #F4F4F4;
  --fog: #EDEDED;
  --gray: #5E5E5E;
  --gray-2: #8A8A8A;
  --purple: #8D4DE8;
  --deep: #7B2FBE;
  --orchid: #E34DE8;
  --magenta: #EC008C;
  --grad: linear-gradient(135deg, #8D4DE8 0%, #E34DE8 100%);

  --bg: var(--mist);
  --surface: var(--paper);
  --sunken: var(--fog);
  --text: var(--ink);
  --muted: var(--gray);
  --faint: var(--gray-2);
  --line: rgba(7, 7, 7, .08);
  --line-2: rgba(7, 7, 7, .15);
  --hover: rgba(141, 77, 232, .45);
  --tint: #F1EAFD;
  --shadow: 0 18px 44px -22px rgba(36, 14, 68, .42);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1320px;
  --gutter: clamp(16px, 3vw, 40px);
  --bar-h: 84px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0B0B0D;
  --surface: #141417;
  --sunken: #1C1C20;
  --text: #F1F1F3;
  --muted: #A3A3AD;
  --faint: #767680;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --hover: rgba(176, 125, 255, .55);
  --tint: #221933;
  --shadow: 0 18px 44px -22px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.45 var(--font);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.linkish {
  background: none;
  border: 0;
  padding: 0;
  color: var(--deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
[data-theme="dark"] .linkish { color: #C9A6FF; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #070707;
  color: #FCFCFC;
  padding: clamp(22px, 3vw, 34px) 0 calc(clamp(44px, 5vw, 70px) + 38px);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 62vw; height: 62vw;
  right: -16vw; top: -34vw;
  background: radial-gradient(closest-side, rgba(141, 77, 232, .5), rgba(141, 77, 232, 0));
}
.hero::after {
  width: 46vw; height: 46vw;
  left: -14vw; bottom: -30vw;
  background: radial-gradient(closest-side, rgba(227, 77, 232, .32), rgba(227, 77, 232, 0));
}
.net {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .16) 0%, rgba(0, 0, 0, .5) 36%, #000 66%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .16) 0%, rgba(0, 0, 0, .5) 36%, #000 66%);
}
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.logo { height: 38px; width: auto; }
.pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  border: 1px solid rgba(252, 252, 252, .3);
  border-radius: 30px;
  padding: 5px 16px;
  font-size: 15px;
  font-weight: 300;
  color: #E7E7EA;
  white-space: nowrap;
}
.hero h1 {
  margin: clamp(26px, 3.6vw, 52px) 0 0;
  font-size: clamp(38px, 5.4vw, 76px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
}
.hero h1 span, .hero h1 i { display: block; }
.hero h1 i,
.gate h1 i {
  font-style: italic;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .08em;
}
.stats {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 22px 0 0;
  color: #B9B9C2;
  font-size: 17px;
}
.stats b { color: #FCFCFC; font-weight: 500; font-size: 20px; font-variant-numeric: tabular-nums; }
.stats .dot { color: #5E5E66; }

.bar { position: sticky; top: 0; z-index: 30; margin-top: -38px; padding-top: 8px; }
.bar-in {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.search {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 54px;
  padding: 0 16px;
  border-radius: 15px;
  background: var(--sunken);
  border: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(141, 77, 232, .16); }
.search svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 18px;
  color: var(--text);
}
.search input::placeholder { color: var(--faint); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search kbd {
  font: 400 13px var(--mono);
  color: var(--muted);
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  border-radius: 7px;
  padding: 1px 8px;
}
.btn-add {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px 0 18px;
  border: 0;
  border-radius: 15px;
  background: var(--grad);
  color: #FCFCFC;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  box-shadow: 0 10px 24px -12px rgba(141, 77, 232, .9);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.btn-add:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(141, 77, 232, 1); }
.btn-add svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.icon-btn {
  flex: none;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  transition: border-color .2s;
}
.icon-btn:hover { border-color: var(--hover); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn.sm { width: 40px; height: 40px; border-radius: 12px; }
.i-sun { display: none !important; }
[data-theme="dark"] .i-sun { display: block !important; }
[data-theme="dark"] .i-moon { display: none !important; }

.bar.stuck { background: var(--bg); box-shadow: 0 1px 0 var(--line); }
.chips { display: none; }

.layout {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: clamp(28px, 3.4vw, 52px);
  padding-top: 34px;
  padding-bottom: 70px;
}
.side {
  position: sticky;
  top: calc(var(--bar-h) + 20px);
  align-self: start;
  max-height: calc(100vh - var(--bar-h) - 40px);
  overflow-y: auto;
  scrollbar-width: thin;
  padding-right: 4px;
}
.side-g + .side-g { margin-top: 22px; }
.side-h {
  margin: 0 0 6px 12px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
}
.side ul { list-style: none; margin: 0; padding: 0; }
.side a {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 12px;
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  transition: background .15s, color .15s;
}
.side a:hover { background: var(--surface); color: var(--text); }
.side a .n { color: var(--faint); font-variant-numeric: tabular-nums; }
.side a.on { color: var(--text); background: var(--surface); }
.side a.on::before {
  content: "";
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 3px;
  border-radius: 3px;
  background: var(--grad);
}

.content { min-width: 0; }
.sec { margin-bottom: 38px; scroll-margin-top: calc(var(--bar-h) + 16px); }
.sec-h { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.sec-h h2 { margin: 0; font-size: clamp(21px, 1.9vw, 26px); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.count {
  font-size: 13px;
  line-height: 22px;
  padding: 0 9px;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.sec-d { margin: 0 0 14px; color: var(--muted); font-size: 15px; max-width: 70ch; text-wrap: pretty; }
.sec-h + .grid, .sec-h + .quick { margin-top: 14px; }

.group-h {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 8px 0 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-2);
}
.group-name {
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.group-note { color: var(--faint); font-size: 15px; }
.group + .group-h { margin-top: 14px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.none { margin: 0; color: var(--faint); font-size: 15px; }

.card {
  position: relative;
  display: flex;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color .2s, box-shadow .25s, transform .25s var(--ease);
}
.card:hover { border-color: var(--hover); box-shadow: 0 14px 30px -20px rgba(91, 39, 171, .55); transform: translateY(-1px); }
.card-a {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 13px;
  padding: 14px;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
}
.txt { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.t-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.t { font-weight: 500; font-size: 16px; line-height: 1.28; overflow-wrap: anywhere; }
.d { color: var(--muted); font-size: 14.5px; line-height: 1.38; }
.u {
  color: var(--faint);
  font: 400 12.5px/1.4 var(--mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
mark { background: rgba(227, 77, 232, .22); color: inherit; border-radius: 3px; padding: 0 1px; }

.acts {
  position: absolute;
  top: 9px;
  right: 9px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transition: opacity .15s;
}
.acts::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -9px -9px -9px -26px;
  border-radius: 0 16px 16px 0;
  background: linear-gradient(90deg, transparent, var(--surface) 22px);
}
.card:hover .acts, .card:focus-within .acts, .q:hover .acts, .q:focus-within .acts { opacity: 1; }
.tags { display: inline-flex; gap: 4px; }
.tag { font-size: 12px; line-height: 20px; padding: 0 8px; border-radius: 99px; white-space: nowrap; }
.tag.login { background: rgba(141, 77, 232, .11); color: var(--deep); }
.tag.password { background: rgba(236, 0, 140, .1); color: #B0006A; }
.tag.preview { background: var(--sunken); color: var(--muted); }
.tag.new { background: var(--grad); color: #FCFCFC; }
[data-theme="dark"] .tag.login { color: #C9A6FF; background: rgba(141, 77, 232, .2); }
[data-theme="dark"] .tag.password { color: #FF7CC4; background: rgba(236, 0, 140, .18); }
.mini {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  transition: color .15s, border-color .15s, background .15s;
}
.mini svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mini:hover { color: var(--deep); border-color: var(--hover); }
.mini.done { color: #FCFCFC; background: var(--purple); border-color: var(--purple); }

.card.flash { animation: flash 1.6s var(--ease); }
@keyframes flash {
  0% { box-shadow: 0 0 0 0 rgba(141, 77, 232, .7); border-color: var(--purple); }
  60% { box-shadow: 0 0 0 10px rgba(141, 77, 232, 0); border-color: var(--purple); }
  100% { box-shadow: 0 0 0 0 rgba(141, 77, 232, 0); }
}

.ico {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--tint);
  overflow: hidden;
}
.ico svg { width: 24px; height: 24px; fill: none; stroke: #FCFCFC; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ico text { fill: #FCFCFC; stroke: none; font-family: var(--font); font-weight: 700; }
.ico .letter { color: #FCFCFC; font-weight: 700; font-size: 19px; line-height: 1; }
.ico img { width: 28px; height: 28px; }
.ico-nuva { background: var(--tint); box-shadow: inset 0 0 0 1px rgba(141, 77, 232, .18); }
.ico-drive { box-shadow: inset 0 0 0 1px rgba(7, 7, 7, .06); }

.sec-quick { margin-bottom: 34px; }
.quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 224px), 1fr)); gap: 10px; }
.q {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .2s;
}
.q::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
}
.q:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(91, 39, 171, .6); border-color: transparent; }
.q:hover::before { opacity: 1; }
.q-a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 14px; text-decoration: none; color: inherit; }
.q-t { min-width: 0; display: flex; flex-direction: column; }
.q-title { font-weight: 500; line-height: 1.25; overflow-wrap: anywhere; }
.q-u { color: var(--faint); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q .acts { top: 50%; transform: translateY(-50%); }
.q .acts::before { border-radius: 0 18px 18px 0; }

.results { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: 0 0 24px; color: var(--muted); font-size: 16px; }
.results q { color: var(--text); }
.results .linkish { margin-left: 6px; }
.empty {
  margin: 0 0 30px;
  padding: 30px;
  border-radius: 20px;
  border: 1px dashed var(--line-2);
  background: var(--surface);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.empty p { margin: 0; color: var(--muted); }

.btn {
  height: 46px;
  padding: 0 18px;
  border-radius: 13px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s, border-color .2s, color .2s;
}
.btn-grad { background: var(--grad); color: #FCFCFC; box-shadow: 0 10px 22px -12px rgba(141, 77, 232, .9); }
.btn-grad:hover { transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--hover); }
.btn-danger { margin-right: auto; background: transparent; color: #C4004F; border-color: rgba(196, 0, 79, .3); }
.btn-danger.armed { background: #C4004F; color: #FCFCFC; border-color: #C4004F; }
[data-theme="dark"] .btn-danger:not(.armed) { color: #FF6B9E; border-color: rgba(255, 107, 158, .35); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-wide { width: 100%; height: 54px; font-size: 17px; }

.ed {
  width: min(580px, calc(100vw - 20px));
  max-height: calc(100vh - 20px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 40px 90px -30px rgba(7, 7, 7, .6);
  overflow: auto;
}
.ed::backdrop { background: rgba(7, 7, 7, .58); }
.ed[open] { animation: rise .32s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.ed-h {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 22px 0 26px;
}
.ed-h::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 5px;
  background: var(--grad);
}
.ed-h h2 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.ed-b { display: grid; gap: 15px; padding: 18px 26px 6px; }
.f { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.f em { font-style: normal; color: var(--faint); }
.f input, .f select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  outline: 0;
  transition: border-color .15s, box-shadow .15s;
}
.f input:focus, .f select:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(141, 77, 232, .15); }
.newcat { display: grid; gap: 12px; padding: 14px; border-radius: 14px; background: var(--tint); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span {
  display: block;
  padding: 8px 14px;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  color: var(--text);
  font-size: 15px;
  transition: background .15s, border-color .15s, color .15s;
}
.seg input:checked + span { background: var(--text); color: var(--surface); border-color: var(--text); }
.seg input:focus-visible + span { outline: 2px solid var(--purple); outline-offset: 2px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; width: fit-content; }
.check input { width: 18px; height: 18px; accent-color: var(--purple); margin: 0; }
.as { margin: 0; font-size: 14px; color: var(--muted); }
.as span { color: var(--text); font-weight: 500; }
.as .linkish { margin-left: 4px; font-size: 14px; }
.hint { margin: 0; font-size: 13.5px; color: var(--faint); }
.warn { margin: -6px 0 0; padding: 9px 12px; border-radius: 11px; background: #FFF4DE; color: #7A4300; font-size: 14px; }
[data-theme="dark"] .warn { background: #33270F; color: #FFD58A; }
.err { margin: 0; color: #C4004F; font-size: 14.5px; }
[data-theme="dark"] .err { color: #FF6B9E; }
.ed-f {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 26px 22px;
  margin-top: 10px;
  border-top: 1px solid var(--line);
}
.is-busy { position: relative; color: transparent !important; }
.is-busy::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(252, 252, 252, .45);
  border-top-color: #FCFCFC;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.toast {
  position: fixed;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100vw - 24px);
  padding: 12px 12px 12px 18px;
  border-radius: 15px;
  background: #070707;
  color: #FCFCFC;
  box-shadow: 0 20px 40px -16px rgba(7, 7, 7, .6);
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity .25s, transform .3s var(--ease);
}
[data-theme="dark"] .toast { background: #2A2A30; }
.toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button {
  border: 0;
  border-radius: 10px;
  padding: 7px 14px;
  background: var(--grad);
  color: #FCFCFC;
  font-weight: 700;
}

.foot { border-top: 1px solid var(--line); padding: 24px 0 34px; color: var(--muted); font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.foot-l { display: flex; align-items: center; gap: 10px; }
.foot-r { display: flex; flex-wrap: wrap; gap: 18px; }
.foot .linkish { color: var(--muted); font-size: 14px; }

.is-gate { background: #070707; }
.gate {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
  overflow: hidden;
  color: #FCFCFC;
}
.gate::before {
  content: "";
  position: absolute;
  z-index: -2;
  width: 90vmax; height: 90vmax;
  right: -40vmax; top: -45vmax;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(141, 77, 232, .45), rgba(141, 77, 232, 0));
}
.gate .net {
  -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, .2) 0, rgba(0, 0, 0, .2) 260px, #000 560px);
  mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, .2) 0, rgba(0, 0, 0, .2) 260px, #000 560px);
}
.gate-card {
  width: min(470px, 100%);
  display: grid;
  gap: 16px;
  padding: 34px clamp(22px, 5vw, 38px) 28px;
  border-radius: 26px;
  background: rgba(16, 16, 19, .88);
  border: 1px solid rgba(252, 252, 252, .1);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9);
}
.gate-logo { height: 38px; width: auto; }
.gate .pills { margin-top: 6px; }
.gate h1 { margin: 2px 0 0; font-size: clamp(32px, 7vw, 42px); font-weight: 800; line-height: 1.02; letter-spacing: -.025em; }
.gate-lead { margin: 0; color: #B9B9C2; text-wrap: pretty; }
.f-dark { color: #B9B9C2; }
.f-dark input { background: #1C1C21; border-color: rgba(252, 252, 252, .16); color: #FCFCFC; height: 54px; font-size: 17px; }
.gate .err { color: #FF7CA8; }
.gate-help { margin: 0; text-align: center; color: #8A8A94; font-size: 14px; }

@media (max-width: 900px) {
  .layout { grid-template-columns: minmax(0, 1fr); padding-top: 24px; }
  .side { display: none; }
  .chips {
    display: flex;
    gap: 8px;
    margin: 0 calc(var(--gutter) * -1);
    padding: 10px var(--gutter) 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip {
    flex: none;
    padding: 7px 14px;
    border-radius: 99px;
    border: 1px solid var(--line-2);
    background: var(--surface);
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
  }
  .chip.on { background: var(--text); color: var(--surface); border-color: var(--text); }
  .bar { background: linear-gradient(var(--bg), var(--bg)) bottom / 100% calc(100% - 38px) no-repeat; padding-bottom: 6px; }
}

@media (max-width: 640px) {
  .pills { display: none; }
  .hero-top .pills { display: none; }
  .gate .pills { display: flex; }
  .logo { height: 32px; }
  .hero h1 { margin-top: 26px; }
  .stats { font-size: 15px; margin-top: 16px; }
  .stats b { font-size: 17px; }
  .bar-in { padding: 8px; gap: 8px; border-radius: 19px; }
  .search { height: 50px; padding: 0 12px; gap: 10px; }
  .search input { font-size: 16px; }
  .search kbd { display: none; }
  .btn-add { width: 50px; height: 50px; padding: 0; justify-content: center; }
  .btn-add span { display: none; }
  .icon-btn { width: 50px; height: 50px; }
  .grid { gap: 8px; }
  .card-a { padding: 12px 4px 12px 12px; gap: 11px; }
  .ico { width: 38px; height: 38px; border-radius: 11px; }
  .ico svg { width: 22px; height: 22px; }
  .group-h { flex-direction: column; gap: 2px; }
  .ed-b { padding: 16px 18px 4px; }
  .ed-h { padding: 20px 16px 0 18px; }
  .ed-f { padding: 14px 18px 18px; }
  .ed-f .btn { flex: 1; }
  .ed-f .btn-danger { flex-basis: 100%; order: 3; margin: 0; }
}

@media (hover: none) {
  .acts { opacity: 1; }
  .acts::before { display: none; }
  .card-a { padding-right: 52px; }
  .q-a { padding-right: 50px; }
}

@media (max-width: 640px) {
  .quick { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .q-a { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px !important; }
  .q-u { display: none; }
  .q .acts { display: none; }
}

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