:root {
  --bg: #0b0d12;
  --paper: #141820;
  --warm: rgba(16, 185, 129, 0.10);
  --ink: #e8eee9;
  --muted: #9aa8a2;
  --line: rgba(232, 238, 233, 0.10);
  --accent: #10b981;
  --accent-deep: #059669;
  --brand3: #34d399;
  --ink-dark: #f3f6f4;
  --ok: #34d399;
  --danger: #f87171;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
  --shadow-hover: 0 10px 28px rgba(0, 0, 0, 0.28);
  --shadow-deep: 0 24px 60px rgba(0, 0, 0, 0.36);
  --radius: 18px;
  --radius-lg: 24px;
  --control: 12px;
  --wide: 1360px;
  --gutter: clamp(20px, 3vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-gutter: stable; }
html, body {
  margin: 0;
  min-height: 100%;
  width: 100%;
  overflow-x: clip;
  background: #0b0d12;
  color: var(--ink);
  font: 16px/1.7 "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
body { position: relative; overflow-x: hidden; }
#bg3d {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: none;
  pointer-events: none;
  contain: strict;
  transform: translateZ(0);
}
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: none;
  opacity: 0.045;
  contain: paint;
  transform: translateZ(0);
  background-image: url("/static/grain.png?v=1");
  background-size: 128px 128px;
}
a { color: inherit; }
img, video { max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.wrap {
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.page { padding-bottom: 80px; }

.top {
  position: sticky;
  top: 12px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
  min-height: 64px;
  margin: 12px auto 0;
  padding: 8px 8px 8px 16px;
  background: rgba(10, 14, 26, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 22px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px) saturate(1.35);
}
.top.solid {
  background: rgba(10, 14, 26, 0.86);
  border-color: rgba(255, 255, 255, 0.14);
}
.logo, .brand, .menu-toggle, .lang-switch, .theme-switch, .nav-tools {
  position: relative;
  z-index: 34;
}
.nav-tools {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
  height: 28px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.lang-switch, .theme-switch {
  display: inline-flex;
  flex: none;
  align-items: center;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
}
.theme-switch::before,
.nav-tools .lang-btn + .theme-btn::before {
  content: "";
  width: 1px;
  height: 12px;
  margin: 0 3px;
  background: rgba(255, 255, 255, 0.14);
}
.nav-tools .lang-btn + .theme-btn {
  position: relative;
}
.nav-tools .lang-btn + .theme-btn::before {
  position: absolute;
  left: -1px;
  top: 50%;
  margin: -6px 0 0;
}
.nav-tools > .theme-switch:first-child::before { display: none; }
.lang-btn, .theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1;
  cursor: pointer;
}
.lang-btn { width: auto; padding: 0 6px; }
.theme-btn svg { display: block; width: 12px; height: 12px; }
.theme-btn .ico-moon { display: none; }
html[data-theme="dark"] .theme-btn .ico-sun { display: none; }
html[data-theme="dark"] .theme-btn .ico-moon { display: block; }
.lang-btn:hover, .theme-btn:hover {
  background: rgba(16, 185, 129, 0.16);
  color: #ecfdf5;
}
.lang-btn.on,
.lang-btn[aria-pressed="true"],
.theme-btn.on,
.theme-btn[aria-pressed="true"] {
  background: rgba(16, 185, 129, 0.2);
  color: #ecfdf5;
}
.logo, .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: 0;
  color: inherit;
}
.logo-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  line-height: 1;
}
.logo b {
  color: #f8fafc;
  font-size: 16px;
  font-weight: 720;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.logo b span {
  margin-left: 1px;
  letter-spacing: 0.02em;
  background: linear-gradient(102deg, #ffffff 0%, #a7f3d0 42%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo small {
  color: rgba(167, 243, 208, 0.62);
  font-size: 11px;
  font-weight: 550;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
.logo img, .logo svg {
  width: 36px;
  height: 36px;
  display: block;
  flex: none;
  border-radius: 11px;
  filter: none;
}
.menu, .nav {
  margin-left: 8px;
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  align-items: center;
  justify-content: flex-end;
  padding: 4px;
  border-radius: 999px;
  background: rgba(7, 10, 18, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.menu a, .nav a, .menu .who, .nav span {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
  line-height: 1;
  padding: 10px 14px;
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.menu a:hover, .nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
}
.menu a.on, .nav a.on {
  color: #fff;
  background: rgba(16, 185, 129, 0.12);
  box-shadow: none;
}
.menu .btn, .nav .btn {
  min-height: 40px;
  margin-left: 2px;
  padding: 0 16px;
  color: #fff;
  background: var(--accent);
}
.menu .btn:hover, .nav .btn:hover {
  color: #fff;
  background: var(--accent-deep);
}
.menu .who, .nav .who {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 240px;
  overflow: hidden;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}
.mail-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
}
.mail-mark svg { display: block; width: 16px; height: 16px; }
.mail-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 10, 18, 0.45);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 99px;
  background: #e2e8f0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.top.open .menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.top.open .menu-toggle span:nth-child(2) { opacity: 0; }
.top.open .menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 25;
  background: rgba(6, 8, 14, 0.48);
  backdrop-filter: blur(8px);
}
body.menu-open { overflow: hidden; }
.btn, button.btn, button[type="submit"], button.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: none;
  transition: background-color 160ms ease;
}
.btn:hover, button[type="submit"]:hover, button.primary:hover {
  background: var(--accent-deep);
  box-shadow: none;
}
.btn.ghost, button.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn.ghost:hover, button.ghost:hover { background: rgba(255, 255, 255, 0.06); }
.btn:disabled, button:disabled { opacity: 0.55; cursor: wait; }

.kicker {
  margin: 0 0 12px;
  color: var(--accent);
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 650;
}
.kicker.light { color: rgba(16, 185, 129, 0.72); }
.lead, .hint { color: var(--muted); max-width: 36em; }
.error { color: var(--danger); min-height: 1.2em; }
.ok { color: var(--ok); }
.mono { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; word-break: break-all; }

.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: end;
  padding: clamp(40px, 7vw, 88px) 0 40px;
}
.hero-copy { position: relative; isolation: isolate; max-width: 640px; }
.hero-copy .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 6px 12px 6px 8px;
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.08);
  color: #86efac;
  letter-spacing: 0.22em;
}
.hero-copy .kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: none;
}
.hero h1, .display {
  margin: 0;
  font-size: clamp(34px, 5.2vw, 68px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 700;
  overflow-wrap: break-word;
  word-break: normal;
  color: #f8fafc;
}
.hero h1 {
  position: relative;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 720;
}
.hero h1::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 12%;
  bottom: 2%;
  height: 42%;
  background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.34), transparent 72%);
  filter: blur(18px);
  pointer-events: none;
  z-index: -1;
  animation: hero-glow 3.8s ease-in-out infinite;
}
.hero h1 span {
  display: inline-block;
  background: linear-gradient(110deg, #ffffff 0%, #a7f3d0 22%, #6ee7b7 38%, #ffffff 52%, #34d399 74%, #10b981 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 18px rgba(16, 185, 129, 0.3));
  animation: hero-shine 4.6s ease-in-out infinite;
}
@keyframes hero-shine {
  0%, 100% { background-position: 8% 50%; }
  50% { background-position: 92% 50%; }
}
@keyframes hero-glow {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.85; }
}
.hero-copy .lead {
  margin: 18px 0 0;
  max-width: 28em;
  font-size: 17px;
  line-height: 1.75;
  color: #b7c0d0;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }

.composer .compose-look { margin-top: 4px; }
.composer .look-pick {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.composer .look-pick input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.composer .look-btn {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.28);
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
  font-size: 13px;
  font-weight: 700;
  pointer-events: none;
}
.composer .look-name { color: var(--muted); font-size: 13px; }
.composer .look-preview {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-top: 10px;
}
.composer .look-preview img {
  width: 72px;
  height: 108px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #111;
}

.composer {
  position: relative;
  isolation: isolate;
  margin-top: 32px;
  padding: 24px 24px 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 16px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.composer::before,
.composer::after { content: none; display: none; }
.composer:focus-within {
  border-color: rgba(16, 185, 129, 0.28);
}
.composer-head { margin-bottom: 16px; }
.composer-label, .composer-field > span {
  display: block;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  letter-spacing: 0.14em;
}
.composer .presets,
.presets.rich {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.composer .presets.aspects,
.presets.rich.aspects {
  grid-template-columns: 1fr 1fr;
  margin-top: 2px;
}
.composer .presets button,
.presets.rich button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  min-height: 86px;
  padding: 12px 10px;
  text-align: left;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.085);
  box-shadow: none;
  color: rgba(255, 255, 255, 0.68);
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}
.composer .presets button:hover,
.presets.rich button:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.88);
}
.composer .presets button em,
.presets.rich button em {
  font-style: normal;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.composer .presets button span,
.presets.rich button span {
  color: rgba(255, 255, 255, 0.38);
  font-size: 11px;
  line-height: 1.35;
}
.composer .presets button b,
.presets.rich button b {
  display: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.composer .presets button.on,
.presets.rich button.on {
  background: rgba(16, 185, 129, 0.075);
  border-color: rgba(16, 185, 129, 0.32);
  color: #10b981;
  box-shadow: none;
}
.composer .presets button.on span,
.presets.rich button.on span { color: rgba(16, 185, 129, 0.72); }
.composer .presets button.on b,
.presets.rich button.on b { color: #10b981; }
.composer-perks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.composer-perks li {
  min-height: 40px;
  padding: 10px 10px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  font-weight: 650;
  text-align: center;
}
.composer-field { display: block; margin: 0 0 14px; }
.composer textarea {
  min-height: 128px;
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  border-color: rgba(255, 255, 255, 0.08);
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  caret-color: #10b981;
  line-height: 1.65;
  resize: none;
  box-shadow: none;
}
.composer textarea::placeholder { color: rgba(255, 255, 255, 0.38); }
.composer textarea:focus {
  border-color: rgba(16, 185, 129, 0.28);
  box-shadow: none;
  outline: none;
}
.composer .row {
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.composer .hint {
  display: grid;
  gap: 2px;
  margin: 0;
  max-width: none;
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: #8b93a3;
}
.composer .hint span { display: block; }
.composer .hint span:last-child { white-space: normal; }
#composer {
  margin-top: 22px;
  padding: 16px 16px 14px;
}
#composer .composer-head { margin-bottom: 12px; }
#composer .presets + .composer-label { margin-top: 12px; }
#composer .presets { gap: 6px; }
#composer .presets button {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 40px;
  padding: 8px 10px;
}
#composer .presets.aspects button { justify-content: center; }
#composer .composer-perks-line {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  line-height: 1.5;
}
#composer textarea { min-height: 96px; }

.facts-band { padding: 8px 0 12px; }
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 8px 0 0;
}
.fact {
  position: relative;
  min-height: 168px;
  padding: 22px 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
.fact::before,
.fact::after { content: none; display: none; }
.fact:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}
.fact em {
  display: block;
  margin: 0 0 18px;
  color: rgba(16, 185, 129, 0.68);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.fact b { display: block; font-size: 18px; margin-bottom: 8px; letter-spacing: -0.03em; }
.fact span { color: rgba(255, 255, 255, 0.48); font-size: 14px; line-height: 1.6; }

.device { text-align: center; }
.device figcaption, .work figcaption {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.hero-device {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
}
.hero-stage {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0 0;
}
.hero-glow {
  position: absolute;
  inset: 2% 10% 10%;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.16) center / cover no-repeat;
  filter: blur(64px) saturate(1.35);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
  transition: background-image 420ms ease, opacity 320ms ease;
}
.hero-stage::after { content: none; display: none; }
.hero-reel {
  position: relative;
  z-index: 3;
  flex: none;
  width: min(292px, 62%);
  aspect-ratio: 9 / 16;
  padding: 6px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.05) 22%, #090b10 46%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.05),
    0 22px 48px rgba(0, 0, 0, 0.46),
    0 0 0 8px rgba(255, 255, 255, 0.035);
  animation: hero-float 8s ease-in-out infinite;
  transition: opacity 220ms ease, transform 220ms ease, filter 220ms ease;
}
.hero-reel.is-swap {
  opacity: 0.55;
  transform: translateY(4px) scale(0.985);
  filter: saturate(0.86);
}
.hero-reel::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22), 0 0 12px rgba(52, 211, 153, 0.7);
  animation: hero-pulse 2.2s ease-in-out infinite;
  pointer-events: none;
}
.hero-reel::after {
  content: "";
  position: absolute;
  inset: 6px 6px auto;
  height: 28%;
  z-index: 4;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent);
  pointer-events: none;
}
.blank-reel {
  background:
    linear-gradient(180deg, rgba(16, 185, 129, 0.16), transparent 46%),
    #0b0d12;
}
.hero-reel .play,
.hero-reel .play video {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border: 0;
  border-radius: 22px;
  box-shadow: none;
  background: #0b0d12;
}
.hero-reel .play::after {
  width: 44px;
  height: 44px;
  background-color: rgba(0, 0, 0, 0.4);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23fff' d='M9 6.8v10.4L18 12z'/></svg>");
  background-size: 18px;
  box-shadow: none;
}
.hero-reel .play.live.playing::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23fff' d='M8 7h3v10H8zm5 0h3v10h-3z'/></svg>");
}
.hero-main.frame-apple {
  padding: 4px;
  border-radius: 34px;
}
.hero-main .btn-vol,
.hero-main .btn-pwr,
.hero-main .btn-silent,
.hero-main .brand { display: none !important; }
.hero-main.frame-apple .island {
  top: 7px;
  width: 68px;
  height: 20px;
  margin-left: -34px;
}
.hero-main.frame-apple .island i { top: 4px; width: 11px; height: 11px; }
.hero-main.frame-apple .island i:last-child { top: 7px; width: 6px; height: 6px; }
.hero-main.frame-apple .status-bar {
  top: 9px;
  padding: 0 10px;
  font-size: 9px;
}
.hero-main.frame-apple .home-bar {
  bottom: 8px;
  width: 26%;
  height: 3px;
  margin-left: -13%;
}
.hero-main.frame-apple .play.live,
.hero-main.frame-apple .play.live video { border-radius: 30px; }
.hero-reel .play.live.playing::after { opacity: 0; }
.hero-reel:hover .play.live.playing::after { opacity: 1; }
.play.live { padding: 0; }
.play.live video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.hero-main.frame-apple .play.live,
.hero-main.frame-apple .play.live video { border-radius: 34px; }
.hero-main.frame-samsung .play.live,
.hero-main.frame-samsung .play.live video { border-radius: 16px; }
.hero-main.frame-huawei .play.live,
.hero-main.frame-huawei .play.live video { border-radius: 26px; }
.hero-main.frame-xiaomi .play.live,
.hero-main.frame-xiaomi .play.live video { border-radius: 22px; }
.hero-meta {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  z-index: 5;
  padding: 40px 14px 14px;
  border-radius: 0 0 22px 22px;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 8, 12, 0.42) 36%, rgba(6, 8, 12, 0.86) 100%);
  text-align: left;
  pointer-events: none;
}
.hero-meta em {
  display: block;
  margin: 0 0 4px;
  color: rgba(110, 231, 183, 0.92);
  font-size: 10px;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 0.16em;
}
.hero-meta b {
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.hero-mark {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}
.hero-device .hero-card,
.hero-card { display: none; }
.hero-rail-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 6px;
  width: min(100%, 420px);
  margin: 16px auto 0;
}
.hero-nav {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background:
    rgba(12, 16, 22, 0.72)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23fff' d='M14.7 6.3 9 12l5.7 5.7 1.4-1.4L11.8 12l4.3-4.3z'/></svg>")
    center / 14px no-repeat;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, background-color 160ms ease;
}
.hero-nav.next {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23fff' d='m9.3 6.3-1.4 1.4L12.2 12l-4.3 4.3 1.4 1.4L15 12z'/></svg>");
}
.hero-nav:hover {
  border-color: rgba(52, 211, 153, 0.45);
  background-color: rgba(16, 185, 129, 0.18);
  transform: scale(1.05);
}
.hero-rail {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 4px 10px 6px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
}
.hero-rail::-webkit-scrollbar { display: none; }
.hero-thumb {
  position: relative;
  flex: none;
  width: 54px;
  aspect-ratio: 9 / 16;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: #111827 center / cover no-repeat;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.24);
  scroll-snap-align: center;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.hero-thumb span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: block;
  padding: 14px 4px 5px;
  color: #fff;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: linear-gradient(180deg, transparent, rgba(6, 8, 14, 0.88));
}
.hero-thumb::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 52%;
  background: linear-gradient(180deg, transparent, rgba(6, 8, 14, 0.55));
  pointer-events: none;
}
.hero-thumb:hover { border-color: rgba(255, 255, 255, 0.28); transform: translateY(-3px); }
.hero-thumb.on {
  border-color: rgba(52, 211, 153, 0.78);
  box-shadow:
    0 0 0 2px rgba(16, 185, 129, 0.3),
    0 10px 20px rgba(16, 185, 129, 0.18);
  transform: translateY(-3px) scale(1.04);
}
.hero-thumb.on::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 3;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.8);
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes hero-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2), 0 0 10px rgba(52, 211, 153, 0.55); }
  50% { opacity: 0.55; box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.08), 0 0 16px rgba(52, 211, 153, 0.35); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-reel, .hero-reel::before,
  .hero h1 span, .hero h1::after,
  .foot .btn, .foot-cta,
  .foot .btn::before, .foot-cta::before { animation: none; }
  .hero-reel.is-swap { transform: none; filter: none; }
}
.device-shell, .phone {
  position: relative;
  z-index: 1;
  width: min(280px, 100%);
  margin: 0 auto;
  padding: 12px 11px 14px;
  border-radius: 36px;
  background: linear-gradient(160deg, #2f2c28, #141311);
  box-shadow: var(--shadow-deep), inset 0 1px 0 rgba(255,255,255,0.12);
}
.hero-device.is-landscape .hero-reel {
  width: min(100%, 380px);
  aspect-ratio: 16 / 9;
  border-radius: 18px;
}
.hero-device.is-landscape .notch { display: none; }
.hero-device.is-landscape .screen { height: 100%; }
.phone { aspect-ratio: auto; overflow: visible; }
.notch {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 72px;
  height: 10px;
  margin-left: -36px;
  border-radius: 999px;
  background: #0b0a09;
  z-index: 2;
}
.cam, .island, .home-bar, .brand, .btn-vol, .btn-pwr, .btn-silent { display: none; }
.status-bar {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
  pointer-events: none;
  text-shadow: 0 1px 3px rgba(0,0,0,0.45);
}
.status-bar .tray { display: flex; align-items: center; gap: 5px; }
.status-bar .sig {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
}
.status-bar .sig i {
  display: block;
  width: 3px;
  border-radius: 1px;
  background: #fff;
}
.status-bar .sig i:nth-child(1) { height: 4px; }
.status-bar .sig i:nth-child(2) { height: 6px; }
.status-bar .sig i:nth-child(3) { height: 8px; }
.status-bar .sig i:nth-child(4) { height: 10px; opacity: 0.35; }
.status-bar .wifi {
  width: 11px;
  height: 8px;
  border: 2px solid #fff;
  border-color: #fff transparent transparent;
  border-radius: 50%;
}
.status-bar .bat {
  position: relative;
  width: 17px;
  height: 8px;
  border: 1px solid #fff;
  border-radius: 2px;
}
.status-bar .bat::after {
  content: "";
  position: absolute;
  inset: 1px 5px 1px 1px;
  background: #fff;
  border-radius: 1px;
}
.status-bar .bat::before {
  content: "";
  position: absolute;
  right: -3px;
  top: 2px;
  width: 2px;
  height: 3px;
  background: #fff;
  border-radius: 0 1px 1px 0;
}
.btn-vol, .btn-pwr, .btn-silent {
  position: absolute;
  z-index: 0;
  background: linear-gradient(90deg, #2a2a2e, #111);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}
.home-bar {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 4;
  width: 34%;
  height: 4px;
  margin-left: -17%;
  border-radius: 99px;
  background: rgba(255,255,255,0.88);
  pointer-events: none;
}
.brand {
  position: absolute;
  left: 50%;
  bottom: 7px;
  z-index: 5;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  pointer-events: none;
  opacity: 0.72;
}
.island {
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 5;
  width: 96px;
  height: 28px;
  margin-left: -48px;
  border-radius: 20px;
  background: #050505;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 6px 16px rgba(0,0,0,0.35);
}
.island i {
  position: absolute;
  top: 7px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2a4a72, #07090e 68%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}
.island i:first-child { right: 22px; }
.island i:last-child {
  right: 8px;
  width: 8px;
  height: 8px;
  top: 10px;
  background: radial-gradient(circle at 35% 30%, #1a1a1c, #000);
}

.frame-apple {
  padding: 11px 10px 28px;
  border-radius: 44px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16), transparent 18%),
    linear-gradient(160deg, #3a3a3d, #161618 42%, #070708);
  box-shadow:
    var(--shadow-deep),
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}
.frame-apple .notch { display: none; }
.frame-apple .island,
.frame-apple .home-bar,
.frame-apple .brand,
.frame-apple .btn-vol,
.frame-apple .btn-pwr,
.frame-apple .btn-silent { display: block; }
.frame-apple .btn-silent {
  left: -3px;
  top: 18%;
  width: 3px;
  height: 18px;
  border-radius: 2px 0 0 2px;
}
.frame-apple .btn-vol {
  left: -3px;
  top: 26%;
  width: 3px;
  height: 52px;
  border-radius: 2px 0 0 2px;
}
.frame-apple .btn-pwr {
  right: -3px;
  top: 30%;
  width: 3px;
  height: 64px;
  border-radius: 0 2px 2px 0;
}
.frame-apple .status-bar { top: 17px; padding: 0 12px; }
.frame-apple .brand {
  background: currentColor;
  color: rgba(255,255,255,0.55);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M16.7 12.6c0-2.2 1.8-3.3 1.9-3.4-1-1.5-2.7-1.7-3.3-1.8-1.4-.1-2.7.8-3.4.8s-1.8-.8-3-.8c-1.5 0-2.9.9-3.7 2.3-1.6 2.7-.4 6.8 1.1 9 .8 1.1 1.7 2.3 2.9 2.3 1.1 0 1.5-.7 2.9-.7s1.7.7 2.9.7 2-1.1 2.8-2.3c.8-1.2 1.2-2.4 1.2-2.4s-2.1-.9-2.1-3.1zM14.7 6.1c.6-.7 1-1.7.9-2.7-.8.1-1.8.6-2.4 1.3-.5.6-1 1.6-.8 2.6.9 0 1.8-.5 2.3-1.2z'/></svg>") center / 16px no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M16.7 12.6c0-2.2 1.8-3.3 1.9-3.4-1-1.5-2.7-1.7-3.3-1.8-1.4-.1-2.7.8-3.4.8s-1.8-.8-3-.8c-1.5 0-2.9.9-3.7 2.3-1.6 2.7-.4 6.8 1.1 9 .8 1.1 1.7 2.3 2.9 2.3 1.1 0 1.5-.7 2.9-.7s1.7.7 2.9.7 2-1.1 2.8-2.3c.8-1.2 1.2-2.4 1.2-2.4s-2.1-.9-2.1-3.1zM14.7 6.1c.6-.7 1-1.7.9-2.7-.8.1-1.8.6-2.4 1.3-.5.6-1 1.6-.8 2.6.9 0 1.8-.5 2.3-1.2z'/></svg>") center / 16px no-repeat;
}

.frame-samsung {
  padding: 8px 6px 24px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, #f2f2f5, #9a9aa0 10%, #1d1d20 28%, #0d0d0f);
  box-shadow:
    var(--shadow-deep),
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.12);
}
.frame-samsung .notch { display: none; }
.frame-samsung .cam,
.frame-samsung .brand,
.frame-samsung .btn-pwr,
.frame-samsung .home-bar { display: block; }
.frame-samsung .cam {
  position: absolute;
  top: 13px;
  left: 50%;
  z-index: 5;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #3a5474, #050608);
  box-shadow: 0 0 0 3px #0c0c0e, 0 0 0 4px rgba(255,255,255,0.12);
}
.frame-samsung .home-bar { width: 22%; margin-left: -11%; height: 3px; bottom: 16px; opacity: 0.55; }
.frame-samsung .btn-pwr {
  right: -3px;
  top: 24%;
  width: 3px;
  height: 46px;
  border-radius: 0 2px 2px 0;
}
.frame-samsung .status-bar { top: 12px; }
.frame-samsung .brand {
  width: 52px;
  margin-left: -26px;
  height: 10px;
  bottom: 6px;
  background: rgba(255,255,255,0.42);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 12'><ellipse cx='32' cy='6' rx='30' ry='5' fill='none' stroke='black' stroke-width='1.6'/><text x='32' y='8.2' text-anchor='middle' font-size='6.2' font-family='Arial,sans-serif' font-weight='700'>SAMSUNG</text></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 12'><ellipse cx='32' cy='6' rx='30' ry='5' fill='none' stroke='black' stroke-width='1.6'/><text x='32' y='8.2' text-anchor='middle' font-size='6.2' font-family='Arial,sans-serif' font-weight='700'>SAMSUNG</text></svg>") center / contain no-repeat;
}

.frame-huawei {
  padding: 11px 9px 26px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, #f3dfb0, #8a6a2e 12%, #1c1810 34%, #0c0b09);
  box-shadow:
    var(--shadow-deep),
    inset 0 1px 0 rgba(255,236,190,0.45),
    inset 0 0 0 1px rgba(232, 197, 120, 0.28);
}
.frame-huawei .notch { display: none; }
.frame-huawei .cam,
.frame-huawei .brand,
.frame-huawei .btn-pwr,
.frame-huawei .home-bar { display: block; }
.frame-huawei .cam {
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 5;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #4a6a32, #070806);
  box-shadow: 0 0 0 3px #12100c, 0 0 0 4px rgba(232,197,120,0.35);
}
.frame-huawei .status-bar { top: 13px; }
.frame-huawei .home-bar { opacity: 0.45; bottom: 17px; }
.frame-huawei .btn-pwr {
  right: -3px;
  top: 28%;
  width: 3px;
  height: 52px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(90deg, #c9a45a, #6a5428);
}
.frame-huawei .brand {
  width: 18px;
  height: 18px;
  background: rgba(243, 223, 176, 0.7);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><g fill='black'><circle cx='12' cy='5.2' r='2'/><circle cx='17.2' cy='7.4' r='2'/><circle cx='18.8' cy='12.4' r='2'/><circle cx='15.2' cy='16.8' r='2'/><circle cx='8.8' cy='16.8' r='2'/><circle cx='5.2' cy='12.4' r='2'/><circle cx='6.8' cy='7.4' r='2'/><circle cx='12' cy='12' r='2.1'/></g></svg>") center / 16px no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><g fill='black'><circle cx='12' cy='5.2' r='2'/><circle cx='17.2' cy='7.4' r='2'/><circle cx='18.8' cy='12.4' r='2'/><circle cx='15.2' cy='16.8' r='2'/><circle cx='8.8' cy='16.8' r='2'/><circle cx='5.2' cy='12.4' r='2'/><circle cx='6.8' cy='7.4' r='2'/><circle cx='12' cy='12' r='2.1'/></g></svg>") center / 16px no-repeat;
}

.frame-xiaomi {
  padding: 9px 8px 24px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, #6a6a6e, #1c1c1e 28%, #0b0b0c);
  box-shadow:
    var(--shadow-deep),
    inset 0 1px 0 rgba(255,255,255,0.2);
}
.frame-xiaomi .notch { display: none; }
.frame-xiaomi .cam,
.frame-xiaomi .brand,
.frame-xiaomi .btn-pwr,
.frame-xiaomi .home-bar { display: block; }
.frame-xiaomi .cam {
  position: absolute;
  top: 13px;
  left: 50%;
  z-index: 5;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #7a3a2c, #080405);
  box-shadow: 0 0 0 3px #111, 0 0 0 4px rgba(255,105,0,0.28);
}
.frame-xiaomi .status-bar { top: 12px; }
.frame-xiaomi .home-bar { opacity: 0.5; }
.frame-xiaomi .btn-pwr {
  right: -3px;
  top: 26%;
  width: 3px;
  height: 48px;
  border-radius: 0 2px 2px 0;
}
.frame-xiaomi .brand {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: #ff6900;
  -webkit-mask: none;
  mask: none;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  opacity: 0.95;
}
.frame-xiaomi .brand::after { content: "米"; }

.work .btn-vol, .work .btn-pwr, .work .btn-silent, .work .brand, .work .home-bar, .work .island,
.hero-wing .island, .hero-wing .status-bar, .hero-wing .brand, .hero-wing .home-bar,
.hero-wing .btn-vol, .hero-wing .btn-pwr, .hero-wing .btn-silent { display: none !important; }
.hero-main .brand { opacity: 0.62; }
.screen, .play, .blank, .phone video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 0;
  border-radius: 26px;
  overflow: hidden;
  background: #1b1916 center / cover no-repeat;
  object-fit: cover;
}
.blank {
  background:
    linear-gradient(180deg, rgba(16, 185, 129, 0.18), transparent 42%),
    linear-gradient(160deg, #3a342c, #161412);
}
.play {
  cursor: pointer;
  position: relative;
}
.play::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(226, 232, 240, 0.94) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%2310b981' d='M9 7.2v9.6l8.2-4.8z'/></svg>") center / 22px no-repeat;
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}
.play.wait {
  display: grid;
  place-items: center;
  color: #cfc8bc;
  background: #1a1a18;
  font-size: 13px;
}
.play.wait::after { display: none; }
.play.live::after {
  width: 48px;
  height: 48px;
  background-size: 18px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.play.live.playing::after {
  opacity: 0;
  transform: scale(0.86);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%2310b981' d='M8 7h3v10H8zm5 0h3v10h-3z'/></svg>");
}
.play.live.playing:hover::after,
.hero-stage:hover .play.live.playing::after {
  opacity: 0.92;
  transform: scale(1);
}

.section { padding: clamp(56px, 8vw, 96px) 0; position: relative; z-index: 2; }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section h2, .page h2, .card h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 42px);
  letter-spacing: -0.04em;
  line-height: 1.2;
  font-weight: 700;
}
.band {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.05));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filters, .row, .tabs, .presets:not(.rich) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.filters { margin-bottom: 22px; }
.filters button, .tabs button, .presets:not(.rich) button, header.top button:not(.btn):not(.menu-toggle):not(.lang-btn):not(.theme-btn) {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: none;
}
.filters button.on, .tabs button.on, .presets:not(.rich) button.on {
  background: rgba(16, 185, 129, 0.075);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.32);
}
#work-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  margin: 0 0 22px;
  padding: 5px;
  overflow-x: auto;
  scrollbar-width: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.028);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}
