.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px 60px;
}

.hero {
  text-align: center;
  padding: 18px 0 6px;
}

.hero h1 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--text);
}

.hero .sub {
  margin-top: 10px;
  color: rgba(243, 244, 246, .6);
  font-size: 15px;
}

.feat-line {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.feat-line span {
  font-size: 12.5px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(243, 244, 246, .78);
}

.panel {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  padding: 22px;
  margin-top: 24px;
}

.grid2 {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
}

@media (max-width: 820px) {
  .grid2 {
    grid-template-columns: 1fr;
  }
}

.sec-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sec-title small {
  font-weight: 400;
  color: rgba(243, 244, 246, .45);
  font-size: 12px;
}

.drop-zone {
  border: 2px dashed rgba(255, 255, 255, .2);
  border-radius: 14px;
  padding: 30px 18px;
  text-align: center;
  cursor: pointer;
  transition: .2s;
  background: var(--surface);
  position: relative;
  overflow: hidden;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.drop-zone:hover,
.drop-zone.drag-over {
  border-color: var(--accent);
  background: rgba(16, 185, 129, .06);
}

.drop-zone .upload-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
  stroke: rgba(243, 244, 246, .35);
}

.drop-zone .upload-text {
  font-size: 14px;
  font-weight: 600;
  color: rgba(243, 244, 246, .55);
}

.drop-zone .upload-hint {
  font-size: 12px;
  color: rgba(243, 244, 246, .4);
  margin-top: 4px;
}

.upload-preview {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--bg);
  z-index: 2;
}

.upload-preview.show {
  display: block;
}

.upload-progress {
  display: none;
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .1);
}

.upload-progress.show {
  display: block;
}

.upload-progress-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, .14);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
}

.upload-progress-bar {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #2A2A30;
  overflow: hidden;
  margin-bottom: 8px;
}

.upload-progress-bar span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--accent);
  transition: width .35s ease;
}

.upload-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: rgba(243, 244, 246, .58);
}

.upload-info {
  font-size: 12px;
  color: rgba(243, 244, 246, .4);
  margin-top: 10px;
  letter-spacing: .5px;
  text-align: center;
  min-height: 18px;
}

.upload-note {
  font-size: 12px;
  color: rgba(243, 244, 246, .45);
  margin-top: 6px;
  line-height: 1.5;
  text-align: center;
  min-height: 18px;
}

#processBtn {
  display: none;
  margin-top: 14px;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  background: var(--accent);
  color: var(--bg);
  transition: .2s;
  font-family: inherit;
}

#processBtn:hover:not(:disabled) {
  filter: brightness(1.08);
}

#processBtn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.mode-selector {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.mode-chip {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(243, 244, 246, .6);
  cursor: pointer;
  transition: .2s;
  background: var(--surface);
}

.mode-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.mode-chip.active {
  background: var(--accent);
  color: var(--bg);
  border-color: transparent;
  font-weight: 600;
}

.mode-chip small {
  font-weight: 400;
  opacity: .6;
  font-size: 11px;
}

.mode-desc {
  font-size: 13px;
  color: rgba(243, 244, 246, .55);
  line-height: 1.6;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .06);
}

.result-col {
  display: none;
}

.result-col.show {
  display: block;
}

.result-image-wrap {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, .1);
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.result-image-wrap img,
#resultImage {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

.result-info {
  font-size: 13px;
  color: rgba(243, 244, 246, .55);
  margin-top: 12px;
  letter-spacing: .5px;
}

.result-note {
  font-size: 12px;
  color: rgba(243, 244, 246, .4);
  margin-top: 8px;
  line-height: 1.5;
}

.result-dl-btn {
  display: inline-block;
  margin-top: 14px;
  padding: 11px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  background: var(--accent);
  color: var(--bg);
  cursor: pointer;
  text-decoration: none;
}

.result-dl-btn:hover {
  filter: brightness(1.08);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

@media (max-width: 860px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pricing-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: .2s;
}

.pricing-card:hover {
  border-color: rgba(16, 185, 129, .3);
}

.pricing-card.featured {
  border: 2px solid var(--accent);
}

.pc-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  white-space: nowrap;
}

