/* MC Lab visual lock
   Bright playful internet-lab: warm off-white, chunky black borders,
   candy-colored status cards, sticker labels, light Y2K/webcore,
   meme copy, no dark cyberpunk, no corporate SaaS gradients.
   Think: a bulletin board maintained by terminally-online engineers. */

:root {
  --bg: #fff8e8;
  --paper: #fffdf5;
  --ink: #1c1915;
  --muted: #6a6258;
  --line: #1c1915;
  --tf: #7ec8ff;
  --game: #b8ff5a;
  --money: #ffe14d;
  --travel: #ff8a5b;
  --weird: #c9a0ff;
  --open: #b6ff7a;
  --no: #ff8a7a;
  --shut: #2b2a28;
  --wait: #ffe14d;
  --unk: #9ad2ff;
  --font-display: "Arial Rounded MT Bold", "Hiragino Maru Gothic ProN", "Nunito", "Varela Round", "Trebuchet MS", sans-serif;
  --font-status: "Arial Black", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  line-height: 1.4;
}

body {
  min-height: 100vh;
  background-image:
    radial-gradient(#e7d7b8 0.9px, transparent 1px);
  background-size: 18px 18px;
}

a { color: inherit; }

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--paper);
  border: 3px solid var(--line);
  padding: 0.35rem 0.55rem;
  z-index: 10;
}

.top, main, footer {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 1.15rem;
  padding-right: 1.15rem;
}

.top { padding-top: 1.25rem; }

.mast {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.lab {
  text-decoration: none;
  font-family: var(--font-status);
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--tf);
  border: 3px solid var(--line);
  padding: 0.05rem 0.45rem 0.12rem;
  box-shadow: 4px 4px 0 var(--line);
}

