:root {
  --bg: #05081f;
  --panel: rgba(16, 23, 59, 0.78);
  --panel-strong: rgba(19, 27, 72, 0.92);
  --panel-soft: rgba(13, 20, 52, 0.72);
  --border: rgba(172, 121, 255, 0.28);
  --text: #f4f1ff;
  --muted: #a7abd1;
  --purple: #8a4dff;
  --purple-light: #b86dff;
  --green: #68f0a3;
  --blue: #56b5ff;
  --gold: #ffbf4a;
  --danger: #ff6d88;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(157, 103, 255, 0.72) rgba(11, 15, 39, 0.82);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: radial-gradient(circle at 15% 15%, rgba(126, 80, 255, 0.16), transparent 34%), radial-gradient(circle at 85% 20%, rgba(0, 164, 255, 0.12), transparent 28%), radial-gradient(circle at 55% 60%, rgba(143, 76, 255, 0.12), transparent 36%), linear-gradient(180deg, #04071a 0%, #070d2d 44%, #050817 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  background-image: radial-gradient(circle at 8% 22%, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.5px), radial-gradient(circle at 32% 7%, rgba(255, 255, 255, 0.75) 0 1px, transparent 1.4px), radial-gradient(circle at 70% 17%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.4px), radial-gradient(circle at 94% 36%, rgba(255, 255, 255, 0.8) 0 1px, transparent 1.6px), radial-gradient(circle at 26% 82%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.3px);
}
body::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
body::-webkit-scrollbar-track {
  background: rgba(11, 15, 39, 0.82);
}
body::-webkit-scrollbar-thumb {
  border: 2px solid rgba(11, 15, 39, 0.82);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(116, 73, 255, 0.9), rgba(179, 98, 255, 0.92));
}
body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(132, 92, 255, 0.95), rgba(191, 118, 255, 0.95));
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

button,
input,
label {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  position: relative;
  width: min(1268px, calc(100% - 56px));
  margin: 0 auto;
  padding: 16px 0 22px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 800;
}
.brand-mark {
  width:60px;
  object-fit: contain;
}
.brand-text span {
  color: var(--purple-light);
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-link,
.launch-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 36px;
  padding: 8px 12px;
  color: #e7ddff;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1;
  transition: opacity 0.2s ease;
}
.nav-link img,
.launch-button img {
  display: block;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin-top: 3px;
  object-fit: contain;
}
.nav-link:hover {
  opacity: 0.8;
}

.launch-button {
  padding: 0 14px;
  border: 1px solid rgba(170, 85, 255, 0.72);
  border-radius: 6px;
  color: #f0d8ff;
  background: linear-gradient(180deg, rgba(16, 15, 44, 0.94), rgba(10, 10, 32, 0.96));
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 0 0 1px rgba(197, 121, 255, 0.14),
    0 0 0 1px rgba(130, 57, 223, 0.12),
    0 10px 24px rgba(68, 18, 118, 0.28);
}
.launch-button:hover {
  transform: translateY(-1px);
  border-color: rgba(194, 113, 255, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(214, 140, 255, 0.18),
    0 0 18px rgba(146, 69, 255, 0.18),
    0 12px 28px rgba(77, 24, 134, 0.3);
  filter: brightness(1.08);
}
.launch-button:hover::before {
  opacity: 1;
  transform: translateX(34%);
}

.nav-toast {
  --toast-enter-x: 28px;
  --toast-exit-x: 36px;
  position: fixed;
  top: 74px;
  right: 28px;
  z-index: 40;
  width: min(300px, calc(100vw - 28px));
  padding: 13px 14px 12px;
  border: 1px solid rgba(173, 111, 255, 0.34);
  border-radius: 12px;
  background:
    radial-gradient(circle at 14% 18%, rgba(134, 84, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(16, 21, 57, 0.96), rgba(8, 12, 32, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 40px rgba(0, 0, 0, 0.26);
  opacity: 0;
  transform: translate3d(var(--toast-enter-x), 0, 0) scale(0.97);
  transform-origin: top right;
  pointer-events: none;
  will-change: transform, opacity;
  transition:
    opacity 0.24s ease,
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-toast.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.nav-toast.is-entering {
  transition: none;
  animation: nav-toast-slide-in 0.36s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.nav-toast.is-hiding {
  opacity: 0;
  transform: translate3d(var(--toast-exit-x), 0, 0) scale(0.95);
}

.nav-toast-title {
  display: block;
  margin: 0;
  color: #f2deff;
  font-size: 0.86rem;
  font-weight: 700;
}

.nav-toast-message {
  margin: 6px 0 0;
  color: rgba(223, 228, 255, 0.84);
  font-size: 0.76rem;
  line-height: 1.45;
}

@keyframes nav-toast-slide-in {
  from {
    opacity: 0;
    transform: translate3d(var(--toast-enter-x), 0, 0) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-toast {
    transition: opacity 0.12s linear;
    transform: none;
  }

  .nav-toast.is-entering {
    animation: none;
  }

  .nav-toast.is-visible,
  .nav-toast.is-hiding {
    transform: none;
  }
}

.hero-copy {
  width: min(740px, 100%);
  margin: 0 auto 18px;
  overflow: visible;
  text-align: center;
}
.hero-copy h1 {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.08em;
  margin: 0 auto;
  font-size: clamp(1.74rem, 3.05vw, 2.7rem);
  line-height: 1.16;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.04em;
  white-space: nowrap;
  overflow: visible;
  padding: 0.08em 0.22em 0.14em 0.04em;
  text-shadow: 0 16px 30px rgba(0, 0, 0, 0.36);
}
.hero-copy h1 .accent-word {
  display: inline-flex;
  position: relative;
  flex: 0 0 auto;
  margin-left: 0;
  margin-right: 0.03em;
  padding-right: 0.2em;
  color: transparent;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #a851ff 0%, #7f60ff 44%, #70ffb7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-copy h1 .accent-word::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 1%;
  bottom: -4px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(168, 84, 255, 0.15), #7ef4a9);
}
.hero-copy p {
  margin: 10px 0 0;
  color: #a7abd1;
  font-size: 0.8rem;
}

.upload-card,
.task-board,
.result-summary-grid,
.result-grid {
  position: relative;
  z-index: 1;
}

.upload-card {
  position: relative;
  display: grid;
  grid-template-columns: 430px 1fr;
  align-items: center;
  gap: 8px;
  width: min(1188px, calc(100% - 34px));
  min-height: 268px;
  padding: 20px 32px;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 1px dashed rgba(165, 104, 255, 0.72);
  border-radius: 34px;
  background: radial-gradient(circle at 27% 60%, rgba(121, 70, 255, 0.16), transparent 20%), radial-gradient(circle at 48% 50%, rgba(255, 255, 255, 0.03), transparent 24%), radial-gradient(circle at 38% 55%, rgba(125, 72, 255, 0.12), transparent 24%), radial-gradient(circle at 50% 90%, rgba(130, 59, 255, 0.18), transparent 30%), linear-gradient(135deg, rgba(12, 20, 55, 0.9), rgba(5, 10, 28, 0.84));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}
.upload-card::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 26px;
  pointer-events: none;
}
.upload-card.dragover {
  border-color: rgba(129, 232, 174, 0.8);
  box-shadow: 0 0 0 1px rgba(129, 232, 174, 0.2), 0 24px 60px rgba(0, 0, 0, 0.38);
}

.upload-visual {
  max-width: 384px;
  justify-self: start;
}
.upload-visual img {
  width: 100%;
  filter: saturate(1.05) brightness(1.02);
}

.upload-main {
  position: relative;
  z-index: 2;
  align-self: center;
  justify-self: start;
  width: min(520px, 100%);
  margin-left: 6px;
}

.upload-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.08rem, 1.46vw, 1.46rem);
  line-height: 1.14;
  white-space: nowrap;
}
.upload-copy h2 span {
  color: #b16bff;
}
.upload-copy p {
  margin: 0;
  color: #a7abd1;
  font-size: 0.86rem;
}

.upload-note,
.upload-error,
.privacy-note {
  margin: 0;
  color: #a7abd1;
}

.primary-action,
.result-button,
.primary-link,
.secondary-link,
.result-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  margin-top: 18px;
  border-radius: 14px;
  font-size: 0.98rem;
  background: linear-gradient(135deg, #7143f3, #a154ff);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(124, 72, 255, 0.32);
}

.launch-button,
.primary-action,
.result-button,
.primary-link,
.secondary-link,
.result-download,
.ghost-danger,
.icon-action {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    filter 0.18s ease;
}

.launch-button::before,
.primary-action::before,
.result-button::before,
.primary-link::before,
.secondary-link::before,
.result-download::before,
.ghost-danger::before,
.icon-action::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-24%);
  transition: opacity 0.18s ease, transform 0.22s ease;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
}

.primary-action {
  gap: 8px;
  min-height: 42px;
  padding: 0 25px;
  border-radius: 6px;
  font-size: 0.88rem;
}

.primary-action img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.upload-note {
  margin-top: 16px;
  font-size: 0.84rem;
}

.upload-error {
  margin-top: 12px;
  color: #ff98aa;
}

.drop-target {
  position: absolute;
  inset: 0;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(1188px, calc(100% - 34px));
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 18px;
}

.feature-pill,
.summary-box,
.result-card,
.task-board,
.summary-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(18, 26, 65, 0.84), rgba(8, 12, 32, 0.88));
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 14px 18px;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 24px 60px rgba(0, 0, 0, 0.38);
}
.feature-pill img {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  opacity: 0.98;
  mix-blend-mode: screen;
}
.feature-pill strong,
.feature-pill span {
  display: block;
}
.feature-pill strong {
  font-size: 0.98rem;
}
.feature-pill span {
  color: #a7abd1;
  font-size: 0.84rem;
  line-height: 1.28;
}

