@charset "UTF-8";

:root {
  --bg: #fbfbfd;
  --bg-alt: #f5f5f7;
  --card: #ffffff;
  --card-muted: #f7f7f9;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --line: rgba(0, 0, 0, .09);
  --line-strong: rgba(0, 0, 0, .14);
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-soft: rgba(0, 113, 227, .11);
  --success: #248a3d;
  --success-soft: rgba(36, 138, 61, .11);
  --danger: #c9342b;
  --danger-soft: rgba(201, 52, 43, .10);
  --radius: 22px;
  --small-radius: 12px;
  --nav-bg: rgba(251, 251, 253, .78);
  --shadow: 0 28px 80px rgba(0, 0, 0, .08), 0 0 0 1px rgba(0, 0, 0, .04);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #0b0b0d;
    --card: #1c1c1e;
    --card-muted: #242426;
    --text: #f5f5f7;
    --text-2: #a1a1a6;
    --text-3: #86868b;
    --line: rgba(255, 255, 255, .12);
    --line-strong: rgba(255, 255, 255, .2);
    --accent: #2997ff;
    --accent-hover: #55aaff;
    --accent-soft: rgba(41, 151, 255, .18);
    --success: #30d158;
    --success-soft: rgba(48, 209, 88, .16);
    --danger: #ff453a;
    --danger-soft: rgba(255, 69, 58, .16);
    --nav-bg: rgba(22, 22, 23, .78);
    --shadow: 0 28px 80px rgba(0, 0, 0, .62), 0 0 0 1px rgba(255, 255, 255, .08);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; -webkit-text-size-adjust: 100%; }
body {
  min-width: 320px;
  overflow-x: hidden;
  margin: 0;
  background:
    radial-gradient(circle at 12% -8%, rgba(0, 113, 227, .08), transparent 31rem),
    radial-gradient(circle at 92% 18%, rgba(255, 149, 0, .06), transparent 28rem),
    var(--bg);
  color: var(--text);
  font: 15px/1.47 -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", system-ui, sans-serif;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
}
body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: .22;
  background-image: radial-gradient(currentColor .45px, transparent .45px);
  background-size: 7px 7px;
  color: rgba(0, 0, 0, .09);
}
@media (prefers-color-scheme: dark) { body::after { color: rgba(255, 255, 255, .08); } }

