:root {
  --bg: #f6f7fa;
  --paper: #fff;
  --ink: #182230;
  --muted: #6e7887;
  --navy: #27385d;
  --accent: #b65f45;
  --accent-hover: #9d4e38;
  --line: #e5e8ee;
  --soft: #f1f3f7;
  --error: #a93f36;
  --radius: 20px;
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
a {
  color: inherit;
  text-decoration: none;
}
a,
button,
input,
select {
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s,
    opacity 0.2s;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
input:focus-visible {
  outline-offset: 1px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button {
  border: 0;
}
svg {
  display: block;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
[hidden] {
  display: none !important;
}
::selection {
  background: #ecd7ce;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 12px 16px;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.header {
  max-width: 1160px;
  margin: auto;
  padding: 25px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand > img {
  width: 34px;
  height: 34px;
}
.brand > strong {
  font-size: 30px;
  letter-spacing: -1.5px;
  line-height: 1;
  font-weight: 750;
}
.brand > strong > span {
  color: var(--accent);
}
.brand-name {
  font-family: "Songti SC", "STSong", serif;
  font-size: 18px;
  border-left: 1px solid #d9dee6;
  padding-left: 16px;
  margin-left: 5px;
  letter-spacing: 4px;
  color: var(--navy);
}
.header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 12px;
  color: var(--muted);
}
.header nav a:hover {
  color: var(--accent);
}
.home-link {
  border: 1px solid #dce1e9;
  border-radius: 8px;
  padding: 9px 12px;
}
main {
  max-width: 928px;
  margin: auto;
  padding: 0 24px;
}
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 38px 28px 38px;
  gap: 28px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
}
.platform-mark {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border: 1px solid #d5dce7;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 650;
  color: var(--navy);
  line-height: 1;
}
h1 {
  font-size: 45px;
  line-height: 1.38;
  letter-spacing: 1px;
  font-weight: 650;
  margin: 19px 0 16px;
}
.intro-description {
  font-size: 13px;
  line-height: 2;
  color: var(--muted);
}
.intro-art {
  width: 280px;
  flex: none;
  align-self: center;
}
.intro-art svg {
  width: 100%;
  height: auto;
}
.art-sheet-back {
  transform-origin: 160px 150px;
  animation: float-back 9s ease-in-out infinite;
}
.art-sheet-front {
  animation: float-front 8s ease-in-out infinite;
}
.art-download {
  animation: float-front 8s ease-in-out -1s infinite;
}
@keyframes float-back {
  50% {
    transform: translateY(-5px) rotate(2deg);
  }
}
@keyframes float-front {
  50% {
    transform: translateY(-8px);
  }
}
.workspace {
  background: var(--paper);
  border: 1px solid #e0e5ed;
  border-radius: var(--radius);
  box-shadow: 0 12px 45px #26385b07;
  overflow: hidden;
}
#download-form {
  padding: 29px 32px 25px;
}
.form-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}
.form-top > label {
  font-size: 14px;
  font-weight: 600;
}
.service-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--muted);
}
.service-status i {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #aeb9c7;
}
.service-status.ready i {
  background: #768e78;
}
.service-status.unavailable i {
  background: var(--accent);
}
.url-control {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #dce2eb;
  border-radius: 12px;
  background: #fafbfd;
  padding: 0 15px;
  min-height: 58px;
}
.url-control:focus-within {
  border-color: #b6c0d1;
  background: #fff;
}
.url-control > svg {
  height: 20px;
  width: 20px;
  flex: none;
  color: #8995a6;
}
.url-control input {
  border: 0;
  background: transparent;
  min-width: 0;
  width: 100%;
  font-size: 13px;
  padding: 19px 0;
  outline: none !important;
  color: var(--navy);
}
.url-control input::placeholder {
  color: #a3acb9;
}
.paste-button {
  font-size: 11px;
  color: var(--muted);
  background: transparent;
  min-height: 36px;
  padding: 8px 0 8px 10px;
  border-left: 1px solid var(--line);
  white-space: nowrap;
}
.paste-button:hover {
  color: var(--accent);
}
.form-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 17px;
}
.form-bottom > p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
}
.primary-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 27px;
  min-height: 44px;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
}
.primary-button:hover:not(:disabled) {
  background: var(--accent-hover);
}
.button-arrow {
  font-size: 17px;
  font-weight: 400;
}
.loading .button-arrow {
  animation: working 1.5s ease-in-out infinite;
}
@keyframes working {
  50% {
    opacity: 0.3;
    transform: translate(2px, -2px);
  }
}
.inline-error {
  font-size: 12px;
  color: var(--error);
  line-height: 1.9;
  padding: 12px 14px;
  background: #fbf1ee;
  border: 1px solid #ecd6ce;
  border-radius: 8px;
  margin-top: 16px;
}
.workspace-divider {
  height: 1px;
  background: var(--line);
  margin: 0 32px;
}
.empty-panel {
  text-align: center;
  padding: 33px 24px 30px;
}
.empty-mark {
  width: 45px;
  height: 45px;
  margin: 0 auto 13px;
  color: #aab7c9;
}
.empty-mark svg {
  height: 100%;
  width: 100%;
}
.empty-panel h2 {
  font-size: 14px;
  font-weight: 500;
  color: #758195;
  letter-spacing: 1px;
}
.empty-panel > p {
  font-size: 11px;
  color: #9aa3b0;
  margin-top: 8px;
}
.mini-steps {
  display: flex;
  justify-content: center;
  gap: 35px;
  font-size: 10px;
  color: #8b95a4;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}
.mini-steps li {
  display: flex;
  align-items: center;
  gap: 7px;
}
.mini-steps span {
  font-size: 9px;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1px solid #e2e7ef;
  border-radius: 50%;
  color: #a0aab9;
  font-variant-numeric: tabular-nums;
}
.media-panel {
  padding: 26px 32px;
}
.media-preview {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}
.thumbnail-wrap {
  height: 112px;
  border-radius: 10px;
  background: var(--soft);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #9eacc0;
}
.thumbnail-wrap > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.thumbnail-wrap > span:first-of-type {
  font-size: 35px;
  font-weight: 200;
}
.duration-badge {
  position: absolute;
  bottom: 7px;
  right: 7px;
  background: #16223abf;
  color: #fff;
  border-radius: 4px;
  padding: 3px 5px;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}
.result-label {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 8px;
  letter-spacing: 0.4px;
}
.result-label > span {
  color: #758b7b;
  margin-left: 5px;
}
.media-info h2 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.media-info h2:focus {
  outline: none;
}
.media-uploader {
  font-size: 11px;
  color: var(--muted);
  margin-top: 9px;
  line-height: 1.7;
}
.media-info > a {
  display: inline-block;
  font-size: 10px;
  color: var(--accent);
  margin-top: 8px;
}
.download-options {
  margin-top: 25px;
  background: #f7f8fb;
  padding: 18px 20px;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 20px;
}
.download-options > div,
.quality-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.download-options span {
  font-size: 10px;
  color: var(--muted);
}
.quality-field select {
  border: 1px solid #dce2ec;
  border-radius: 7px;
  background: white;
  padding: 8px 10px;
  width: 100%;
  min-height: 36px;
  font-size: 12px;
  color: var(--navy);
  cursor: pointer;
}
.format-field strong,
.size-field strong {
  font-size: 13px;
  font-weight: 550;
  line-height: 2.5;
}
.format-field small {
  font-size: 10px;
  font-weight: 400;
  margin-left: 7px;
  color: var(--muted);
}
.size-field strong {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.rights-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 21px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
  cursor: pointer;
}
.rights-check input {
  width: 14px;
  height: 14px;
  accent-color: var(--accent);
  flex: none;
  margin: 3px 0 0;
}
.create-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 17px;
}
.create-row p {
  font-size: 10px;
  line-height: 1.8;
  color: #8e97a5;
}
.has-job {
  opacity: 0.72;
}
.job-panel {
  padding: 25px 32px 28px;
  border-top: 1px solid var(--line);
  background: #fdfdfd;
}
.job-top {
  display: flex;
  gap: 12px;
  align-items: center;
}
.job-top > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.job-status-mark {
  width: 36px;
  height: 36px;
  flex: none;
  border: 1px solid #dfd8cf;
  color: var(--accent);
  background: #fbf4ef;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 21px;
  font-weight: 300;
}
.job-top .result-label {
  margin-bottom: 3px;
}
.job-top h2 {
  font-size: 13px;
  line-height: 1.8;
  font-weight: 550;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.text-button {
  font-size: 10px;
  color: var(--muted);
  padding: 8px 0 8px 10px;
  background: none;
  flex: none;
}
.text-button:hover {
  color: var(--accent);
}
.progress-track {
  margin-top: 22px;
  height: 5px;
  overflow: hidden;
  background: #edf0f5;
  border-radius: 5px;
}
.progress-track > div {
  height: 100%;
  background: var(--accent);
  border-radius: 5px;
  transition: width 0.5s;
}
.progress-track.indeterminate > div {
  animation: progress 1.8s ease-in-out infinite;
}
@keyframes progress {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(520%);
  }
}
.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 11px;
  line-height: 1.7;
  font-variant-numeric: tabular-nums;
}
.file-ready {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 19px 20px;
  background: #f4f6fa;
  border: 1px solid #e5e9f0;
  border-radius: 10px;
  margin-top: 20px;
}
.file-ready strong {
  font-size: 13px;
  font-weight: 550;
  color: var(--navy);
}
.file-ready p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 6px;
}
.file-ready .primary-button {
  gap: 20px;
  font-size: 11px;
}
.secondary-button {
  border: 1px solid #dbe1eb;
  border-radius: 8px;
  color: var(--navy);
  padding: 10px 16px;
  min-height: 40px;
  font-size: 11px;
  background: white;
  margin-top: 16px;
}
.poll-error {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 14px;
}
.guide {
  padding: 44px 5px 45px;
}
.guide-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 25px;
}
.guide-heading h2 {
  font-size: 15px;
  font-weight: 550;
  letter-spacing: 0.5px;
}
.guide-heading > span {
  font-size: 10px;
  color: #939daa;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.guide-grid article {
  position: relative;
  padding-left: 30px;
}
.guide-index {
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 10px;
  color: #a0aaba;
  font-family: Georgia, serif;
}
.guide h3 {
  font-size: 12px;
  font-weight: 550;
  line-height: 1.8;
  margin-bottom: 8px;
}
.guide-grid p {
  font-size: 11px;
  line-height: 1.95;
  color: var(--muted);
}
.footer {
  border-top: 1px solid #e1e5ec;
  max-width: 1096px;
  margin: 5px auto 0;
  padding: 29px 4px 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #8e97a4;
  font-size: 10px;
}
.footer strong {
  font-family: "Songti SC", "STSong", serif;
  color: #6e7889;
  font-size: 16px;
  letter-spacing: 3px;
  font-weight: 400;
}
.footer strong > span {
  font-size: 9px;
  font-family: Arial, sans-serif;
  letter-spacing: 1px;
  margin-left: 5px;
}
.footer > div p {
  margin-top: 9px;
  font-size: 10px;
}
.footer > a:hover {
  color: var(--accent);
}
.footer > p {
  font-variant-numeric: tabular-nums;
}
.not-found {
  min-height: 100svh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 24px;
}
.not-found h1 {
  font-size: 32px;
}
.not-found p {
  font-size: 13px;
  color: var(--muted);
  line-height: 2;
  margin: 12px 0 24px;
}
.not-found .primary-button {
  justify-self: center;
}
@media (max-width: 900px) {
  .header {
    padding: 22px 25px;
  }
  .intro {
    padding: 28px 15px 32px;
  }
  .intro-art {
    width: 240px;
  }
  h1 {
    font-size: 40px;
  }
  .footer {
    margin: 0 25px;
    padding-left: 0;
    padding-right: 0;
  }
  .header nav {
    gap: 20px;
  }
  .guide-grid {
    gap: 20px;
  }
  .guide-grid article {
    padding-left: 24px;
  }
}
@media (max-width: 640px) {
  .header {
    padding: 20px;
    gap: 15px;
  }
  .brand > img {
    width: 29px;
    height: 29px;
  }
  .brand > strong {
    font-size: 27px;
  }
  .brand {
    gap: 7px;
  }
  .brand-name {
    font-size: 16px;
    letter-spacing: 2px;
    padding-left: 12px;
    margin-left: 3px;
  }
  .header nav {
    gap: 15px;
    font-size: 10px;
  }
  .header nav > a:nth-child(2) {
    display: none;
  }
  .home-link {
    padding: 7px 9px;
  }
  .intro {
    padding: 27px 3px 31px;
    gap: 8px;
    position: relative;
  }
  .intro-copy {
    position: relative;
    z-index: 1;
  }
  .intro-art {
    width: 160px;
    position: absolute;
    right: -5px;
    top: 28px;
    opacity: 0.67;
    pointer-events: none;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.5px;
    gap: 7px;
  }
  h1 {
    font-size: 33px;
    line-height: 1.45;
    margin: 16px 0 15px;
    letter-spacing: 0.4px;
  }
  .intro-description {
    font-size: 11px;
    line-height: 1.95;
    max-width: 270px;
  }
  .intro-art {
    top: 48px;
    right: -21px;
    width: 156px;
    opacity: 0.4;
  }
  main {
    padding: 0 18px;
  }
  .workspace {
    border-radius: 16px;
  }
  #download-form {
    padding: 23px 19px 21px;
  }
  .form-top {
    margin-bottom: 14px;
  }
  .form-top > label {
    font-size: 13px;
  }
  .service-status {
    font-size: 9px;
  }
  .url-control {
    padding: 0 11px;
    gap: 8px;
    border-radius: 9px;
    min-height: 54px;
  }
  .url-control input {
    font-size: 11px;
    padding: 18px 0;
  }
  .url-control > svg {
    height: 17px;
    width: 17px;
  }
  .paste-button {
    font-size: 10px;
    padding-left: 9px;
  }
  .form-bottom {
    gap: 12px;
    align-items: center;
    margin-top: 15px;
  }
  .form-bottom > p {
    font-size: 9px;
    max-width: 160px;
  }
  .primary-button {
    font-size: 11px;
    gap: 13px;
    padding: 11px 15px;
  }
  .button-arrow {
    font-size: 15px;
  }
  .workspace-divider {
    margin: 0 19px;
  }
  .empty-panel {
    padding: 29px 17px 27px;
  }
  .empty-panel h2 {
    font-size: 12px;
    letter-spacing: 0.5px;
  }
  .empty-panel > p {
    font-size: 10px;
  }
  .empty-mark {
    height: 38px;
    width: 38px;
  }
  .mini-steps {
    gap: 17px;
    font-size: 9px;
    margin-top: 24px;
  }
  .mini-steps li {
    gap: 5px;
  }
  .mini-steps span {
    height: 15px;
    width: 15px;
    font-size: 8px;
  }
  .media-panel {
    padding: 23px 19px;
  }
  .media-preview {
    grid-template-columns: 106px minmax(0, 1fr);
    gap: 13px;
    align-items: start;
  }
  .thumbnail-wrap {
    height: 74px;
    border-radius: 7px;
  }
  .result-label {
    font-size: 9px;
    margin-bottom: 5px;
  }
  .media-info h2 {
    font-size: 12px;
    line-height: 1.75;
  }
  .media-uploader {
    font-size: 9px;
    margin-top: 7px;
  }
  .media-info > a {
    font-size: 9px;
    margin-top: 5px;
  }
  .duration-badge {
    font-size: 8px;
    bottom: 4px;
    right: 4px;
  }
  .download-options {
    padding: 15px 13px;
    gap: 12px;
    grid-template-columns: 1.1fr 1fr;
    margin-top: 20px;
  }
  .download-options span {
    font-size: 9px;
  }
  .quality-field select {
    font-size: 11px;
    min-height: 38px;
  }
  .size-field {
    grid-column: 1/3;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px !important;
    padding-top: 8px;
    border-top: 1px solid #e6e9ef;
  }
  .size-field strong {
    font-size: 11px;
    line-height: 1.5;
  }
  .format-field strong {
    font-size: 12px;
  }
  .format-field small {
    display: block;
    line-height: 1;
    font-size: 9px;
    margin-left: 0;
  }
  .rights-check {
    font-size: 10px;
    gap: 8px;
    line-height: 1.9;
  }
  .rights-check input {
    width: 14px;
    height: 14px;
    margin-top: 3px;
  }
  .create-row {
    gap: 13px;
  }
  .create-row p {
    font-size: 9px;
    max-width: 155px;
  }
  .job-panel {
    padding: 23px 19px;
  }
  .job-top {
    gap: 10px;
  }
  .job-status-mark {
    height: 32px;
    width: 32px;
    font-size: 19px;
    border-radius: 8px;
  }
  .job-top h2 {
    font-size: 11px;
  }
  .text-button {
    font-size: 9px;
    padding-left: 6px;
  }
  .progress-meta {
    font-size: 9px;
    gap: 10px;
    align-items: flex-start;
  }
  .progress-meta > span:last-child {
    text-align: right;
    max-width: 62%;
  }
  .file-ready {
    padding: 16px 13px;
    display: block;
  }
  .file-ready strong {
    font-size: 12px;
  }
  .file-ready p {
    font-size: 9px;
  }
  .file-ready .primary-button {
    margin-top: 14px;
    width: 100%;
    font-size: 11px;
    gap: 20px;
  }
  .inline-error {
    font-size: 11px;
    padding: 10px 12px;
  }
  .guide {
    padding: 33px 3px 30px;
  }
  .guide-heading {
    display: block;
    margin-bottom: 23px;
  }
  .guide-heading h2 {
    font-size: 13px;
  }
  .guide-heading > span {
    display: block;
    font-size: 9px;
    margin-top: 8px;
  }
  .guide-grid {
    grid-template-columns: 1fr;
    gap: 21px;
  }
  .guide-grid article {
    padding-left: 30px;
  }
  .guide h3 {
    font-size: 12px;
    margin-bottom: 5px;
  }
  .guide-grid p {
    font-size: 11px;
    line-height: 1.95;
  }
  .guide-index {
    font-size: 11px;
  }
  .footer {
    margin: 0 21px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    padding: 24px 0 30px;
    font-size: 9px;
  }
  .footer > div {
    grid-column: 1/3;
  }
  .footer strong {
    font-size: 16px;
  }
  .footer > div p {
    font-size: 9px;
    margin-top: 7px;
  }
  .footer > p {
    font-size: 9px;
  }
  .not-found h1 {
    font-size: 26px;
  }
}
@media (max-width: 360px) {
  .header {
    padding-left: 18px;
    padding-right: 18px;
  }
  .header nav > a:first-child {
    display: none;
  }
  .intro-art {
    width: 135px;
    right: -15px;
    top: 65px;
  }
  .intro h1 {
    font-size: 30px;
  }
  .form-bottom {
    align-items: flex-end;
  }
  .form-bottom > p {
    max-width: 130px;
  }
  .mini-steps {
    gap: 12px;
  }
  .mini-steps li {
    gap: 4px;
  }
  .media-preview {
    grid-template-columns: 1fr;
  }
  .thumbnail-wrap {
    height: 145px;
  }
  .intro-description {
    max-width: 240px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 640px) {
  .intro-art {
    right: -12px;
  }
}