.green strong {
  color: #9cffbc;
}

.blue strong {
  color: #8fd0ff;
}

.purple strong {
  color: #d09dff;
}

.gold strong {
  color: #ffd784;
}

.task-board {
  display: grid;
  grid-template-columns: 246px 1fr;
  gap: 10px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(124, 138, 255, 0.16);
  border-radius: 12px;
  background:
    radial-gradient(circle at 14% 18%, rgba(121, 74, 255, 0.18), transparent 26%),
    radial-gradient(circle at 76% 12%, rgba(88, 118, 255, 0.09), transparent 30%),
    linear-gradient(180deg, rgba(19, 26, 72, 0.94), rgba(8, 12, 33, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 0 0 1px rgba(79, 101, 223, 0.08),
    0 26px 60px rgba(0, 0, 0, 0.4);
}

.task-board::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 12%, transparent 82%, rgba(90, 109, 214, 0.08)),
    radial-gradient(circle at 18% 50%, rgba(76, 90, 171, 0.1), transparent 32%);
  pointer-events: none;
}

.task-board::after {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(255, 255, 255, 0.035);
  border-radius: 17px;
  pointer-events: none;
}

.task-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 16px 10px;
  border: 1px solid rgba(118, 130, 255, 0.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 20%, rgba(123, 80, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(10, 15, 43, 0.98), rgba(5, 9, 26, 0.96));
  box-shadow:
    inset 1px 0 0 rgba(255, 255, 255, 0.03),
    inset -1px 0 0 rgba(116, 104, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.step-list {
  position: relative;
  display: grid;
  gap: 14px;
  padding-left: 2px;
}
.step-list::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 12px;
  bottom: 20px;
  width: 1px;
  background: linear-gradient(180deg, rgba(109, 242, 168, 0.6), rgba(156, 105, 255, 0.45), rgba(255, 255, 255, 0.18));
}

.step-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: start;
  opacity: 1;
}
.step-card strong {
  display: block;
  font-size: 0.95rem;
}
.step-card small {
  color: #a7abd1;
  font-size: 0.76rem;
  line-height: 1.35;
}
.step-card em {
  display: block;
  font-style: normal;
  color: #fff;
  text-align: right;
  font-size: 0.82rem;
}
.step-card[data-step=uploading] .step-badge {
  border-color: rgba(120, 242, 167, 0.35);
  box-shadow: 0 0 0 4px rgba(100, 242, 160, 0.1);
}
.step-card[data-step=compressing] .step-badge {
  border-color: rgba(174, 117, 255, 0.36);
  box-shadow: 0 0 0 4px rgba(174, 117, 255, 0.09);
}
.step-card[data-step=completed] .step-badge {
  border-color: rgba(255, 255, 255, 0.18);
}

