/* Conver2go — estilos compartidos (mobile-first) */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #f4f5fb; --card: #ffffff; --ink: #17172b; --mut: #5d5d78;
  --acc: #6d28d9; --acc2: #2563eb; --ok: #0e9f6e; --line: #e4e4f0;
  --rad: 18px;
}
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.5;
  padding-bottom: 40px;
}
.wrap { max-width: 680px; margin: 0 auto; padding: 0 16px; }
header.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(244,245,251,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
header.top .wrap { display: flex; align-items: center; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
.logo {
  width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--acc), var(--acc2));
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.brand { font-weight: 800; font-size: 19px; letter-spacing: -.3px; }
.brand a { color: inherit; text-decoration: none; }
.brand span { color: var(--acc); }
.top .tag { margin-left: auto; font-size: 12px; color: var(--mut); text-align: right; }
.hero { padding: 30px 0 8px; text-align: center; }
.hero h1 { font-size: 30px; line-height: 1.15; letter-spacing: -.5px; }
.hero h1 .grad { background: linear-gradient(90deg, var(--acc), var(--acc2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--mut); margin-top: 10px; font-size: 16px; }
.trust {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 18px 0 4px;
}
.trust span {
  background: #ece9fb; color: #4c1d95; font-size: 13px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
}
h1.tool { font-size: 26px; letter-spacing: -.4px; padding-top: 24px; }
.sub { color: var(--mut); margin-top: 6px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
@media (max-width: 420px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--rad);
  padding: 18px; text-decoration: none; color: inherit; display: block;
}
.card:active { transform: scale(.99); }
.card .ic { font-size: 28px; }
.card h3 { font-size: 17px; margin-top: 8px; }
.card p { color: var(--mut); font-size: 14px; margin-top: 3px; }
.card .go { color: var(--acc); font-weight: 700; font-size: 14px; margin-top: 10px; display: inline-block; }
.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--rad);
  padding: 20px; margin-top: 20px;
}
.dz {
  border: 2px dashed #c9c4ec; border-radius: 14px; padding: 30px 16px; text-align: center;
  cursor: pointer; background: #fbfaff;
}
.dz.over { border-color: var(--acc); background: #f1edfd; }
.dz .big { font-size: 34px; }
.dz p { font-weight: 700; margin-top: 6px; }
.dz small { color: var(--mut); }
.dz.has { border-style: solid; border-color: var(--ok); background: #effaf4; }
.fname { font-weight: 700; word-break: break-all; }
.fsize { color: var(--mut); font-size: 13px; }
.btn {
  display: block; width: 100%; border: 0; border-radius: 14px; padding: 16px;
  font-size: 17px; font-weight: 800; cursor: pointer; margin-top: 16px;
  background: linear-gradient(90deg, var(--acc), var(--acc2)); color: #fff;
}
.btn:disabled { opacity: .45; cursor: default; }
.btn.dl { background: var(--ok); text-align: center; text-decoration: none; }
.status { margin-top: 14px; font-size: 15px; color: var(--mut); text-align: center; min-height: 22px; }
.status.err { color: #c81e1e; font-weight: 600; }
.bar { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; margin-top: 10px; display: none; }
.bar i { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--acc), var(--acc2)); transition: width .2s; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.steps div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; font-size: 13.5px; }
.steps b { display: block; font-size: 15px; margin-bottom: 2px; }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
section.info { margin-top: 28px; }
section.info h2 { font-size: 20px; margin-bottom: 8px; }
section.info p { color: var(--mut); margin-bottom: 10px; }
.others { margin-top: 28px; }
.others h2 { font-size: 18px; margin-bottom: 10px; }
.others a {
  display: inline-block; background: var(--card); border: 1px solid var(--line);
  padding: 9px 14px; border-radius: 999px; margin: 0 6px 8px 0; color: var(--ink);
  text-decoration: none; font-size: 14px; font-weight: 600;
}
.pagelist { margin-top: 14px; display: grid; gap: 10px; }
.counter {
  margin-top: 22px; background: #ece9fb; color: #4c1d95; border-radius: 14px;
  padding: 13px 16px; text-align: center; font-size: 15px;
}
.counter b { font-size: 17px; }
.langs { margin-left: auto; font-size: 14.5px; font-weight: 700; white-space: nowrap; }
.langs a { color: var(--mut); text-decoration: none; padding: 4px 2px; }
.langs a.on { color: var(--acc); text-decoration: underline; }
.selrow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.selrow label { font-size: 13.5px; font-weight: 700; color: var(--mut); display: block; }
.selrow select {
  width: 100%; margin-top: 5px; padding: 12px; font-size: 16px; border-radius: 12px;
  border: 1px solid var(--line); background: #fbfaff; color: var(--ink);
}
#results .btn { margin-top: 10px; }
footer { margin-top: 36px; text-align: center; color: var(--mut); font-size: 13px; }
footer .lock { font-size: 15px; color: var(--ink); font-weight: 700; }
.hidden { display: none !important; }

.sr-fi { position: absolute; width: 1px; height: 1px; opacity: 0; }
.prev { width: 100%; border-radius: 12px; margin-top: 14px; background: #000; }
.rangerow { margin-top: 16px; }
.rangerow label { font-size: 13.5px; font-weight: 700; color: var(--mut); display: block; }
.rangerow input[type="range"] { width: 100%; margin-top: 8px; accent-color: var(--acc); height: 28px; }
.checkrow { margin-top: 14px; font-size: 15px; display: flex; gap: 9px; align-items: center; }
.checkrow input { width: 20px; height: 20px; accent-color: var(--acc); }
.flag { width: 20px; height: 15px; object-fit: cover; border-radius: 3px; vertical-align: -2px; margin-right: 4px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
