:root { color-scheme: light; --ink: #080f1d; --muted: #667286; --blue: #1769f6; --line: #e3e8ef; --field: #f5f7fa; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--ink); background: #fff; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
button, textarea, a { -webkit-tap-highlight-color: transparent; }
button, textarea { font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
[hidden] { display: none !important; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.header { height: 80px; padding: 0 5%; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 20px; font-size: 24px; font-weight: 650; text-decoration: none; color: var(--ink); }
.brand svg { width: 34px; height: 34px; stroke-width: 2.7; }
.domain { color: var(--muted); font-size: 18px; }
main { flex: 1; padding: 76px 24px 68px; }
.intro { text-align: center; }
h1 { margin: 0; font-size: clamp(32px, 3.9vw, 60px); line-height: 1.26; font-weight: 750; letter-spacing: -.02em; }
.subtitle { margin: 22px 0 0; color: var(--muted); font-size: clamp(16px, 1.96vw, 30px); line-height: 1.5; }
.platforms { color: var(--muted); margin: 30px 0 0; font-size: 23px; line-height: 1.6; }
.workspace { max-width: 872px; margin: 52px auto 0; }
.label-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; gap: 12px; }
label { font-size: 20px; font-weight: 650; }
.text-button { color: var(--blue); background: transparent; border: 0; padding: 4px 0 4px 12px; font-size: 18px; }
textarea { width: 100%; display: block; resize: vertical; min-height: 140px; max-height: 320px; border: 1px solid #c3ccda; border-radius: 12px; background: var(--field); color: var(--ink); padding: 18px 24px; font-size: 18px; line-height: 1.7; }
textarea::placeholder { color: #748197; opacity: 1; }
textarea:focus { outline: 2px solid #1769f633; border-color: var(--blue); }
.primary { min-height: 65px; display: flex; align-items: center; justify-content: center; gap: 20px; width: 100%; border: 0; border-radius: 12px; background: var(--blue); color: #fff; font-size: 21px; font-weight: 550; text-decoration: none; transition: background .15s ease; }
form > .primary { margin-top: 26px; }
.primary:hover { background: #105bd8; }
:is(button, a):focus-visible { outline: 3px solid #79a9ff; outline-offset: 4px; }
.steps { display: flex; margin-top: 40px; }
.steps p { margin: 0; width: 50%; padding: 4px 10px; text-align: center; font-size: 21px; line-height: 1.65; font-weight: 550; }
.steps p + p { border-left: 1px solid var(--line); }
.steps span { margin-right: 24px; color: var(--blue); font-size: 24px; font-weight: 650; }
.limits { margin: 46px 0 0; padding-top: 27px; border-top: 1px solid var(--line); text-align: center; font-size: 18px; line-height: 1.7; color: var(--muted); }
footer { border-top: 1px solid var(--line); padding: 24px; color: var(--muted); font-size: 14px; text-align: center; line-height: 1.6; }
#status { margin: 20px 0 0; color: var(--muted); line-height: 1.7; font-size: 15px; overflow-wrap: anywhere; }
#status.error { color: #b63238; }
#verification { margin-top: 20px; }
#download-verification { margin-top: 20px; }
#result { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.result-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
#result h2 { font-size: 22px; font-weight: 600; line-height: 1.5; margin: 12px 0 24px; overflow-wrap: anywhere; }
.actions { display: flex; gap: 16px; }
.actions .primary { flex: 1; min-height: 54px; font-size: 18px; }
.secondary { background: #fff; border: 1px solid #c3ccda; border-radius: 12px; padding: 12px 24px; color: var(--ink); font-size: 17px; }
video { width: 100%; max-height: 480px; margin-top: 24px; border-radius: 12px; background: #080f1d; }
.spinner { width: 20px; height: 20px; border: 2px solid #ffffff66; border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 601px) and (max-height: 900px) {
  .header { height: 68px; flex-shrink: 0; }
  main { padding: 40px 24px 36px; }
  h1 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.3; }
  .subtitle { margin-top: 16px; font-size: 21px; line-height: 1.5; }
  .platforms { margin-top: 20px; font-size: 18px; }
  .workspace { margin-top: 32px; }
  .label-row { margin-bottom: 12px; }
  label { font-size: 18px; }
  textarea { min-height: 110px; padding: 14px 20px; font-size: 16px; }
  .primary { min-height: 52px; font-size: 18px; }
  form > .primary { margin-top: 20px; }
  .steps { margin-top: 28px; }
  .steps p { font-size: 18px; }
  .steps span { font-size: 20px; }
  .limits { margin-top: 28px; padding-top: 20px; font-size: 15px; }
  footer { padding: 18px; }
}
@media (min-width: 601px) and (max-height: 760px) {
  .header { height: 60px; }
  main { padding-top: 24px; padding-bottom: 24px; }
  h1 { font-size: 42px; }
  .workspace { margin-top: 24px; }
  footer { padding: 14px; }
}
@media (min-width: 601px) and (max-height: 640px) {
  main { padding-top: 16px; padding-bottom: 16px; }
  h1 { font-size: 36px; }
  .subtitle { font-size: 18px; margin-top: 12px; }
  .platforms { margin-top: 12px; font-size: 16px; }
  .workspace { margin-top: 20px; }
  textarea { min-height: 88px; }
  .steps { margin-top: 20px; }
  .limits { margin-top: 20px; padding-top: 16px; }
  footer { padding: 10px; }
}
@media (max-width: 600px) {
  .header { height: 68px; padding: 0 20px; gap: 12px; }
  .brand { gap: 10px; font-size: 19px; white-space: nowrap; }
  .brand svg { width: 25px; height: 25px; }
  .domain { font-size: 12px; }
  main { padding: 52px 20px 44px; }
  h1 { max-width: 330px; margin: 0 auto; font-size: 32px; line-height: 1.5; }
  h1 span, .subtitle span { display: block; }
  .subtitle { max-width: 300px; margin: 18px auto 0; font-size: 16px; }
  .platforms { font-size: 14px; margin-top: 23px; }
  .workspace { margin-top: 38px; }
  label { font-size: 16px; }
  .text-button { font-size: 16px; }
  textarea { font-size: 16px; padding: 14px 16px; min-height: 152px; }
  .primary { min-height: 56px; font-size: 18px; }
  .steps { margin-top: 32px; }
  .steps p { font-size: 14px; padding: 4px; }
  .steps span { font-size: 18px; margin-right: 10px; }
  .limits { margin-top: 32px; padding-top: 22px; font-size: 13px; }
  footer { font-size: 12px; padding: 20px; }
  .result-meta { font-size: 12px; }
  .secondary { padding: 10px 16px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 2s !important; transition: none !important; } }
