*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  background: #111;
  color: #e0e0e0;
  min-height: 100vh;
  max-width: 480px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

header { margin-bottom: 2rem; }
header p { font-size: 0.75rem; color: #555; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.4rem; }
header h1 { font-size: 1.5rem; font-weight: 600; color: #fff; }

ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }

ul li {
  display: flex;
  align-items: center;
  border-radius: 8px;
  transition: background 0.12s;
}
ul li:hover { background: #1a1a1a; }

ul li a.card-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0.75rem;
  text-decoration: none;
  color: #ccc;
  flex: 1;
  min-width: 0;
}
ul li:hover a.card-link { color: #fff; }
ul li:hover .icon { color: #fff; }

.icon { flex-shrink: 0; color: #555; display: flex; transition: color 0.12s; }

.label { flex: 1; font-size: 0.95rem; font-weight: 450; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.url { font-size: 0.72rem; color: #444; font-family: 'SF Mono', 'Fira Code', monospace; white-space: nowrap; }

@media (max-width: 420px) {
  .url { font-size: 0.65rem; max-width: 90px; overflow: hidden; text-overflow: ellipsis; }
}

.gh-link {
  flex-shrink: 0;
  color: #444;
  display: flex;
  align-items: center;
  padding: 0.5rem;
  border-radius: 6px;
  transition: color 0.12s;
  text-decoration: none;
}
.gh-link:hover { color: #ccc; }

.arrow { color: #333; flex-shrink: 0; padding-right: 0.5rem; display: flex; }
ul li:hover .arrow { color: #666; }

hr { border: none; border-top: 1px solid #1c1c1c; margin: 0 0.75rem; }
