:root {
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --primary: #2e6cff;
  --border: #e5e7eb;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container { max-width: 980px; margin: 28px auto; padding: 0 16px; }
.header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 16px; }
h1 { margin: 0 0 6px; font-size: 28px; }
h2 { margin: 0 0 10px; font-size: 18px; }

.muted { color: var(--muted); }
.footer { margin-top: 18px; font-size: 12px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.linkcard { text-decoration: none; color: inherit; display: block; position: relative; }
.pill {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 12px;
}

.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.btn {
  padding: 10px 14px;
  border: 0;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  cursor: pointer;
}
.btn.secondary { background: #111827; }
.btn:disabled { background: #9bb6ff; cursor: not-allowed; }

.status { margin-top: 10px; font-size: 13px; color: var(--muted); }
.backlink { display: inline-block; margin-bottom: 10px; color: var(--primary); text-decoration: none; }
code { background: #f3f4f6; padding: 2px 6px; border-radius: 6px; }

.site-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 16px;
}

.site-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-logo {
  height: 40px;
  width: auto;
}

.site-header-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

