:root {
  --ink: #171714;
  --paper: #f4efe6;
  --purple: #6c63ff;
  --yellow: #ffd84d;
  --pink: #ffb3c7;
  --blue: #a5d8ff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 20%, rgba(108, 99, 255, .08), transparent 22rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 2px solid var(--ink);
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -1.5px;
}

.brand span { color: var(--purple); }

.discord-link {
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 3px 3px 0 var(--ink);
}

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 24px 32px;
  text-align: center;
}

.eyebrow { font-size: 12px; font-weight: 900; letter-spacing: 3px; }

h1 {
  margin: 10px 0 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 8vw, 84px);
  line-height: .95;
  letter-spacing: -4px;
}

.search-wrap {
  width: min(620px, 100%);
  height: 54px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: white;
  box-shadow: 5px 5px 0 var(--ink);
}

.search-wrap span { font-size: 26px; }
.search-wrap input { width: 100%; border: 0; outline: 0; font: inherit; background: transparent; }

.status { text-align: center; min-height: 24px; color: #67645d; }

.board {
  max-width: 1120px;
  margin: 24px auto 80px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: 26px;
  align-items: start;
}

.note {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  box-shadow: 7px 7px 0 var(--ink);
  transform: rotate(var(--tilt, 0deg));
  transition: transform .16s ease, box-shadow .16s ease;
}

.note:nth-child(4n+1) { --tilt: -1deg; background: var(--yellow); }
.note:nth-child(4n+2) { --tilt: 1deg; background: var(--pink); }
.note:nth-child(4n+3) { --tilt: -.5deg; background: var(--blue); }
.note:nth-child(4n+4) { --tilt: .7deg; background: #d8c9ff; }
.note:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 9px 11px 0 var(--ink); }

.note-message { margin: 18px 0; font-family: Georgia, serif; font-size: 25px; line-height: 1.15; overflow-wrap: anywhere; }
.note-meta { display: flex; justify-content: space-between; align-items: end; gap: 8px; }
.bump-wrap {
  width: 130px;
  display: grid;
  grid-template-columns: max-content max-content;
  justify-content: end;
  align-items: center;
  gap: 6px;
}
.bump-wrap .report { margin-left: 0; }
.tag { border: 1.5px solid var(--ink); border-radius: 999px; padding: 5px 9px; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.bump { border: 1.5px solid var(--ink); border-radius: 999px; background: white; padding: 8px 10px; font-weight: 900; cursor: pointer; box-shadow: 2px 2px 0 var(--ink); }
.bump:active { transform: translate(2px, 2px); box-shadow: none; }
.bump:disabled { cursor: wait; opacity: .65; }
.report {
  margin-left: 8px;
  border: 1px dashed rgba(23, 23, 20, .65);
  border-radius: 999px;
  background: transparent;
  padding: 7px 10px;
  font-size: 12px;
  color: rgba(23, 23, 20, .8);
  cursor: pointer;
}
.report:disabled {
  cursor: not-allowed;
  opacity: .55;
}
.author {
  grid-column: 1 / -1;
  width: 130px;
  margin-top: 2px;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
  opacity: .65;
}

@media (prefers-reduced-motion: reduce) { .note { transition: none; } }
@media (max-width: 600px) {
  .topbar { height: 68px; }
  .discord-link { font-size: 12px; }
  .hero { padding-top: 44px; }
  h1 { letter-spacing: -2px; }
  .board { padding: 0 18px; }
  .note-meta { gap: 6px; }
  .bump-wrap { width: 124px; }
  .author { width: 124px; }
}
