:root {
  --bg: #f7f2e9;
  --bg-accent: #efe4cf;
  --ink: #1f2430;
  --muted: #586375;
  --panel: rgba(252, 248, 241, 0.94);
  --panel-strong: rgba(250, 246, 238, 0.97);
  --line: rgba(54, 92, 150, 0.16);
  --accent: #1d5fbf;
  --accent-soft: rgba(29, 95, 191, 0.1);
  --shadow: 0 24px 60px rgba(18, 36, 68, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(rgba(7, 22, 30, 0.44), rgba(7, 22, 30, 0.6)),
    url("./dashboard_background.png") center center / cover no-repeat fixed,
    radial-gradient(circle at top right, rgba(29, 95, 191, 0.16), transparent 32%),
    radial-gradient(circle at bottom left, rgba(36, 94, 82, 0.18), transparent 28%),
    linear-gradient(135deg, var(--bg), var(--bg-accent));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at top left, rgba(255, 246, 214, 0.14), transparent 28%),
    radial-gradient(circle at bottom right, rgba(10, 38, 48, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(247, 242, 233, 0.05), rgba(247, 242, 233, 0.14));
}

.shell {
  width: min(1120px, calc(100% - 24px));
  margin: 0 auto;
  padding: 16px 0 24px;
}

.hero {
  display: grid;
  justify-items: center;
  gap: 8px;
  max-width: 780px;
  margin: 0 auto 18px;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  text-align: center;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(26px, 4.9vw, 46px);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  color: var(--muted);
}

.board {
  display: grid;
  gap: 12px;
  width: min(100%, 760px);
  margin: 0 auto;
}

.board-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
}

.cards {
  display: grid;
  gap: 10px;
}

.card {
  display: grid;
  gap: 6px;
  padding: 11px 14px;
  border-radius: 18px;
  border: 1px solid rgba(54, 92, 150, 0.14);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.card-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.card-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  font-size: 14px;
}

.author {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.rank-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: var(--accent-soft);
  color: var(--accent);
}

.views {
  font-size: clamp(15px, 2.7vw, 18px);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.card-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 10px;
}

.stats {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.actions {
  display: flex;
  justify-content: flex-end;
}

a {
  color: var(--accent);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.empty-state {
  padding: 18px;
  text-align: center;
  border-radius: 18px;
  border: 1px dashed rgba(255, 245, 225, 0.16);
  background: rgba(249, 245, 237, 0.82);
  color: rgba(49, 58, 74, 0.82);
  font-size: 14px;
}

@media (max-width: 760px) {
  .shell {
    width: min(100%, calc(100% - 12px));
    padding: 8px 0 18px;
  }

  .hero {
    gap: 6px;
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 20px;
  }

  .eyebrow {
    font-size: 11px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(22px, 8vw, 34px);
  }

  .status-chip {
    padding: 6px 10px;
    font-size: 12px;
  }

  .board {
    gap: 8px;
  }

  .board-title {
    font-size: 13px;
  }

  .cards {
    gap: 8px;
  }

  .card {
    gap: 5px;
    padding: 9px 11px;
    border-radius: 16px;
  }

  .card-top {
    gap: 8px;
  }

  .card-meta {
    gap: 7px;
    font-size: 13px;
  }

  .rank-chip {
    min-width: 30px;
    padding: 2px 8px;
    font-size: 10px;
  }

  .views {
    font-size: 14px;
  }

  .card-footer {
    gap: 8px;
  }

  .stats {
    font-size: 11px;
  }

  a {
    font-size: 12px;
  }
}