.product {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.tagline {
  margin: 0.7rem 0 0.35rem;
  max-width: 34rem;
  font-size: 1.05rem;
}

.mc-now {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.mc-now strong { color: var(--ink); }

nav {
  display: flex;
  gap: 0.9rem;
  margin-top: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 3px solid var(--line);
}

nav a {
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

nav a[aria-current="page"] {
  background: var(--wait);
  border: 2px solid var(--line);
  padding: 0 0.3rem;
}

main { padding-top: 1.4rem; padding-bottom: 3rem; }

.block { margin-bottom: 2.2rem; }

.section-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1rem;
  margin-bottom: 0.35rem;
}

.section-title, .page-title {
  font-family: var(--font-status);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin: 0 0 0.8rem;
}

.section-title { font-size: 1.35rem; }
.page-title { font-size: clamp(1.8rem, 5vw, 2.8rem); }

.sticker {
  display: inline-block;
  margin: 0 0 0.8rem;
  background: var(--wait);
  border: 3px solid var(--line);
  padding: 0.2rem 0.5rem;
  font-weight: 800;
  transform: rotate(-2deg);
  box-shadow: 3px 3px 0 var(--line);
}

.scribble {
  width: 120px;
  height: 36px;
  display: block;
  margin: -0.2rem 0 0.7rem 1.5rem;
}

.lede { max-width: 40rem; font-size: 1.05rem; }

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

.feed { display: grid; gap: 0.9rem; }

.card {
  --tilt: 0deg;
  background: var(--paper);
  border: 3px solid var(--line);
  box-shadow: 5px 5px 0 var(--line);
  padding: 0.9rem 0.9rem 1rem;
  position: relative;
  transform: rotate(var(--tilt));
  transform-origin: center;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-style: solid;
  border-width: 0 18px 18px 0;
  border-color: var(--bg) var(--bg) #d9cba8 #d9cba8;
}

.board .card:nth-child(5n+1) { --tilt: -1.1deg; }
.board .card:nth-child(5n+2) { --tilt: 0.9deg; }
.board .card:nth-child(5n+3) { --tilt: -0.6deg; }
.board .card:nth-child(5n+4) { --tilt: 1.2deg; }
.board .card:nth-child(5n+5) { --tilt: -0.8deg; }

.card:hover {
  animation: pop 0.28s ease;
  z-index: 1;
}

@keyframes pop {
  0% { transform: rotate(var(--tilt)) scale(1); }
  40% { transform: rotate(calc(var(--tilt) - 1deg)) scale(1.03) translateY(-3px); }
  100% { transform: rotate(var(--tilt)) scale(1.02); }
}

.st-activity { background: var(--no); }
.st-nothing { background: #efe6d4; }
.st-open { background: var(--open); }
.st-open_to_all { background: var(--open); }
.st-signups_open { background: var(--wait); }
.st-nothing { background: #efe6d4; }
.st-ended {
  background: var(--shut);
  color: var(--bg);
}
.st-ended .machine,
.st-ended .whisper,
.st-ended .kicker { color: #efe6d4; }
.st-full { background: var(--no); }
.st-closed {
  background: var(--shut);
  color: var(--bg);
}
.st-closed .machine,
.st-closed .whisper,
.st-closed .kicker { color: #efe6d4; }
.st-closed .join,
.st-closed .watch { background: var(--bg); color: var(--ink); }
.st-none { background: var(--wait); }
.st-unknown, .st-unavailable, .st-fetch_error { background: var(--unk); }

.tracker-tf .tape { background: var(--tf); }
.tracker-game .tape { background: var(--game); }
.tracker-weird .tape { background: var(--weird); }
.tracker-travel .tape { background: var(--travel); }

.tape {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid var(--line);
  padding: 0.12rem 0.4rem;
  transform: rotate(-3deg);
  box-shadow: 2px 2px 0 rgba(28, 25, 21, 0.15);
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

.dot-new {
  font-family: var(--font-status);
  font-size: 0.72rem;
  background: var(--wait);
  border: 2px solid var(--line);
  padding: 0.05rem 0.3rem;
  transform: rotate(8deg);
}

.card h2 {
  margin: 0.15rem 0 0.45rem;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.card h2 a { text-decoration: none; }

.shout {
  margin: 0.2rem 0 0.55rem;
  font-family: var(--font-status);
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.shout.small { font-size: 1.35rem; }
.shout.huge { font-size: clamp(2.6rem, 8vw, 4.6rem); }

.machine, .whisper, .muted, .kicker {
  margin: 0.15rem 0;
}

.machine {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink);
}

.whisper {
  margin-top: 0.45rem;
  font-size: 0.92rem;
}

.kicker {
  font-family: var(--font-status);
  text-transform: uppercase;
  font-size: 0.85rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.join, .watch {
  appearance: none;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 3px solid var(--line);
  padding: 0.4rem 0.55rem;
  box-shadow: 3px 3px 0 var(--line);
}

.join { background: var(--ink); color: var(--bg); }
.watch { background: var(--paper); }
.watch.on { background: var(--open); }

blockquote {
  margin: 0.55rem 0;
  background: var(--paper);
  border: 3px solid var(--line);
  padding: 0.55rem 0.7rem;
}

.big-quote {
  font-size: 1.15rem;
  background: var(--paper);
}

.empty-feed { background: var(--paper); }
.empty-feed .shout { color: var(--ink); }

.obsession { text-decoration: none; color: inherit; min-height: 180px; }
.obsession.tracker-tf { background: #e7f6ff; }
.obsession.tracker-game { background: #eeffd0; }
.obsession.tracker-weird { background: #f3e9ff; }
.obsession.tracker-travel { background: #ffe7dc; }

.hero-card { margin-bottom: 1.5rem; padding: 1.1rem; }

.warn {
  background: var(--wait);
  border: 3px solid var(--line);
  padding: 0.4rem 0.55rem;
  font-weight: 700;
}

.prose { background: var(--paper); padding: 1.1rem 1.15rem; }
.prose h2 {
  font-family: var(--font-status);
  text-transform: uppercase;
  font-size: 1.1rem;
}
.prose pre {
  background: var(--ink);
  color: var(--bg);
  padding: 0.8rem;
  overflow: auto;
  font-family: var(--font-mono);
}
.prose code {
  font-family: var(--font-mono);
  background: var(--wait);
  padding: 0.05rem 0.25rem;
}

footer {
  padding-bottom: 2.2rem;
  border-top: 3px solid var(--line);
  padding-top: 1rem;
}

.foot-note {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  margin: 0.35rem 0 0;
}

@media (max-width: 700px) {
  .card { --tilt: 0deg !important; }
  .scribble { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .card:hover { animation: none; }
}