button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button:disabled { cursor: wait; opacity: .55; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
[hidden] { display: none !important; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.layout { min-height: 100dvh; }
.sidebar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 max(22px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid var(--line);
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand small {
  display: block;
  margin-top: -1px;
  color: var(--text-3);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.8px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 5px 13px rgba(0, 113, 227, .24);
}
.brand-mark svg { width: 18px; height: 18px; stroke-width: 1.9; }
.sidebar-content {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}
.sidebar .eyebrow, .side-note { display: none; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 9px;
  border-radius: 8px;
  color: var(--text-2);
  font-size: 13px;
}
.nav-link:hover { color: var(--text); text-decoration: none; background: var(--accent-soft); }
.nav-link.selected { color: var(--text); font-weight: 600; }
.nav-link svg { width: 15px; height: 15px; }
.nav-link > span:last-child {
  color: var(--text-3);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.sidebar-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: 18px;
  color: var(--text-3);
  font-size: 11px;
  white-space: nowrap;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px var(--success-soft);
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 35px;
  min-height: 35px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text-2);
}
.icon-button:hover { color: var(--text); background: var(--accent-soft); }
.icon-button svg { width: 17px; height: 17px; }
.sidebar-foot .icon-button { margin-left: 2px; }

main { width: min(1020px, calc(100% - 44px)); margin: 0 auto; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  font-size: 13px;
}
.top-tools { display: flex; align-items: center; gap: 14px; }
.top-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.top-tag svg { width: 14px; height: 14px; color: var(--success); }
.language-switcher {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card-muted);
}
.language-switcher button {
  min-width: 31px;
  min-height: 25px;
  padding: 2px 7px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font-size: 11px;
}
.language-switcher button:hover, .language-switcher button.selected { background: var(--card); color: var(--text); box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }

.collect-section { padding: 76px 0 0; }
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  min-height: 280px;
  overflow: hidden;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--text-2);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 1.8px;
}
.short-line { display: inline-block; width: 23px; height: 1px; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 580px;
  margin-bottom: 19px;
  color: var(--text);
  font-size: clamp(48px, 7vw, 78px);
  font-weight: 750;
  letter-spacing: -.055em;
  line-height: 1.04;
}
.accent-word { position: relative; z-index: 0; white-space: nowrap; }
.underline {
  position: absolute;
  right: -4%;
  bottom: 4px;
  left: -4%;
  z-index: -1;
  height: 13px;
  border-radius: 999px;
  background: var(--accent-soft);
  transform: rotate(-2deg);
}
.hero-description { margin-bottom: 0; color: var(--text-2); font-size: 17px; line-height: 1.5; }
.mobile-break { display: none; }
.hero-art {
  position: relative;
  width: 290px;
  height: 240px;
  flex-shrink: 0;
}
.orbit {
  position: absolute;
  top: 34px;
  left: 22px;
  width: 245px;
  height: 155px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transform: rotate(-24deg);
}
.orbit-two { top: 13px; left: 49px; width: 193px; height: 212px; transform: rotate(38deg); }
.floating-ticket {
  position: absolute;
  top: 25px;
  left: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 136px;
  height: 178px;
  padding: 15px 9px;
  border: 1px solid rgba(0, 113, 227, .22);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(0, 113, 227, .12));
  box-shadow: 18px 20px 45px rgba(0, 113, 227, .13), 0 0 0 1px rgba(255, 255, 255, .45) inset;
  transform: rotate(10deg);
  animation: ticket-in .8s ease-out both;
}
.floating-ticket > span { color: var(--text-3); font-size: 7px; letter-spacing: 1.7px; }
.floating-ticket > svg { width: 68px; height: 68px; color: var(--accent); stroke-width: 1.15; }
.floating-ticket .ticket-bottom { width: 100%; padding-top: 11px; border-top: 1px dashed var(--line-strong); text-align: center; letter-spacing: 1.25px; }
.art-star { position: absolute; top: 8px; right: 13px; color: var(--accent); font-size: 53px; line-height: 1; opacity: .72; transform: rotate(-10deg); }
.art-label { position: absolute; top: 2px; left: 2px; color: var(--text-3); font-size: 17px; font-style: italic; font-weight: 600; line-height: 1.15; transform: rotate(-8deg); }
.art-caption { position: absolute; right: 0; bottom: 5px; color: var(--text-3); font-size: 7px; letter-spacing: 1.7px; transform: rotate(-5deg); }

