/* Redirect buffer page - shared styles */
:root {
  --bg: #0c1222;
  --card: #111827;
  --border: #1e293b;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --primary: #a78bfa;
  --primary-glow: rgba(167, 139, 250, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.card {
  max-width: 420px;
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.75rem;
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 1px var(--border), 0 0 24px var(--primary-glow);
}

.byline {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.25rem;
}

.tagline {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0 0 0.25rem;
}

.subtitle {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
  line-height: 1.35;
  max-width: 20em;
  margin-left: auto;
  margin-right: auto;
}

.location {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.moved-note {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

h1 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.desc {
  font-size: 0.9375rem;
  color: var(--muted);
  margin: 0 0 1rem;
  line-height: 1.5;
}

.url-box {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted);
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.625rem 0.75rem;
  margin-top: 1rem;
  word-break: break-all;
}

.url-box strong {
  color: var(--primary);
}

.spinner {
  width: 28px;
  height: 28px;
  margin: 1rem auto 0;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.footer {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.footer a {
  color: var(--primary);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Wrong-URL picker: destination list */
.card.card-wide {
  max-width: 480px;
}

.dest-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dest-list li {
  margin: 0;
}

.dest-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 1rem;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: border-color 0.2s, background 0.2s;
}

.dest-link:hover {
  border-color: var(--primary);
  background: rgba(167, 139, 250, 0.08);
}

.dest-link span:first-child {
  font-weight: 500;
  color: var(--text);
}

.dest-link span:last-child {
  font-size: 0.8125rem;
  color: var(--muted);
}

.dest-link strong {
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 500;
}