.step-badge {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(8, 13, 35, 0.84);
  font-size: 0.84rem;
  font-weight: 800;
}

.step-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.step-glyph img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.progress-track {
  position: relative;
  height: 6px;
  margin: 10px 0 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7b4cff, #d872ff);
  transition: width 220ms ease;
}

.task-sidebar-visual {
  max-width: 188px;
  margin: 0 auto;
}

.task-main {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 2px 2px 0 0;
}

.task-panel {
  overflow: hidden;
  border: 1px solid rgba(84, 100, 192, 0.2);
  border-radius: 12px;
  background:
    radial-gradient(circle at 18% 0, rgba(113, 88, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(20, 28, 76, 0.96), rgba(8, 13, 39, 0.97));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 0 0 1px rgba(65, 79, 170, 0.08),
    0 20px 38px rgba(0, 0, 0, 0.18);
}

.task-main-header,
.result-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.task-main-header {
  min-height: 60px;
  padding: 0 16px;
  background:
    linear-gradient(180deg, rgba(31, 39, 92, 0.3), rgba(16, 21, 53, 0.14));
}

.task-main-title {
  min-width: 0;
}

.task-main-header h3 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 1.02rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.task-main-header h3 span {
  color: #e0c7ff;
}
.task-main-header h3.is-queued {
  color: #f0d8ff;
}
.task-main-header h3.is-processing {
  color: #f0d8ff;
}
.task-main-header h3.is-completed {
  color: #84f5b0;
}
.task-main-header h3.is-failed {
  color: #ffb0c2;
}
.task-main-header h3.is-idle {
  color: #ffffff;
}
.task-main-header h3 .board-title-mark {
  margin-left: -1px;
  color: #b96dff;
  font-style: normal;
  font-size: 0.9em;
}
.task-main-header h3 .board-title-label {
  color: inherit;
}
.board-title-spinner {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  flex: 0 0 15px;
  background:
    repeating-conic-gradient(
      from -90deg,
      #d698ff 0deg 14deg,
      #b96cff 14deg 28deg,
      rgba(185, 108, 255, 0.14) 28deg 42deg
    );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  filter: drop-shadow(0 0 5px rgba(185, 108, 255, 0.18));
  animation: spin 1.35s linear infinite;
}
.task-main-header p {
  margin: 4px 0 0;
  color: rgba(228, 232, 255, 0.82);
  font-size: 0.77rem;
  line-height: 1.2;
}

.ghost-danger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(221, 89, 122, 0.28);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(92, 28, 50, 0.38), rgba(64, 16, 34, 0.28));
  color: #ffafbf;
  font-size: 0.75rem;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 184, 202, 0.05);
}

.ghost-danger img {
  display: block;
  width: 12px;
  height: 11px;
  object-fit: contain;
}
.ghost-danger:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 146, 175, 0.46);
  background: linear-gradient(180deg, rgba(112, 34, 61, 0.5), rgba(80, 20, 42, 0.38));
  box-shadow: inset 0 1px 0 rgba(255, 184, 202, 0.08), 0 12px 22px rgba(96, 23, 48, 0.24);
  filter: brightness(1.04);
}
.ghost-danger:hover::before {
  opacity: 1;
  transform: translateX(34%);
}

.task-table {
  overflow: hidden;
  border-top: 1px solid rgba(75, 89, 173, 0.18);
  background: transparent;
  box-shadow: none;
}
.task-table::-webkit-scrollbar {
  height: 8px;
}
.task-table::-webkit-scrollbar-track {
  background: rgba(13, 18, 44, 0.9);
}
.task-table::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(112, 76, 255, 0.86), rgba(171, 94, 255, 0.9));
}

.task-table-head,
.task-row {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) 110px 96px minmax(190px, 1fr) 58px;
  gap: 12px;
  align-items: center;
  padding: 0 16px;
}

.task-table-head {
  min-height: 38px;
  font-size: 0.84rem;
  color: #a7abd1;
  border-bottom: 1px solid rgba(75, 90, 174, 0.2);
  background:
    linear-gradient(180deg, rgba(17, 23, 57, 0.34), rgba(12, 16, 38, 0.18));
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.02);
}

.task-table-head > span {
  display: flex;
  align-items: center;
  min-height: 38px;
}

.task-table-head > span + span {
  padding-left: 18px;
  border-left: 1px solid rgba(63, 77, 152, 0.34);
}

.task-table-body {
  background: transparent;
}

.task-row {
  min-height: 64px;
  font-size: 0.9rem;
  background: transparent;
}
.task-row.is-empty {
  min-height: 58px;
}
.task-row + .task-row {
  border-top: 1px solid rgba(71, 86, 170, 0.18);
}

