/* W6 scan loop: desktop phone shell + scan-specific controls */
.w6-scan-desktop {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 12px;
  background: #eef1f6;
}

.w6-scan-desktop .phone-wrap {
  align-items: center;
  padding: 0;
}

.w6-scan-desktop .phone-frame {
  max-width: 100%;
}

.w6-scan-desktop .phone-screen {
  height: min(840px, calc(100vh - 72px));
  min-height: min(640px, calc(100vh - 72px));
}

.w6-empty-card {
  align-items: center;
  text-align: center;
  padding: 36px 20px;
}

.w6-empty-card .state-icon {
  width: 40px;
  height: 40px;
  color: var(--text-tertiary);
}

.w6-empty-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}

.w6-empty-hint {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-tertiary);
}

.w6-manual-sheet {
  max-height: 88%;
}

.w6-manual-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

.w6-manual-field input {
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
}

.w6-manual-field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(51, 112, 255, .12);
}

.w6-manual-submit {
  width: 100%;
}

.w6-scan-loading {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.w6-scan-loading-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.w6-block-btn {
  width: 100%;
}

@media (max-width: 768px) {
  .w6-scan-desktop {
    min-height: 100vh;
    padding: 0;
  }

  .w6-scan-desktop .phone-wrap {
    padding: 0;
  }

  .w6-scan-desktop .phone-screen {
    height: 100vh;
    min-height: 0;
    border-radius: 0;
  }
}