* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #0f1115;
  color: #e6e8eb;
  line-height: 1.5;
  min-height: 100vh;
}
header {
  text-align: center;
  padding: 48px 20px 24px;
}
header h1 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
header p {
  color: #8b93a1;
  margin-top: 8px;
  font-size: 0.95rem;
}
main {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px 80px;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.tab {
  background: #1a1d24;
  color: #8b93a1;
  border: 1px solid #262a33;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all .15s;
}
.tab:hover { color: #e6e8eb; border-color: #3a4050; }
.tab.active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}
.dropzone {
  border: 2px dashed #2a2f3a;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  transition: all .15s;
  cursor: pointer;
}
.dropzone.drag {
  border-color: #2563eb;
  background: #141a2a;
}
.dropzone p { color: #8b93a1; }
.dropzone .link {
  color: #2563eb;
  cursor: pointer;
  text-decoration: underline;
}
.hint {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #5a6270;
}
.options {
  margin-top: 20px;
  display: none;
}
.options.show { display: block; }
.options label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: #8b93a1;
}
.options input, .options select {
  background: #1a1d24;
  border: 1px solid #262a33;
  color: #e6e8eb;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  width: 100%;
  max-width: 300px;
  margin-bottom: 14px;
}
.actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
button.primary, button.secondary {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  font-size: 0.95rem;
  cursor: pointer;
  font-weight: 500;
}
button.primary {
  background: #2563eb;
  color: #fff;
}
button.primary:disabled {
  background: #1e2a45;
  color: #4a5568;
  cursor: not-allowed;
}
button.secondary {
  background: #1a1d24;
  color: #8b93a1;
  border: 1px solid #262a33;
}
.results {
  margin-top: 30px;
}
.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1a1d24;
  border: 1px solid #262a33;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.result-item a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}
.result-item a:hover { text-decoration: underline; }
.status {
  color: #5a6270;
  font-size: 0.85rem;
}
.status.ok { color: #22c55e; }
.status.err { color: #ef4444; }
footer {
  text-align: center;
  padding: 30px 20px;
  color: #5a6270;
  font-size: 0.85rem;
  border-top: 1px solid #1a1d24;
}
@media (max-width: 600px) {
  header h1 { font-size: 1.5rem; }
  .tabs { gap: 6px; }
  .tab { font-size: 0.8rem; padding: 6px 10px; }
}