.file-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  overflow: hidden;
}
.file-cell > div {
  min-width: 0;
  flex: 1;
}
.file-cell img {
  width: 46px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.file-cell strong {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.98rem;
  font-weight: 700;
}
.task-row.is-empty .file-cell strong {
  font-size: 0.82rem;
  font-weight: 600;
}

.image-type-cell {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: rgba(232, 236, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.task-row.is-empty .image-type-cell {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
}

.status-cell {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  column-gap: 8px;
  align-items: center;
}
.task-row.is-empty .status-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}
.status-cell b {
  color: #fff;
  font-size: 0.8rem;
  line-height: 1.05;
}
.task-row.is-empty .status-cell b {
  font-size: 0.8rem;
}
.status-cell small {
  color: rgba(244, 241, 255, 0.72);
  font-size: 0.76rem;
  line-height: 1.12;
  white-space: nowrap;
}
.task-row.is-empty .status-cell small {
  font-size: 0.72rem;
}
.status-cell .status-icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  grid-row: 1 / span 2;
  align-self: center;
}

.status-spinner {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    repeating-conic-gradient(
      from -90deg,
      #d698ff 0deg 12deg,
      #b96cff 12deg 24deg,
      rgba(185, 108, 255, 0.14) 24deg 36deg
    );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  filter: drop-shadow(0 0 5px rgba(185, 108, 255, 0.2));
  animation: spin 1.35s linear infinite;
}

.status-cell .status-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.status-cell.success b {
  color: #63e88f;
}
.status-cell.success small {
  color: #63e88f;
  font-weight: 600;
}
.status-cell.success .status-icon img {
  width: 20px;
  height: 20px;
}
.status-cell.failed b {
  color: #ff96a7;
}
.status-cell.processing b {
  color: #b96cff;
  font-weight: 700;
}
.status-cell.processing small {
  color: rgba(238, 231, 255, 0.82);
}
.status-cell.processing .status-copy {
  gap: 2px;
}

.icon-action {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(100, 235, 156, 0.42);
  border-radius: 9px;
  background: rgba(10, 33, 22, 0.28);
  box-shadow: inset 0 0 0 1px rgba(64, 151, 102, 0.08);
}
.icon-action:hover:not(:disabled):not(.downloaded) {
  transform: translateY(-1px);
  border-color: rgba(124, 245, 176, 0.62);
  background: rgba(18, 58, 38, 0.42);
  box-shadow: inset 0 0 0 1px rgba(98, 214, 149, 0.12), 0 12px 20px rgba(24, 92, 58, 0.18);
  filter: brightness(1.08);
}
.icon-action:hover:not(:disabled):not(.downloaded)::before {
  opacity: 1;
  transform: translateX(34%);
}
.icon-action:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.icon-action.downloaded {
  border-color: rgba(121, 244, 167, 0.46);
  background: rgba(21, 74, 44, 0.62);
  box-shadow: inset 0 0 0 1px rgba(121, 244, 167, 0.16);
}

.action-cell {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.blend-icon {
  mix-blend-mode: screen;
  filter: brightness(1.08) saturate(1.02);
}

.dash {
  color: rgba(255, 255, 255, 0.45);
}

.summary-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  border-radius: 16px;
  border: 1px solid rgba(110, 124, 245, 0.2);
  background:
    radial-gradient(circle at 16% 50%, rgba(102, 76, 255, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(14, 19, 52, 0.96), rgba(8, 12, 30, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 0 0 1px rgba(81, 95, 194, 0.08),
    0 18px 34px rgba(0, 0, 0, 0.18);
}

.summary-card::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(138, 104, 255, 0.05), rgba(131, 157, 255, 0.45), rgba(138, 104, 255, 0.05));
  pointer-events: none;
}

.summary-meta {
  display: grid;
  grid-template-columns: auto repeat(3, minmax(0, 1fr));
  gap: 14px;
  flex: 1;
  align-items: center;
}
.summary-meta span {
  display: block;
  color: #a7abd1;
  font-size: 0.76rem;
}
.summary-meta strong {
  display: block;
  margin-top: 4px;
  font-size: 0.95rem;
}

.summary-status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(22, 78, 49, 0.5), rgba(10, 43, 28, 0.44));
  border: 1px solid rgba(118, 242, 166, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(196, 255, 220, 0.08),
    0 0 22px rgba(66, 164, 109, 0.08);
  color: #76f2a6;
  font-size: 0.9rem;
}
.summary-status-badge span {
  display: flex;
  align-items: center;
  color: #76f2a6;
  font-size: 0.85rem;
  margin: 0;
}
.summary-status-badge strong {
  color: #fff;
  margin: 0 0 0 4px;
  font-size: 0.95rem;
}

.result-button {
  gap: 6px;
  min-height: 42px;
  padding: 0 25px;
  border-radius: 6px;
  font-size: 0.9rem;
}

.result-button-arrow {
  width: 16px;
  height: 16px;
  display: block;
  flex: 0 0 auto;
}

.result-button[aria-disabled=true] {
  pointer-events: none;
  opacity: 0.55;
  cursor: default;
}
.primary-action:hover,
.result-button:hover,
.primary-link:hover:not([aria-disabled=true]):not(.downloaded),
.result-download:hover:not([aria-disabled=true]):not(.downloaded) {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(124, 72, 255, 0.42);
  filter: brightness(1.08);
}
.primary-action:hover::before,
.result-button:hover::before,
.primary-link:hover:not([aria-disabled=true]):not(.downloaded)::before,
.result-download:hover:not([aria-disabled=true]):not(.downloaded)::before {
  opacity: 1;
  transform: translateX(34%);
}

.privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 18px 0 0;
  text-align: center;
  font-size: 0.78rem;
}

.result-page {
  width: min(1104px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.result-hero {
  align-items: flex-end;
  padding: 0 2px;
}
.result-hero h1 {
  margin: 0;
  font-size: clamp(1.22rem, 2vw, 1.74rem);
  line-height: 1.06;
}
.result-hero p {
  margin: 6px 0 0;
  color: #a7abd1;
  font-size: 0.74rem;
}

.eyebrow {
  margin: 0 0 4px;
  color: #d7b4ff;
  letter-spacing: 0.12em;
  font-size: 0.66rem;
}

.result-hero-actions {
  display: flex;
  gap: 10px;
}
.result-hero-actions .primary-link,
.result-hero-actions .secondary-link {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}
.result-link-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  object-fit: contain;
  filter: brightness(1.18) saturate(1.08);
}
.result-hero-actions .primary-link.downloaded, .result-hero-actions .primary-link[aria-disabled=true] {
  pointer-events: none;
  cursor: default;
  background: linear-gradient(135deg, rgba(32, 112, 72, 0.92), rgba(72, 186, 122, 0.96));
  box-shadow: 0 10px 24px rgba(65, 182, 118, 0.2);
}

.secondary-link {
  gap: 8px;
  border: 1px solid rgba(116, 137, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(34, 49, 108, 0.92), rgba(17, 29, 74, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(10, 17, 48, 0.72),
    0 10px 20px rgba(6, 12, 38, 0.28);
}
.result-hero-actions .secondary-link .result-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 4px 10px rgba(5, 11, 33, 0.22);
}
.secondary-link:hover:not([aria-disabled=true]):not(.downloaded) {
  transform: translateY(-1px);
  border-color: rgba(143, 164, 255, 0.26);
  background:
    linear-gradient(180deg, rgba(43, 60, 126, 0.96), rgba(20, 34, 86, 1));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(12, 19, 54, 0.78),
    0 14px 28px rgba(8, 15, 46, 0.3);
  filter: none;
}
.secondary-link:hover:not([aria-disabled=true]):not(.downloaded)::before {
  opacity: 1;
  transform: translateX(34%);
}

.result-summary-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
}

.summary-box {
  padding: 15px 16px;
  border-radius: 16px;
}
.summary-box span {
  display: block;
  color: #a7abd1;
  font-size: 0.84rem;
}
.summary-box strong {
  display: block;
  margin-top: 6px;
  font-size: 1.06rem;
}
.summary-box.accent strong {
  color: #76f2a6;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
}

.result-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 16px;
}

