:root {
  --bg: #0b0d12;
  --surface: #12151c;
  --surface-2: #171b24;
  --surface-3: #202530;
  --line: #282e3a;
  --line-soft: rgba(255, 255, 255, .07);
  --text: #f5f6f8;
  --muted: #949cab;
  --purple: #a588ff;
  --mint: #62e7c5;
  --amber: #ffc76b;
  --danger: #ff7d86;
  --gradient: linear-gradient(110deg, #a588ff 0%, #62e7c5 48%, #ffc76b 100%);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 15px;
  --shadow: 0 28px 80px rgba(0, 0, 0, .35);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 280px;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(rgba(255, 255, 255, .012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .012) 1px, transparent 1px),
    var(--bg);
  background-size: 52px 52px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 13, 18, .12), var(--bg) 85%);
}

[hidden] {
  display: none !important;
}

button,
a,
input {
  font: inherit;
}

button,
a {
  color: inherit;
}

button {
  border: 0;
}

input {
  user-select: text;
}

a {
  text-decoration: none;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shell {
  width: min(1140px, calc(100% - 40px));
  margin-inline: auto;
}

.ambient {
  position: fixed;
  z-index: -2;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(4px);
}

.ambient-one {
  top: -300px;
  right: -260px;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(98, 231, 197, .11), transparent 66%);
}

.ambient-two {
  top: 45%;
  left: -370px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(165, 136, 255, .085), transparent 68%);
}

.site-header {
  position: relative;
  z-index: 20;
  width: min(1140px, calc(100% - 40px));
  height: 92px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 720;
  letter-spacing: -.025em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 37px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: linear-gradient(145deg, #1a1f29, #101219);
  box-shadow: inset 0 1px rgba(255, 255, 255, .06);
  font-size: 16px;
  font-weight: 800;
}

.gradient-word {
  color: transparent;
  background: linear-gradient(100deg, #ae8cff, #61e6c4, #ffc86b, #ae8cff);
  background-size: 300% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  animation: gradient-flow 6s linear infinite;
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: #c7cbd3;
  background: rgba(18, 21, 28, .78);
  font-size: 13px;
  font-weight: 650;
  transition: border-color .25s ease, color .25s ease, transform .25s ease;
}

.header-link:hover {
  color: var(--text);
  border-color: #46505f;
  transform: translateY(-2px);
}

.header-link svg {
  width: 16px;
  height: 16px;
}

.hero {
  min-height: 670px;
  padding: 82px 0 106px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 90px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 25px;
  color: #aab0bc;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(98, 231, 197, .09), 0 0 22px rgba(98, 231, 197, .45);
  animation: pulse 2.2s ease-in-out infinite;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(48px, 6vw, 75px);
  line-height: .99;
  letter-spacing: -.062em;
  font-weight: 760;
}

.hero h1 span {
  color: #8f96a4;
}

.hero-copy > p {
  max-width: 550px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 37px;
  display: flex;
  align-items: center;
  gap: 23px;
}

.button {
  min-height: 50px;
  padding: 0 20px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: transform .25s ease, filter .25s ease, box-shadow .25s ease;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.button-primary {
  color: #0d1114;
  background: var(--gradient);
  box-shadow: 0 15px 34px rgba(98, 231, 197, .12);
}

.button-primary svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.hero-note {
  color: #777f8e;
  font-size: 12px;
}

.hero-note b {
  color: var(--text);
  margin-right: 3px;
}

.hero-stack {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-stack::before {
  content: "";
  position: absolute;
  z-index: -2;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--gradient);
  filter: blur(74px);
  opacity: .11;
}

.orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .055);
  border-radius: 50%;
}

.orbit::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  top: 14%;
  left: 20%;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 14px rgba(165, 136, 255, .55);
}

.orbit-one {
  width: 414px;
  height: 414px;
  animation: spin 26s linear infinite;
}

.orbit-two {
  width: 338px;
  height: 338px;
  border-style: dashed;
  animation: spin 32s linear infinite reverse;
}

.feature-card {
  position: relative;
  width: min(330px, 86vw);
  padding: 18px;
  border: 1px solid #2b323e;
  border-radius: 29px;
  background: linear-gradient(155deg, rgba(25, 30, 40, .98), rgba(15, 18, 24, .98));
  box-shadow: 0 45px 100px rgba(0, 0, 0, .44), inset 0 1px rgba(255, 255, 255, .04);
  transform: rotate(3.5deg);
  animation: card-float 6s ease-in-out infinite;
}

