* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: #121212; color: #e8e8e8;
  font-family: Manrope, system-ui, sans-serif;
  min-height: 100vh; padding: 28px 14px 48px;
}
.wrap { max-width: 640px; margin: 0 auto; }
header { text-align: center; margin-bottom: 22px; }
h1 { color: #f1c40f; font-size: 38px; font-weight: 800; letter-spacing: 0.5px; }
.sub { color: #9a9a9a; margin-top: 4px; }
.card {
  background: #1e1e1e; border: 1px solid #2c2c2c; border-radius: 16px;
  padding: 20px; margin-bottom: 18px;
}
h2 { font-size: 18px; margin-bottom: 12px; }
label { display: block; font-size: 13px; color: #bdbdbd; margin: 12px 0 6px; }
label:first-child { margin-top: 0; }
.opt { color: #777; }
input {
  width: 100%; background: #2a2a2a; border: 1px solid #3a3a3a; color: #fff;
  border-radius: 10px; padding: 11px 12px; font-size: 15px; font-family: inherit;
}
input:focus { outline: none; border-color: #f1c40f; }
button {
  font-family: inherit; cursor: pointer; border: none; border-radius: 10px;
  font-weight: 700; font-size: 15px;
}
.gold {
  width: 100%; margin-top: 16px; padding: 12px;
  background: #f1c40f; color: #1e1e1e;
  box-shadow: 0 2px 10px rgba(241, 196, 15, 0.35);
}
.gold:hover { background: #ffd83d; }
.gold:disabled { opacity: 0.5; cursor: default; }
.msg { min-height: 18px; margin-top: 10px; font-size: 14px; color: #e74c3c; }
.msg.ok { color: #2ecc71; }
.hidden { display: none; }
.result { margin-top: 18px; border-top: 1px solid #2c2c2c; padding-top: 4px; }
.shortrow { display: flex; gap: 8px; }
.shortrow input { flex: 1; color: #f1c40f; font-weight: 700; }
#copyBtn { background: #2a2a2a; color: #f1c40f; border: 1px solid #3a3a3a; padding: 0 14px; }
.qrbox {
  background: #fff; border-radius: 12px; padding: 14px;
  width: 232px; height: 232px; margin: 16px auto 4px;
  display: grid; place-items: center;
}
.qrbox svg { width: 200px; height: 200px; display: block; }
.hint { text-align: center; color: #9a9a9a; font-size: 13px; margin-top: 8px; }
.list { display: flex; flex-direction: column; }
.row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 2px; border-bottom: 1px solid #2c2c2c;
}
.row:last-child { border-bottom: none; }
.row .code { color: #f1c40f; font-weight: 800; text-decoration: none; white-space: nowrap; }
.row .url { flex: 1; color: #9a9a9a; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .clicks { color: #bdbdbd; font-size: 12px; background: #2a2a2a; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.row .del { background: none; color: #e74c3c; font-size: 13px; padding: 6px 8px; }
.empty { color: #777; font-size: 14px; }

