:root {
  --ink: #171a19;
  --muted: #66706c;
  --paper: #ffffff;
  --panel: #ffffff;
  --line: #e5e8e6;
  --green: #087f5b;
  --green2: #0a9b70;
  --dark: #1b211f;
  --danger: #b42318;
  --shadow: 0 22px 60px rgba(20, 28, 25, 0.09);
}
* {
  box-sizing: border-box;
}
html {
  font-size: 16px;
}
body {
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfa 100%);
  color: var(--ink);
  font:
    400 1rem/1.55 Inter,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  min-height: 100vh;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(23, 26, 25, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 26, 25, 0.022) 1px, transparent 1px);
  background-size: 48px 48px;
}
.topbar,
main,
footer {
  position: relative;
}
.topbar {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 6vw, 96px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--dark);
  color: white;
  border-radius: 9px;
  font-family: Georgia, serif;
}
.security-note {
  font-size: 0.875rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 9px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green2);
  box-shadow: 0 0 0 5px rgba(12, 166, 120, 0.12);
}
main {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}
.workspace {
  min-height: calc(100vh - 150px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.83fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: center;
  padding: 70px 0;
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--green);
  margin: 0 0 18px;
}
.result-card h1,
.pickup-heading h1 {
  font:
    600 clamp(2.7rem, 5.2vw, 5.2rem) / 1.02 Georgia,
    "Noto Serif SC",
    serif;
  letter-spacing: -0.045em;
  margin: 0;
}
.hero-title {
  max-width: 10em;
  margin: 0;
  color: var(--ink);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  font-weight: 750;
  line-height: 1.14;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero-title span {
  color: var(--green);
  white-space: nowrap;
}
.lead {
  max-width: 590px;
  font-size: 1.075rem;
  color: var(--muted);
  margin: 28px 0 36px;
}
.rules {
  display: flex;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.rules div {
  display: flex;
  flex-direction: column;
}
.rules strong {
  font:
    italic 1.1rem Georgia,
    serif;
  color: var(--green);
}
.rules span {
  font-size: 0.82rem;
  color: var(--muted);
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.dropzone {
  height: 240px;
  border: 1.5px dashed #9bb3aa;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  cursor: pointer;
  text-align: center;
  transition: 0.2s;
  background: #fbfbfb;
}
.dropzone:hover,
.dropzone:focus,
.dropzone.drag {
  border-color: var(--green);
  background: #f1fbf6;
  outline: none;
}
.upload-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--dark);
  color: white;
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.dropzone strong {
  font-size: 1.08rem;
}
.dropzone span,
.dropzone small {
  color: var(--muted);
}
.dropzone small {
  margin-top: 10px;
  font-size: 0.75rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 22px;
  margin: 24px 0;
}
.form-row label,
.pickup-box label,
.pickup-panel label {
  font-weight: 650;
  font-size: 0.88rem;
}
.form-row select,
.code-input input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  color: var(--ink);
  padding: 0 12px;
  margin-top: 8px;
  font: inherit;
}
.switch-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.switch-label span {
  display: flex;
  flex-direction: column;
}
.switch-label small {
  font-weight: 400;
  color: var(--muted);
}
.switch-label input {
  position: absolute;
  opacity: 0;
}
.switch-label i {
  width: 46px;
  height: 26px;
  border-radius: 15px;
  background: #cbd7d1;
  position: relative;
  flex: none;
  transition: 0.2s;
}
.switch-label i:after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fff;
  transition: 0.2s;
}
.switch-label input:checked + i {
  background: var(--green);
}
.switch-label input:checked + i:after {
  transform: translateX(20px);
}
.pickup-box {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafafa;
  margin-bottom: 20px;
}
.code-input {
  display: flex;
  gap: 8px;
}
.code-input button,
.copy-row button {
  border: 0;
  border-radius: 9px;
  background: #e5f4ec;
  color: var(--green);
  font-weight: 700;
  padding: 0 16px;
  white-space: nowrap;
  cursor: pointer;
}
.pickup-box p,
.notice {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 10px 0 0;
}
.primary {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 11px;
  background: var(--dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  font-weight: 750;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
}
.primary:hover {
  background: var(--green);
}
.primary:disabled {
  opacity: 0.55;
  cursor: wait;
}
.fineprint {
  font-size: 0.72rem;
  text-align: center;
  color: #7b8984;
  margin: 13px 10px 0;
}
.status {
  border-radius: 10px;
  background: #fff2f0;
  color: var(--danger);
  padding: 11px 13px;
  font-size: 0.86rem;
  margin-bottom: 15px;
}
.status.ok {
  background: #eaf8f1;
  color: #087f5b;
}
.progress {
  height: 3px;
  background: linear-gradient(90deg, var(--green) 40%, #bce5d3 40%);
  background-size: 200% 100%;
  animation: progress 1s infinite;
}
@keyframes progress {
  to {
    background-position: -200% 0;
  }
}
.zip-guide {
  padding: 70px 0 90px;
  border-top: 1px solid var(--line);
}
.guide-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 50px;
  align-items: end;
}
.guide-heading .eyebrow {
  grid-column: 1/-1;
}
.guide-heading h2 {
  font:
    600 clamp(2rem, 4vw, 3.5rem) / 1.08 Georgia,
    "Noto Serif SC",
    serif;
  letter-spacing: -0.035em;
  margin: 0;
}
.guide-heading > p:last-child {
  color: var(--muted);
  margin: 0 0 5px;
}
.guide-heading a {
  color: var(--green);
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.platform-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 38px;
}
.platform-title span {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}
.platform-title p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}
.guide-steps {
  list-style: none;
  padding: 0;
  margin: 42px 0 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.guide-steps li {
  display: flex;
  gap: 17px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}
.step-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: var(--dark);
  color: white;
  font:
    italic 1rem Georgia,
    serif;
}
.guide-steps strong {
  display: block;
  margin: 3px 0 6px;
}
.guide-steps p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}
.guide-steps code {
  font:
    700 0.84rem/1 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  color: var(--green);
  background: #eaf6ef;
  padding: 2px 5px;
  border-radius: 4px;
}
.command-guides {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 24px;
}
.command-card {
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}
.command-card .platform-title {
  margin: 0 0 18px;
}
.command-card > p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 12px 0 8px;
}
.command-card pre {
  margin: 8px 0 15px;
  padding: 14px 16px;
  overflow-x: auto;
  border: 1px solid #2f3633;
  border-radius: 9px;
  background: #1b211f;
  color: #eaf7f1;
}
.command-card pre code {
  font:
    500 0.86rem/1.5 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  white-space: pre;
}
.command-card .command-note {
  margin-bottom: 0;
  font-size: 0.8rem;
}
.algorithm-note {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  background: #e9f5ef;
  border-left: 4px solid var(--green);
  border-radius: 7px;
  padding: 18px 20px;
  color: #33564b;
}
.algorithm-note strong {
  color: var(--dark);
}
.result-card {
  max-width: 860px;
  margin: 80px auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow);
}
.result-card h1 {
  font-size: 3.2rem;
}
.result-check {
  float: right;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e5f7ee;
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}
.result-meta {
  color: var(--muted);
}
.result-grid {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 36px;
  align-items: center;
  margin: 38px 0;
}
.result-grid label {
  font-size: 0.8rem;
  font-weight: 700;
}
.result-details {
  min-width: 0;
}
.result-value {
  display: block;
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0 12px;
  margin-top: 8px;
  color: var(--muted);
  background: #fbfbfb;
}
.pickup-credential {
  margin-top: 18px;
}
.pickup-code-value {
  color: var(--ink);
  font:
    750 1rem/1 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.06em;
}
.copy-all {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 9px;
  background: #e5f4ec;
  color: var(--green);
  font-weight: 750;
  margin-top: 16px;
  cursor: pointer;
}
.copy-all:hover {
  background: #d6eee2;
}
.copy-feedback {
  min-height: 1.35em;
  margin: 8px 0 0 !important;
  color: var(--green);
}
.result-grid img {
  width: 190px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.result-grid p {
  font-size: 0.84rem;
  color: var(--green);
}
.secondary {
  color: var(--green);
  font-weight: 700;
}
.pickup-view {
  max-width: 760px;
  margin: 70px auto;
}
.pickup-heading {
  text-align: center;
  margin-bottom: 34px;
}
.pickup-heading h1 {
  font-size: 3.6rem;
}
.pickup-heading > p:last-child {
  color: var(--muted);
}
.pickup-panel {
  max-width: 580px;
  margin: auto;
}
.pickup-panel .code-input {
  margin-top: 8px;
}
.pickup-panel .code-input input {
  margin: 0;
}
.pickup-panel .code-input button {
  background: var(--dark);
  color: white;
}
.file-badge {
  width: 62px;
  height: 72px;
  float: left;
  margin-right: 16px;
  border-radius: 8px;
  background: #e6f5ed;
  color: var(--green);
  font-weight: 900;
  display: grid;
  place-items: center;
}
.file-info {
  height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 22px;
  min-width: 0;
}
.file-info strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-info span {
  color: var(--muted);
  font-size: 0.85rem;
}
.countdown {
  text-align: center;
  font-weight: 700;
  color: var(--green);
}
footer {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
  height: 70px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.78rem;
}
[hidden] {
  display: none !important;
}
@media (max-width: 880px) {
  .workspace {
    grid-template-columns: 1fr;
    padding: 48px 0;
  }
  .hero-title {
    font-size: 2.7rem;
  }
  .rules {
    margin-bottom: 4px;
  }
  .guide-heading {
    grid-template-columns: 1fr;
  }
  .guide-heading > p:last-child {
    margin-top: 18px;
  }
  .result-grid {
    grid-template-columns: 1fr;
  }
  .result-grid img {
    margin: auto;
  }
  .topbar {
    padding: 0 22px;
  }
}
@media (max-width: 600px) {
  .guide-steps {
    grid-template-columns: 1fr;
  }
  .command-guides {
    grid-template-columns: 1fr;
  }
  .algorithm-note {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}
@media (max-width: 540px) {
  main {
    width: min(100% - 24px, 1160px);
  }
  .topbar {
    height: 64px;
  }
  .security-note {
    font-size: 0;
  }
  .security-note .dot {
    display: block;
  }
  .workspace {
    padding: 34px 0;
    gap: 32px;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-title span {
    white-space: normal;
  }
  .lead {
    font-size: 1rem;
  }
  .rules {
    gap: 12px;
    justify-content: space-between;
  }
  .panel {
    padding: 16px;
    border-radius: 16px;
  }
  .dropzone {
    height: 195px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .zip-guide {
    padding: 50px 0 64px;
  }
  .result-card {
    padding: 26px 18px;
    margin: 34px 0;
  }
  .result-card h1,
  .pickup-heading h1 {
    font-size: 2.5rem;
  }
  .result-grid {
    gap: 20px;
  }
  .code-input {
    flex-direction: column;
  }
  .code-input button {
    height: 42px;
  }
  .pickup-view {
    margin: 38px auto;
  }
}