.feature-top {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feature-label {
  padding: 7px 10px;
  border-radius: 999px;
  color: #aeb5c1;
  background: #202631;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.status-dot,
.recent-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 15px rgba(98, 231, 197, .55);
}

.feature-visual {
  position: relative;
  height: 174px;
  margin-top: 16px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 21px;
  background:
    radial-gradient(circle at 70% 28%, rgba(255, 199, 107, .45), transparent 28%),
    radial-gradient(circle at 30% 75%, rgba(165, 136, 255, .55), transparent 37%),
    linear-gradient(135deg, #253638, #27223b 55%, #20222c);
}

.feature-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 36px, rgba(255, 255, 255, .025) 37px 38px);
}

.feature-visual > svg {
  position: relative;
  z-index: 2;
  width: 54px;
  height: 54px;
  padding: 16px;
  border-radius: 50%;
  color: #fff;
  background: rgba(10, 12, 17, .74);
  backdrop-filter: blur(10px);
  fill: currentColor;
  stroke: none;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .28);
}

.visual-line {
  position: absolute;
  height: 1px;
  background: rgba(255, 255, 255, .18);
  transform-origin: left;
}

.line-one {
  width: 115%;
  top: 56%;
  left: -10%;
  transform: rotate(-14deg);
}

.line-two {
  width: 95%;
  top: 65%;
  left: 5%;
  transform: rotate(11deg);
}

.line-three {
  width: 85%;
  top: 41%;
  left: 12%;
  transform: rotate(-31deg);
}

