:root {
  color-scheme: dark;
  --bg: #07070c;
  --paper: #101018;
  --panel: rgba(255, 255, 255, .035);
  --ink: #f4f4f8;
  --ink-2: #c3c3d2;
  --muted: #8c8ca3;
  --faint: #63637a;
  --line: rgba(255,255,255,.09);
  --line-2: rgba(255,255,255,.16);
  --accent: #7c5cff;
  --accent-dark: #a78bfa;
  --accent-soft: rgba(124,92,255,.14);
  --c: #22d3ee;
  --grad: linear-gradient(115deg, #7c5cff 0%, #6366f1 45%, #22d3ee 100%);
  --grad-soft: linear-gradient(115deg, rgba(124,92,255,.16), rgba(34,211,238,.12));
  --coin: #fbbf24;
  --ok: #34d399;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.34);
  --shadow-lg: 0 24px 70px rgba(0,0,0,.6);
  --sh-hi: 0 1px 0 rgba(255,255,255,.07) inset, 0 26px 60px rgba(0,0,0,.6);
  --max: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; min-width: 0; }
.ic { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
}
.site-header.is-stuck {
  background: rgba(7, 7, 12, .78);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(160%);
}
.hdr-in, .site-header .wrap {
  display: flex; align-items: center; gap: 24px;
  min-height: 72px;
}
.brand {
  display: flex; align-items: center; gap: 11px;
  flex: 0 0 auto;
  font-weight: 700; letter-spacing: -.02em;
}
.brand-mark, .brand .mark {
  width: 34px; height: 34px; border-radius: 10px;
  display: block; flex: 0 0 auto;
  box-shadow: 0 6px 20px rgba(124, 92, 255, .4);
}
.brand-txt {
  display: flex; flex-direction: column; line-height: 1.1;
  font-size: 16px; font-weight: 700;
}
.brand-txt small, .brand small {
  font-size: 9.5px; font-weight: 700; letter-spacing: .2em;
  color: var(--faint); margin-top: 2px; margin-left: 0;
}
.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; font-size: 14.5px; }
.nav > a:not(.btn) { color: var(--muted); padding: 8px 14px; border-radius: 999px; }
.nav > a:not(.btn):hover, .nav > a.is-on:not(.btn) { color: var(--ink); background: rgba(255,255,255,.06); }
.hdr-act { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-user { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; }
.nav-user-av {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-dark);
  font-size: 11px; font-weight: 750; line-height: 1;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 20px; border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,.05);
  color: var(--ink);
  font-size: 14.5px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
}
.btn + .btn { margin-left: 0; }
.hero-actions { gap: 12px; }
.hero-actions .btn + .btn { margin-left: 0; }
.btn:hover { transform: translateY(-2px); background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.26); }
.btn.ghost { background: transparent; color: var(--ink-2); border-color: transparent; }
.btn.ghost:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.btn.accent {
  background: var(--grad); border-color: transparent; color: #fff;
  box-shadow: 0 8px 26px rgba(124, 92, 255, .34);
}
.btn.accent:hover { box-shadow: 0 14px 38px rgba(124, 92, 255, .48); transform: translateY(-2px); }
.btn.lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

