.converter-wrap { text-align: center; }
.converter-wrap h1,
.converter-wrap h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 1.85rem;
  margin: 1.5rem 0 0.85rem;
  background: none;
  -webkit-text-fill-color: unset;
  color: #111;
}
.sub {
  text-align: left;
  font-family: Georgia, "Times New Roman", serif;
  color: #222;
  margin: 0 auto 1.25rem;
  max-width: 40rem;
}

.converter-card {
  background: #f3f3f3;
  border-radius: 4px;
  padding: 1.35rem 1.1rem;
  max-width: 40rem;
  margin: 0 auto 1.75rem;
}
.field-label { display: none; }
.url-input {
  width: 100%;
  border: 1px solid #ddd;
  background: #fff;
  padding: 0.8rem 0.9rem;
  font: 1rem Arial, sans-serif;
  border-radius: 2px;
}
.url-input:focus { outline: 2px solid #111; }

.controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
}
.format-pills { display: flex; gap: 0.3rem; }
.pill {
  border: 1px solid #ccc;
  background: #fff;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  font: 0.9rem Arial, sans-serif;
}
.pill.is-on { background: #111; color: #fff; border-color: #111; }
.quality-select {
  border: 1px solid #ccc;
  padding: 0.42rem 0.4rem;
  font: 0.9rem Arial, sans-serif;
  background: #fff;
}
.convert-btn {
  margin-left: auto;
  border: 0;
  background: #111;
  color: #fff;
  font: 1rem Arial, sans-serif;
  font-weight: 700;
  padding: 0.7rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  min-width: 7.5rem;
}
.convert-btn:disabled { opacity: 0.6; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.result[hidden],
.error[hidden] { display: none !important; }
.result {
  text-align: left;
  max-width: 40rem;
  margin: 0 auto 1rem;
  padding: 0.85rem 0;
}
.thumb { width: 160px; height: auto; }
.bar { height: 5px; background: #eee; overflow: hidden; margin: 0.4rem 0; }
.bar span { display: block; height: 100%; width: 0; background: #111; }
.download-btn {
  display: inline-block;
  background: #111;
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  font-weight: 700;
}
.error { color: #b91c1c; text-align: left; max-width: 40rem; margin: 0 auto; }

.seo-block, .how {
  text-align: left;
  font-family: Georgia, "Times New Roman", serif;
  color: #222;
}
.seo-block h2, .how h2 { font-weight: 400; font-size: 1.35rem; }
.quick-answer { display: none; }
table { width: 100%; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 0.9rem; }
th, td { border-bottom: 1px solid #eee; padding: 0.4rem; text-align: left; }

@media (max-width: 560px) {
  .convert-btn { width: 100%; margin-left: 0; }
}