.feature-info {
  padding: 19px 3px 3px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.feature-info small {
  color: #818997;
  font-size: 10px;
}

.feature-info h2 {
  margin: 4px 0 0;
  font-size: 20px;
  letter-spacing: -.035em;
}

.format-pills {
  display: flex;
  gap: 5px;
}

.format-pills span {
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #afb5c0;
  background: #11151b;
  font-size: 8px;
  font-weight: 700;
}

.floating-chip {
  position: absolute;
  padding: 10px 15px;
  border: 1px solid #323947;
  border-radius: 13px;
  color: #cdd1d8;
  background: rgba(21, 25, 33, .88);
  box-shadow: 0 15px 35px rgba(0, 0, 0, .28);
  backdrop-filter: blur(12px);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .05em;
}

.chip-one {
  top: 15%;
  right: -2%;
  animation: chip-float 5.6s ease-in-out infinite;
}

.chip-two {
  bottom: 17%;
  left: -1%;
  animation: chip-float 5.6s 1.2s ease-in-out infinite;
}

.collection {
  padding: 112px 0 70px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
}

.section-kicker {
  display: block;
  margin-bottom: 15px;
  color: var(--mint);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.section-heading h2,
.how-copy h2 {
  margin: 0;
  font-size: clamp(36px, 4.3vw, 54px);
  line-height: 1.04;
  letter-spacing: -.05em;
}

.section-heading > p {
  max-width: 340px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.catalog-tools {
  margin: 45px 0 29px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.search-box {
  width: min(360px, 100%);
  min-height: 49px;
  padding: 0 12px 0 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(18, 21, 28, .82);
  transition: border-color .25s ease, box-shadow .25s ease;
}

.search-box:focus-within {
  border-color: rgba(98, 231, 197, .42);
  box-shadow: 0 0 0 4px rgba(98, 231, 197, .06);
}

.search-box svg {
  width: 18px;
  height: 18px;
  color: #747c8a;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 12px;
}

.search-box input::placeholder {
  color: #606876;
}

.search-box kbd {
  min-width: 27px;
  height: 27px;
  padding-inline: 6px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #8f97a4;
  background: #0f1218;
  font: 700 9px inherit;
}

.filter-list {
  display: flex;
  gap: 7px;
}

.filter-button {
  min-height: 39px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #8e96a3;
  background: rgba(18, 21, 28, .68);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: color .22s ease, background .22s ease, border-color .22s ease;
}

.filter-button:hover,
.filter-button.active {
  color: var(--text);
  border-color: #444d5c;
  background: #202530;
}

.preset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.preset-card {
  position: relative;
  min-width: 0;
  min-height: 276px;
  padding: 21px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, rgba(23, 27, 36, .96), rgba(16, 19, 25, .96));
  box-shadow: inset 0 1px rgba(255, 255, 255, .025);
  transition: border-color .28s ease, transform .28s ease, background .28s ease;
}

.preset-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(165, 136, 255, .09), transparent 70%);
  transition: opacity .28s ease, transform .5s ease;
}

.preset-card:nth-child(3n + 2)::before {
  background: radial-gradient(circle, rgba(98, 231, 197, .08), transparent 70%);
}

.preset-card:nth-child(3n + 3)::before {
  background: radial-gradient(circle, rgba(255, 199, 107, .08), transparent 70%);
}

.preset-card:hover {
  z-index: 2;
  border-color: #3a4351;
  background: linear-gradient(150deg, rgba(27, 32, 42, .98), rgba(17, 20, 27, .98));
  transform: translateY(-5px);
}

.preset-card:hover::before {
  transform: scale(1.25);
}

.card-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-number {
  color: #5f6775;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .1em;
}

.date {
  color: #666e7b;
  font-size: 9px;
}

.card-title {
  position: relative;
  margin-top: 43px;
}

.card-title span {
  color: #777f8c;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.card-title h3 {
  margin: 7px 0 0;
  font-size: 22px;
  letter-spacing: -.04em;
}

.card-tags {
  position: relative;
  min-height: 48px;
  padding: 14px 0 13px;
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.card-tags span {
  padding: 5px 7px;
  border: 1px solid #303744;
  border-radius: 7px;
  color: #979eaa;
  background: #11141a;
  font-size: 8px;
  font-weight: 700;
}

.card-actions {
  position: relative;
  margin-top: auto;
  display: flex;
  gap: 7px;
}

.video-button,
.file-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 750;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.video-button {
  flex: 1;
  gap: 8px;
  color: #e9ebef;
  background: #282e39;
}

.video-button svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  stroke: none;
}

.file-button {
  min-width: 44px;
  padding-inline: 10px;
  border: 1px solid #323a47;
  white-space: nowrap;
  color: #aeb4be;
  background: #151920;
}

.video-button:hover,
.file-button:hover {
  transform: translateY(-2px);
  border-color: #515d6e;
  background: #323946;
}

.loading-state {
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.loading-state span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  animation: loading-dot 1.1s ease-in-out infinite;
}

.loading-state span:nth-child(2) {
  animation-delay: .14s;
}

.loading-state span:nth-child(3) {
  animation-delay: .28s;
}

.empty-state {
  min-height: 290px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  border: 1px dashed #2d3440;
  border-radius: var(--radius-md);
}

.empty-state svg {
  width: 26px;
  height: 26px;
  color: #69717f;
}

.empty-state h3 {
  margin: 15px 0 5px;
  font-size: 16px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.how {
  padding: 70px 0 124px;
}

.how-panel {
  position: relative;
  padding: 58px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #171b24, #11141a);
  box-shadow: var(--shadow);
}

.how-panel::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  left: -130px;
  bottom: -250px;
  border-radius: 50%;
  background: var(--gradient);
  filter: blur(80px);
  opacity: .09;
}

.how-copy p {
  max-width: 430px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 17px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.steps li:last-child {
  border-bottom: 0;
}

.steps li > span {
  width: 36px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid #363e4b;
  border-radius: 11px;
  color: var(--mint);
  background: #1a1f28;
  font-size: 10px;
  font-weight: 800;
}

.steps div {
  display: grid;
  gap: 5px;
}

.steps b {
  font-size: 12px;
}

.steps small {
  color: #747c89;
  font-size: 10px;
}

.site-footer {
  min-height: 146px;
  padding: 34px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line-soft);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand > div {
  display: grid;
  gap: 4px;
}

.footer-brand b {
  font-size: 13px;
}

.footer-brand small {
  color: #69717e;
  font-size: 9px;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 23px;
  color: #616976;
  font-size: 9px;
}

.footer-right a {
  color: #9299a5;
  transition: color .22s ease;
}

.footer-right a:hover {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .72s cubic-bezier(.2, .75, .25, 1), transform .72s cubic-bezier(.2, .75, .25, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.preset-card:nth-child(2),
.preset-card:nth-child(5) {
  transition-delay: .07s;
}

.preset-card:nth-child(3),
.preset-card:nth-child(6) {
  transition-delay: .14s;
}

.admin-body {
  min-height: 100vh;
}

.admin-header {
  height: 82px;
}

.admin-main {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
  padding: 65px 0 110px;
}

.login-panel {
  width: min(440px, 100%);
  margin: 45px auto 0;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(150deg, rgba(24, 29, 38, .98), rgba(15, 18, 24, .98));
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, .035);
}

.login-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 25px;
  display: grid;
  place-items: center;
  border: 1px solid #373f4c;
  border-radius: 15px;
  color: var(--mint);
  background: #1e242e;
}

.login-icon svg {
  width: 22px;
  height: 22px;
}

.login-panel h1,
.dashboard-heading h1 {
  margin: 0;
  font-size: 34px;
  letter-spacing: -.05em;
}

.login-panel > p,
.dashboard-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.login-form {
  margin-top: 28px;
}

.login-form > label,
.field > span {
  display: block;
  margin-bottom: 9px;
  color: #a7adb8;
  font-size: 10px;
  font-weight: 700;
}

.password-field,
.input-with-icon {
  min-height: 49px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0f1218;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.password-field:focus-within,
.input-with-icon:focus-within,
.field > input:focus {
  border-color: rgba(98, 231, 197, .46);
  box-shadow: 0 0 0 4px rgba(98, 231, 197, .055);
}

.password-field > svg,
.input-with-icon > svg {
  width: 17px;
  height: 17px;
  margin-left: 14px;
  flex: none;
  color: #626b79;
}

.password-field input,
.input-with-icon input,
.field > input {
  width: 100%;
  min-width: 0;
  min-height: 47px;
  padding: 0 13px;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 12px;
}

.password-field input::placeholder,
.input-with-icon input::placeholder,
.field > input::placeholder {
  color: #555d69;
}

.password-field button {
  width: 44px;
  min-height: 47px;
  display: grid;
  place-items: center;
  flex: none;
  color: #6d7582;
  background: transparent;
  cursor: pointer;
}

.password-field button svg {
  width: 18px;
  height: 18px;
}

.login-button {
  width: 100%;
  margin-top: 14px;
}

.login-message {
  min-height: 18px;
  margin-top: 12px;
  color: var(--danger);
  text-align: center;
  font-size: 9px;
}

.button:disabled {
  cursor: wait;
  filter: saturate(.6);
  opacity: .72;
}

.security-note {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #656e7a;
  font-size: 9px;
}

.security-note svg {
  width: 14px;
  height: 14px;
}

.dashboard-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
}

.logout-button {
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #a3aab5;
  background: var(--surface);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.logout-button svg {
  width: 16px;
  height: 16px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, .8fr);
  gap: 16px;
  align-items: start;
}

.preset-form,
.recent-panel {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(23, 27, 36, .98), rgba(15, 18, 24, .98));
  box-shadow: inset 0 1px rgba(255, 255, 255, .03);
}

.form-heading {
  margin-bottom: 27px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.form-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #333b48;
  border-radius: 12px;
  color: var(--mint);
  background: #1c222b;
}

.form-icon svg {
  width: 18px;
  height: 18px;
}

.form-heading > div:last-child,
.recent-head > div {
  display: grid;
  gap: 4px;
}

.form-heading b,
.recent-head b {
  font-size: 12px;
}

.form-heading small,
.recent-head small {
  color: #737b88;
  font-size: 9px;
}

.field {
  display: block;
  margin-bottom: 18px;
}

.field > span b {
  margin-left: 6px;
  padding: 4px 6px;
  border-radius: 6px;
  color: var(--mint);
  background: rgba(98, 231, 197, .08);
  font-size: 7px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.field > input {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0f1218;
}

.optional-label {
  margin: 7px 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.optional-label span {
  color: #a7adb8;
  font-size: 10px;
  font-weight: 700;
}

.optional-label small {
  color: #666e7b;
  font-size: 8px;
}

.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-message {
  min-height: 22px;
  color: var(--mint);
  font-size: 9px;
}

.form-message.error {
  color: var(--danger);
}

.save-button {
  width: 100%;
}

.recent-head {
  margin-bottom: 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.recent-head a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #929aa6;
  font-size: 9px;
}

.recent-head a svg {
  width: 13px;
  height: 13px;
}

.recent-list {
  display: grid;
  gap: 8px;
}

.recent-empty {
  min-height: 126px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: #6f7784;
  text-align: center;
  font-size: 9px;
}

.recent-item {
  min-height: 62px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: #11141a;
}

.recent-index {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid #303744;
  border-radius: 9px;
  color: #747d89;
  font-size: 8px;
  font-weight: 750;
}

.recent-item > div {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 5px;
}

.recent-item b {
  overflow: hidden;
  color: #dfe2e7;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-item small {
  color: #686f7c;
  font-size: 8px;
}

.recent-item .recent-dot {
  width: 6px;
  height: 6px;
  flex: none;
}

.new-item {
  border-color: rgba(98, 231, 197, .25);
  animation: item-in .45s ease both;
}

.new-item .recent-index {
  color: var(--mint);
  font-size: 6px;
}

.data-note {
  margin-top: 15px;
  padding: 14px;
  display: flex;
  gap: 10px;
  border-radius: 13px;
  color: #747d89;
  background: rgba(98, 231, 197, .045);
}

.data-note svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--mint);
}

.data-note p {
  margin: 0;
  font-size: 8px;
  line-height: 1.6;
}

.toast {
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 24px;
  min-width: 270px;
  padding: 14px 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #394250;
  border-radius: 16px;
  background: rgba(22, 26, 34, .96);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity .3s ease, transform .3s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast > svg {
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 9px;
  color: #0c1412;
  background: var(--mint);
  stroke-width: 2.4;
}

.toast > div {
  display: grid;
  gap: 3px;
}

.toast b {
  font-size: 10px;
}

.toast small {
  color: #818996;
  font-size: 8px;
}

@keyframes gradient-flow {
  to { background-position: -300% 0; }
}

@keyframes pulse {
  0%, 100% { transform: scale(.9); opacity: .7; }
  50% { transform: scale(1.15); opacity: 1; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes card-float {
  0%, 100% { transform: rotate(3.5deg) translateY(0); }
  50% { transform: rotate(2.2deg) translateY(-9px); }
}

@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes item-in {
  from { opacity: 0; transform: translateY(-10px); }
}

@keyframes loading-dot {
  0%, 100% { opacity: .3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-5px); }
}

@media (max-width: 900px) {
  .hero {
    gap: 30px;
  }

  .preset-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-panel {
    gap: 45px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .shell,
  .site-header,
  .admin-main {
    width: min(100% - 30px, 560px);
  }

  .site-header {
    height: 78px;
  }

  .brand {
    font-size: 15px;
  }

  .brand-mark {
    width: 34px;
    border-radius: 11px;
  }

  .header-link {
    min-height: 38px;
    padding-inline: 13px;
    font-size: 10px;
  }

  .hero {
    min-height: auto;
    padding: 62px 0 85px;
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .hero h1 {
    font-size: clamp(45px, 13.5vw, 65px);
  }

  .hero-copy > p {
    font-size: 14px;
  }

  .hero-stack {
    min-height: 400px;
  }

  .orbit-one {
    width: min(105vw, 400px);
    height: min(105vw, 400px);
  }

  .orbit-two {
    width: min(86vw, 330px);
    height: min(86vw, 330px);
  }

  .chip-one {
    right: 0;
  }

  .chip-two {
    left: 0;
  }

  .collection {
    padding-top: 88px;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2,
  .how-copy h2 {
    font-size: 40px;
  }

  .section-heading > p {
    margin-top: 19px;
  }

  .catalog-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .search-box {
    width: 100%;
  }

  .filter-list {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filter-list::-webkit-scrollbar {
    display: none;
  }

  .filter-button {
    flex: 1 0 auto;
  }

  .preset-grid {
    grid-template-columns: 1fr;
  }

  .preset-card {
    min-height: 263px;
  }

  .how {
    padding: 60px 0 95px;
  }

  .how-panel {
    padding: 33px 24px;
    grid-template-columns: 1fr;
    gap: 35px;
    border-radius: 24px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-right {
    width: 100%;
    justify-content: space-between;
  }

  .admin-main {
    padding-top: 35px;
  }

  .login-panel {
    margin-top: 20px;
    padding: 28px 22px;
  }

  .dashboard-heading {
    align-items: flex-start;
  }

  .dashboard-heading h1 {
    font-size: 30px;
  }

  .preset-form,
  .recent-panel {
    padding: 22px 18px;
  }

  .field-pair {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .toast {
    right: 15px;
    bottom: 15px;
    left: 15px;
    min-width: 0;
  }
}

@media (max-width: 390px) {
  .shell,
  .site-header,
  .admin-main {
    width: calc(100% - 24px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-note {
    padding-left: 3px;
  }

  .feature-card {
    width: min(310px, 88vw);
  }

  .floating-chip {
    display: none;
  }

  .dashboard-heading {
    display: block;
  }

  .logout-button {
    margin-top: 20px;
  }
}

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