body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #0e1117;
  color: #f0f6fc;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
}

h1 {
  text-align: center;
  margin-bottom: 2rem;
  color: #58a6ff;
  font-size: 2rem;
  font-weight: 600;
}

.section-title {
  margin-top: 3rem;
  color: #58a6ff;
  border-bottom: 2px solid #30363d;
  padding-bottom: 0.4rem;
  font-size: 1.4rem;
  font-weight: 500;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.card {
  background-color: #161b22;
  padding: 1rem;
  border: 1px solid #30363d;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.stat p {
  font-size: 1.5rem;
  font-weight: bold;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
}

table th,
table td {
  border: 1px solid #30363d;
  padding: 0.6rem 0.8rem;
}

table th {
  background-color: #21262d;
  font-weight: 500;
  color: #c9d1d9;
}

table tbody tr {
  transition: background-color 0.15s ease;
}

table tbody tr:hover {
  background-color: #1c2128;
}

code {
  font-family: monospace;
  word-break: break-all;
  font-size: 0.88em;
  color: #79c0ff;
}

a {
  color: #58a6ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.empty {
  text-align: center;
  color: #8b949e;
  padding: 1rem;
}

footer {
  margin-top: 4rem;
  text-align: center;
  color: #555;
  font-size: 0.85rem;
}

input[type="text"] {
  background-color: #0d1117;
  border: 1px solid #30363d;
  border-radius: 4px;
  padding: 6px 10px;
  color: #f0f6fc;
}

input[type="text"]:focus {
  outline: none;
  border-color: #58a6ff;
  box-shadow: 0 0 0 2px rgba(88, 166, 255, 0.3);
}

button {
  background-color: #238636;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background-color 0.15s ease;
}

button:hover {
  background-color: #2ea043;
}

.site-header {
  display:grid;
  grid-template-columns: auto 1fr auto;
  gap:1rem;
  align-items:center;
  margin-bottom:1rem;
}
.brand { display:flex; align-items:center; gap:.6rem; text-decoration:none; }
.brand img { width:32px; height:32px; }
.brand span { font-size:1.3rem; font-weight:700; color:#58a6ff; letter-spacing:.2px; }

.searchbar { display:flex; gap:.5rem; justify-content:center; }
.searchbar input {
  width: 560px; max-width: 56vw;
  background:#0d1117; border:1px solid #30363d; color:#f0f6fc;
  border-radius:999px; padding:10px 14px; font-size:0.95rem;
  box-shadow: inset 0 0 0 1px transparent, 0 3px 12px rgba(0,0,0,.2);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.searchbar input:focus {
  outline:none; border-color:#58a6ff;
  box-shadow: inset 0 0 0 1px rgba(88,166,255,.35), 0 6px 20px rgba(0,0,0,.35);
}

.btn {
  display:inline-flex; align-items:center; gap:.5rem; cursor:pointer;
  border-radius:999px; padding:10px 16px; font-weight:600; font-size:.95rem;
  border:1px solid transparent; transition: transform .12s ease, background-color .12s ease, border-color .12s ease;
}
.btn--primary { background:#00b288; color:#fff; }
.btn--primary:hover { background:#2ea043; transform: translateY(-1px); }
.btn.is-loading { pointer-events:none; opacity:.85; }
.btn.is-loading .btn__label { opacity:0; }
.btn .spinner {
  width:18px; height:18px; display:none; stroke:#fff; stroke-width:2; fill:none;
  animation: spin 1s linear infinite;
}
.btn.is-loading .spinner { display:block; }
@keyframes spin { to { transform: rotate(360deg); } }

.btn.pulse { box-shadow: 0 0 0 4px rgba(88,166,255,.18); }

.socials { display:flex; align-items:center; gap:.6rem; justify-content:flex-end; }
.socials a {
  width:34px; height:34px; display:inline-flex; align-items:center; justify-content:center;
  border:1px solid #30363d; border-radius:10px; color:#c9d1d9; background:#161b22;
  transition:transform .12s ease, background-color .12s ease, border-color .12s ease;
}
.socials a:hover { transform:translateY(-1px); background:#1c2128; border-color:#58a6ff; color:#58a6ff; }
.socials svg { width:18px; height:18px; }

.site-header{
  position: sticky; top: 0; z-index: 50;
  display:grid;
  grid-template-columns: 220px 1fr auto; 
  gap:1rem; align-items:center;
  padding:.75rem 0; margin-bottom:1rem;
  background: rgba(14,17,23,.90);
  backdrop-filter: blur(6px);
  border-bottom:1px solid #1f2630;
}

.brand{ display:flex; align-items:center; gap:.6rem; text-decoration:none; min-width:0; }
.brand img{ width:32px; height:32px; flex:0 0 32px; }
.brand span{ font-size:1.3rem; font-weight:700; color:#58a6ff; letter-spacing:.2px; white-space:nowrap; }

.searchbar{ display:flex; gap:.6rem; justify-content:center; align-items:center; }
.searchbar input{
  width: clamp(360px, 52vw, 640px);
  background:#0d1117; border:1px solid #30363d; color:#f0f6fc;
  border-radius:999px; padding:10px 14px; font-size:.95rem;
  box-shadow: inset 0 0 0 1px transparent, 0 3px 12px rgba(0,0,0,.2);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.searchbar input:focus{
  outline:none; border-color:#58a6ff;
  box-shadow: inset 0 0 0 1px rgba(88,166,255,.35), 0 6px 20px rgba(0,0,0,.35);
}

.btn{
  position:relative;
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  min-width:110px; 
  border-radius:999px; padding:10px 16px; font-weight:600; font-size:.95rem;
  border:1px solid transparent; cursor:pointer;
  transition: transform .12s ease, background-color .12s ease, border-color .12s ease, opacity .12s ease;
}
.btn--primary{ background:#00b288; color:#fff; }
.btn--primary:hover{ background:#2ea043; transform:translateY(-1px); }

.btn.is-loading .btn__label{ visibility:hidden; }
.btn .spinner{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  width:18px; height:18px; stroke:#fff; stroke-width:2; fill:none; display:none;
  animation: spin 1s linear infinite;
}
.btn.is-loading .spinner{ display:block; }
@keyframes spin{ to{ transform:translate(-50%,-50%) rotate(360deg);} }

.btn.pulse{ box-shadow:0 0 0 4px rgba(88,166,255,.18); }

.socials{ display:flex; align-items:center; gap:.6rem; justify-content:flex-end; }
.socials a{
  width:34px; height:34px; display:inline-flex; align-items:center; justify-content:center;
  border:1px solid #30363d; border-radius:10px; color:#c9d1d9; background:#161b22;
  transition:transform .12s ease, background-color .12s ease, border-color .12s ease;
  flex:0 0 34px;
}
.socials a:hover{ transform:translateY(-1px); background:#1c2128; border-color:#58a6ff; color:#58a6ff; }
.socials svg{ width:18px; height:18px; }
.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 6px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.15s ease;
}
.copy-btn:hover {
  opacity: 1;
}
.copy-btn svg {
  width: 14px;
  height: 14px;
  fill: #c9d1d9;
}

.copy-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #161b22;
  color: #f0f6fc;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid #30363d;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.copy-toast.show {
  opacity: 1;
  transform: translateY(0);
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 6px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.15s ease;
}
.copy-btn:hover { opacity: 1; }
.copy-btn svg {
  width: 14px;
  height: 14px;
  fill: #c9d1d9;
}

.copy-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #161b22;
  color: #f0f6fc;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid #30363d;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.copy-toast.show {
  opacity: 1;
  transform: translateY(0);
}
.sub a {
  color: #58a6ff;
  text-decoration: none;
}
.sub a:hover {
  text-decoration: underline;
}
.pagination .btn {
  background:#161b22;
  color:#c9d1d9;
  border:1px solid #30363d;
  border-radius:6px;
  padding:6px 10px;
  font-size:0.9rem;
}
.pagination .btn:hover {
  background:#1c2128;
  border-color:#58a6ff;
  color:#58a6ff;
}
.pagination .btn.active {
  background:#238636;
  border-color:#238636;
  color:#fff;
  pointer-events:none;
}
.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 20px;
}

.pagination a, .pagination span {
  padding: 4px 10px;
  font-size: 14px;
  border: 1px solid #444;
  border-radius: 4px;
  background-color: transparent;
  color: #ccc;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.pagination a:hover {
  background-color: #333;
  color: white;
}

.pagination .active {
  background-color: #2b7a2b;
  color: white;
  border-color: #2b7a2b;
}

.pagination .dots {
  padding: 4px 8px;
  color: #777;
}