.download-card {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--card) 94%, transparent);
  box-shadow: var(--shadow);
  animation: reveal .55s .08s both;
}
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.step-label { color: var(--text); font-size: 12px; font-weight: 650; letter-spacing: .02em; }
.tiny-note { color: var(--text-3); font-size: 11px; }
.url-field {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 60px;
  padding: 8px 11px 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--small-radius);
  background: var(--card-muted);
  transition: border-color .18s, box-shadow .18s;
}
.url-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.url-field > svg { width: 20px; height: 20px; color: var(--accent); }
.url-field input { min-width: 0; width: 100%; padding: 8px 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 16px; }
.url-field input::placeholder { color: var(--text-3); }
.paste-button {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--accent);
  font-size: 12px;
  white-space: nowrap;
}
.paste-button:hover { border-color: var(--accent); background: var(--accent-soft); }
.supported { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 13px; color: var(--text-3); font-size: 11px; }
.supported > span:first-child { color: var(--text-2); font-weight: 600; }
.supported i { color: var(--line-strong); font-style: normal; }
.and-more { margin-left: auto; color: var(--accent); }
.card-divider { height: 1px; margin: 25px 0 19px; background: var(--line); }
.text-button { min-height: 31px; padding: 4px 0; border: 0; background: none; color: var(--accent); font-size: 12px; }
.text-button:hover { text-decoration: underline; }
.text-button span + span { margin-left: 4px; }
.quality-heading { margin-bottom: 10px; }
.quality-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; padding: 0; margin: 0; border: 0; }
.quality-option {
  position: relative;
  min-width: 0;
  min-height: 84px;
  padding: 16px 12px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .18s, background .18s, transform .18s;
}
.quality-option:hover { border-color: var(--accent); transform: translateY(-1px); }
.quality-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.quality-option:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.quality-option input { position: absolute; opacity: 0; pointer-events: none; }
.quality-name { display: flex; align-items: center; gap: 5px; padding-right: 14px; color: var(--text); font-size: 13px; font-weight: 650; white-space: nowrap; }
.quality-name b { padding: 2px 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 8px; font-weight: 600; letter-spacing: .03em; }
.quality-name svg { width: 14px; height: 14px; color: var(--accent); }
.quality-detail { display: block; margin-top: 10px; color: var(--text-3); font-size: 10px; }
.radio-dot { position: absolute; top: 17px; right: 11px; width: 11px; height: 11px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--card); }
.quality-option:has(input:checked) .radio-dot { border: 3px solid var(--accent); }
.preview-panel { margin-top: 18px; padding: 15px; border-radius: 11px; background: var(--accent-soft); line-height: 1.7; }
.preview-panel strong { display: block; overflow-wrap: anywhere; color: var(--text); font-size: 13px; }
.preview-panel p { margin: 4px 0 0; color: var(--text-2); font-size: 11px; }
.inline-error { margin: 15px 0 0; padding: 12px 14px; border: 1px solid rgba(201, 52, 43, .24); border-radius: 10px; background: var(--danger-soft); color: var(--danger); font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; white-space: pre-wrap; }
.submit-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 25px; }
.submit-row p { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--text-3); font-size: 11px; }
.submit-row p svg { width: 14px; height: 14px; color: var(--success); }
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  transition: background .16s, transform .16s, box-shadow .16s;
}
.primary-button:hover { background: var(--accent-hover); box-shadow: 0 8px 20px rgba(0, 113, 227, .22); transform: translateY(-1px); }
.primary-button:active { transform: scale(.98); }
.primary-button svg { width: 19px; height: 19px; }
.download-note { margin: 14px 0 0; color: var(--text-3); font-size: 10px; line-height: 1.7; text-align: center; }

