.meme-year .meme-board [hidden] { display: none !important; }
.meme-board {
  --meme-accent: #ffdf8d;
  --meme-ink: #f5f6ff;
  --meme-muted: #bec9df;
  margin-block: 20px 28px;
  border: 1px solid #404867;
  border-radius: 16px;
  background: #171d2d;
  color: var(--meme-ink);
  overflow: hidden;
}
.meme-day, .meme-clock {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  flex-wrap: wrap;
  padding: 14px clamp(16px, 3vw, 32px);
  color: var(--meme-muted);
  font-size: .9rem;
  font-weight: 600;
}
.meme-day { border-bottom: 1px solid #363e58; }
.meme-day #memeNumber { color: var(--meme-accent); font-variant-numeric: tabular-nums; }
.meme-clue {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: clamp(22px, 4vw, 40px) clamp(16px, 4vw, 38px);
  background: radial-gradient(ellipse at right bottom, #4c376c, transparent 69%), #29243f;
}
.meme-board .meme-prompt { margin: 0; color: var(--meme-accent); font-weight: 680; }
.meme-board .meme-clue h2 {
  color: var(--meme-ink);
  margin: 5px 0 8px;
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.meme-board .meme-clue p:last-child { margin: 0; color: #ded7eb; max-width: 52ch; line-height: 1.55; }
.meme-stamp {
  position: relative;
  width: clamp(48px, 7vw, 94px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid #d9c3ff;
  background: radial-gradient(circle, #ffdf8d 0 4px, transparent 5px), #342846;
  box-shadow: 5px 5px 0 #131625;
}
.meme-stamp::before, .meme-stamp::after {
  content: "";
  position: absolute;
  left: calc(50% - 2px);
  bottom: 50%;
  width: 4px;
  height: 35%;
  border-radius: 2px;
  background: var(--meme-accent);
  transform: rotate(42deg);
  transform-origin: bottom;
}
.meme-stamp::after { height: 24%; transform: rotate(-70deg); }
.meme-play { padding: 22px clamp(16px, 4vw, 38px); }
.meme-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.meme-board button.meme-option, .meme-board button.meme-reveal {
  color: var(--meme-ink);
  background: #272f43;
  border: 1px solid #59647f;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.meme-board button.meme-option { min-height: 58px; padding: 8px; font-size: 1.23rem; font-variant-numeric: tabular-nums; }
.meme-board button.meme-reveal { display: block; margin-top: 16px; min-height: 44px; padding: 8px 18px; }
.meme-board button:hover:not(:disabled) { border-color: var(--meme-accent); background: #37334a; }
.meme-board :is(button, a):focus-visible { outline: 3px solid var(--meme-accent); outline-offset: 3px; }
.meme-board button:disabled { opacity: 1; cursor: default; }
.meme-board button[data-outcome="correct"] { color: #d2ffed; background: #21453e; border-color: #7be7bf; }
.meme-board button[data-outcome="wrong"] { color: #ffd4d5; background: #512e3a; border-color: #f69b9d; }
.meme-result { margin-top: 20px; border-top: 1px solid #404867; padding-top: 16px; }
.meme-board .meme-result h3 { margin: 0; font-size: 1.35rem; color: var(--meme-accent); }
.meme-board .meme-result p { margin: 6px 0 12px; line-height: 1.55; color: var(--meme-muted); }
.meme-sources { display: flex; gap: 6px 20px; flex-wrap: wrap; }
.meme-board .meme-sources a { color: #d9c3ff; display: inline-block; padding-block: 6px; text-decoration: underline; }
.meme-clock { border-top: 1px solid #363e58; }
.meme-clock output { color: var(--meme-ink); font: 700 .95rem Inter, sans-serif; font-variant-numeric: tabular-nums; }
.meme-status { margin: 0; padding: 22px; }
@media (max-width: 560px) {
  .meme-clue { grid-template-columns: minmax(0, 1fr); }
  .meme-stamp { display: none; }
  .meme-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .meme-board button.meme-option { min-height: 50px; }
  .meme-year .arcade-game-intro { margin-bottom: 12px; }
  .meme-board { margin-top: 12px; }
  .meme-play { padding-block: 14px; }
}