.result-thumb {
  display: grid;
  place-items: center;
  width: 78px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}
.result-thumb img {
  width: auto;
  height: auto;
  padding: 0;
}

.result-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.result-card-head strong {
  margin: 0;
  max-width: calc(100% - 72px);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.98rem;
  line-height: 1.28;
}

.result-card-body {
  display: grid;
  gap: 6px;
}
.result-card-body dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}
.result-card-body dd,
.result-card-body dt {
  margin: 0;
}
.result-card-body dt {
  color: #a7abd1;
  font-size: 0.74rem;
}
.result-card-body dd {
  margin-top: 2px;
  font-size: 0.9rem;
  line-height: 1.24;
  font-weight: 700;
  word-break: break-word;
}

.pill {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #a7abd1;
  font-size: 0.72rem;
  font-weight: 700;
}
.pill.success {
  color: #79f4a7;
  background: rgba(121, 244, 167, 0.1);
}
.pill.failed {
  color: #ff9aaa;
  background: rgba(255, 154, 170, 0.12);
}

.result-download {
  width: 100%;
  min-height: 32px;
  margin-top: 0;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 0.74rem;
}
.result-download.result-download-icon {
  width: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 8px;
  margin-top: 0;
  background: linear-gradient(180deg, rgba(10, 20, 58, 0.96), rgba(5, 13, 38, 0.98));
  border: 1px solid rgba(86, 232, 145, 0.32);
  box-shadow:
    inset 0 0 0 1px rgba(86, 232, 145, 0.08),
    0 8px 18px rgba(4, 10, 34, 0.34);
}
.result-download.result-download-icon::before {
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 14%, rgba(86, 232, 145, 0.16), transparent 58%);
}
.result-download.result-download-icon:hover:not([aria-disabled=true]):not(.downloaded) {
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(12, 28, 72, 0.98), rgba(7, 17, 46, 1));
  border-color: rgba(99, 240, 157, 0.5);
  box-shadow:
    inset 0 0 0 1px rgba(99, 240, 157, 0.12),
    0 12px 22px rgba(6, 14, 44, 0.4);
  filter: none;
}
.result-download-icon-image {
  width: 16px;
  height: 16px;
  object-fit: contain;
  mix-blend-mode: normal;
  filter: none;
}
.result-download-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(86, 232, 145, 0.18);
  border-top-color: rgba(110, 255, 170, 0.96);
  border-radius: 999px;
  animation: spin 0.8s linear infinite;
}
.result-download.result-download-icon.downloaded,
.result-download.result-download-icon[aria-disabled=true] {
  background: linear-gradient(180deg, rgba(12, 38, 28, 0.96), rgba(8, 24, 19, 0.98));
  border-color: rgba(99, 240, 157, 0.46);
  box-shadow:
    inset 0 0 0 1px rgba(99, 240, 157, 0.1),
    0 8px 18px rgba(5, 18, 15, 0.28);
}
.result-download.downloaded, .result-download[aria-disabled=true] {
  pointer-events: none;
  cursor: default;
  background: linear-gradient(135deg, rgba(32, 112, 72, 0.92), rgba(72, 186, 122, 0.96));
  box-shadow: 0 10px 24px rgba(65, 182, 118, 0.2);
}

.result-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.result-error {
  margin: 0;
  line-height: 1.4;
  color: #a7abd1;
  font-size: 0.84rem;
}

