@font-face {
  font-family: SF Pro Display;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    local("SF Pro Display Regular"),
    local("SFProDisplay-Regular"),
    url(fonts/sf-pro-display-400.woff2) format("woff2");
}
@font-face {
  font-family: SF Pro Display;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src:
    local("SF Pro Display Medium"),
    local("SFProDisplay-Medium"),
    url(fonts/sf-pro-display-500.woff2) format("woff2");
}
@font-face {
  font-family: SF Pro Display;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src:
    local("SF Pro Display Bold"),
    local("SFProDisplay-Bold"),
    url(fonts/sf-pro-display-700.woff2) format("woff2");
}
@font-face {
  font-family: SF Pro Display;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src:
    local("SF Pro Display Bold"),
    local("SFProDisplay-Bold"),
    url(fonts/sf-pro-display-700.woff2) format("woff2");
}
@font-face {
  font-family: SF Pro Display;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src:
    local("SF Pro Display Bold"),
    local("SFProDisplay-Bold"),
    url(fonts/sf-pro-display-700.woff2) format("woff2");
}
*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
[hidden] {
  display: none !important;
}
:root {
  --bg: #000;
  --bg-elevated: #0a0a0c;
  --bg-surface: rgba(255, 255, 255, 0.045);
  --bg-surface-hi: rgba(255, 255, 255, 0.075);
  --bg-surface-2: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.09);
  --border-hi: rgba(255, 255, 255, 0.16);
  --border-bright: rgba(255, 255, 255, 0.25);
  --text: #f5f5f7;
  --text-1: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #6e6e73;
  --text-4: #48484a;
  --glow: #fff;
  --glow-dim: rgba(255, 255, 255, 0.06);
  --glow-border: rgba(255, 255, 255, 0.18);
  --glow-glow: rgba(255, 255, 255, 0.14);
  --green: #2997ff;
  --green-dim: rgba(10, 132, 255, 0.1);
  --amber: #ffd60a;
  --red: #ff453a;
  --r: 12px;
  --r2: 16px;
  --r3: 22px;
  --r4: 30px;
  --pill: 999px;
  --glass-bg: rgba(18, 18, 20, 0.72);
  --glass-blur: blur(28px) saturate(1.35);
  --glass-blur-sm: blur(18px) saturate(1.2);
  --glass-shine: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0) 42%
  );
  --glass-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 24px 70px rgba(0, 0, 0, 0.48);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-apple: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-1: 0.15s;
  --dur-2: 0.22s;
  --dur-3: 0.32s;
  --dur-4: 0.5s;
  --dur-5: 0.75s;
  --font:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial,
    sans-serif;
  --font-display:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue",
    Arial, sans-serif;
}
html {
  scroll-behavior: smooth;
  background: #000;
}
body {
  background: #000;
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  outline: 0;
  background: none;
}
input {
  font-family: inherit;
}
::selection {
  background: #ffffff2e;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #1a1a1f inset !important;
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff;
  border-color: var(--border-hi) !important;
  transition: background-color 5000s ease-in-out 0s;
}
@keyframes pageEnter {
  0% {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@keyframes floatSoft {
  0%,
  to {
    transform: translateZ(0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
}
@keyframes pulseDot {
  0%,
  to {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.42;
    transform: scale(0.72);
  }
}
@keyframes borderSweep {
  0% {
    transform: translate(-110%);
  }
  to {
    transform: translate(210%);
  }
}
@keyframes shimmer {
  0% {
    transform: translate(-120%);
  }
  to {
    transform: translate(220%);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.page {
  position: relative;
  z-index: 2;
  animation: pageEnter var(--dur-5) var(--ease-out) both;
}
nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translate(-50%);
  z-index: 200;
  width: calc(100% - 40px);
  max-width: 1060px;
  height: 54px;
  padding: 0 8px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0c0c0ead;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 0;
  border-radius: var(--pill);
  box-shadow:
    0 1px #ffffff14 inset,
    0 14px 42px #0000008c;
  transition:
    border-color var(--dur-3),
    background var(--dur-3),
    box-shadow var(--dur-3) var(--ease-out);
}
nav:hover {
  border-color: var(--border-hi);
  background: #101012c7;
  box-shadow:
    0 1px #ffffff1a inset,
    0 18px 48px #0000009e;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 15px;
  letter-spacing: -0.3px;
  flex-shrink: 0;
}
.nav-logo-text {
  font-weight: 650;
  color: #fff;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 3px;
}
.nav-link {
  padding: 7px 12px;
  border-radius: var(--pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  transition:
    color var(--dur-2),
    background var(--dur-2),
    transform var(--dur-2) var(--ease-out);
}
.nav-link:hover {
  color: var(--text);
  background: #ffffff12;
  transform: translateY(-1px);
}
.nav-link.active {
  color: #fff;
  background: #ffffff1a;
}
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}
section {
  padding: 90px 0 0;
}
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 132px 24px 76px;
}
.hero:before {
  content: "";
  position: absolute;
  width: min(760px, 92vw);
  height: 420px;
  top: 18%;
  left: 50%;
  transform: translate(-50%);
  background: radial-gradient(
    ellipse,
    rgba(255, 255, 255, 0.05),
    transparent 67%
  );
  filter: blur(12px);
  pointer-events: none;
  animation: heroAura 7s ease-in-out infinite;
}
@keyframes heroAura {
  0%,
  to {
    opacity: 0.6;
    transform: translate(-50%) scale(0.94);
  }
  50% {
    opacity: 1;
    transform: translate(-50%) scale(1.05);
  }
}
.hero > * {
  position: relative;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(50px, 8.5vw, 94px);
  font-weight: 700;
  letter-spacing: -4.8px;
  line-height: 0.97;
  color: #f5f5f7;
  margin-bottom: 25px;
  animation: heroTitle 0.9s var(--dur-1) var(--ease-out) both;
}
@keyframes heroTitle {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
    filter: blur(12px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
.hero h1 span {
  background: linear-gradient(100deg, #fff 10%, #e5e5e7 52%, #fff 92%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleShine 6s ease-in-out infinite;
}
@keyframes titleShine {
  0%,
  to {
    background-position: 0 center;
  }
  50% {
    background-position: 100% center;
  }
}
.btn-run {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 600;
  color: #000;
  background: #f5f5f7;
  box-shadow: 0 5px 22px #00000061;
  transition:
    transform var(--dur-2) var(--ease-out),
    background var(--dur-2),
    box-shadow var(--dur-2);
}
.btn-run:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.75) 50%,
    transparent 70%
  );
  transform: translate(-130%);
}
.btn-run:hover:not(:disabled):after {
  animation: borderSweep 0.8s ease;
}
.btn-run:hover:not(:disabled) {
  background: #fff;
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 10px 30px #0000007a;
}
.btn-run:active:not(:disabled) {
  transform: scale(0.96);
}
.patcher-wrap {
  max-width: 800px;
  margin: 0 auto;
}
.engine-panel {
  display: none;
}
.engine-panel.active {
  display: block;
  animation: fadeSlideUp var(--dur-4) var(--ease-out);
}
.drop-card {
  border-radius: var(--r3);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  border: 0;
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
  transition:
    transform var(--dur-3) var(--ease-out),
    border-color var(--dur-3),
    box-shadow var(--dur-3),
    background var(--dur-3);
}
.drop-card {
  padding: 28px;
}
.drop-card:before {
  content: "";
  position: absolute;
  left: -40%;
  top: 0;
  width: 35%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.75),
    transparent
  );
  opacity: 0;
}
.drop-card:hover:before {
  opacity: 1;
  animation: borderSweep 1.1s ease;
}
.drop-card:hover {
  border-color: var(--border-hi);
  background: #161619c7;
  box-shadow:
    0 1px #ffffff1a inset,
    0 28px 80px #0009;
}
.drop-card:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--glass-shine);
}
.drop-zone {
  border: 0;
  border-radius: var(--r2);
  padding: 60px 24px;
  text-align: center;
  background: #ffffff05;
  cursor: pointer;
  transition: var(--dur-3) var(--ease-out);
  box-shadow: var(--zshade);
}
.drop-zone:hover {
  border-color: #ffffff38;
  background: #ffffff06;
  transform: translateY(-2px);
}
.drop-zone.drag-over {
  border-color: var(--glow);
  border-style: solid;
  background: var(--glow-dim);
  box-shadow:
    0 0 0 4px #ffffff06,
    0 0 44px #ffffff0a;
}
.drop-zone.has-file {
  border-style: solid;
  border-color: #0a84ff61;
  background: #0a84ff06;
}
.drop-icon {
  width: 54px;
  height: 54px;
  border-radius: 20px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glow-dim);
  border: 0;
  color: var(--glow);
  box-shadow: 0 10px 28px #ffffff0a;
  animation: floatSoft 5s ease-in-out infinite;
}
#dropTitle {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}
#dropSub {
  font-size: 12px;
  color: var(--text-3);
}
.scan-view {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.sv-item {
  padding: 12px;
  border-radius: var(--r);
  background: var(--bg-surface);
  border: 0;
  text-align: center;
  transition: var(--dur-2) var(--ease-out);
  box-shadow: var(--zshade);
}
.sv-item:hover {
  background: var(--bg-surface-hi);
  border-color: var(--border-hi);
  transform: translateY(-2px);
}
.sv-lbl {
  font-size: 9px;
  font-weight: 650;
  color: var(--text-3);
  letter-spacing: 0.55px;
  margin-bottom: 5px;
}
.sv-val {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
#limitWrap {
  display: none;
  margin-top: 12px;
}
.limit-bar-track,
.progress-track {
  height: 4px;
  border-radius: 4px;
  background: #ffffff12;
  overflow: hidden;
}
.limit-bar-fill,
.progress-fill {
  position: relative;
  height: 100%;
  border-radius: 4px;
  background: #ffffff8c;
  transition: width var(--dur-4) var(--ease-out);
  overflow: hidden;
}
.limit-bar-fill:after,
.progress-fill:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.7),
    transparent
  );
  animation: shimmer 2.2s ease-in-out infinite;
}
.limit-bar-fill.warn {
  background: var(--amber);
}
#limitText {
  font-size: 10px;
  color: var(--text-3);
  margin-top: 6px;
}
.tier-unlock-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding: 12px 15px;
  border-radius: var(--r);
  background: #ff453a11;
  border: 0;
  box-shadow: var(--zshade);
}
.tier-unlock-bar.show {
  display: flex;
  animation: fadeSlideUp var(--dur-3) var(--ease-out);
}
.tier-unlock-text {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.5;
}
.action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.btn-run {
  flex: 1;
  min-width: 120px;
}
.btn-run:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}
.btn-dl {
  display: none;
  align-items: center;
  gap: 7px;
  padding: 13px 21px;
  border-radius: var(--pill);
  font-size: 13px;
  font-weight: 600;
  color: #001a06;
  background: var(--green);
  box-shadow: 0 8px 22px #0a84ff24;
  transition: var(--dur-2) var(--ease-out);
}
.btn-dl.show {
  display: flex;
  animation: fadeSlideUp var(--dur-3) var(--ease-out);
}
.btn-dl:hover {
  filter: brightness(1.07);
  transform: translateY(-2px);
}
.btn-clear {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  border-radius: var(--pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  border: 0;
  background: var(--bg-surface);
  transition: var(--dur-2) var(--ease-out);
  box-shadow: var(--zshade);
}
.btn-clear:hover {
  color: var(--red);
  border-color: #ff453a47;
  background: #ff453a0e;
}
.processing-view {
  display: none;
  padding: 28px;
}
.processing-view.show {
  display: block;
}
.proc-terminal {
  border-radius: var(--r2);
  overflow: hidden;
  background: #050506;
  border: 0;
  box-shadow: 0 16px 46px #00000073;
}
.proc-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #111113;
  border-bottom: 0;
  box-shadow: var(--zshade);
}
.proc-dots {
  display: flex;
  gap: 6px;
}
.proc-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.proc-dot-r {
  background: #ff5f57;
}
.proc-dot-y {
  background: #febc2e;
}
.proc-dot-g {
  background: #28c840;
}
.proc-path {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
}
.proc-status {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--pill);
  background: var(--bg-surface-hi);
  color: var(--text-2);
}
.proc-log {
  min-height: 180px;
  max-height: 220px;
  overflow-y: auto;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.85;
}
.log-line {
  color: #66666c;
  animation: logIn var(--dur-2) ease both;
}
@keyframes logIn {
  0% {
    opacity: 0;
    transform: translate(-5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.log-line.hi {
  color: #64d2ff;
}
.log-line.pur {
  color: #d1d1d6;
}
.log-line.ok {
  color: #2997ff;
}
.log-line.err {
  color: #ff6961;
}
.log-line.warn {
  color: #e8e8ed;
}
.progress-wrap {
  margin-top: 14px;
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
.progress-pct {
  font-size: 13px;
  font-weight: 650;
  color: #fff;
}
.progress-stage {
  font-size: 11px;
  color: var(--text-3);
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%) translateY(18px) scale(0.97);
  z-index: 500;
  padding: 11px 20px;
  border-radius: var(--pill);
  font-size: 13px;
  font-weight: 550;
  color: #fff;
  background: #18181af0;
  backdrop-filter: blur(18px);
  border: 0;
  box-shadow: 0 12px 42px #0000008c;
  pointer-events: none;
  opacity: 0;
  transition: var(--dur-3) var(--ease-out);
  white-space: nowrap;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%) translateY(0) scale(1);
}
#toast.ok {
  border-color: #0a84ff59;
}
#toast.err,
#toast.error {
  border-color: #ff453a59;
}
#toast.warn {
  border-color: #e8e8ed59;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@media (max-width: 640px) {
  nav {
    display: none;
  }
  .hero {
    padding: 112px 16px 52px;
  }
  .hero h1 {
    letter-spacing: -2.8px;
  }
  .container {
    padding: 0 16px;
  }
  .scan-view {
    grid-template-columns: repeat(2, 1fr);
  }
  .action-row {
    flex-wrap: wrap;
  }
  .tier-unlock-bar {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 400px) {
  .hero h1 {
    font-size: 40px;
    letter-spacing: -2px;
  }
}
@keyframes trayIn {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 640px) {
  nav {
    display: none !important;
  }
  body {
    padding-bottom: 88px;
  }
}
:root {
  --violet: #fff;
  --violet-dim: rgba(255, 255, 255, 0.06);
  --violet-border: rgba(255, 255, 255, 0.18);
  --violet-glow: rgba(255, 255, 255, 0.1);
  --violet-strong: rgba(255, 255, 255, 0.28);
  --green-glow: rgba(10, 132, 255, 0.22);
  --green-border-hi: rgba(10, 132, 255, 0.45);
  --aura-top: radial-gradient(
    ellipse 80% 55% at 50% -10%,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  --aura-mid: radial-gradient(
    ellipse 55% 40% at 50% 48%,
    rgba(255, 255, 255, 0.04),
    transparent
  );
  --glass-bg-hi: rgba(20, 20, 23, 0.82);
  --glass-shadow-hi:
    0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 32px 90px rgba(0, 0, 0, 0.65);
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--aura-top), var(--aura-mid);
  pointer-events: none;
  z-index: 0;
}
nav {
  box-shadow:
    0 1px #ffffff17 inset,
    0 -1px #ffffff1a inset,
    0 14px 42px #0000008c,
    0 0 60px #ffffff0a;
}
nav:hover {
  border-color: #ffffff2e;
  box-shadow:
    0 1px #ffffff1c inset,
    0 18px 52px #0000009e,
    0 0 80px #ffffff12;
}
.hero:before {
  background:
    radial-gradient(
      ellipse 70% 45% at 50% 20%,
      rgba(255, 255, 255, 0.08),
      transparent 65%
    ),
    radial-gradient(
      ellipse 90% 55% at 50% 22%,
      rgba(255, 255, 255, 0.04),
      transparent 68%
    );
  filter: blur(18px);
  animation: heroAura 8s ease-in-out infinite;
}
.hero h1 span {
  background: linear-gradient(
    110deg,
    #fff 8%,
    #d8b4fe 38%,
    #fff 58%,
    #e9d5ff 82%,
    #fff 95%
  );
  background-size: 260% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleShine 7s ease-in-out infinite;
}
.drop-card {
  background: var(--glass-bg-hi);
  box-shadow: var(--glass-shadow-hi);
  transition:
    transform var(--dur-3) var(--ease-out),
    border-color var(--dur-3),
    box-shadow var(--dur-3),
    background var(--dur-3);
}
.drop-card:hover {
  border-color: #fff3;
  box-shadow:
    0 1px #ffffff1a inset,
    0 32px 90px #000000a6,
    0 0 70px #ffffff12;
}
.drop-zone {
  border-color: #ffffff1c;
  transition:
    border-color var(--dur-3),
    background var(--dur-3),
    transform var(--dur-3),
    box-shadow var(--dur-3) var(--ease-out);
}
.drop-zone:hover {
  border-color: #ffffff4d;
  background: #ffffff08;
  box-shadow: 0 0 40px #ffffff0d;
}
.drop-zone.drag-over {
  border-color: var(--violet);
  background: var(--violet-dim);
  box-shadow:
    0 0 0 4px #ffffff0f,
    0 0 55px #ffffff1a;
}
.drop-zone.has-file {
  border-color: var(--green-border-hi);
  background: #0a84ff08;
  box-shadow: 0 0 40px #0a84ff0f;
}
.drop-icon {
  background: var(--violet-dim);
  border-color: var(--violet-border);
  color: var(--violet);
  box-shadow: 0 0 28px var(--violet-glow);
}
.sv-item {
  transition:
    background var(--dur-2),
    border-color var(--dur-2),
    transform var(--dur-2),
    box-shadow var(--dur-2) var(--ease-out);
}
.sv-item:hover {
  background: #ffffff12;
  border-color: var(--violet-border);
  box-shadow: 0 0 18px var(--violet-dim);
  transform: translateY(-3px);
}
.progress-fill {
  background: linear-gradient(90deg, #f5f5f7, #fff 62%, #2997ff);
  box-shadow: 0 0 14px #ffffff61;
}
.progress-fill:after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.85),
    transparent
  );
}
.limit-bar-fill {
  background: linear-gradient(90deg, rgba(10, 132, 255, 0.6), var(--green));
  box-shadow: 0 0 10px var(--green-glow);
}
.limit-bar-fill.warn {
  background: linear-gradient(90deg, #e8e8ed, var(--amber));
  box-shadow: 0 0 10px #e8e8ed59;
}
.proc-terminal {
  border-color: #ffffff1f;
  box-shadow:
    0 16px 55px #0000008c,
    0 0 40px #ffffff0f;
}
.proc-bar {
  background: #0d0d10;
  border-bottom-color: #ffffff1a;
}
.tier-unlock-bar {
  border-color: #ff453a2e;
}
.tier-unlock-bar.show {
  box-shadow: 0 4px 20px #ff453a0f;
}
.btn-run {
  background: #f5f5f7;
  box-shadow:
    0 5px 22px #00000061,
    0 0 0 1px #ffffff1f;
  transition:
    transform var(--dur-2) var(--ease-out),
    background var(--dur-2),
    box-shadow var(--dur-3);
}
.btn-run:hover:not(:disabled) {
  background: #fff;
  transform: translateY(-2px) scale(1.015);
  box-shadow:
    0 10px 32px #0000007a,
    0 0 50px #ffffff1a;
}
.btn-dl {
  background: var(--green);
  box-shadow: 0 8px 26px var(--green-glow);
  transition:
    transform var(--dur-2) var(--ease-out),
    filter var(--dur-2),
    box-shadow var(--dur-3);
}
.btn-dl:hover {
  filter: brightness(1.1);
  box-shadow: 0 12px 36px #0a84ff61;
  transform: translateY(-2px);
}
#toast.ok {
  border-color: var(--green-border-hi);
  box-shadow:
    0 12px 42px #0000008c,
    0 0 24px var(--green-glow);
}
#toast.err,
#toast.error {
  box-shadow:
    0 12px 42px #0000008c,
    0 0 24px #ff453a2e;
}
html:after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
:root {
  --font:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial,
    sans-serif;
  --font-display:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue",
    Arial, sans-serif;
  --r: 8px;
  --r2: 10px;
  --r3: 14px;
  --r4: 18px;
  --pill: 999px;
  --nav-h: 56px;
  --nav-r: 14px;
}
body {
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  letter-spacing: -0.01em;
}
nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translate(-50%);
  z-index: 200;
  width: calc(100% - 32px);
  max-width: 1080px;
  height: var(--nav-h);
  padding: 0 6px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  background: #0a0a0cd1;
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--nav-r);
  box-shadow:
    0 1px #ffffff0f inset,
    0 0 0 1px #ffffff0f inset,
    0 16px 48px #0000008c,
    0 0 80px #ffffff0a;
  transition:
    border-color var(--dur-3),
    box-shadow var(--dur-3) var(--ease-out);
}
nav:hover {
  border-color: #ffffff1f;
  box-shadow:
    0 1px #ffffff14 inset,
    0 20px 56px #0000009e,
    0 0 100px #ffffff12;
}
.nav-logo {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.4px;
  color: #fff;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-mark {
  display: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  position: relative;
  padding: 7px 11px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: #ffffff73;
  transition:
    color var(--dur-2),
    background var(--dur-2) var(--ease-out);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-link:hover {
  color: #ffffffd9;
  background: #ffffff0e;
  transform: none;
}
.nav-link.active {
  color: #fff;
  background: #ffffff14;
  font-weight: 600;
}
.nav-link.active:after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translate(-50%);
  width: 14px;
  height: 1.5px;
  background: var(--violet, #fff);
  border-radius: 2px;
  box-shadow: 0 0 6px #ffffff80;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.btn-run {
  border-radius: 10px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.btn-dl {
  border-radius: 10px;
  font-weight: 650;
}
.btn-clear,
.btn-run {
  border-radius: 10px;
}
.drop-card {
  border-radius: 14px;
}
.sv-item {
  border-radius: 8px;
}
.sv-lbl {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.sv-val {
  font-size: 13px;
  font-weight: 650;
}
.drop-zone {
  border-radius: 10px;
}
.drop-icon {
  border-radius: 12px;
}
.proc-terminal {
  border-radius: 10px;
}
.proc-bar {
  border-radius: 10px 10px 0 0;
}
.hero h1 {
  letter-spacing: -5.5px;
  font-weight: 800;
  line-height: 0.95;
}
.hero h1 span {
  background: linear-gradient(
    115deg,
    #fff 5%,
    #c4b5fd 35%,
    #fff 55%,
    #ddd6fe 78%,
    #fff 95%
  );
  background-size: 280% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
#toast {
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.tier-unlock-bar {
  border-radius: 10px;
}
.tier-unlock-bar.show {
  animation: fadeSlideUp var(--dur-3) var(--ease-out);
}
@media (max-width: 640px) {
  body {
    letter-spacing: 0;
  }
  .hero h1 {
    letter-spacing: -1.5px;
    line-height: 1.05;
  }
  .sv-lbl {
    font-size: 10px;
    letter-spacing: 0.5px;
  }
  .sv-val {
    font-size: 14px;
  }
  #limitText {
    font-size: 11px;
  }
  .tier-unlock-text {
    font-size: 13px;
    line-height: 1.55;
  }
  .tier-unlock-text,
  #dropSub {
    overflow-wrap: break-word;
  }
}
@media (max-width: 400px) {
  .hero h1 {
    font-size: 40px;
    letter-spacing: -1px;
  }
  .sv-val {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero:after {
    content: "";
    position: absolute;
    width: min(520px, 70vw);
    height: 340px;
    top: 62%;
    left: 12%;
    background: radial-gradient(
      ellipse,
      rgba(255, 255, 255, 0.045),
      transparent 66%
    );
    filter: blur(14px);
    pointer-events: none;
    animation: heroDrift 14s ease-in-out infinite alternate;
  }
  @keyframes heroDrift {
    0% {
      transform: translate3d(-4%, 0, 0) scale(1);
    }
    to {
      transform: translate3d(6%, 4%, 0) scale(1.15);
    }
  }
  .btn-run:hover,
  .btn-dl:hover {
    transform: translateY(-2px);
    box-shadow:
      0 10px 30px #0000006b,
      0 0 0 1px #ffffff14,
      0 0 22px #ffffff29;
  }
  .btn-run:active,
  .btn-dl:active,
  .btn-clear:active {
    transform: translateY(0) scale(0.96);
  }
  .drop-card {
    animation: dropBreath 3.6s ease-in-out infinite;
  }
  @keyframes dropBreath {
    0%,
    to {
      box-shadow: 0 0 0 1px #ffffff0f;
    }
    50% {
      box-shadow:
        0 0 0 1px #ffffff29,
        0 0 26px #ffffff0d;
    }
  }
  .nav-link {
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0% 1px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition:
      background-size var(--dur-3) ease,
      color var(--dur-2) ease;
  }
  .nav-link:hover {
    background-size: 100% 1px;
  }
  #toast.show {
    animation: toastIn 0.38s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  @keyframes toastIn {
    0% {
      opacity: 0;
      transform: translate(-50%) translateY(16px) scale(0.96);
    }
    to {
      opacity: 1;
      transform: translate(-50%) translateY(0) scale(1);
    }
  }
  .nav-logo-mark {
    animation: logoGlow 4.6s ease-in-out infinite;
  }
  @keyframes logoGlow {
    0%,
    to {
      filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
    }
    50% {
      filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.35));
    }
  }
}
.nav-link:focus-visible {
  border-radius: var(--pill);
}
input:focus-visible {
  caret-color: #fff;
}
.drop-zone {
  position: relative;
}
.nav-link,
.nav-actions > * {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
}
:root {
  --text-4: #6e6e73;
  --text-3-bump: rgba(235, 235, 240, 0.72);
}
.progress-pct,
.limit-bar-fill {
  font-variant-numeric: tabular-nums;
}
@media (prefers-contrast: more) {
  :root {
    --text-2: #b8b8c0;
    --text-3: #8e8e93;
    --text-4: #8e8e93;
    --border: rgba(255, 255, 255, 0.16);
    --border-hi: rgba(255, 255, 255, 0.28);
  }
  .nav-link {
    color: #b8b8c0;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .drop-zone:hover,
  .btn-run:hover:not(:disabled) {
    transition-duration: 0.18s;
  }
}
:root {
  --font:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  --font-display:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI Variable Display", "Segoe UI Variable Text", "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji",
    "Noto Color Emoji", sans-serif;
  --font-mono:
    ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
    monospace;
}
body {
  font-synthesis: style;
}
h1,
h2,
.hero h1 {
  text-wrap: balance;
}
::selection {
  background: #fff;
  color: #000;
}
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-thumb {
  background: #ffffff24;
  border-radius: 99px;
  border: 2px solid #000;
}
::-webkit-scrollbar-thumb:hover {
  background: #ffffff4d;
  box-shadow: 0 0 12px #ffffff40;
}
::-webkit-scrollbar-track {
  background: transparent;
}
.drop-zone {
  position: relative;
}
.drop-zone:before,
.drop-zone:after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border: 0 solid rgba(255, 255, 255, 0.22);
  transition:
    border-color var(--dur-3),
    opacity var(--dur-3) var(--ease-out);
  pointer-events: none;
  opacity: 0.75;
  z-index: 2;
}
.drop-zone:before {
  top: 10px;
  left: 10px;
  border-top-width: 1.5px;
  border-left-width: 1.5px;
  border-top-left-radius: 6px;
}
.drop-zone:after {
  bottom: 10px;
  right: 10px;
  border-bottom-width: 1.5px;
  border-right-width: 1.5px;
  border-bottom-right-radius: 6px;
}
.drop-zone:hover:before,
.drop-zone:hover:after {
  border-color: #ffffff8c;
  opacity: 1;
}
.drop-zone.drag-over:before,
.drop-zone.drag-over:after {
  border-color: #fff;
  box-shadow: 0 0 10px #ffffff59;
}
.drop-zone.has-file:before,
.drop-zone.has-file:after {
  border-color: #0a84ff99;
}
.nav-link.active {
  background: linear-gradient(180deg, #ffffff24, #ffffff12);
  box-shadow:
    0 0 0 1px #ffffff1f inset,
    0 4px 14px #00000059,
    0 0 16px #ffffff0f;
}
.btn-run,
.btn-dl {
  letter-spacing: -0.01em;
}
.btn-run:disabled {
  cursor: not-allowed;
}
svg {
  shape-rendering: geometricPrecision;
}
img {
  -webkit-user-drag: none;
}
@keyframes pageEnter {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes heroTitle {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
:root {
  --acc: #f5f5f7;
  --acc-hi: #ffffff;
  --acc-deep: #0060df;
  --acc-glow: rgba(10, 132, 255, 0.55);
  --acc-soft: rgba(10, 132, 255, 0.14);
  --acc-line: rgba(10, 132, 255, 0.32);
  --bg: #000;
  --bg-elevated: #05070c;
  --bg-surface: rgba(10, 16, 26, 0.66);
  --text-3: #a6b3c4;
  --text-4: #7b8798;
}
body {
  background:
    radial-gradient(
      1200px 600px at 50% -12%,
      rgba(10, 132, 255, 0.08),
      transparent 60%
    ),
    var(--bg);
}
::selection {
  background: var(--acc);
  color: #fff;
}
.nav-link.active {
  background: linear-gradient(180deg, #0a84ff38, #0a84ff1a);
  box-shadow:
    inset 0 0 0 1px var(--acc-line),
    0 0 22px var(--acc-glow);
}
.nav-link:hover {
  color: #fff;
}
.progress-fill,
.limit-bar-fill {
  background: linear-gradient(90deg, #f5f5f7, #fff 30%, var(--acc-hi));
  box-shadow: 0 0 16px var(--acc-glow);
}
.hero h1 span {
  background: linear-gradient(120deg, #fff, #9cc8ff 55%, #0a84ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.btn-run,
.btn-dl {
  background: linear-gradient(180deg, var(--acc-hi), var(--acc));
  border: 0;
  color: #fff;
  box-shadow:
    0 6px 24px var(--acc-glow),
    inset 0 1px #ffffff40;
}
.btn-run:hover:not(:disabled),
.btn-dl:hover {
  background: linear-gradient(180deg, #3b9dff, var(--acc-hi));
  box-shadow: 0 10px 32px var(--acc-glow);
}
.drop-zone:before,
.drop-zone:after {
  border-color: #78b4ff80;
}
.drop-zone:hover:before,
.drop-zone:hover:after {
  border-color: #6cb4ff;
  box-shadow: 0 0 12px var(--acc-glow);
}
.drop-zone.drag-over {
  border-color: var(--acc-line) !important;
  box-shadow:
    0 0 40px var(--acc-glow),
    inset 0 0 24px #0a84ff0f;
}
.drop-zone.has-file:before,
.drop-zone.has-file:after {
  border-color: var(--acc-hi);
}
.drop-card {
  background: linear-gradient(180deg, #0e16228c, #05080eb8);
  box-shadow:
    0 1px #78b4ff24 inset,
    0 24px 70px #0000008c;
}
a {
  color: #9cc8ff;
}
.toast.ok {
  background: #0a84ffeb;
}
::-webkit-scrollbar-thumb {
  background: #0a84ff66;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--acc-hi);
  box-shadow: 0 0 12px var(--acc-glow);
}
nav {
  height: 56px;
  background: #0c0e149e;
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: none;
  border-bottom: 1px solid rgba(84, 84, 88, 0.35);
  box-shadow: none !important;
}
nav:hover {
  box-shadow: none !important;
  border-color: #54545873;
}
nav .nav-logo {
  height: 56px;
  display: flex;
  align-items: center;
}
nav .nav-logo-text {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
nav .nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
nav .nav-link {
  position: static;
  font-size: 13px;
  font-weight: 500;
  color: #d8dde5;
  padding: 7px 12px;
  border-radius: 999px;
  transition:
    background var(--dur-2),
    color var(--dur-2) var(--ease-out);
}
nav .nav-link:hover {
  background: #ffffff14;
  color: #fff;
}
nav .nav-link.active {
  background: #0a84ff29;
  color: #fff;
  box-shadow: none;
}
nav .nav-link.active:after {
  display: none;
}
nav .nav-actions {
  gap: 8px;
}
:root {
  --acc: #f5f5f7;
  --acc-hi: #3b9dff;
  --acc-deep: #0060df;
  --label-1: #fff;
  --label-2: rgba(235, 235, 245, 0.85);
  --label-3: #9aa0aa;
  --separator: rgba(84, 84, 88, 0.4);
}
.btn-run,
.btn-dl {
  background: var(--acc);
  border: 0;
  color: #fff;
  box-shadow: inset 0 1px #ffffff2e !important;
  border-radius: 14px;
}
.btn-run:hover:not(:disabled),
.btn-dl:hover {
  background: var(--acc-hi);
  box-shadow: none !important;
}
.progress-fill,
.limit-bar-fill {
  background: linear-gradient(90deg, #f5f5f7, #0a84ff);
  box-shadow: none !important;
}
.drop-zone:before,
.drop-zone:after {
  border-color: #96beff66;
  box-shadow: none;
}
.drop-zone.drag-over {
  border-color: #0a84ff80;
  box-shadow: 0 0 0 1px #0a84ff40 inset !important;
}
::-webkit-scrollbar-thumb {
  background: #0a84ff59;
  box-shadow: none;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--acc-hi);
  box-shadow: none;
}
.drop-card {
  box-shadow:
    0 1px #ffffff0f inset,
    0 20px 50px #00000080 !important;
}
.toast.ok {
  background: #0a84fff2;
  box-shadow: none;
}
a {
  color: #7db8ff;
}
a:hover {
  color: #fff;
}
nav {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  transform: none !important;
  border-radius: 0 !important;
  padding: 0 clamp(16px, 3vw, 40px);
}
nav .nav-logo {
  flex: none;
}
nav .nav-links {
  margin-inline: auto;
}
nav .nav-actions {
  margin-left: auto;
  flex: none;
}
nav {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
}
nav .nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0;
  flex: none;
}
nav .nav-logo-text {
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: #fff;
  white-space: nowrap;
}
nav .nav-links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
nav .nav-link {
  position: relative;
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 500;
  color: #aab2be;
  border-radius: 14px;
  background: transparent;
  transition: color var(--dur-1) var(--ease-out);
}
nav .nav-link:hover {
  color: #fff;
  background: #ffffff0d;
}
nav .nav-link.active {
  color: #fff;
  background: transparent;
}
nav .nav-link.active:after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%);
  width: 18px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--acc);
}
nav .nav-actions {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 0;
}
nav .nav-logo-mark {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  object-fit: contain;
  display: block;
}
nav .nav-logo-text {
  font-size: 15.5px;
}
nav .nav-link {
  padding: 7px 12px;
  color: #9aa3af;
}
nav .nav-link:hover {
  color: #fff;
  background: #ffffff0f;
}
nav .nav-link.active {
  color: #fff;
}
nav .nav-link.active:after {
  width: auto;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  border-radius: 1px;
  transform: none;
  background: var(--acc);
}
nav {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #090a0dc7 !important;
  backdrop-filter: blur(26px) saturate(1.7) !important;
  -webkit-backdrop-filter: blur(26px) saturate(1.7) !important;
  border-bottom: 0;
  box-shadow: 0 1px #ffffff0e inset;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(14px, 2vw, 26px);
}
.nav-logo {
  flex: none;
  display: flex;
  align-items: center;
  gap: 9px;
}
.nav-logo-mark {
  width: 19px;
  height: 19px;
  border-radius: 5.5px;
}
.nav-logo-text {
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: #fff;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
}
.nav-link {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  padding: 7px 11px !important;
  font-size: 13px;
  font-weight: 500;
  color: #aab3bf;
  border-radius: 14px;
  background: transparent;
}
.nav-link svg {
  display: block;
  flex: none;
  opacity: 0.85;
}
.nav-link span {
  line-height: 1;
}
.nav-link:hover {
  color: #fff;
  background: #ffffff0f;
}
.nav-link.active {
  color: #fff;
  background: #0a84ff1f;
}
.nav-link.active:after {
  left: 11px;
  right: 11px;
  bottom: 1px;
}
.nav-actions {
  margin-left: auto;
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
html {
  background: #05070c;
}
@keyframes ep {
  0%,
  to {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
a {
  text-decoration: none;
}
.btn-run,
.btn-dl {
  background: #fff;
  color: #000;
  border: 0;
  border-radius: 20px;
}
.btn-run:hover:not(:disabled),
.btn-dl:hover {
  background: #e8e8ed;
  color: #000;
}
nav .nav-link.active {
  background: #ffffff1f;
  color: #fff;
}
nav .nav-link.active:after {
  background: #fff;
}
::-webkit-scrollbar-thumb {
  background: #ffffff4d;
}
:root {
  --r-btn: 14px;
  --r-card: 18px;
  --r-input: 12px;
}
.drop-card {
  border-radius: var(--r-card);
}
:root {
  --r-btn: 18px;
  --r-card: 24px;
  --r-input: 14px;
  --r-chip: 999px;
}
.btn-run,
.btn-dl {
  border-radius: var(--r-btn);
}
.drop-card {
  border-radius: var(--r-card);
}
input {
  border-radius: var(--r-input);
}
nav .nav-link {
  border-radius: 20px;
}
.ld {
  max-width: 1080px;
  margin: 0 auto;
  padding: 34px 20px 8px;
}
.vid {
  position: relative;
  aspect-ratio: 16/9;
  max-width: 880px;
  margin: 18px auto 0;
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
  box-shadow: var(--zshade);
}
.vid video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.vid {
  aspect-ratio: 9/16;
  max-width: 430px;
  border-radius: 34px;
  margin: 22px auto 0;
}
.vid video {
  object-fit: cover;
}
.vid {
  width: min(312px, 100%);
  max-width: none;
  aspect-ratio: 9/16;
  border-radius: 34px;
  margin: 8px auto 0;
  background: #050508;
  border: 0;
  box-shadow: 0 26px 70px #0000008c;
}
.vid video {
  display: none;
}
.nav-link svg {
  width: 15px;
  height: 15px;
}
.hero h1 {
  font-size: clamp(46px, 7vw, 82px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}
.hero.hero-slim {
  min-height: 0;
  padding: 118px 24px 6px;
  justify-content: flex-start;
}
.hero.hero-slim:before {
  display: none;
}
.hero.hero-slim h1 {
  font-size: clamp(34px, 5.2vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.03;
  margin-bottom: 14px;
}
.zm-menu-btn {
  display: none;
  align-items: center;
  gap: 7px;
  padding: 12px 17px;
  border-radius: 999px;
  min-height: 42px;
  box-sizing: border-box;
  font-size: 12.5px;
  font-weight: 600;
  color: #dce6f2;
  background: #ffffff0f;
  border: 1px solid rgba(190, 255, 60, 0.45);
  cursor: pointer;
  transition:
    background var(--dur-1),
    border-color var(--dur-1) var(--ease-out);
}
.zm-menu-btn:hover {
  background: #ffffff1f;
  border-color: #fff6;
}
@keyframes zmSlide {
  0% {
    transform: translate(40px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@media (max-width: 820px) {
  .nav-links {
    display: none;
  }
  .zm-menu-btn {
    display: inline-flex;
  }
  nav .nav-inner {
    justify-content: space-between;
  }
}
@media (min-width: 821px) {
  .zm-menu-btn {
    display: none;
  }
}
html {
  -webkit-tap-highlight-color: transparent;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
a,
button,
input,
label,
div[onclick] {
  -webkit-tap-highlight-color: transparent;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
button:focus,
a:focus,
input:focus {
  outline: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}
html {
  background: #000;
}
html,
body {
  overscroll-behavior-y: none;
  -webkit-overflow-scrolling: touch;
}
body {
  background: #000;
}
nav {
  background: #0c0c0eeb;
}
@media (max-width: 820px) {
  nav {
    top: calc(8px + env(safe-area-inset-top));
    width: calc(100% - 20px);
    height: auto;
    min-height: 52px;
    padding: 8px 10px 8px 14px;
    border-radius: 28px;
  }
}
@media (max-width: 820px) {
  nav {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    border-radius: 0;
    padding: calc(8px + env(safe-area-inset-top)) 14px 10px;
    border: 0;
    border-bottom: 0;
    box-shadow: none;
    background: #08090bf0;
  }
  nav .nav-inner {
    width: 100%;
    justify-content: space-between;
  }
  .zm-menu-btn {
    background: #ffffff0f;
    border: 0;
    color: #fff;
    box-shadow: var(--zshade);
  }
  .zm-menu-btn:hover {
    background: #ffffff1f;
    border-color: #ffffff4d;
  }
  .zm-menu-btn svg {
    color: #c9ff5e;
  }
  .nav-logo-text {
    font-size: 14.5px;
  }
}
.hero h1 span {
  background: none !important;
  background-clip: initial !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: #fff !important;
  color: #fff !important;
}
@media (max-width: 820px) {
  nav {
    top: 0;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    max-width: none;
    border-radius: 0;
    border: 0;
    border-bottom: 0;
    padding: calc(8px + env(safe-area-inset-top)) 12px 8px;
    background: #08090bf0;
    box-shadow: var(--zshade);
  }
  nav .nav-actions {
    display: none !important;
  }
  .zm-menu-btn {
    margin-left: auto;
  }
}
@media (orientation: portrait), (max-width: 820px) {
  nav {
    top: 0;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    max-width: none;
    border-radius: 0;
    border: 0;
    border-bottom: 0;
    padding: calc(8px + env(safe-area-inset-top)) 12px 8px;
    background: #08090bf5;
    box-shadow: var(--zshade);
  }
  nav .nav-inner {
    width: 100%;
    justify-content: space-between;
  }
  nav .nav-links,
  nav .nav-actions {
    display: none !important;
  }
  .zm-menu-btn {
    margin-left: auto;
    display: inline-flex;
    background: #ffffff12;
    border: 0;
    color: #fff;
    box-shadow: var(--zshade);
  }
  .zm-menu-btn:hover {
    background: #ffffff24;
    border-color: #ffffff80;
  }
  .zm-menu-btn svg {
    color: #fff;
  }
}
.vid video {
  display: block;
}
@media (pointer: coarse), (orientation: portrait), (max-width: 900px) {
  nav {
    top: 0;
    left: 0;
    right: 0;
    transform: none;
    width: 100% !important;
    max-width: none !important;
    border-radius: 0;
    border: 0;
    border-bottom: 0;
    padding: calc(8px + env(safe-area-inset-top)) 12px 8px;
    background: #08090bf5;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    box-shadow: var(--zshade);
  }
  nav .nav-inner {
    width: 100%;
    justify-content: space-between;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  nav .nav-links,
  nav .nav-actions {
    display: none !important;
  }
  .zm-menu-btn {
    display: inline-flex !important;
    margin-left: auto;
    align-items: center;
    gap: 7px;
    padding: 12px 17px;
    border-radius: 999px;
    min-height: 42px;
    box-sizing: border-box;
    font-size: 12.5px;
    font-weight: 600;
    color: #fff;
    background: #ffffff12;
    border: 0;
    cursor: pointer;
    box-shadow: var(--zshade);
  }
  .zm-menu-btn svg {
    color: #fff;
  }
  nav .nav-logo {
    flex: none;
  }
}
@media (pointer: fine) and (min-width: 901px) {
  nav {
    display: flex;
  }
  .zm-menu-btn {
    display: none;
  }
}
@media (pointer: coarse), (orientation: portrait), (max-width: 900px) {
  #toast {
    top: calc(70px + env(safe-area-inset-top));
    bottom: auto;
    left: 50%;
    transform: translate(-50%) translateY(-18px) scale(0.97);
  }
  #toast.show {
    transform: translate(-50%) translateY(0) scale(1);
  }
}
#nav-discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 15px;
  border-radius: var(--pill);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: #5865f22e;
  border: 1px solid rgba(88, 101, 242, 0.55);
  white-space: nowrap;
  flex-shrink: 0;
  transition:
    background var(--dur-2),
    border-color var(--dur-2),
    transform var(--dur-2) var(--ease-out),
    box-shadow var(--dur-2);
}
#nav-discord-btn:hover {
  background: #5865f2;
  border-color: #5865f2;
  transform: translateY(-1px);
  box-shadow: 0 7px 20px #5865f26b;
}
#nav-discord-btn:active {
  transform: scale(0.97);
}
#nav-discord-btn svg {
  flex: none;
}
@media (max-width: 1200px) {
  #nav-discord-btn .nd-label {
    display: none;
  }
  #nav-discord-btn {
    padding: 0 11px;
  }
}
@keyframes zvSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes zvBadgeIn {
  0% {
    opacity: 0;
    transform: translateY(-5px) scale(0.94);
  }
  60% {
    opacity: 1;
    transform: translateY(0) scale(1.05);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.page {
  animation: none;
}
@keyframes zvSlotSweep {
  0% {
    transform: translate(-60%);
  }
  to {
    transform: translate(60%);
  }
}
@keyframes zvShimmer {
  0% {
    background-position: 180% 0;
  }
  to {
    background-position: -80% 0;
  }
}
:root {
  --zr-card: 24px;
  --zr-inset: 16px;
  --zr-ctl: 12px;
  --zr-pill: 999px;
  --zs-1: rgba(255, 255, 255, 0.03);
  --zs-2: rgba(255, 255, 255, 0.048);
  --zs-3: rgba(255, 255, 255, 0.072);
  --zshade:
    inset 0 0.5px 0 rgba(255, 255, 255, 0.055),
    inset 0 -0.5px 0 rgba(0, 0, 0, 0.55);
  --zelev: 0 1px 2px rgba(0, 0, 0, 0.55), 0 16px 40px rgba(0, 0, 0, 0.42);
  --z-ink: #f5f5f7;
  --z-ink-2: #a8a8ae;
  --z-ink-3: #8e8e96;
  --z-acc: #0a84ff;
  --z-acc-hi: #2997ff;
  --z-discord: #5865f2;
  --z-discord-hi: #4752c4;
  --z-ok: #30d158;
  --z-err: #ff453a;
}
.proc-terminal,
.drop-zone,
.sv-item {
  border: 0;
  box-shadow: var(--zshade);
}
.drop-zone,
.proc-terminal,
.sv-item {
  border-radius: var(--zr-inset);
  background: var(--zs-1);
}
.btn-run,
.btn-dl,
.zm-menu-btn {
  border: 0;
  border-radius: var(--zr-ctl);
  transition:
    background var(--dur-2) var(--ease-out),
    box-shadow var(--dur-2) var(--ease-out),
    transform var(--dur-2) var(--ease-out);
}
.btn-run:active,
.btn-dl:active,
.zm-menu-btn:active {
  transform: translateY(0.5px);
}
.btn-run,
.btn-dl {
  background: var(--z-ink);
  color: #0a0a0c;
  box-shadow:
    inset 0 0.5px #ffffff8c,
    0 1px 2px #00000080;
}
.btn-run:hover:not(:disabled),
.btn-dl:hover {
  background: #e8e8ed;
  box-shadow:
    inset 0 0.5px #ffffff8c,
    0 2px 6px #0000008c;
}
#nav-discord-btn {
  background: var(--z-discord);
  color: #fff;
  border: 0;
  border-radius: var(--zr-ctl);
  box-shadow:
    inset 0 0.5px #ffffff2e,
    0 1px 2px #00000073;
}
#nav-discord-btn:hover {
  background: var(--z-discord-hi);
  border: 0;
  box-shadow:
    inset 0 0.5px #ffffff2e,
    0 2px 6px #00000080;
  transform: translateY(0.5px);
}
.drop-zone:before,
.drop-zone:after {
  content: none;
}
.drop-zone {
  border: 0;
  border-radius: var(--zr-inset);
  background: var(--zs-1);
  box-shadow: var(--zshade);
  transition:
    background var(--dur-2) var(--ease-out),
    box-shadow var(--dur-2) var(--ease-out);
}
.drop-zone:hover {
  background: var(--zs-2);
  transform: none;
}
.drop-zone.drag-over {
  background: var(--zs-3);
  border: 0;
  box-shadow:
    inset 0 0.5px #ffffff1a,
    inset 0 0 0 2px var(--z-acc-hi);
}
.drop-zone.has-file {
  border: 0;
  background: var(--zs-2);
  box-shadow: var(--zshade);
}
.drop-zone:focus-visible {
  outline: none;
  border: 0;
  box-shadow:
    var(--zshade),
    0 0 0 2px var(--z-acc-hi);
}
.drop-icon {
  width: auto;
  height: auto;
  margin: 0 0 14px;
  background: none;
  border: 0;
  box-shadow: none;
  animation: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--z-ink-3);
}
#dropTitle {
  font-weight: 500;
  color: var(--z-ink);
}
#dropSub {
  color: var(--z-ink-3);
}
[class*="-ic"] svg,
[class*="-icon"] svg,
.nd-label + svg {
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (prefers-reduced-motion: reduce) {
  .btn-run,
  .btn-dl,
  .zm-menu-btn,
  .drop-zone,
  #nav-discord-btn {
    transition: none;
  }
  #nav-discord-btn:hover {
    transform: none;
  }
}
@media (prefers-contrast: more) {
  :root {
    --zs-1: rgba(255, 255, 255, 0.06);
    --zs-2: rgba(255, 255, 255, 0.09);
    --zs-3: rgba(255, 255, 255, 0.13);
    --z-ink-2: #d2d2d8;
    --z-ink-3: #c2c2ca;
    --zshade:
      inset 0 0.5px 0 rgba(255, 255, 255, 0.16),
      inset 0 -0.5px 0 rgba(0, 0, 0, 0.7);
  }
}
:root {
  --zr-card: 28px;
  --zr-inset: 20px;
  --zr-ctl: 14px;
  --zs-1: rgba(255, 255, 255, 0.05);
  --zs-2: rgba(255, 255, 255, 0.075);
  --zs-3: rgba(255, 255, 255, 0.11);
  --zshade:
    inset 0 0.5px 0 rgba(255, 255, 255, 0.11),
    inset 0 -0.5px 0 rgba(0, 0, 0, 0.6);
  --zelev: 0 1px 2px rgba(0, 0, 0, 0.55), 0 20px 48px rgba(0, 0, 0, 0.5);
}
.proc-terminal,
.sv-item {
  border-radius: var(--zr-card);
  background: var(--zs-1);
  box-shadow: var(--zshade), var(--zelev);
}
.drop-zone {
  border-radius: var(--zr-inset);
}
:root {
  --zr-card: 32px;
  --zr-inset: 24px;
  --zr-ctl: 20px;
}
.btn-run,
.btn-dl,
.zm-menu-btn {
  border-radius: var(--zr-ctl);
}
.zm-menu-btn {
  border-radius: 999px;
}
.zm-menu-btn {
  border-radius: var(--zr-ctl);
}
.lib-goto,
.lib-item,
.lib-item-ic {
  border: 0;
  box-shadow: var(--zshade);
}
.lib-item {
  border-radius: var(--zr-inset);
}
.lib-goto,
.lib-item-ic {
  border-radius: var(--zr-ctl);
  box-shadow: var(--zshade);
}
:root {
  --zr-card: 36px;
  --zr-inset: 28px;
  --zr-ctl: 22px;
}
.nav-discord-btn,
.zm-menu-btn,
.nav-link,
.btn {
  border: 0;
  border-radius: var(--zr-ctl);
}
.vid {
  border: 0;
  border-radius: var(--zr-inset);
  background: var(--zs-1);
  box-shadow: var(--zshade), var(--zelev);
}
nav,
#nav-discord-btn,
.zm-menu-btn {
  border: 0;
}
.zm-menu-btn {
  background: var(--zs-2);
  color: var(--z-ink);
  box-shadow: var(--zshade);
}
#nav-discord-btn {
  box-shadow: var(--zshade);
}
@keyframes actIn {
  0% {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
button.lib-item-ic {
  padding: 0;
  font: inherit;
  cursor: pointer;
  color: var(--text-2);
  transition:
    background var(--dur-2) var(--ease-out),
    color var(--dur-2) var(--ease-out),
    transform var(--dur-2) var(--ease-out);
}
button.lib-item-ic:hover {
  background: #ffffff24;
  color: var(--text-1);
  transform: scale(1.07);
}
.lib-item-tx b[data-lib-pv] {
  cursor: pointer;
  transition: color var(--dur-2) var(--ease-out);
}
.lib-item-tx b[data-lib-pv]:hover {
  color: var(--green);
}
.libpv {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.libpv[hidden] {
  display: none;
}
.libpv-bg {
  position: absolute;
  inset: 0;
  background: #000000b8;
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
}
.libpv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(560px, 94vw);
  max-height: calc(100vh - 40px);
  overflow: hidden;
  border-radius: var(--zr-card);
  background: #121214ed;
  box-shadow:
    var(--zshade),
    0 30px 90px #000000b3;
  animation: libpvIn 0.26s var(--ease-out) both;
}
@keyframes libpvIn {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.libpv-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px 12px;
}
.libpv-id {
  flex: 1;
  min-width: 0;
}
.libpv-id b {
  display: block;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--text-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.libpv-id span {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--text-4);
  font-variant-numeric: tabular-nums;
}
.libpv-x {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: var(--zr-ctl);
  background: var(--zs-2);
  box-shadow: var(--zshade);
  color: var(--text-2);
  cursor: pointer;
  transition:
    background var(--dur-2) var(--ease-out),
    color var(--dur-2) var(--ease-out);
}
.libpv-x:hover {
  background: #ffffff1f;
  color: var(--text-1);
}
.libpv-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  min-height: 0;
}
.libpv-stage video {
  display: block;
  width: 100%;
  max-height: min(62vh, 560px);
  border-radius: var(--zr-inset);
  background: #000;
  box-shadow: var(--zshade);
}
.libpv-foot {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 18px 18px;
}
.libpv-foot .lib-mini {
  flex: 1 1 auto;
  justify-content: center;
}
@media (max-width: 640px) {
  .libpv {
    padding: 12px;
    align-items: flex-end;
  }
  .libpv-card {
    width: 100%;
    max-height: calc(100vh - 24px);
  }
  .libpv-stage video {
    max-height: 52vh;
  }
}
@media (prefers-reduced-motion: reduce) {
  .libpv-card {
    animation: none;
  }
  button.lib-item-ic:hover {
    transform: none;
  }
}
.nav-logo-mark {
  border-radius: 0;
}
.nav-logo-mark {
  width: 22px;
  height: 22px;
}
@keyframes zmUmSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Mobile layout overrides for the current compact header and optimizer panel. */
@media (max-width: 640px) {
  html,
  body {
    min-width: 320px;
    height: auto;
    min-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: auto;
    touch-action: pan-y;
  }

  nav,
  nav:hover {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 10px 0 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--border) !important;
    border-radius: 0 !important;
    transform: none !important;
    box-shadow: none !important;
  }

  nav .nav-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 38px 38px;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 14px !important;
    padding: 0 !important;
    gap: 2px 8px !important;
    align-items: center !important;
  }

  nav .nav-logo {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    gap: 7px;
  }

  nav .nav-logo-mark {
    width: 20px;
    height: 20px;
  }

  nav .nav-logo-text {
    font-size: 14px;
  }

  nav .nav-links {
    position: static !important;
    display: flex !important;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    gap: 8px !important;
    width: 100%;
    transform: none !important;
  }

  nav .nav-link {
    padding: 7px 12px !important;
    font-size: 12px !important;
  }

  nav .nav-actions {
    display: flex !important;
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
    gap: 6px !important;
    margin: 0;
  }

  nav .nav-actions > *,
  #nav-discord-btn,
  .nav-social-btn,
  .theme-toggle {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    justify-content: center;
  }

  #nav-discord-btn .nd-label {
    display: none !important;
  }

  .nav-social-btn img {
    width: 18px;
    height: 18px;
  }

  nav .zm-menu-btn {
    display: none !important;
  }

  .hero.hero-slim {
    min-height: 0 !important;
    padding: 46px 16px 24px !important;
  }

  .hero.hero-slim h1 {
    max-width: 100%;
    font-size: clamp(34px, 9vw, 46px) !important;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  #patcher-section {
    padding: 0 0 28px !important;
  }

  #patcher-section > .container,
  .patcher-wrap,
  #libSection .container {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
  }

  #patcher-section > .container,
  #libSection .container {
    padding-right: 14px;
    padding-left: 14px;
  }

  #panel-engine .drop-card,
  #processingView.drop-card {
    padding: 12px !important;
    border-radius: 14px;
  }

  .wx-engines {
    margin-bottom: 12px;
  }

  .wx-engine {
    min-height: 40px !important;
    padding: 7px 12px !important;
    font-size: 12px;
  }

  .wx-engine-tag {
    margin-left: 5px;
    font-size: 9px;
  }

  .drop-zone {
    min-height: 150px !important;
    padding: 28px 12px !important;
  }

  #dropTitle {
    font-size: 15px;
  }

  #dropSub {
    font-size: 11px;
  }

  .scan-view {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 12px;
  }

  .scan-view .sv-item:last-child {
    grid-column: 1 / -1;
  }

  .sv-item {
    min-width: 0;
    min-height: 58px;
    padding: 9px 6px !important;
  }

  .sv-val {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .action-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .action-row .btn-run {
    grid-column: 1 / -1;
  }

  .action-row button {
    min-width: 0;
    min-height: 44px;
  }

  .lib-head {
    align-items: flex-start;
  }

  .lib-sub,
  .lib-note {
    font-size: 11px;
  }

  .lib-item {
    min-width: 0;
    gap: 8px;
    padding: 9px !important;
  }

  .lib-acts {
    gap: 4px;
  }

  .lib-mini {
    min-width: 34px;
    min-height: 34px;
    justify-content: center;
    padding: 6px !important;
  }

  .proc-bar {
    gap: 8px;
    padding: 10px;
  }

  .proc-path {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .proc-log {
    max-width: 100%;
    overflow-x: auto;
  }
}

@media (max-width: 360px) {
  nav .nav-inner {
    margin-right: 10px !important;
    margin-left: 10px !important;
    gap: 2px 5px !important;
  }

  nav .nav-actions {
    gap: 4px !important;
  }

  nav .nav-actions > *,
  #nav-discord-btn,
  .nav-social-btn,
  .theme-toggle {
    width: 31px !important;
    min-width: 31px !important;
    height: 31px !important;
    min-height: 31px !important;
  }

  .wx-engine {
    padding-right: 9px !important;
    padding-left: 9px !important;
    font-size: 11px;
  }
}