.hero { padding: 28px 0 32px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
.hero h1 {
  max-width: 760px;
  font-size: clamp(34px, 4.2vw, 48px);
  line-height: 1.1;
  margin: 0 0 10px;
  letter-spacing: -.04em;
}
.hero p.lead { max-width: 40em; color: var(--muted); font-size: 17px; margin: 0; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.hero-actions .btn { margin: 0; }
.hero-home { padding: 56px 0 44px; }
.hero-home h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
  margin: 0 0 20px;
  letter-spacing: -.045em;
}
.hero-home p.lead { font-size: 17px; margin: 0 0 28px; }
.hero-home .kicker { margin-bottom: 12px; }
.kicker, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 14px 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, .16);
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: .35; } }
.section { padding: 36px 0 72px; }
.section.tint { background: rgba(255,255,255,.045); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.section-head h2 { margin: 0; font-size: 25px; letter-spacing: -.025em; }
.section-link { color: var(--muted); font-size: 13px; }
.section-link::after { content: " →"; }
.section-link:hover { color: var(--c); }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.apps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  min-width: 0;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
a.card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.20); box-shadow: 0 16px 42px rgba(0,0,0,.5); }
.card .body { padding: 20px 20px 22px; }
.card h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.015em; }
.card .muted { margin: 0 0 14px; }
.card-price { color: var(--coin); font-size: 15px; font-weight: 750; margin: 0; }
.muted, .meta { color: var(--muted); font-size: 13px; }
.cover { aspect-ratio: 16/10; object-fit: cover; width: 100%; background: #1a1a24; }
.product-card {
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: "";
  position: absolute; inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #22d3ee);
  opacity: .8;
}
.product-card .body {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  padding: 24px;
}
.product-top {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}
.product-heading { min-width: 0; }
.product-meta { margin: 0 0 10px; color: var(--ink-2); font-size: 13px; }
.cat-badge {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--ink-2);
  font-size: 11.5px;
  font-weight: 650;
  vertical-align: 1px;
}
.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}
.cat-tabs a {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  color: var(--muted);
  font-size: 14px;
}
.cat-tabs a:hover {
  color: var(--ink);
  border-color: var(--line-2);
  background: rgba(255,255,255,.07);
}
.cat-tabs a.is-on {
  color: #fff;
  border-color: transparent;
  background: var(--grad);
  box-shadow: 0 6px 20px rgba(124,92,255,.3);
}
.product-card h3 { font-size: 21px; margin-bottom: 0; }
.product-bottom {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.product-thumb {
  width: 84px;
  height: 84px;
  padding: 7px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #1a1a26, #14141d);
  border: 1px solid var(--line);
  border-radius: 13px;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 7px;
}
.product-copy { min-width: 0; }
.product-card .muted {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.55;
  margin: 0 0 10px;
}
.product-card .card-price { margin-top: 14px; padding: 0; border: 0; line-height: 1.35; }
.featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 168px;
  min-height: 392px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
a.featured-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.20);
  box-shadow: 0 22px 50px rgba(0,0,0,.62);
}
.featured-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px 26px 24px;
}
.featured-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-bottom: 16px;
}
.featured-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(52,211,153,.12);
  color: var(--ok);
  border: 1px solid rgba(52,211,153,.3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.featured-card h3 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.15;
  letter-spacing: -.03em;
}
.featured-card .muted {
  margin: 0;
  max-width: 28em;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.featured-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.featured-tags li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: #b8b8c8;
  font-size: 12px;
  line-height: 1.3;
}
.featured-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
}
.featured-card .card-price { margin: 0; font-size: 14px; }
.featured-go {
  color: var(--c);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.featured-go::after { content: " →"; }
.featured-stage {
  position: relative;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(167,139,250,.24), transparent 55%),
    linear-gradient(180deg, #0b0b14 0%, #1a1630 58%, #3b2a6b 130%);
  display: grid;
  place-items: end center;
  padding: 26px 14px 0;
}
.featured-phone {
  width: 134px;
  height: 268px;
  padding: 7px 7px 0;
  border-radius: 22px 22px 0 0;
  background: #0a0a10;
  box-shadow: 0 18px 36px rgba(0,0,0,.5);
}
.featured-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px 16px 0 0;
  background: #101018;
}
.featured-logo {
  width: 92px;
  height: 92px;
  margin-bottom: 48px;
  padding: 10px;
  display: grid;
  place-items: center;
  background: #101018;
  border-radius: 20px;
  box-shadow: 0 16px 30px rgba(0,0,0,.42);
}
.featured-logo img { width: 100%; height: 100%; object-fit: contain; }
.page-intro { max-width: 700px; margin-bottom: 20px; }