.pc-label {
  font-size: 13px;
  color: rgba(243, 244, 246, .7);
  font-weight: 500;
}

.pc-price {
  font-size: 32px;
  font-weight: 700;
  margin: 8px 0 2px;
  letter-spacing: -.5px;
}

.pc-unit {
  font-size: 12px;
  color: rgba(243, 244, 246, .5);
  margin-bottom: 14px;
}

.pc-features {
  list-style: none;
  font-size: 13px;
  color: rgba(243, 244, 246, .72);
  flex: 1;
  padding: 0;
}

.pc-features li {
  padding: 6px 0 6px 22px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.pc-features li:last-child {
  border-bottom: none;
}

.pc-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
}

.pc-btn {
  margin-top: 16px;
  padding: 11px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  background: rgba(16, 185, 129, .1);
  color: var(--accent);
  transition: .2s;
  text-align: center;
  text-decoration: none;
  display: block;
}

.pc-btn.solid,
.pc-btn.accent {
  background: var(--accent);
  color: var(--bg);
}

.pc-btn:hover {
  filter: brightness(1.08);
}

.pricing-note {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: rgba(243, 244, 246, .55);
}

.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 16, .88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  backdrop-filter: blur(8px);
}

.loading-overlay.show {
  display: flex;
}

.loading-card {
  text-align: center;
  padding: 32px;
  background: var(--surface);
  border-radius: 20px;
  max-width: 360px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.loading-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid rgba(255, 255, 255, .15);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.loading-sub {
  font-size: 13px;
  color: rgba(243, 244, 246, .5);
  margin-bottom: 8px;
}

.loading-timer {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}

.loading-progress-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #2A2A30;
  overflow: hidden;
  margin-bottom: 16px;
}

.loading-progress-bar {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--accent);
  transition: width .35s ease;
}

.loading-stages {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
  text-align: left;
}

.loading-stage {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(243, 244, 246, .4);
  transition: .3s;
}

.loading-stage.done {
  color: rgba(16, 185, 129, .8);
}

.loading-stage.active {
  color: var(--text);
  font-weight: 600;
}

.stage-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2A2A30;
  transition: .3s;
}

.loading-stage.done .stage-dot {
  background: var(--accent);
}

.loading-stage.active .stage-dot {
  background: var(--accent);
  box-shadow: 0 0 8px rgba(16, 185, 129, .4);
}

.loading-wait-note {
  font-size: 11px;
  color: rgba(243, 244, 246, .4);
  margin-top: 8px;
}

.loading-cancel-btn {
  margin-top: 12px;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: transparent;
  color: rgba(243, 244, 246, .6);
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}

#smartTip {
  margin-top: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(255, 180, 50, .1);
  border: 1px solid rgba(255, 180, 50, .2);
  font-size: 12px;
  color: rgba(243, 244, 246, .6);
  line-height: 1.6;
  letter-spacing: .5px;
}

.footer-beian {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.login-tabs {
  display: flex;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.login-tab {
  flex: 1;
  padding: 10px 0;
  background: none;
  border: none;
  color: #6B7280;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: .2s;
  font-family: inherit;
}

.login-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.login-tab:hover {
  color: #9CA3AF;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-field input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: .2s;
  font-family: inherit;
  box-sizing: border-box;
}

.auth-field input:focus {
  border-color: rgba(16, 185, 129, .4);
}

.auth-field input::placeholder {
  color: #4B5563;
}

.login-submit-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  background: var(--accent);
  color: var(--bg);
  font-size: 14px;
  font-weight: 600;
  transition: .2s;
  font-family: inherit;
  margin-top: 4px;
}

.login-submit-btn:hover {
  background: #059669;
}

.login-submit-btn:active {
  transform: scale(.98);
}

.login-submit-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.login-note {
  font-size: 11px;
  color: #4B5563;
  text-align: center;
  margin-top: 14px;
}

.login-note a {
  color: #6B7280;
  text-decoration: none;
}

.login-note a:hover {
  color: var(--accent);
}

.dd-user-info {
  padding: 8px 16px 10px;
  font-size: 12px;
  color: #6B7280;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  margin-bottom: 4px;
}

.dd-user-info strong {
  color: var(--text);
  font-size: 14px;
  display: block;
  margin-bottom: 2px;
}

.auth-error {
  color: #EF4444;
  font-size: 12px;
  text-align: center;
  min-height: 16px;
}

.register-method-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  background: var(--bg);
  padding: 4px;
  border-radius: 10px;
}

