:root {
  --bg: #0b0c10;
  --card: #11131a;
  --muted: #a7adbd;
  --text: #eef1f7;
  --line: rgba(255,255,255,.10);
  --accent: #7c5cff;
  --accent2: #34d399;
  --shadow: 0 12px 40px rgba(0,0,0,.35);
  --radius: 18px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--sans);
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(124,92,255,.20), transparent 55%),
    radial-gradient(900px 500px at 110% 10%, rgba(52,211,153,.14), transparent 45%),
    var(--bg);
  color: var(--text);
}
.wrap { max-width: 1100px; margin: 0 auto; padding: 26px 18px 64px; }
header {
  position: sticky; top: 0; z-index: 10;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(11,12,16,.92), rgba(11,12,16,.68));
  border-bottom: 1px solid var(--line);
}
.head-inner {
  max-width: 1100px; margin: 0 auto; padding: 14px 18px;
  display: flex; gap: 14px; align-items: center; justify-content: space-between;
}
.brand { display: flex; flex-direction: column; gap: 2px; }
.brand h1 { margin: 0; font-size: 16px; letter-spacing: .2px; }
.brand small { color: var(--muted); font-size: 12px; }
.controls { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.tabs {
  display: inline-flex; gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: 999px;
  flex-wrap: wrap;
}
.tab {
  border: 0;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}
.tab.active {
  color: var(--text);
  background: rgba(124,92,255,.20);
  box-shadow: inset 0 0 0 1px rgba(124,92,255,.35);
}
.search { position: relative; min-width: min(460px, 92vw); flex: 1 1 320px; }
.search input {
  width: 100%;
  padding: 11px 12px 11px 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
  outline: none;
  font-size: 14px;
}
.search input::placeholder { color: rgba(167,173,189,.75); }
.search svg {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; opacity: .85;
  color: var(--muted);
}
.hero {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-top { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.hero h2 { margin: 0; font-size: 18px; }
.meta { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(124,92,255,.18);
}
.dot.green {
  background: var(--accent2);
  box-shadow: 0 0 0 4px rgba(52,211,153,.14);
}
.kbd {
  font-family: var(--mono);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  padding: 2px 6px;
  border-radius: 6px;
  color: rgba(238,241,247,.85);
}
.card {
  margin-top: 14px;
  border: 1px solid var(--line);
  background: rgba(17,19,26,.75);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-head {
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.card-head h3 { margin: 0; font-size: 15px; }
.count { color: var(--muted); font-size: 12px; font-family: var(--mono); }
.table-wrap { overflow: auto; max-height: 70vh; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
thead th {
  position: sticky; top: 0;
  background: rgba(11,12,16,.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 12px 14px;
  font-size: 12px;
  color: rgba(238,241,247,.85);
  letter-spacing: .08em;
  text-transform: uppercase;
}
tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 14px;
  color: rgba(238,241,247,.92);
  vertical-align: top;
}
tbody tr:hover td { background: rgba(124,92,255,.08); }
td.no { font-family: var(--mono); width: 110px; white-space: nowrap; }
td.des { width: 280px; }
.empty { padding: 18px 16px; color: var(--muted); display: none; }
.notice { padding: 12px 16px; color: rgba(238,241,247,.85); display: none; border-top: 1px solid rgba(255,255,255,.06); }
.notice.error { color: #fecaca; }
.footer { margin-top: 14px; color: rgba(167,173,189,.85); font-size: 12px; text-align: center; }
@media (max-width: 720px) {
  .search { min-width: 0; width: 100%; }
  .controls { width: 100%; justify-content: flex-start; }
  .tabs { width: 100%; }
}

.wa-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #25D366;
  color: #0b0c10;
  font-weight: 700;
}
.wa-btn:hover {
  filter: brightness(1.05);
}