.app-hero { padding: 0 0 10px; }
.app-hero-grid {
  display: grid;
  grid-template-columns: minmax(148px, 220px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}
.app-hero-copy { min-width: 0; }
.app-hero h1 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.1; letter-spacing: -.04em; margin: 0 0 12px; }
.app-hero .lead { max-width: 740px; font-size: 17px; color: var(--muted); margin: 0 0 16px; }
.price-chip {
  display: inline-flex; gap: 8px; align-items: center;
  background: rgba(251,191,36,.10); color: var(--coin);
  border: 1px solid rgba(251,191,36,.32);
  border-radius: 999px; padding: 7px 13px; font-size: 14px; font-weight: 700;
}
.app-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: 40px;
  align-items: start;
  padding: 28px 0 72px;
}
.sticky { position: sticky; top: 88px; }
.qr-box { text-align: center; padding: 22px; margin-bottom: 14px; }
.qr-box img { width: 168px; height: 168px; object-fit: contain; margin: 0 auto 10px; background: #101018; border-radius: 8px; }
.qr-empty {
  width: 168px; height: 168px; margin: 0 auto 10px;
  border: 1px dashed var(--line); display: grid; place-items: center;
  color: var(--muted); font-size: 13px; text-align: center; padding: 12px; border-radius: 8px;
}
.app-hero-art { margin: 0; }
.app-cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #16161f;
}
.content-section { margin-top: 42px; }
.content-section > h2 { font-size: 24px; letter-spacing: -.025em; margin: 0 0 16px; }
.app-tabs { margin-top: 10px; }
.app-tabs-bar {
  position: sticky;
  top: 71px;
  z-index: 8;
  background: var(--bg);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin: 0 0 18px;
}
.app-tabs-nav {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-bottom: 1px solid var(--line);
}
.app-tabs-nav::-webkit-scrollbar { display: none; }
.app-tabs-nav button {
  appearance: none;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--muted);
  min-height: 44px;
  padding: 0 16px;
  font: inherit;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: color .18s ease;
}
.app-tabs-nav button:first-child { padding-left: 0; }
.app-tabs-nav button:hover { color: var(--ink); }
.app-tabs-nav button[aria-selected="true"] { color: var(--ink); }
.app-tabs-ink {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 40px;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
  transform: translateX(0);
  transition: transform .22s ease, width .22s ease;
  pointer-events: none;
}
.app-tabs-body {
  background: none;
  border: 0;
  padding: 0;
  box-shadow: none;
  min-height: 0;
}
.app-tab { display: none; }
.app-tab.is-on {
  display: block;
  animation: tabIn .22s ease;
}
.app-tab[hidden] { display: none !important; }
.app-tab .feat-grid { margin: 0; }
.app-tab .prose > :first-child { margin-top: 0; }
.app-tab .prose > :last-child { margin-bottom: 0; }
.app-tab[data-pane="intro"] .prose {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
@keyframes tabIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.shots { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.shots img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 16px; background: #101018; box-shadow: var(--shadow-sm); }
.js-zoom { cursor: zoom-in; }
.feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px 0 28px; }
.feat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.feat h3 { margin: 0 0 6px; font-size: 16px; }
.feat p { margin: 0; }
.prose { font-size: 16px; }
.prose h2 { font-size: 23px; margin: 38px 0 12px; letter-spacing: -.02em; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose a { color: var(--c); text-decoration: underline; }
article.prose { max-width: 760px; }
.article-page { padding-block: 28px 72px; }
.article-page article { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 5vw, 56px); box-shadow: var(--shadow-sm); }
.article-page article.prose { max-width: none; width: 100%; }
.article-page h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.14; letter-spacing: -.04em; margin: 4px 0 28px; }
.article-page > .wrap > h2 { margin-top: 40px; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 18px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq details[open] { border-color: rgba(124,92,255,.32); }
.faq details p { margin-bottom: 0; }
.log {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  white-space: pre-line;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 38px 0 46px;
  color: var(--muted);
  font-size: 13px;
  background: rgba(4,4,8,.5);
}
.footer-grid { display: flex; justify-content: space-between; gap: 32px; align-items: flex-start; }
.footer-brand { color: var(--ink); font-weight: 700; font-size: 15.5px; margin: 0 0 6px; letter-spacing: -.02em; }
.footer-copy p { margin: 4px 0; color: var(--faint); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-nav a { font-size: 13.5px; color: var(--muted); }
.footer-nav a:hover { color: var(--ink); }
.list a.row {
  display: block;
  position: relative;
  padding: 20px 52px 20px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, border-color .18s ease;
}
.list a.row::after { content: "→"; position: absolute; right: 22px; top: 50%; translate: 0 -50%; color: #9a9aae; }
.list a.row:hover { border-color: rgba(255,255,255,.20); transform: translateX(3px); }
.list a.row strong { display: block; margin: 4px 0 6px; font-size: 17px; }
.list a.row p { margin: 0; max-width: 760px; }
.mobile-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: rgba(9,9,15,.9); border-top: 1px solid var(--line); backdrop-filter: blur(16px);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  gap: 8px;
}
.mobile-cta .btn { flex: 1; margin: 0; }
.modal {
  position: fixed; inset: 0; background: rgba(0,0,0,.68); display: none;
  place-items: center; z-index: 40; padding: 24px;
  backdrop-filter: blur(5px);
}
.modal.open { display: grid; }
.modal .panel {
  background: #101018; padding: 28px; border-radius: 22px;
  width: min(380px, 100%); text-align: center; box-shadow: var(--shadow-lg);
}
.modal .panel > img { margin-inline: auto; border-radius: 12px; }
.lightbox {
  position: fixed; inset: 0; z-index: 50; display: none;
  place-items: center;
  background: rgba(0,0,0,.92);
  padding: 28px 56px;
}
.lightbox.open { display: grid; }
.lightbox img {
  max-width: min(1180px, 100%);
  max-height: calc(100vh - 56px);
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 10px;
  background: #101018;
}
.lightbox-close, .lightbox-nav {
  position: absolute;
  border: 0; background: rgba(255,255,255,.14); color: #ffffff;
  cursor: pointer; border-radius: 999px;
}
.lightbox-close {
  top: 16px; right: 16px;
  width: 40px; height: 40px; font-size: 22px; line-height: 1;
}
.lightbox-nav {
  top: 50%; translate: 0 -50%;
  width: 44px; height: 44px; font-size: 28px; line-height: 1;
}
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.14); }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.14); }