.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;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 1240px) {
  .page-shell {
    width: min(1180px, calc(100% - 40px));
  }
  .result-page {
    width: min(1040px, 100%);
  }
  .upload-card {
    width: min(1088px, calc(100% - 28px));
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1fr);
    gap: 16px;
    min-height: 244px;
    padding: 18px 24px;
  }
  .upload-visual {
    max-width: 332px;
  }
  .upload-main {
    width: min(460px, 100%);
    margin-left: 0;
  }
  .feature-row {
    width: min(1088px, calc(100% - 28px));
    gap: 12px;
  }
  .feature-pill {
    min-height: 82px;
    padding: 12px 16px;
  }
  .task-board {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 14px;
  }
  .task-sidebar {
    padding: 14px 14px 10px;
  }
  .task-table-head,
  .task-row {
    grid-template-columns: minmax(0, 1.62fr) 100px 90px minmax(170px, 1fr) 52px;
    gap: 10px;
  }
}
@media (max-width: 1100px) {
  .feature-row,
  .result-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .upload-card {
    width: min(980px, calc(100% - 24px));
    grid-template-columns: minmax(250px, 0.86fr) minmax(0, 1fr);
    gap: 14px;
    min-height: 220px;
    padding: 18px 20px;
  }
  .upload-visual {
    max-width: 270px;
    justify-self: start;
  }
  .upload-main {
    width: min(100%, 500px);
    justify-self: start;
    text-align: left;
  }
  .upload-copy h2 {
    font-size: clamp(0.98rem, 1.4vw, 1.24rem);
  }
  .feature-row {
    width: min(980px, calc(100% - 24px));
  }
  .task-board {
    grid-template-columns: 1fr;
  }
  .result-page {
    width: min(920px, 100%);
  }
  .result-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .task-sidebar {
    order: 2;
  }
  .task-table {
    overflow-x: auto;
    overflow-y: hidden;
  }
  .task-table-head,
  .task-row {
    min-width: 820px;
  }
  .result-card {
    grid-template-columns: 74px minmax(0, 1fr) 64px;
  }
  .result-thumb {
    width: 74px;
    height: 54px;
  }
}
@media (max-width: 880px) {
  .page-shell {
    width: min(calc(100% - 24px), 1240px);
    padding-top: 14px;
  }
  .site-header,
  .task-main-header,
  .result-hero,
  .summary-card {
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .upload-card {
    width: min(100%, 1000px);
    grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1fr);
    gap: 12px;
    min-height: 204px;
    padding: 16px 18px;
  }
  .upload-visual {
    max-width: 232px;
  }
  .upload-main {
    width: min(100%, 456px);
  }
  .upload-copy h2 {
    margin-bottom: 8px;
    font-size: 0.94rem;
  }
  .upload-copy p,
  .upload-note {
    font-size: 0.8rem;
  }
  .feature-row {
    width: min(100%, 1000px);
  }
  .summary-meta,
  .result-card-body dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .result-button,
  .primary-link,
  .secondary-link {
    width: 100%;
  }
  .result-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 24px), 1240px);
    padding-top: 14px;
  }
  .brand {
    font-size: 1.44rem;
  }
  .upload-card {
    width: 100%;
    grid-template-columns: minmax(188px, 0.8fr) minmax(0, 1fr);
    gap: 10px;
    min-height: 188px;
    padding: 14px 14px 16px;
    border-radius: 28px;
  }
  .upload-card::after {
    inset: 10px;
    border-radius: 22px;
  }
  .upload-visual {
    max-width: 196px;
  }
  .upload-main {
    width: min(100%, 390px);
  }
  .upload-copy h2 {
    font-size: 0.88rem;
  }
  .primary-action {
    min-height: 38px;
    padding: 0 18px;
    font-size: 0.82rem;
  }
  .feature-row {
    width: 100%;
    gap: 10px;
  }
  .result-page {
    width: 100%;
  }
  .result-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .result-thumb {
    width: 100%;
    height: 108px;
  }
  .result-card-actions {
    grid-column: auto;
    justify-content: stretch;
  }
  .result-card-body dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .page-shell {
    width: calc(100% - 20px);
    padding: 12px 0 18px;
  }
  .site-header {
    gap: 12px;
    margin-bottom: 18px;
  }
  .brand {
    align-self: flex-start;
    font-size: 1.28rem;
  }
  .brand-mark {
    width: 44px;
  }
  .site-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
    border: 1px solid rgba(111, 126, 224, 0.18);
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(14, 21, 55, 0.9), rgba(9, 13, 35, 0.94));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.03),
      0 18px 30px rgba(4, 9, 29, 0.22);
  }
  .nav-link,
  .launch-button {
    min-width: 0;
    min-height: 58px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 8px 6px;
    border-radius: 14px;
    font-size: 0.74rem;
    line-height: 1.15;
    text-align: center;
  }
  .nav-link {
    color: rgba(232, 236, 255, 0.9);
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.02);
  }
  .launch-button {
    padding: 8px 6px;
    border-radius: 14px;
    border-color: rgba(162, 93, 255, 0.66);
    background:
      radial-gradient(circle at 50% 0, rgba(160, 92, 255, 0.16), transparent 60%),
      linear-gradient(180deg, rgba(18, 15, 54, 0.96), rgba(11, 10, 33, 0.98));
    box-shadow:
      inset 0 0 0 1px rgba(197, 121, 255, 0.12),
      0 10px 20px rgba(52, 18, 93, 0.26);
  }
  .nav-link span,
  .launch-button span {
    white-space: normal;
  }
  .nav-link img,
  .launch-button img {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin-top: 0;
  }
  .nav-link:hover,
  .nav-link:focus-visible {
    opacity: 1;
    border-color: rgba(129, 147, 255, 0.24);
    background: rgba(255, 255, 255, 0.05);
  }
  .nav-toast {
    --toast-enter-x: 18px;
    --toast-exit-x: 24px;
    top: 16px;
    right: 10px;
    width: min(300px, calc(100vw - 20px));
  }
  .hero-copy {
    margin-bottom: 14px;
  }
  .hero-copy h1 {
    display: block;
    white-space: normal;
    padding: 0;
    font-size: clamp(1.62rem, 8vw, 2.08rem);
    line-height: 1.08;
  }
  .hero-copy h1 .accent-word {
    display: inline;
  }
  .hero-copy p {
    margin-top: 12px;
    font-size: 0.84rem;
    line-height: 1.6;
  }
  .upload-card {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
    padding: 18px 16px;
    border-radius: 24px;
  }
  .upload-card::after {
    inset: 8px;
    border-radius: 18px;
  }
  .upload-visual {
    max-width: min(240px, 72vw);
    justify-self: center;
  }
  .upload-main {
    width: 100%;
    justify-self: stretch;
    text-align: center;
  }
  .upload-copy h2 {
    white-space: normal;
    font-size: 1.04rem;
    line-height: 1.4;
  }
  .upload-copy p {
    font-size: 0.82rem;
    line-height: 1.5;
  }
  .primary-action {
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
    margin-top: 16px;
    border-radius: 12px;
    font-size: 0.9rem;
  }
  .upload-note,
  .upload-error,
  .privacy-note {
    font-size: 0.8rem;
    line-height: 1.55;
  }
  .feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
  }
  .feature-pill {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    min-height: 108px;
    padding: 14px 12px;
    border-radius: 14px;
    gap: 12px;
  }
  .feature-pill img {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }
  .feature-pill strong {
    font-size: 0.96rem;
    line-height: 1.3;
  }
  .feature-pill span {
    font-size: 0.78rem;
    line-height: 1.45;
  }
  .task-board {
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
  }
  .task-board::after {
    inset: 9px;
    border-radius: 12px;
  }
  .task-sidebar,
  .task-panel,
  .summary-card {
    border-radius: 14px;
  }
  .task-sidebar {
    gap: 14px;
    padding: 14px;
  }
  .step-list {
    gap: 12px;
  }
  .step-list::before {
    left: 16px;
    top: 14px;
    bottom: 22px;
  }
  .step-card {
    grid-template-columns: 32px 1fr;
    gap: 10px;
  }
  .step-card strong {
    font-size: 0.9rem;
  }
  .step-card small {
    font-size: 0.74rem;
  }
  .step-card em {
    font-size: 0.78rem;
  }
  .step-badge {
    width: 32px;
    height: 32px;
  }
  .task-sidebar-visual {
    max-width: 160px;
  }
  .task-main {
    gap: 10px;
    padding: 0;
  }
  .task-main-header {
    min-height: 0;
    padding: 14px;
    gap: 12px;
  }
  .task-main-header h3 {
    font-size: 0.96rem;
    line-height: 1.3;
  }
  .task-main-header p {
    margin-top: 6px;
    font-size: 0.76rem;
    line-height: 1.5;
  }
  .ghost-danger {
    width: 100%;
    justify-content: center;
    min-height: 40px;
    border-radius: 10px;
    font-size: 0.82rem;
  }
  .task-table {
    overflow: visible;
    border-top: 1px solid rgba(75, 89, 173, 0.18);
  }
  .task-table-head {
    display: none;
  }
  .task-table-body {
    display: grid;
    gap: 10px;
    padding: 12px;
  }
  .task-row {
    min-width: 0;
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(78, 95, 184, 0.22);
    border-radius: 14px;
    background:
      linear-gradient(180deg, rgba(17, 24, 58, 0.72), rgba(9, 14, 38, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  }
  .task-row + .task-row {
    border-top: 1px solid rgba(78, 95, 184, 0.22);
  }
  .task-row .file-cell,
  .task-row .status-cell,
  .task-row .action-cell {
    grid-column: 1 / -1;
  }
  .task-row .file-cell {
    align-items: flex-start;
  }
  .task-row .file-cell img {
    width: 52px;
    height: 40px;
    border-radius: 10px;
  }
  .task-row .file-cell strong {
    white-space: normal;
    word-break: break-word;
    line-height: 1.35;
    font-size: 0.94rem;
  }
  .task-row:not(.is-empty) > :nth-child(2),
  .task-row:not(.is-empty) > :nth-child(3) {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
    border: 1px solid rgba(76, 91, 177, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.86rem;
  }
  .task-row:not(.is-empty) > :nth-child(2)::before,
  .task-row:not(.is-empty) > :nth-child(3)::before,
  .task-row:not(.is-empty) .status-cell::before {
    color: rgba(199, 205, 245, 0.72);
    font-size: 0.72rem;
    line-height: 1;
  }
  .task-row:not(.is-empty) > :nth-child(2)::before {
    content: "大小";
  }
  .task-row:not(.is-empty) > :nth-child(3)::before {
    content: "格式";
  }
  .task-row:not(.is-empty) .status-cell {
    row-gap: 6px;
    padding: 10px 12px;
    border: 1px solid rgba(76, 91, 177, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
  }
  .task-row:not(.is-empty) .status-cell::before {
    content: "状态";
    grid-column: 1 / -1;
  }
  .status-cell small {
    white-space: normal;
    line-height: 1.4;
  }
  .task-row:not(.is-empty) .status-cell {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    column-gap: 10px;
    row-gap: 8px;
  }
  .task-row:not(.is-empty) .status-cell::before {
    width: 100%;
  }
  .task-row:not(.is-empty) .status-cell .status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
  }
  .task-row:not(.is-empty) .status-cell .status-icon img {
    width: 20px;
    height: 20px;
  }
  .task-row:not(.is-empty) .status-cell .status-copy {
    min-width: 0;
    flex: 1 1 0;
  }
  .task-row:not(.is-empty) .status-cell b {
    font-size: 0.94rem;
    line-height: 1.28;
    word-break: keep-all;
  }
  .task-row:not(.is-empty) .status-cell small {
    margin-top: 4px;
    font-size: 0.84rem;
    line-height: 1.45;
    word-break: break-word;
  }
  .action-cell {
    justify-content: stretch;
  }
  .icon-action {
    width: 100%;
    height: 42px;
    border-radius: 10px;
  }
  .task-row.is-empty {
    grid-template-columns: 1fr;
  }
  .task-row.is-empty > span:not(.status-cell) {
    display: none;
  }
  .task-row.is-empty .file-cell {
    margin-bottom: 2px;
  }
  .task-row.is-empty .status-cell {
    padding: 10px 12px;
    border: 1px solid rgba(76, 91, 177, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
  }
  .summary-card {
    padding: 14px;
    gap: 12px;
  }
  .summary-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .summary-meta > div {
    padding: 10px 12px;
    border: 1px solid rgba(76, 91, 177, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
  }
  .summary-meta .summary-status-badge {
    padding: 10px 12px;
  }
  .result-button {
    width: 100%;
    min-height: 46px;
    border-radius: 12px;
  }
  .privacy-note {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 16px 4px 0;
    text-align: left;
  }
  .result-page {
    gap: 14px;
  }
  .result-hero {
    gap: 14px;
    padding: 0;
  }
  .result-hero h1 {
    font-size: 1.34rem;
    line-height: 1.2;
  }
  .result-hero p {
    font-size: 0.8rem;
    line-height: 1.5;
  }
  .result-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .result-hero-actions .primary-link,
  .result-hero-actions .secondary-link {
    width: 100%;
    min-height: 44px;
    border-radius: 12px;
    font-size: 0.88rem;
  }
  .result-summary-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .summary-box {
    padding: 14px;
  }
  .result-grid {
    gap: 10px;
  }
  .result-card {
    gap: 12px;
    padding: 12px;
  }
  .result-thumb {
    height: 160px;
  }
  .result-card-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .result-card-head strong {
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
  }
  .result-card-body {
    gap: 10px;
  }
  .result-card-body dl {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .result-card-body dl > div {
    padding: 10px 12px;
    border: 1px solid rgba(76, 91, 177, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
  }
  .result-card-actions {
    justify-content: stretch;
  }
  .result-download.result-download-icon {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    border-radius: 12px;
  }
}
@media (max-width: 520px) {
  .page-shell {
    width: calc(100% - 16px);
    padding-top: 10px;
  }
  .site-nav {
    gap: 5px;
    padding: 5px;
    border-radius: 16px;
  }
  .nav-link,
  .launch-button {
    min-height: 54px;
    gap: 5px;
    padding: 8px 4px;
    border-radius: 12px;
    font-size: 0.7rem;
  }
  .hero-copy h1 {
    font-size: clamp(1.44rem, 8.5vw, 1.84rem);
  }
  .upload-card {
    padding: 16px 14px;
  }
  .upload-visual {
    max-width: min(210px, 72vw);
  }
  .feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .feature-pill {
    grid-template-columns: 1fr;
    align-items: flex-start;
    min-height: 116px;
    padding: 14px 12px;
    gap: 10px;
  }
  .feature-pill img {
    width: 40px;
    height: 40px;
  }
  .feature-pill strong {
    font-size: 0.92rem;
  }
  .feature-pill span {
    font-size: 0.76rem;
  }
  .summary-card {
    padding: 12px;
    gap: 10px;
  }
  .summary-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .summary-meta > div {
    padding: 10px 12px;
    min-height: 74px;
  }
  .summary-meta > div:first-child,
  .summary-meta > div:last-child {
    grid-column: 1 / -1;
  }
  .summary-meta span {
    font-size: 0.74rem;
  }
  .summary-meta strong,
  .summary-status-badge strong,
  .summary-box strong {
    font-size: 0.98rem;
  }
  .summary-status-badge {
    justify-content: flex-start;
    min-height: 56px;
    padding: 10px 12px;
    border-radius: 12px;
  }
  .summary-status-badge span {
    font-size: 0.88rem;
  }
  .result-page {
    gap: 12px;
  }
  .result-hero {
    gap: 10px;
  }
  .result-hero-copy {
    padding: 2px 2px 0;
  }
  .result-hero h1 {
    font-size: 1.18rem;
    line-height: 1.16;
  }
  .result-hero p {
    margin-top: 4px;
    font-size: 0.76rem;
    line-height: 1.45;
    word-break: break-word;
  }
  .eyebrow {
    margin-bottom: 6px;
    font-size: 0.64rem;
    letter-spacing: 0.1em;
  }
  .result-hero-actions {
    gap: 8px;
  }
  .result-hero-actions .primary-link,
  .result-hero-actions .secondary-link {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.84rem;
    border-radius: 14px;
  }
  .result-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .summary-box {
    min-height: 82px;
    padding: 12px;
    border-radius: 14px;
  }
  .summary-box span {
    font-size: 0.76rem;
    line-height: 1.35;
  }
  .summary-box strong {
    margin-top: 4px;
    font-size: 1rem;
    line-height: 1.2;
    word-break: break-word;
  }
  .result-summary-grid .summary-box.accent {
    grid-column: 1 / -1;
  }
  .result-grid {
    gap: 8px;
  }
  .result-card {
    position: relative;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
  }
  .result-thumb {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }
  .result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
  .result-card-body {
    min-width: 0;
    width: 100%;
  }
  .result-card-head {
    min-height: 48px;
    padding-left: 60px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
  }
  .result-card-head strong {
    max-width: 100%;
    font-size: 0.92rem;
    line-height: 1.35;
  }
  .pill {
    height: 22px;
    padding: 0 8px;
    font-size: 0.7rem;
  }
  .result-card-body {
    gap: 8px;
  }
  .result-card-body dl {
    margin-top: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .result-card-body dl > div:last-child {
    grid-column: 1 / -1;
  }
  .result-card-body dl > div {
    padding: 10px;
  }
  .result-card-body dt {
    font-size: 0.72rem;
  }
  .result-card-body dd {
    font-size: 0.86rem;
  }
  .result-card-actions {
    grid-column: 1 / -1;
  }
  .result-download.result-download-icon {
    min-height: 42px;
    border-radius: 12px;
  }
  .task-row {
    grid-template-columns: 1fr;
  }
  .task-row:not(.is-empty) > :nth-child(2),
  .task-row:not(.is-empty) > :nth-child(3),
  .task-row:not(.is-empty) .status-cell,
  .task-row .action-cell {
    grid-column: auto;
  }
  .task-row .file-cell,
  .task-row.is-empty .status-cell {
    grid-column: auto;
  }
  .task-row:not(.is-empty) .status-cell,
  .task-row.is-empty .status-cell {
    grid-column: auto;
  }
  .task-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
  }
  .task-row .file-cell,
  .task-row .status-cell,
  .task-row .action-cell,
  .task-row.is-empty .status-cell {
    grid-column: 1 / -1;
  }
  .task-row:not(.is-empty) .status-cell,
  .task-row .action-cell {
    grid-column: 1 / -1;
  }
  .task-row:not(.is-empty) > :nth-child(2),
  .task-row:not(.is-empty) > :nth-child(3) {
    min-height: 72px;
    justify-content: center;
  }
  .task-row .file-cell {
    gap: 10px;
  }
  .task-row .file-cell img {
    width: 48px;
    height: 48px;
  }
  .task-row .file-cell strong {
    font-size: 0.92rem;
  }
  .task-row:not(.is-empty) .status-cell {
    padding: 12px;
  }
  .task-row:not(.is-empty) .status-cell .status-copy {
    flex-basis: calc(100% - 32px);
  }
  .task-row:not(.is-empty) .status-cell b {
    font-size: 0.92rem;
  }
  .task-row:not(.is-empty) .status-cell small {
    font-size: 0.82rem;
  }
  .icon-action {
    height: 40px;
  }
  .result-button {
    min-height: 44px;
    margin-top: 0;
    border-radius: 14px;
    font-size: 0.92rem;
  }
}
@media (max-width: 360px) {
  .site-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
  }
  .nav-link,
  .launch-button {
    min-height: 50px;
    padding: 7px 3px;
    font-size: 0.66rem;
    gap: 4px;
  }
  .feature-row {
    grid-template-columns: 1fr;
  }
  .feature-pill {
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    min-height: 0;
  }
  .result-thumb {
    width: 44px;
    height: 44px;
    top: 10px;
    left: 10px;
  }
  .result-card-head {
    min-height: 44px;
    padding-left: 56px;
  }
  .task-row {
    grid-template-columns: 1fr;
  }
  .task-row .file-cell,
  .task-row .status-cell,
  .task-row .action-cell,
  .task-row.is-empty .status-cell,
  .task-row:not(.is-empty) > :nth-child(2),
  .task-row:not(.is-empty) > :nth-child(3) {
    grid-column: auto;
  }
}
@media (max-width: 320px) {
  .result-summary-grid {
    grid-template-columns: 1fr;
  }
  .result-summary-grid .summary-box.accent {
    grid-column: auto;
  }
  .result-card-body dl {
    grid-template-columns: 1fr;
  }
  .result-card-body dl > div:last-child {
    grid-column: auto;
  }
  .summary-meta {
    grid-template-columns: 1fr;
  }
  .summary-meta > div:first-child,
  .summary-meta > div:last-child {
    grid-column: auto;
  }
}