.rm-tab {
  flex: 1;
  padding: 8px 0;
  background: none;
  border: none;
  color: #6B7280;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 7px;
  transition: .2s;
  font-family: inherit;
}

.rm-tab.active {
  background: var(--surface);
  color: var(--accent);
  font-weight: 600;
}

.rm-tab:hover:not(.active) {
  color: #9CA3AF;
}

.trust-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .04);
}

.trust-badges span {
  font-size: 12px;
  color: #9CA3AF;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.trust-badges svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2.5;
}
/* ===== Footer ===== */
.site-footer {
  background:#08080A;
  border-top:1px solid rgba(255,255,255,0.08);
  padding:46px 24px 36px;
  text-align: center;
  margin-top: 56px;
}

.footer-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 13px;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: .5px;
  transition: color .2s;
}

.footer-links a:hover {
  color: #10B981;
}

.footer-promise {
  font-size: 12px;
  color: #10B981;
  margin-bottom: 12px;
  letter-spacing: .3px;
}

.footer-text {
  font-size: 12px;
  color: #999999;
  margin-bottom: 6px;
  line-height: 1.6;
}

.footer-icp {
  font-size: 11.5px;
  color: #999999;
  text-decoration: none;
  letter-spacing: .3px;
  transition: color .2s;
  display: inline-block;
  margin-bottom: 4px;
}

.footer-icp:hover {
  color: #666666;
}

.footer-ga {
  font-size: 12px;
  color: #666666;
  text-decoration: none;
  letter-spacing: .5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.footer-ga:hover {
  color: #333333;
}

.footer-ga img {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}

@media(max-width:600px) {
  .footer-links {
    gap: 12px;
  }
  .footer-ga {
    font-size: 11px;
  }
  .footer-ga img {
    width: 16px;
    height: 16px;
  }
}

/* === Toast === */
.tmt-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #1e1e2e;
  color: #fff;
  padding: 12px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  pointer-events: none;
  white-space: nowrap;
}
.tmt-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(4px);
}
.tmt-toast.error {
  background: #dc2626;
}
.tmt-toast.success {
  background: #10B981;
}

/* === No-Quota Modal (付费引导弹窗) === */
.nq-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100002;
}
.nq-overlay.show {
  display: flex;
}
.nq-modal {
  background: #fff;
  border-radius: 18px;
  padding: 30px 26px;
  max-width: 440px;
  width: 92%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.nq-modal h2 {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 4px;
  color: #1d1d1f;
}
.nq-modal .nq-sub {
  font-size: 13px;
  color: rgba(29,29,31,.5);
  text-align: center;
  margin-bottom: 20px;
}
.nq-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
@media(max-width: 400px) {
  .nq-mini-grid {
    grid-template-columns: 1fr;
  }
}
.nq-mini-card {
  background: #f5f5f7;
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
  cursor: pointer;
  transition: .15s;
  user-select: none;
}
.nq-mini-card:hover {
  background: #E1F5EE;
}
.nq-mini-card.rec {
  background: #E1F5EE;
}
.nq-mini-card .nq-mc-price {
  font-size: 20px;
  font-weight: 600;
  color: #1d9e75;
}
.nq-mini-card .nq-mc-label {
  font-size: 12px;
  color: rgba(29,29,31,.6);
  margin: 2px 0;
}
.nq-mini-card .nq-mc-desc {
  font-size: 11px;
  color: rgba(29,29,31,.35);
}
.nq-close-btn {
  display: block;
  margin: 0 auto;
  background: transparent;
  color: rgba(29,29,31,.35);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  padding: 8px 28px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  transition: .2s;
}
.nq-close-btn:hover {
  color: rgba(29,29,31,.6);
  border-color: rgba(0,0,0,.2);
}