.account-box { max-width: 440px; }
.account-box h1 { margin: 0 0 18px; }
.account-box form label { display: block; font-size: 13px; font-weight: 650; margin: 14px 0 6px; }
.account-box input[type=text],
.account-box input[type=password],
.me-form input[type=password],
.studio-form input:not([type=file]):not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]),
.studio-form textarea,
.studio-form select {
  display: block; width: 100%;
  border: 1px solid var(--line); background: #101018; color: var(--ink);
  padding: 10px 12px; border-radius: 12px; font: inherit;
}
.studio-form textarea { min-height: 140px; resize: vertical; }
.account-box .captcha-row,
.studio-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.account-box .captcha-row { margin: 10px 0 28px; }
.account-box .slider { margin: 4px 0 6px; user-select: none; touch-action: none; }
.account-box .slider-track {
  position: relative;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: #16161f;
  overflow: hidden;
}
.account-box .slider-fill {
  position: absolute; inset: 0 auto 0 0; width: 0;
  background: rgba(52,211,153,.10);
}
.account-box .slider-text {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  height: 100%; color: var(--muted); font-size: 13px; pointer-events: none;
}
.account-box .slider-handle {
  position: absolute; top: 2px; left: 2px; z-index: 2;
  width: 36px; height: 36px; padding: 0;
  border: 0; border-radius: 50%;
  background: #101018; color: var(--ink);
  box-shadow: 0 2px 8px rgba(0,0,0,.5);
  font-size: 22px; line-height: 1; cursor: grab;
}
.account-box .slider-handle.is-hold { cursor: grabbing; }
.account-box .slider.is-ok .slider-track { border-color: rgba(52,211,153,.34); background: rgba(52,211,153,.10); }
.account-box .slider.is-ok .slider-fill { width: 100% !important; background: rgba(52,211,153,.22); }
.account-box .slider.is-ok .slider-text { color: #34d399; font-weight: 650; }
.account-box .slider.is-ok .slider-handle { background: #0f3d2e; color: #ffffff; }
.account-box .slider-hint { margin: 8px 0 4px; }
.account-box .captcha-box { display: none; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.account-box .captcha-box.is-show { display: block; }
.account-box .captcha-row img {
  width: 160px; height: 52px; object-fit: contain;
  background: #16161f; border: 1px solid var(--line); border-radius: 8px;
}
.account-box .captcha-row .btn { min-height: 36px; white-space: nowrap; }
.account-box #captcha-input { letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
.account-box .username-hint.is-taken { color: #f87171; }
.account-box .err, .studio-form .err, .studio-result .err, .err-inline, .me-panel .err {
  color: #f87171; background: rgba(248,113,113,.12); border: 1px solid rgba(248,113,113,.30);
  padding: 10px 13px; border-radius: 10px;
}
.ok-banner { color: #34d399; background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.30); padding: 10px 13px; border-radius: 10px; }
.me-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.me-side {
  position: sticky; top: 88px;
  background: #101018; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-sm); padding: 18px 14px 14px;
}
.me-user {
  display: flex; align-items: center; gap: 12px;
  padding: 6px 8px 16px; margin: 0 4px 10px;
  border-bottom: 1px solid var(--line);
}
.me-user strong { display: block; font-size: 16px; letter-spacing: -.02em; }
.me-user p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.me-av {
  width: 44px; height: 44px; border-radius: 14px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  font-size: 18px; font-weight: 750;
}
.me-nav { display: flex; flex-direction: column; gap: 4px; }
.me-nav a {
  display: block; padding: 10px 12px; border-radius: 12px;
  color: var(--muted); font-size: 14px; font-weight: 650;
}
.me-nav a:hover { color: var(--ink); background: rgba(255,255,255,.05); }
.me-nav a.is-on { color: var(--accent); background: var(--accent-soft); }
.me-nav a.is-out { color: #f87171; margin-top: 8px; }
.me-nav a.is-out:hover { background: rgba(248,113,113,.12); }
.me-nav .logout-form { margin: 0; }
.me-nav .logout-form button.is-out {
  display: block; width: 100%; margin-top: 8px; padding: 10px 12px;
  border: 0; border-radius: 12px; background: transparent;
  color: #f87171; font-size: 14px; font-weight: 650; font-family: inherit;
  text-align: left; cursor: pointer;
}
.me-nav .logout-form button.is-out:hover { background: rgba(248,113,113,.12); }
.me-main { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.me-panel .body { padding: 28px; }
.me-panel h2 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.03em; }
.me-panel .meta { margin: 0 0 18px; }
.me-fields { margin: 18px 0 0; }
.me-fields > div {
  display: grid; grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.me-fields > div:last-child { border-bottom: 0; }
.me-fields dt { margin: 0; color: var(--muted); font-size: 14px; font-weight: 650; }
.me-fields dd { margin: 0; font-size: 15px; font-weight: 650; }
.me-fields a { color: var(--accent); margin-left: 8px; font-size: 13px; }
.me-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.me-stat {
  display: block; padding: 20px 18px; color: inherit;
}
.me-stat b { display: block; font-size: 28px; font-weight: 750; letter-spacing: -.04em; line-height: 1.1; }
.me-stat span { color: var(--muted); font-size: 13px; font-weight: 650; }
a.me-stat:hover { border-color: rgba(255,255,255,.20); }
.me-form label { display: block; font-size: 14px; font-weight: 650; margin: 16px 0 6px; }
.me-form label:first-of-type { margin-top: 4px; }
.me-table-wrap { overflow-x: auto; margin-top: 12px; }
.me-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.me-table th, .me-table td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); }
.me-table th { color: var(--muted); font-weight: 650; font-size: 13px; }
.me-st { display: inline-flex; padding: 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 650; }
.me-st.is-paid { background: rgba(52,211,153,.12); color: #34d399; }
.me-st.is-pending { background: rgba(255,255,255,.05); color: var(--muted); }
.coin-delta { font-variant-numeric: tabular-nums; font-weight: 700; }
.coin-delta.is-plus { color: #34d399; }
.coin-delta.is-minus { color: #f87171; }
.me-panel .err { margin: 0 0 14px; }
.studio-tabs {
  display: flex; gap: 9px; flex-wrap: wrap; align-items: center; margin: 8px 0 28px;
}
.studio-tabs a {
  display: inline-flex; align-items: center;
  min-height: 38px; padding: 0 16px; border-radius: 999px;
  color: var(--muted); background: rgba(255,255,255,.035);
  border: 1px solid var(--line); font-size: 14px;
  transition: all .2s var(--ease);
}
.studio-tabs a:hover { color: var(--ink); border-color: var(--line-2); background: rgba(255,255,255,.07); }
.studio-tabs a.is-on {
  color: #fff; border-color: transparent;
  background: var(--grad);
  box-shadow: 0 6px 20px rgba(124,92,255,.3);
}
.studio-gate .body, .studio-form .body { padding: 28px; }
.studio-gate h2 { margin: 0 0 8px; }
.studio-fields {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 8px 0 6px;
}
.studio-fields label { display: block; font-size: 13px; font-weight: 650; margin: 10px 0 6px; }
.studio-result { margin-top: 18px; }
.studio-wait { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px 0; color: var(--muted); }
.studio-spin {
  width: 32px; height: 32px; border: 3px solid rgba(124,92,255,.22);
  border-top-color: var(--accent); border-radius: 50%;
  animation: studio-spin .7s linear infinite;
}
@keyframes studio-spin { to { transform: rotate(360deg); } }
.studio-preview img, .studio-preview video {
  width: 100%; max-height: 520px; object-fit: contain; background: #05050a; border-radius: 14px;
}
.studio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.studio-work .body { padding: 16px 18px 18px; }
.studio-thumb { aspect-ratio: 1; background: #1a1a24; overflow: hidden; }
.studio-thumb img, .studio-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.studio-ph {
  height: 100%; display: grid; place-items: center; color: var(--muted); font-size: 14px; font-weight: 650;
}
.studio-prompt { margin: 6px 0 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.studio-work-actions { display: flex; gap: 8px; align-items: center; }
.studio-work-actions .btn { min-height: 34px; padding-inline: 12px; font-size: 13px; margin: 0; }
.studio-coins-pill {
  margin-left: auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
}
.studio-wf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.studio-wf { display: flex; flex-direction: column; color: inherit; }
.studio-wf-icon {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #1a1a24;
}
.studio-wf-icon.is-ph {
  display: grid; place-items: center; font-size: 42px; font-weight: 750; color: var(--accent);
  background: var(--accent-soft);
}
.studio-wf h3 { margin: 0 0 8px; }
.studio-fields .is-full { grid-column: 1 / -1; }
.studio-form label:not(.studio-file-slot):not(.studio-choice-btn),
.studio-field-group-title {
  display: block;
  margin: 20px 0 8px;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -.02em;
  color: var(--ink);
}
.studio-field-group { margin: 22px 0 10px; }
.studio-field-group-title { margin: 0 0 8px; }
.studio-field-plain { margin: 16px 0; }
.studio-field-plain > label { margin-top: 0; }
.studio-tune { margin: 0; }
.studio-tune-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.studio-tune-head label { margin: 0; }
.studio-tune-meta { display: inline-flex; align-items: center; gap: 8px; }
.studio-range-val {
  font-size: 15px; font-weight: 750; font-variant-numeric: tabular-nums;
  color: var(--accent); letter-spacing: -.02em;
}
.studio-range-rand {
  border: 0; background: var(--accent-soft); color: var(--accent);
  border-radius: 999px; min-height: 28px; padding: 0 10px;
  font: inherit; font-size: 12px; font-weight: 650; cursor: pointer;
}
.studio-range-rand:hover { background: rgba(124,92,255,.20); }
.studio-form input[type=range].studio-range-input {
  display: block; width: 100%; height: 28px; margin: 4px 0 0;
  padding: 0; border: 0; border-radius: 0; background: transparent;
  -webkit-appearance: none; appearance: none; cursor: pointer;
}
.studio-range-input::-webkit-slider-runnable-track {
  height: 6px; border-radius: 99px;
  background: linear-gradient(to right, var(--accent) 0, var(--accent) var(--p, 0%), #1a1a24 var(--p, 0%), #1a1a24 100%);
}
.studio-range-input::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; margin-top: -6px; border-radius: 50%;
  background: #101018; border: 2px solid var(--accent);
  box-shadow: 0 2px 8px rgba(124,92,255,.30);
}
.studio-range-input::-moz-range-track {
  height: 6px; border: 0; border-radius: 99px; background: #1a1a24;
}
.studio-range-input::-moz-range-progress {
  height: 6px; border-radius: 99px; background: var(--accent);
}
.studio-range-input::-moz-range-thumb {
  width: 18px; height: 18px; border: 2px solid var(--accent); border-radius: 50%;
  background: #101018; box-shadow: 0 2px 8px rgba(124,92,255,.30);
}
.studio-choice { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.studio-choice-btn {
  position: relative; display: block; margin: 0; cursor: pointer; font: inherit;
}
.studio-choice-btn input {
  position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none;
}
.studio-choice-btn span {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: #101018; color: var(--ink);
  font-size: 14px; font-weight: 650; line-height: 1;
  transition: border-color .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.studio-choice-btn:hover span { border-color: rgba(255,255,255,.22); }
.studio-choice-btn input:checked + span {
  background: var(--accent-soft); border-color: var(--accent); color: var(--accent);
  font-weight: 750; box-shadow: 0 4px 12px rgba(124,92,255,.16);
}
.studio-choice-btn input:focus-visible + span {
  outline: 3px solid rgba(124,92,255,.38); outline-offset: 3px;
}
@media (min-width: 761px) {
  .studio-form .body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
  }
  .studio-form .body > *:not(.is-range) { grid-column: 1 / -1; }
}
.studio-file-grid {
  display: grid; gap: 12px; margin: 12px 0 4px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.studio-file-grid.is-audio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.studio-file-grid.is-video { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.studio-file-field { position: relative; }
.studio-file-slot {
  position: relative;
  display: flex; flex-direction: column; align-items: stretch; justify-content: center;
  min-height: 148px; padding: 0; margin: 0; cursor: pointer;
  border: 1px dashed rgba(255,255,255,.22); border-radius: 16px;
  background: linear-gradient(180deg, #101018 0%, #14141d 100%);
  text-align: center; color: var(--muted);
  overflow: hidden;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease, transform .16s ease;
}
.studio-file-slot input[type=file] {
  position: absolute !important;
  inset: 0 auto auto 0;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  border: 0 !important; opacity: 0 !important;
  overflow: hidden; clip: rect(0, 0, 0, 0);
}
.studio-file-slot:hover,
.studio-file-field.is-over .studio-file-slot {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 8px 22px rgba(124,92,255,.12);
  transform: translateY(-1px);
}
.studio-file-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 18px 12px; min-height: 148px;
}
.studio-file-ph[hidden],
.studio-file-preview[hidden],
.studio-file-clear[hidden],
.studio-file-field.has-file .studio-file-ph {
  display: none !important;
}
.studio-file-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: #101018; color: var(--accent);
  box-shadow: 0 1px 2px rgba(0,0,0,.45), 0 6px 16px rgba(0,0,0,.45);
}
.studio-file-icon svg { width: 22px; height: 22px; display: block; }
.studio-file-ph strong {
  display: block; color: var(--ink); font-size: 16px; font-weight: 750; letter-spacing: -.02em;
}
.studio-file-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 32px; padding: 0 14px; border-radius: 999px;
  background: var(--accent); color: #ffffff;
  font-size: 12px; font-weight: 650; line-height: 1;
  box-shadow: 0 6px 14px rgba(124,92,255,.26);
}
.studio-file-slot:hover .studio-file-btn { background: var(--accent-dark); }
.studio-file-field.has-file .studio-file-slot {
  border-style: solid; border-color: rgba(255,255,255,.22); background: #05050a;
  overflow: hidden; min-height: 148px;
}
.studio-file-field.has-file .studio-file-slot:hover { transform: none; box-shadow: none; }
.studio-file-preview { width: 100%; }
.studio-file-preview img, .studio-file-preview video {
  width: 100%; height: 220px; object-fit: contain; display: block; background: #05050a;
}
.studio-file-preview audio { width: calc(100% - 16px); margin: 52px 8px 12px; }
.studio-file-clear {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  border: 0; border-radius: 999px; background: rgba(0,0,0,.72); color: #ffffff;
  font-size: 12px; font-weight: 650; padding: 5px 10px; cursor: pointer;
}
.studio-file-clear:hover { background: #0e0e16; }
.studio-file-field.is-busy .studio-file-slot {
  pointer-events: none;
  opacity: 1;
}
.studio-file-field.is-busy .studio-file-ph {
  visibility: hidden;
}
.studio-file-field.is-busy .studio-file-slot::after {
  content: "上传中…";
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background: rgba(11,11,18,.96);
  color: var(--accent);
  font-size: 17px;
  font-weight: 750;
  letter-spacing: .08em;
  pointer-events: none;
}
.studio-img-preview img { width: 120px; height: 120px; object-fit: cover; border-radius: 12px; margin-top: 8px; }
.studio-pack-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.studio-pack {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  text-align: left; cursor: pointer; font: inherit;
  padding: 24px 22px 20px; min-height: 292px;
  border: 1px solid var(--line); border-radius: 22px;
  background: #101018; color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.studio-pack:hover {
  transform: translateY(-4px);
  border-color: rgba(124,92,255,.30);
  box-shadow: 0 16px 36px rgba(0,0,0,.6);
}
.studio-pack.is-hot {
  background: linear-gradient(180deg, rgba(124,92,255,.08) 0%, #101018 42%);
  border-color: rgba(124,92,255,.34);
}
.studio-pack.is-busy { opacity: .6; pointer-events: none; transform: none; }
.studio-pack-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--accent); color: #ffffff;
  font-size: 11px; font-weight: 750; letter-spacing: .04em;
  border-radius: 999px; padding: 4px 10px;
}
.studio-pack-name { font-size: 15px; font-weight: 650; color: var(--muted); }
.studio-pack-coins { margin: 18px 0 6px; font-size: 15px; color: var(--ink); }
.studio-pack-coins b {
  display: block; font-size: 40px; font-weight: 750; letter-spacing: -.05em; line-height: 1;
}
.studio-pack-price {
  margin-top: auto; padding-top: 16px;
  font-size: 28px; font-weight: 750; letter-spacing: -.04em; color: var(--coin); line-height: 1;
}
.studio-pack-price small { font-size: 16px; margin-right: 2px; }
.studio-pack-unit { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.studio-pack-clips { margin: 6px 0 16px; color: var(--ink); font-size: 13px; font-weight: 650; }
.studio-pack-clips b { font-weight: 750; color: var(--coin); }
.studio-pack-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 16px; border-radius: 999px; width: 100%;
  background: var(--grad);
  border: 1px solid transparent;
  color: #ffffff; font-size: 14px; font-weight: 650;
  box-shadow: 0 8px 22px rgba(124, 92, 255, .32);
}
.studio-pack:hover .studio-pack-cta,
.studio-pack.is-hot .studio-pack-cta {
  color: #ffffff;
}
.pay-panel { text-align: center; min-width: min(360px, 100%); }
.pay-qr { width: 200px; height: 200px; margin: 12px auto; }
.pay-qr img { width: 200px; height: 200px; }
.pay-ok {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  margin: 18px auto 12px;
  border-radius: 50%;
  background: rgba(52,211,153,.12);
  color: #34d399;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
}
.pay-msg.is-ok,
#pay-msg.is-ok {
  color: #34d399;
  font-size: 15px;
  font-weight: 650;
}

:focus-visible { outline: 3px solid rgba(124,92,255,.38); outline-offset: 3px; }

@media (max-width: 980px) {
  .apps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio-grid, .studio-wf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio-pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; }
}
@media (max-width: 760px) {
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .site-header .wrap { min-height: 64px; }
  .brand small, .nav .hide-sm { display: none; }
  .nav { gap: 2px; }
  .nav-user-name { display: none; }
  .me-layout, .me-stats, .me-fields > div { grid-template-columns: minmax(0, 1fr); }
  .me-side { position: static; }
  .me-nav { flex-direction: row; flex-wrap: wrap; }
  .me-nav a { flex: 1 1 calc(50% - 4px); text-align: center; }
  .me-nav a.is-out, .me-nav .logout-form { margin-top: 0; flex-basis: 100%; }
  .me-nav .logout-form button.is-out { margin-top: 0; text-align: center; }
  .nav > a:not(.btn) { padding: 7px 9px; }
  .nav .btn { min-height: 38px; padding-inline: 14px; }
  .hero { padding: 20px 0 28px; }
  .hero-home { padding: 36px 0 28px; }
  .hero-home h1 { font-size: clamp(32px, 10vw, 48px); }
  .hero-grid, .grid-2, .grid-3, .apps-grid, .app-layout, .feat-grid, .studio-grid, .studio-fields, .studio-wf-grid, .studio-pack-grid, .studio-file-grid, .studio-file-grid.is-audio, .studio-file-grid.is-video { grid-template-columns: minmax(0, 1fr); }
  .product-card .body { min-height: 0; }
  .product-card .body { padding: 22px; }
  .product-top { grid-template-columns: 90px minmax(0, 1fr); }
  .product-thumb { width: 90px; height: 90px; }
  .featured-card { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .featured-stage { min-height: 210px; padding-top: 22px; order: -1; }
  .featured-phone { height: 196px; }
  .featured-copy { padding: 22px 20px 20px; }
  .featured-card h3 { font-size: 26px; }
  .hero-grid { gap: 38px; }
  .section { padding-block: 30px 56px; }
  .app-layout { padding-top: 20px; }
  .sticky { position: static; }
  .mobile-cta { display: flex; }
  body:has(.mobile-cta) .site-footer { padding-bottom: 88px; }
  .qr-box { display: none; }
  .app-layout { padding-bottom: 96px; }
  .shots { grid-template-columns: minmax(0, 1fr); }
  .app-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .app-hero-art { max-width: 220px; }
  .app-tabs-bar { top: 63px; }
  .app-tabs-nav button { padding-inline: 14px; min-height: 40px; }
  .app-tab[data-pane="intro"] .prose { padding: 16px 16px; border-radius: 14px; }
  .footer-grid { display: block; }
  .footer-nav { margin-top: 22px; }
  .article-page { padding-block: 20px 64px; }
  .lightbox { padding: 56px 12px 16px; }
  .lightbox-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .app-tab.is-on { animation: none; }
}

/* ===== 深色主题补充（自动转换后人工追加） ===== */
::selection { background: rgba(124,92,255,.42); color: #fff; }
input::placeholder, textarea::placeholder { color: #6b6b80; opacity: 1; }
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
  -webkit-text-fill-color: #f4f4f8;
  -webkit-box-shadow: 0 0 0 1000px #16161f inset;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% -8%,  rgba(124, 92, 255, .16), transparent 62%),
    radial-gradient(760px 460px at 92% 4%,   rgba(34, 211, 238, .10), transparent 60%),
    radial-gradient(1000px 700px at 50% 108%, rgba(124, 92, 255, .08), transparent 65%);
}
main, .site-header, .site-footer { position: relative; z-index: 1; }
.site-header { z-index: 50; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0b0b12; }
::-webkit-scrollbar-thumb { background: #2a2a38; border-radius: 99px; border: 2px solid #0b0b12; }
::-webkit-scrollbar-thumb:hover { background: #3a3a4c; }
