:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: rgba(255,255,255,.055);
  --panel-strong: rgba(255,255,255,.085);
  --line: rgba(255,255,255,.11);
  --text: #f5f5f5;
  --muted: #858585;
  --muted-2: #5d5d5d;
  --white: #fff;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(255,255,255,.055), transparent 32rem),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
.orb {
  position: fixed;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: .12;
  background: #fff;
  z-index: 0;
}
.orb-a { top: 7%; left: -12rem; }
.orb-b { top: 38%; right: -13rem; width: 25rem; height: 25rem; opacity: .09; }
.orb-c { bottom: -15rem; left: 28%; width: 26rem; height: 26rem; opacity: .07; }

.glass {
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.nav {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 28px));
  margin: 16px auto 0;
  min-height: 58px;
  padding: 0 18px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 20px;
}
.brand { font-size: 15px; font-weight: 650; letter-spacing: -.02em; }
.nav-meta { color: #8c8c8c; font-size: 12px; letter-spacing: .01em; }

main {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 28px));
  margin: 0 auto;
}
.hero { padding: 92px 8px 48px; }
.eyebrow, .section-label {
  margin: 0;
  color: #8b8b8b;
  font-size: 10px;
  line-height: 1;
  letter-spacing: .16em;
  font-weight: 700;
}
.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(48px, 10vw, 82px);
  line-height: .93;
  letter-spacing: -.065em;
  font-weight: 620;
}
.hero h1 span { color: #666; }
.subtitle {
  max-width: 470px;
  margin: 0;
  color: #898989;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -.01em;
}
.scanner {
  border-radius: 30px;
  padding: clamp(20px, 4vw, 34px);
}
.section-label { margin-bottom: 13px; }
.choice-grid { display: grid; gap: 9px; }
.choice-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.choice {
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 17px;
  color: #8c8c8c;
  background: rgba(0,0,0,.25);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.choice:hover { transform: translateY(-1px); color: #ddd; border-color: rgba(255,255,255,.16); }
.choice:active { transform: scale(.985); }
.choice.active {
  color: #050505;
  background: #fff;
  border-color: #fff;
  font-weight: 650;
}
.divider { height: 1px; background: rgba(255,255,255,.075); margin: 26px 0; }
.scan-row {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 10px;
}
.count-field {
  min-height: 60px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 17px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.25);
}
.count-field input {
  width: 55px;
  color: #fff;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 16px;
}
.count-field span { color: #777; font-size: 13px; }
.scan-button {
  min-height: 60px;
  border: 0;
  border-radius: 17px;
  color: #050505;
  background: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}
.scan-button span { display: inline-block; margin-left: 7px; transition: transform .2s ease; }
.scan-button:hover { transform: translateY(-1px); }
.scan-button:hover span { transform: translate(2px,-2px); }
.scan-button:active { transform: scale(.985); }
.scan-button:disabled { opacity: .45; cursor: wait; transform: none; }
.notice {
  margin-top: 14px;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 15px;
  color: #8d8d8d;
  background: rgba(0,0,0,.22);
  font-size: 12px;
  line-height: 1.5;
}
.results-wrap { padding: 54px 2px 40px; }
.results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}
.status { margin: 7px 0 0; color: #777; font-size: 12px; }
.summary { color: #888; font-size: 11px; text-align: right; }
.results { display: grid; gap: 8px; }
.result {
  min-height: 62px;
  padding: 10px 10px 10px 17px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 17px;
  background: rgba(255,255,255,.035);
  animation: rise .35s ease both;
}
.username { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.badge {
  padding: 6px 9px;
  border-radius: 9px;
  font-size: 9px;
  letter-spacing: .09em;
  font-weight: 750;
}
.badge.available { color: #050505; background: #fff; }
.badge.taken { color: #e5e5e5; background: #242424; border: 1px solid rgba(255,255,255,.07); }
.badge.unverified { color: #9a9a9a; background: #171717; border: 1px solid rgba(255,255,255,.08); }
.copy {
  min-width: 52px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  color: #ddd;
  background: rgba(255,255,255,.04);
  cursor: pointer;
  font-size: 11px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.copy:hover { background: #fff; color: #050505; }
.copy:active { transform: scale(.96); }
footer {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 28px));
  margin: 0 auto;
  padding: 12px 2px 36px;
  color: #454545;
  font-size: 10px;
  letter-spacing: .06em;
}
@keyframes rise { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 560px) {
  .nav { margin-top: 10px; min-height: 54px; border-radius: 18px; }
  main { width: min(100% - 20px, 760px); }
  .hero { padding: 72px 5px 38px; }
  .hero h1 { font-size: 51px; }
  .subtitle { font-size: 14px; max-width: 340px; }
  .scanner { padding: 18px; border-radius: 25px; }
  .choice { min-height: 54px; border-radius: 15px; }
  .scan-row { grid-template-columns: 1fr; }
  .count-field { min-height: 54px; }
  .scan-button { min-height: 56px; }
  .result { grid-template-columns: minmax(0,1fr) auto; }
  .result .copy { grid-column: 1 / -1; width: 100%; }
  .result .badge { grid-column: 2; grid-row: 1; }
}