#work-filters::-webkit-scrollbar { display: none; }
#work-filters button {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 8px 0 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(232, 238, 233, 0.56);
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
#work-filters button span { pointer-events: none; }
#work-filters button em {
  min-width: 20px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(232, 238, 233, 0.4);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
#work-filters button:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #e8eee9;
}
#work-filters button.on {
  background: rgba(16, 185, 129, 0.14);
  color: #6ee7b7;
  border-color: transparent;
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.26);
}
#work-filters button.on em {
  background: rgba(16, 185, 129, 0.22);
  color: #bbf7d0;
}

.works, .library {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px 12px;
  align-items: start;
}
.works {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px 8px;
}
.work, .clip-card {
  margin: 0;
  min-width: 0;
  transition: transform 180ms ease;
}
.work:hover, .clip-card:hover { transform: translateY(-2px); }
.work-cover {
  width: 100%;
  border-radius: 11px;
  overflow: hidden;
  background: #101218;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}
.work:hover .work-cover {
  border-color: rgba(52, 211, 153, 0.28);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}
.work-cover .play,
.work-cover .clip {
  width: 100%;
  border-radius: 11px;
}
.works .work-cover .play::after {
  width: 26px;
  height: 26px;
  background-size: 11px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}
.works .work-cover .play.wait {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(232, 238, 233, 0.62);
}
.work figcaption, .clip-card figcaption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-top: 6px;
  padding: 0 1px;
}
.works .work figcaption em {
  font-style: normal;
  font-size: 10px;
  font-weight: 550;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.works .work figcaption b {
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.work figcaption span, .clip-card figcaption span { font-size: 13px; color: var(--muted); }
.works .work figcaption span {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.45;
}
.works .work .use {
  margin-top: 5px;
  min-height: 24px;
  height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.08);
  color: #34d399;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.works .work .use:hover {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(52, 211, 153, 0.46);
  color: #6ee7b7;
}

.steps, .price-grid, .stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.price-grid.six { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.price-grid.six .figure { font-size: 48px; }
.price-hero {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 22px;
}
.price-hero h3 {
  margin: 10px 0 8px;
  font-size: 22px;
}
.price-hero .figure { font-size: clamp(40px, 6vw, 56px); margin: 6px 0 8px; }
.price-hero .featured {
  background: rgba(16, 185, 129, 0.07);
  border-color: rgba(16, 185, 129, 0.38);
}
.price-grid.video { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.price-grid.drama { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
.price-grid.video .figure,
.price-grid.drama .figure { font-size: 42px; }
.price-first {
  margin: 4px 0 8px !important;
  color: #34d399 !important;
  font-size: 13px;
  font-weight: 650;
}
.drama-head { margin-top: 36px; }
.steps.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.card, .order, .item, .auth-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(14px);
  transition: border-color 180ms ease, background-color 180ms ease;
}
.card:hover, .order:hover, .item:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}
.step { position: relative; overflow: hidden; min-height: 200px; }
.step em {
  display: block;
  margin: 0 0 22px;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 650;
}
.step h3, .price-card h3, .card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -0.03em;
  font-weight: 650;
}
.card p, .step p { margin: 0; color: var(--muted); }

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--warm);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 500;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px 22px 20px;
}
.price-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 28px;
  margin: 0 0 18px;
}
.price-card .tag { margin: 0; }
.price-card h3 {
  margin: 0 0 2px;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: #cbd5e1;
}
.figure {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin: 4px 0 10px !important;
  color: var(--ink) !important;
  font-size: 64px;
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 650;
}
.figure i {
  display: block;
  margin-bottom: 6px;
  font-style: normal;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.figure span {
  margin: 0;
  font-size: 22px;
  color: #94a3b8;
  font-weight: 500;
  letter-spacing: 0;
}
.price-use {
  margin: 0 0 4px !important;
  color: #cbd5e1 !important;
  font-size: 14px;
  line-height: 1.55;
}
.price-rate {
  margin: 0 0 auto !important;
  color: #7d8ba0 !important;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.price-perks,
.pay-steps {
  list-style: none;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: grid;
  gap: 7px;
}
.price-perks li,
.pay-steps li {
  display: grid;
  grid-template-columns: 8px 1fr;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.4;
}
.price-perks li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.75;
}
.pay-steps { counter-reset: pay; gap: 10px; }
.pay-steps li {
  grid-template-columns: 22px 1fr;
  align-items: start;
  counter-increment: pay;
}
.pay-steps li::before {
  content: counter(pay, decimal-leading-zero);
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 650;
}
.price-mark {
  margin: 0;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 650;
}
.price-card.featured {
  background: rgba(16, 185, 129, 0.07);
  border-color: rgba(16, 185, 129, 0.38);
  box-shadow: inset 0 1px 0 rgba(16, 185, 129, 0.28);
  transform: none;
}
.price-card.featured .figure { color: #ecfdf5 !important; }
.price-card.pay, .pay-box {
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
}
.price-card.pay[hidden],
.faq details[hidden] {
  display: none !important;
}
.price-card.pay h3, .price-card.pay .tag, .pay-box .tag { color: var(--ink); }
.price-card.pay p, .pay-box p { color: var(--muted); }
.price-card.pay .tag, .pay-box .tag { background: rgba(16, 185, 129, 0.10); }
.pay-net {
  margin: 6px 0 10px !important;
  color: var(--ink) !important;
  font-size: clamp(22px, 5vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 650;
  white-space: nowrap;
}
.price-note {
  margin: 14px 0 0 !important;
  color: #64748b !important;
  font-size: 12px;
}
.pay-amount { font-size: 36px; margin: 8px 0; letter-spacing: -0.03em; color: #fff; }

.faq-list { display: grid; gap: 12px; }
.faq details {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 18px;
  padding: 4px 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  transition: border-color 180ms ease, background-color 180ms ease;
}
.faq details:hover,
.faq details[open] {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 620;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 0 0 10px; max-width: 46em; }
.faq p:last-child { margin-bottom: 18px; }

.foot {
  position: relative;
  z-index: 2;
  margin-top: 24px;
  padding: 96px 0 64px;
  overflow: hidden;
  background: rgba(7, 10, 18, 0.72);
  color: #f7f2ea;
  text-align: center;
}
.foot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 36px;
  width: min(560px, 86%);
  height: 220px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.16), transparent 68%);
  pointer-events: none;
}
.foot .wrap { position: relative; }
.foot .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 6px 12px 6px 8px;
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  color: #86efac;
  letter-spacing: 0.22em;
}
.foot .kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.85);
}
.foot h2 {
  margin: 0 auto 16px;
  max-width: 12em;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -0.045em;
  line-height: 1.12;
}
.foot h2 span {
  background: linear-gradient(100deg, #f8fafc 8%, #a7f3d0 58%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.foot .lead {
  margin: 0 auto 28px;
  max-width: 26em;
  font-size: 16px;
  line-height: 1.75;
  color: #cbd5e1;
  word-break: keep-all;
  text-wrap: pretty;
}
.foot .btn,
.foot-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 236px;
  min-height: 56px;
  padding: 0 30px 0 34px;
  border: 1px solid rgba(167, 243, 208, 0.42);
  border-radius: 999px;
  background: linear-gradient(180deg, #10b981 0%, #047857 100%);
  color: #fff !important;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow:
    0 0 0 0 rgba(52, 211, 153, 0.18),
    0 12px 32px rgba(4, 120, 87, 0.28);
  animation: foot-cta-breathe 2.2s ease-in-out infinite;
}
.foot .btn::before,
.foot-cta::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: inherit;
  border: 1.5px solid rgba(52, 211, 153, 0.5);
  pointer-events: none;
  animation: foot-cta-ring 2.2s ease-in-out infinite;
}
.foot .btn::after,
.foot-cta::after {
  content: "→";
  font-weight: 500;
  opacity: 0.88;
  transition: transform 180ms ease;
}
.foot .btn:hover,
.foot-cta:hover {
  background: linear-gradient(180deg, #34d399 0%, #059669 100%);
  color: #fff !important;
  animation-play-state: paused;
  box-shadow:
    0 0 28px 8px rgba(52, 211, 153, 0.38),
    0 16px 36px rgba(16, 185, 129, 0.36);
}
.foot .btn:hover::before,
.foot-cta:hover::before { animation-play-state: paused; opacity: 0.9; }
.foot .btn:hover::after,
.foot-cta:hover::after { transform: translateX(4px); }
@keyframes foot-cta-breathe {
  0%, 100% {
    box-shadow:
      0 0 0 0 rgba(52, 211, 153, 0.12),
      0 12px 28px rgba(4, 120, 87, 0.24);
  }
  50% {
    box-shadow:
      0 0 26px 8px rgba(52, 211, 153, 0.42),
      0 16px 36px rgba(16, 185, 129, 0.4);
  }
}
@keyframes foot-cta-ring {
  0%, 100% { opacity: 0.28; transform: scale(0.98); }
  50% { opacity: 0.88; transform: scale(1.05); }
}
.guide-foot-links {
  margin: 28px 0 0;
  color: #94a3b8;
  font-size: 14px;
}
.guide-foot-links a { color: #86efac; text-decoration: none; }
.fine {
  color: #8b93a3;
  font-size: 13px;
  letter-spacing: 0.04em;
  margin: 36px auto 0;
  padding-top: 22px;
  max-width: 280px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.preview-open { overflow: hidden; }
body.preview-open #bg3d,
body.preview-open .grain,
body.preview-open .top,
body.preview-open main,
body.preview-open footer {
  filter: blur(22px) saturate(1.08);
  pointer-events: none;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 36px 28px 32px;
  background: rgba(6, 8, 14, 0.46);
  overflow: hidden;
}
.lightbox::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(80% 60% at 50% 40%, transparent 0%, rgba(5, 7, 14, 0.28) 72%, rgba(5, 7, 14, 0.62) 100%);
  backdrop-filter: blur(28px) saturate(1.35);
  -webkit-backdrop-filter: blur(28px) saturate(1.35);
}
.preview-wash {
  position: absolute;
  inset: -16%;
  z-index: 0;
  width: 132%;
  max-width: none;
  height: 132%;
  background-size: cover;
  background-position: center;
  object-fit: cover;
  filter: blur(56px) saturate(1.45) brightness(0.48);
  transform: scale(1.12);
  pointer-events: none;
}
.frame-picks {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 4;
  display: flex;
  gap: 8px;
  padding: 5px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(10, 14, 26, 0.55);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(16px);
}
.frame-picks button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #e8e2d8;
  box-shadow: none;
  white-space: nowrap;
}
.frame-picks button::before {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
}
.frame-picks .pick-apple::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M16.7 12.6c0-2.2 1.8-3.3 1.9-3.4-1-1.5-2.7-1.7-3.3-1.8-1.4-.1-2.7.8-3.4.8s-1.8-.8-3-.8c-1.5 0-2.9.9-3.7 2.3-1.6 2.7-.4 6.8 1.1 9 .8 1.1 1.7 2.3 2.9 2.3 1.1 0 1.5-.7 2.9-.7s1.7.7 2.9.7 2-1.1 2.8-2.3c.8-1.2 1.2-2.4 1.2-2.4s-2.1-.9-2.1-3.1zM14.7 6.1c.6-.7 1-1.7.9-2.7-.8.1-1.8.6-2.4 1.3-.5.6-1 1.6-.8 2.6.9 0 1.8-.5 2.3-1.2z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M16.7 12.6c0-2.2 1.8-3.3 1.9-3.4-1-1.5-2.7-1.7-3.3-1.8-1.4-.1-2.7.8-3.4.8s-1.8-.8-3-.8c-1.5 0-2.9.9-3.7 2.3-1.6 2.7-.4 6.8 1.1 9 .8 1.1 1.7 2.3 2.9 2.3 1.1 0 1.5-.7 2.9-.7s1.7.7 2.9.7 2-1.1 2.8-2.3c.8-1.2 1.2-2.4 1.2-2.4s-2.1-.9-2.1-3.1zM14.7 6.1c.6-.7 1-1.7.9-2.7-.8.1-1.8.6-2.4 1.3-.5.6-1 1.6-.8 2.6.9 0 1.8-.5 2.3-1.2z'/></svg>") center / contain no-repeat;
}
.frame-picks .pick-samsung::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'><ellipse cx='12' cy='6' rx='11' ry='5' fill='none' stroke='black' stroke-width='1.6'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'><ellipse cx='12' cy='6' rx='11' ry='5' fill='none' stroke='black' stroke-width='1.6'/></svg>") center / contain no-repeat;
}
.frame-picks .pick-huawei::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><g fill='black'><circle cx='12' cy='5.2' r='2'/><circle cx='17.2' cy='7.4' r='2'/><circle cx='18.8' cy='12.4' r='2'/><circle cx='15.2' cy='16.8' r='2'/><circle cx='8.8' cy='16.8' r='2'/><circle cx='5.2' cy='12.4' r='2'/><circle cx='6.8' cy='7.4' r='2'/><circle cx='12' cy='12' r='2.1'/></g></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><g fill='black'><circle cx='12' cy='5.2' r='2'/><circle cx='17.2' cy='7.4' r='2'/><circle cx='18.8' cy='12.4' r='2'/><circle cx='15.2' cy='16.8' r='2'/><circle cx='8.8' cy='16.8' r='2'/><circle cx='5.2' cy='12.4' r='2'/><circle cx='6.8' cy='7.4' r='2'/><circle cx='12' cy='12' r='2.1'/></g></svg>") center / contain no-repeat;
}
.frame-picks .pick-xiaomi::before {
  border-radius: 3px;
  background: #ff6900;
}
.frame-picks button.on {
  background: rgba(16, 185, 129, 0.18);
  color: #e2e8f0;
}
.preview {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(220px, 300px);
  gap: 36px;
  align-items: center;
  width: min(1100px, 100%);
}
.preview-clip {
  width: min(480px, 40vw, calc(86vh * 9 / 16));
}
.preview-clip video {
  display: block;
  width: 100%;
  max-width: none;
  aspect-ratio: 9 / 16;
  border: 0;
  border-radius: 22px;
  background: #000;
  object-fit: contain;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}