.library-section { min-height: 260px; padding: 85px 0 0; }
.library-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.library-header .eyebrow { margin-bottom: 9px; font-size: 10px; }
h2 { color: var(--text); font-size: 34px; font-weight: 750; letter-spacing: -.045em; line-height: 1.1; }
.library-header h2 { display: flex; align-items: center; gap: 9px; margin-bottom: 0; }
.library-header h2 > span:last-child { display: inline-flex; align-items: center; justify-content: center; min-width: 27px; height: 27px; border: 1px solid var(--line); border-radius: 999px; background: var(--card-muted); color: var(--text-2); font-size: 11px; font-weight: 600; letter-spacing: 0; }
.disk-status { display: flex; align-items: center; gap: 8px; padding-bottom: 4px; color: var(--text-3); font-size: 11px; }
.filter-tabs { display: flex; gap: 25px; margin-top: 24px; border-bottom: 1px solid var(--line); }
.filter-tabs button { position: relative; min-height: 43px; padding: 8px 1px 12px; border: 0; background: none; color: var(--text-3); font-size: 12px; }
.filter-tabs button:hover, .filter-tabs button.active { color: var(--text); }
.filter-tabs button.active { font-weight: 650; }
.filter-tabs button.active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; border-radius: 2px; background: var(--accent); content: ""; }
.filter-tabs button span { margin-left: 3px; color: var(--text-3); font-size: 10px; }
.empty-state { padding: 53px 12px 58px; text-align: center; }
.empty-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 17px; border: 1px solid var(--line); border-radius: 14px; background: var(--accent-soft); color: var(--accent); transform: rotate(-6deg); }
.empty-icon svg { width: 23px; height: 23px; }
.empty-state h3 { margin-bottom: 8px; color: var(--text); font-size: 15px; font-weight: 650; }
.empty-state p { margin-bottom: 0; color: var(--text-2); font-size: 12px; }
.empty-state > span { display: block; margin-top: 21px; color: var(--text-3); font-size: 8px; letter-spacing: 1.5px; }
.job-card { display: grid; grid-template-columns: 43px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 21px 0; border-bottom: 1px solid var(--line); animation: reveal .35s ease-out; }
.job-symbol { display: grid; place-items: center; width: 43px; height: 46px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); }
.job-symbol svg { width: 22px; height: 22px; }
.job-title { display: -webkit-box; overflow: hidden; margin: 0; color: var(--text); font-size: 13px; font-weight: 600; line-height: 1.55; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.job-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 8px; color: var(--text-3); font-size: 10px; }
.status { padding: 3px 7px; border-radius: 999px; background: var(--success-soft); color: var(--success); font-size: 9px; white-space: nowrap; }
.status.failed { background: var(--danger-soft); color: var(--danger); }
.status.queued { background: var(--card-muted); color: var(--text-3); }
.status.expired { background: var(--card-muted); color: var(--text-3); }
.job-actions { display: flex; align-items: center; gap: 4px; }
.save-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 37px; padding: 0 12px; border: 1px solid var(--accent); border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 600; white-space: nowrap; }
.save-button:hover { background: var(--accent); color: #fff; text-decoration: none; }
.save-button svg { width: 15px; height: 15px; }
.retry-button { font: inherit; cursor: pointer; }
.progress-track { height: 4px; margin-top: 14px; overflow: hidden; border-radius: 4px; background: var(--card-muted); }
.progress-fill { height: 100%; min-width: 2px; border-radius: 4px; background: var(--accent); transition: width .5s; }
.progress-detail { display: flex; justify-content: space-between; gap: 12px; margin-top: 7px; color: var(--text-3); font-size: 9px; }
.job-error { margin: 10px 0 0; padding: 10px 12px; border-radius: 9px; background: var(--danger-soft); color: var(--danger); font-size: 10px; line-height: 1.7; overflow-wrap: anywhere; white-space: pre-wrap; }
.job-error summary { cursor: pointer; }
.job-error p { margin: 8px 0 0; }

footer { display: flex; justify-content: space-between; gap: 10px; margin-top: 27px; padding: 23px 0 calc(29px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--text-3); font-size: 10px; letter-spacing: .02em; }
footer i { padding: 0 7px; color: var(--line-strong); font-style: normal; }
footer a { white-space: nowrap; }
.login-dialog { position: relative; width: min(440px, calc(100% - 36px)); padding: 39px; border: 1px solid var(--line-strong); border-radius: 24px; background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.login-dialog::backdrop { background: rgba(0, 0, 0, .42); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.login-dialog .brand-mark { width: 38px; height: 38px; margin-bottom: 30px; border-radius: 11px; }
.login-dialog .brand-mark svg { width: 23px; height: 23px; }
.login-language-switcher { position: absolute; top: 24px; right: 24px; }
.login-dialog .eyebrow { margin-bottom: 16px; font-size: 10px; }
.login-dialog h2 { margin-bottom: 0; font-size: 43px; }
.login-description { margin: 16px 0 25px; color: var(--text-2); font-size: 13px; line-height: 1.7; }
.login-dialog label { display: block; margin-bottom: 9px; color: var(--text-2); font-size: 12px; }
.login-dialog input { width: 100%; min-height: 50px; padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--card-muted); color: var(--text); font-size: 16px; }
.login-dialog .primary-button { width: 100%; margin-top: 17px; }
.login-dialog small { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 22px; color: var(--text-3); font-size: 10px; }
.login-dialog small svg { width: 12px; height: 12px; color: var(--success); }
.toast { position: fixed; bottom: calc(24px + env(safe-area-inset-bottom)); left: 50%; z-index: 60; width: max-content; max-width: calc(100% - 32px); padding: 13px 22px; transform: translateX(-50%); border-radius: 999px; background: var(--text); color: var(--bg); box-shadow: 0 9px 35px rgba(0, 0, 0, .25); font-size: 12px; line-height: 1.7; text-align: center; }
.busy::after { display: inline-block; width: 12px; height: 12px; margin-left: 9px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; content: ""; vertical-align: middle; animation: spin .8s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ticket-in { from { opacity: 0; transform: translateY(14px) rotate(4deg); } to { opacity: 1; transform: translateY(0) rotate(10deg); } }
@keyframes reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 800px) {
  .sidebar { min-height: 55px; padding: 0 20px; }
  .sidebar-content { gap: 5px; margin-left: auto; }
  .nav-link { min-height: 32px; padding: 5px 7px; font-size: 11px; }
  .nav-link svg, .nav-link > span:last-child { display: none; }
  .sidebar-foot { margin-left: 7px; font-size: 0; }
  .sidebar-foot .live-dot, .workspace-label { display: none; }
  .sidebar-foot .icon-button { min-width: 32px; min-height: 32px; margin-left: 0; }
  main { width: min(100% - 36px, 680px); }
  .topbar { min-height: 58px; }
  .collect-section { padding-top: 50px; }
  .hero { gap: 18px; min-height: 245px; }
  h1 { font-size: clamp(44px, 8vw, 64px); }
  .hero-art { width: 220px; transform: scale(.82); transform-origin: right center; }
}

@media (max-width: 560px) {
  .sidebar { padding: 0 16px; }
  .brand { font-size: 14px; }
  .brand small { font-size: 7px; letter-spacing: 1.5px; }
  .brand-mark { width: 25px; height: 25px; }
  .brand-mark svg { width: 16px; height: 16px; }
  .nav-link { display: none; }
  .sidebar-content { margin-left: auto; }
  .sidebar-foot { display: none; }
  main { width: min(100% - 32px, 500px); }
  .topbar { min-height: 52px; font-size: 11px; }
  .top-tools { gap: 8px; }
  .top-tag { font-size: 10px; }
  .top-tag svg { width: 13px; height: 13px; }
  .language-switcher button { min-width: 28px; min-height: 24px; padding: 2px 5px; }
  .collect-section { padding-top: 37px; }
  .hero { display: block; min-height: 249px; overflow: visible; }
  .hero .eyebrow { margin-bottom: 15px; font-size: 9px; letter-spacing: 1.4px; }
  h1 { max-width: 290px; margin-bottom: 16px; font-size: 51px; letter-spacing: -.065em; }
  .hero-description { max-width: 220px; font-size: 14px; }
  .mobile-break { display: block; }
  .hero-art { position: absolute; top: 24px; right: -28px; width: 255px; transform: scale(.57); transform-origin: right top; }
  .art-label { left: 8px; }
  .download-card { margin-top: 22px; padding: 21px 17px 20px; border-radius: 18px; }
  .card-heading { margin-bottom: 12px; }
  .step-label { font-size: 11px; }
  .tiny-note { font-size: 9px; }
  .url-field { min-height: 55px; padding: 7px 8px 7px 11px; gap: 8px; }
  .url-field > svg { width: 17px; height: 17px; }
  .url-field input { font-size: 16px; }
  .url-field input::placeholder { font-size: 11px; }
  .paste-button { min-height: 36px; padding: 8px 10px; font-size: 10px; }
  .supported { gap: 6px; row-gap: 8px; font-size: 9px; }
  .and-more { margin-left: 0; }
  .card-divider { margin: 20px 0 14px; }
  .quality-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .quality-option { min-height: 76px; padding: 14px 11px 12px; }
  .quality-name { font-size: 12px; }
  .quality-detail { margin-top: 8px; font-size: 9px; }
  .submit-row { flex-direction: column-reverse; align-items: stretch; gap: 12px; margin-top: 20px; }
  .submit-row p { justify-content: center; font-size: 9px; }
  .primary-button { justify-content: center; min-height: 51px; }
  .download-note { padding: 0 4px; font-size: 9px; }
  .library-section { padding-top: 62px; }
  .library-header { align-items: flex-start; }
  .library-header h2 { font-size: 29px; }
  .library-header .eyebrow { font-size: 9px; }
  .disk-status { padding-top: 25px; font-size: 9px; }
  .filter-tabs { gap: 23px; margin-top: 18px; }
  .filter-tabs button { font-size: 11px; }
  .job-card { grid-template-columns: 36px minmax(0, 1fr); gap: 10px; padding: 18px 0; }
  .job-symbol { width: 36px; height: 40px; border-radius: 10px; }
  .job-symbol svg { width: 19px; height: 19px; }
  .job-title { font-size: 12px; }
  .job-meta { gap: 7px; font-size: 9px; }
  .job-actions { grid-column: 2; justify-content: flex-end; }
  .empty-state { padding: 39px 10px 43px; }
  footer { margin-top: 17px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); font-size: 8px; }
  footer i { padding: 0 4px; }
  .login-dialog { padding: 30px 26px; }
  .login-dialog h2 { font-size: 39px; }
}

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