:root {
  --verb: 'Verb', -apple-system, sans-serif;
  --accent: #238cfa;
  --bg: #111214;
  --card: #1c1d20;
  --border: rgba(255,255,255,0.08);
  --text: #f2f2f2;
  --muted: #9a9a9f;
}

* { box-sizing: border-box; }

.site-body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--verb);
  padding: 60px 24px;
}

.site-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.site-wrap h1 {
  font-weight: 700;
  font-size: 2.2em;
  margin-bottom: 0.2em;
}

.site-logo {
  width: 128px;
  margin-bottom: 1.2em;
  padding-bottom: 0.6em;
}

.site-logo svg {
  width: 100%;
  height: auto;
  display: block;
  color: var(--text);
}

.site-intro {
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 2em;
}

.deck-empty {
  color: var(--muted);
}

.deck-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.deck-row {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
}

.deck-thumb {
  flex: 0 0 140px;
  width: 140px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  background: #26272b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deck-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.deck-info {
  flex: 1 1 auto;
  min-width: 0;
}

.deck-info h2 {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 1.1em;
}

.deck-info p {
  margin: 0;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.92em;
}

.deck-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  padding: 14px 28px;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.deck-cta:hover {
  background: #1a72cc;
}

.deck-cta-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  display: block;
}

/* Error page */
.error-wrap {
  text-align: center;
  padding-top: 10vh;
}

.error-code {
  font-size: 5em;
  font-weight: 950;
  color: var(--accent);
  line-height: 1;
}

.error-wrap .deck-cta {
  display: inline-flex;
  margin-top: 1.5em;
}

@media (max-width: 560px) {
  .deck-row {
    flex-wrap: wrap;
  }
  .deck-thumb {
    flex: 0 0 100%;
    width: 100%;
    height: 140px;
  }
  .deck-cta {
    flex: 0 0 100%;
    justify-content: center;
  }
}