.preview-copy {
  position: relative;
  z-index: 3;
  padding: 4px 2px 0;
  background: none;
  border: 0;
  box-shadow: none;
}
.preview-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.3;
  text-wrap: balance;
}
.preview-copy p:not(.kicker) {
  margin: 0 0 18px;
  color: rgba(243, 236, 227, 0.82);
  font-size: 14px;
  line-height: 1.75;
  text-wrap: pretty;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.preview-copy .btn {
  min-height: 40px;
  padding: 0 16px;
  background: transparent;
  color: #f6f1e8;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: none;
}
.preview-x {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 3;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #f6f1e8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
}

[hidden] { display: none !important; }
label { display: block; margin: 12px 0; color: var(--muted); font-size: 14px; }
input, textarea, select {
  width: 100%;
  margin-top: 6px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--control);
  border: 1px solid var(--line);
  background: rgba(7, 10, 18, 0.55);
  color: var(--ink);
}
textarea { min-height: 120px; resize: vertical; }
.inline { display: flex; align-items: center; gap: 10px; }
.inline input { width: 88px; margin: 0; }
.or { text-align: center; color: var(--muted); font-size: 13px; margin: 16px 0; }
.script {
  white-space: pre-wrap;
  background: rgba(7, 10, 18, 0.55);
  border-radius: var(--control);
  padding: 12px;
  font-size: 14px;
  color: var(--ink);
}
.bar { height: 8px; background: var(--warm); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); }
.empty {
  padding: 36px 24px;
  text-align: center;
  color: var(--muted);
  background: rgba(255,255,255,0.03);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.stats .card, .stat {
  padding: 18px 20px;
}
.stat b { display: block; font-size: 28px; letter-spacing: -0.04em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 13px; }
.progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 14px 0 18px;
  padding: 0;
  list-style: none;
}
.progress li {
  position: relative;
  padding: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.progress li::before {
  content: "";
  display: block;
  height: 4px;
  margin-bottom: 8px;
  border-radius: 99px;
  background: var(--warm);
}
.progress li.done, .progress li.on { color: var(--ink); }
.progress li.done::before { background: var(--ok); }
.progress li.on::before { background: var(--accent); }
.progress li.bad::before { background: var(--danger); }
.order { margin: 16px 0; }
.order h3 { font-size: 18px; }
video.clip {
  width: min(260px, 100%);
  border-radius: 16px;
  background: #111;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.watch-layer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  padding: calc(56px + env(safe-area-inset-top, 0px)) 12px calc(20px + env(safe-area-inset-bottom, 0px));
  background: #000;
  box-sizing: border-box;
}
.watch-layer[hidden] { display: none !important; }
.watch-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  width: 100%;
  height: 0;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  touch-action: none;
  transform-origin: center center;
  overflow: hidden;
}
.watch-frame video,
.watch-frame img,
#watch-video,
#watch-image {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  background: #000;
  border-radius: 0;
  aspect-ratio: auto;
}
.watch-close {
  position: absolute;
  top: calc(10px + env(safe-area-inset-top, 0px));
  right: 12px;
  z-index: 2;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.watch-tip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  text-align: center;
  pointer-events: none;
}
body.watch-open { overflow: hidden; }
body.watch-open .top,
body.watch-open #kefu-root { visibility: hidden; pointer-events: none; }
@media (max-width: 720px) {
  .watch-layer {
    padding: calc(48px + env(safe-area-inset-top, 0px)) 0 calc(8px + env(safe-area-inset-bottom, 0px));
  }
  .watch-tip { display: none; }
}
@media (orientation: landscape) and (max-height: 520px) {
  .watch-layer {
    padding: 8px calc(56px + env(safe-area-inset-right, 0px)) 8px 8px;
  }
}
.templates {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin: 8px 0 16px;
}
.pick {
  text-align: left;
  background: rgba(7, 10, 18, 0.45);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  min-height: 84px;
  box-shadow: none;
  color: var(--ink);
}
.pick.on {
  border-color: rgba(16, 185, 129, 0.32);
  background: rgba(16, 185, 129, 0.075);
}
.pick b { display: block; font-size: 14px; }
.pick span { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.desk-tabs { margin: 28px 0 18px; }
details.card summary { cursor: pointer; color: var(--muted); }

@media (max-width: 1280px) {
  .works, .library { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .works { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .works, .library { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .works { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .steps.five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero, .steps, .price-grid, .facts, .stats { grid-template-columns: 1fr; }
  .price-grid.six,
  .price-grid.video,
  .price-grid.drama { grid-template-columns: 1fr 1fr; }
  .price-hero { grid-template-columns: 1fr; }
  .price-card.pay { grid-column: 1 / -1; }
  .preview {
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;
    gap: 0;
    text-align: center;
    height: 100%;
  }
  .preview-copy {
    position: absolute;
    left: 50%;
    bottom: 52px;
    width: min(460px, calc(100% - 28px));
    transform: translateX(-50%);
    padding: 22px 4px 8px;
    text-align: left;
    background: linear-gradient(180deg, transparent, rgba(6, 8, 14, 0.55));
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: blur(22px) saturate(1.3);
    -webkit-backdrop-filter: blur(22px) saturate(1.3);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 42%);
    mask-image: linear-gradient(180deg, transparent, #000 42%);
  }
  .preview-copy .btn { margin: 0 auto; }
  .preview-copy h2 { font-size: 20px; }
  .preview-copy p:not(.kicker) {
    margin-bottom: 12px;
    -webkit-line-clamp: 2;
  }
  .works, .library { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .works { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { gap: 28px; }
  .hero-device, .hero-stage { max-width: 100%; overflow: hidden; }
  .hero-rail-wrap { max-width: min(100%, 380px); }
  .price-card.featured { transform: none; }
  .device-shell, .phone { width: min(260px, 78vw); }
  .hero-stage .hero-reel,
  .hero-reel { width: min(268px, 58%); }
  .hero-thumb { width: 48px; }
  .preview-clip { width: min(460px, 92vw, calc(80vh * 9 / 16)); }
  .lightbox { padding-top: 36px; }
  .work .status-bar, .hero-device .status-bar { display: none; }
  .menu-toggle { display: inline-flex; }
  .lang-switch, .nav-tools { margin-right: 6px; }
  .top {
    top: 8px;
    width: calc(100% - 24px);
    padding: 8px 8px 8px 14px;
  }
  .menu, .top .nav {
    display: none;
    position: fixed;
    top: 80px;
    right: 12px;
    left: 12px;
    z-index: 32;
    padding: 10px;
    background: rgba(16, 20, 34, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    box-shadow: var(--shadow-deep);
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
  }
  .menu.open, .top .nav.open { display: flex; }
  .menu a, .nav a, .menu .who {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 16px;
    border-radius: 16px;
  }
  .menu .btn, .nav .btn {
    width: 100%;
    margin: 6px 0 2px;
    justify-content: center;
  }
  .menu .ghost, header.top .menu button.ghost {
    width: 100%;
    justify-content: center;
  }
  .progress { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .page { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .wrap, .page.wrap { width: min(var(--wide), calc(100% - 28px)); }
  .hero h1 { font-size: clamp(26px, 7.4vw, 34px); letter-spacing: -0.02em; }
  .hero-copy .lead { font-size: 15px; max-width: none; }
  .hero { padding-top: 28px; gap: 28px; }
  .logo small { display: none; }
  .logo img, .logo svg { width: 32px; height: 32px; }
  .logo b { font-size: 15px; }
  .lang-switch, .nav-tools { margin-right: 0; }
  .nav-tools { height: 26px; }
  .lang-btn, .theme-btn { width: 20px; min-width: 20px; height: 20px; min-height: 20px; }
  .lang-btn { width: auto; padding: 0 5px; }
  .top {
    top: max(8px, env(safe-area-inset-top, 0px));
    width: calc(100% - 16px);
    min-height: 56px;
    gap: 8px;
    padding: 6px 6px 6px 12px;
  }
  .menu, .top .nav { top: calc(68px + env(safe-area-inset-top, 0px)); }
  .filters, .tabs:not(.auth-tabs), .desk-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filters::-webkit-scrollbar, .tabs:not(.auth-tabs)::-webkit-scrollbar, .desk-tabs::-webkit-scrollbar { display: none; }
  .filters button, .tabs:not(.auth-tabs) button, .desk-tabs button {
    flex: none;
    white-space: nowrap;
  }
  .works, .library { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; }
  .works { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 8px; }
  .work figcaption b, .work figcaption span { overflow-wrap: anywhere; }
  .work figcaption span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .foot .btn { width: 100%; }
}
@media (max-width: 560px) {
  .works, .library, .steps.five { grid-template-columns: 1fr 1fr; }
  .works { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .works, .library, .work, .clip-card, .hero-device, .hero-stage { min-width: 0; }
  .hero-device { overflow: visible; }
  .hero-stage .hero-reel,
  .hero-reel { width: min(232px, 64vw); }
  .hero-rail-wrap { width: min(100%, 320px); }
  .hero-thumb { width: 44px; }
  .composer { padding: 14px 14px 12px; border-radius: 20px; }
  .composer .presets,
  .presets.rich,
  #composer .presets.rich:not(.aspects) {
    grid-template-columns: 1fr 1fr;
  }
  .composer .presets button,
  .presets.rich button,
  #composer .presets button {
    grid-column: auto;
    min-height: 52px;
    padding: 10px 12px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .composer .presets.rich:not(.aspects) button:nth-child(5),
  #composer .presets.rich:not(.aspects) button:nth-child(5) {
    grid-column: 1 / -1;
  }
  .composer .presets.aspects,
  .presets.rich.aspects,
  #composer .presets.aspects { grid-template-columns: 1fr 1fr; }
  .composer .presets.aspects button,
  .presets.rich.aspects button,
  #composer .presets.aspects button {
    grid-column: auto;
    justify-content: center;
  }
  .composer .presets button span,
  .presets.rich button span { display: none; }
  .composer .presets button em,
  .presets.rich button em { font-size: 14px; }
  .composer-perks { grid-template-columns: 1fr; }
  .composer-perks li { text-align: left; }
  .composer .row {
    flex-direction: column;
    align-items: stretch;
  }
  .composer .row .btn { width: 100%; }
  .composer .hint { max-width: none; }
  .composer textarea, input, select, textarea { font-size: 16px; }
  .facts { grid-template-columns: 1fr; }
  .fact { min-height: 0; padding: 16px; }
  .filters { gap: 6px; margin-bottom: 14px; }
  .filters button { min-height: 40px; padding: 6px 12px; font-size: 13px; }
  .price-grid, .price-grid.six, .price-grid.video, .price-grid.drama, .price-hero { grid-template-columns: 1fr; gap: 12px; }
  .foot { padding: 48px 0 24px; }
  .foot h2 { font-size: 26px; }
  .section-head { margin-bottom: 18px; }
  .lightbox { padding: 16px 12px 24px; }
  .preview-clip { width: min(100%, calc(70vh * 9 / 16)); }
  .hero { padding-top: 18px; gap: 20px; }
  .hero-copy { max-width: none; }
  .hero-copy .lead { font-size: 15px; line-height: 1.65; }
  .hero-device {
    width: min(100%, 360px);
    max-width: 100%;
    margin: 0 auto;
    overflow: visible;
  }
  .hero-stage .hero-reel,
  .hero-reel { width: min(220px, 58vw); }
  .hero-reel { border-radius: 22px; animation: none; }
  .hero-rail-wrap {
    width: 100%;
    margin-top: 12px;
    grid-template-columns: 26px minmax(0, 1fr) 26px;
  }
  .hero-rail {
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }
  .hero-thumb { width: 50px; border-radius: 11px; }
  .hero-mark { top: 12px; right: 12px; }
  #composer { padding: 14px 12px 12px; border-radius: 18px; }
  #composer .presets button { min-height: 44px; }
  .composer .row .btn { min-height: 48px; }
  .works { gap: 10px 8px; }
  .work figcaption { padding: 6px 1px 0; }
  .works .work .use {
    width: auto;
    min-height: 22px;
    height: 22px;
    padding: 0 7px;
  }
  .steps.five { grid-template-columns: 1fr; gap: 10px; }
  .step { min-height: 0; padding: 16px 16px 14px; }
  .faq summary { min-height: 48px; padding: 12px 0; }
  .menu, .top .nav {
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }
  .menu .who { max-width: none; }
}
