:root {
  color-scheme: light;
  font-family: system-ui, Poppins, Arial, sans-serif;
  color: #0C3440;
  background: #FFFFFF;
  line-height: 1.5;
}
* { box-sizing: border-box; }
body { margin: 0; }
main, footer { width: min(1120px, 100%); margin: auto; padding: 20px; }
header { border-top: 6px solid #24ADD6; padding: 12px 0 24px; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.15; margin: 16px 0; }
h2 { margin: 0; font-size: 1.6rem; line-height: 1.2; }
p { margin: 0; }
header p { max-width: 65ch; }
a { color: #0C3440; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
button, textarea { font: inherit; }
button, .play-link {
  min-width: 44px;
  min-height: 48px;
  border: 2px solid transparent;
  border-radius: 4px;
  padding: 10px 16px;
  background: #24ADD6;
  color: #0C3440;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  justify-content: center;
  overflow-wrap: anywhere;
}
button:hover:not(:disabled), .play-link:hover { border-color: #0C3440; }
button:disabled { opacity: .55; cursor: wait; }
:focus-visible { outline: 3px solid #0C3440; outline-offset: 3px; }
.review-tools { padding: 20px 0; border-top: 1px solid #AFAFAF; border-bottom: 1px solid #AFAFAF; margin-bottom: 24px; }
#counts { font-weight: 700; margin-bottom: 16px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.secondary { background: #FFFFFF; border-color: #AFAFAF; }
.notice { border-left: 4px solid #FF8517; padding-left: 12px; margin-top: 16px; font-size: .875rem; }
#load-status { margin-bottom: 20px; }
.games { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.game { min-width: 0; padding: 20px; border: 1px solid #AFAFAF; border-radius: 8px; display: flex; flex-direction: column; gap: 14px; overflow-wrap: anywhere; }
.game-heading { display: flex; flex-direction: column; gap: 6px; }
.type, .attribution, .metadata { font-size: .875rem; }
.origin { font-weight: 650; }
.metadata { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.play-actions { margin-top: auto; }
.play-link { min-width: 120px; text-decoration: none; }
.open-here { padding: 8px; font-size: .875rem; }
.verdict-label, label { font-weight: 650; }
.verdicts { display: flex; flex-wrap: wrap; gap: 8px; }
.verdict { flex: 1 1 auto; padding: 10px 8px; background: #FFFFFF; }
.approved { color: #1a7f37; border-color: #1a7f37; }
.rejected { color: #b42318; border-color: #b42318; }
.pending { border-color: #AFAFAF; }
.approved[aria-pressed="true"] { background: #1a7f37; color: #FFFFFF; }
.rejected[aria-pressed="true"] { background: #b42318; color: #FFFFFF; }
.pending[aria-pressed="true"] { background: #AFAFAF; }
.verdict[aria-pressed="true"] { box-shadow: inset 0 -4px 0 currentColor; }
.comment { display: flex; flex-direction: column; gap: 6px; }
textarea { width: 100%; min-width: 0; min-height: 80px; padding: 10px; color: #0C3440; background: #FFFFFF; border: 1px solid #AFAFAF; border-radius: 4px; resize: vertical; }
textarea::placeholder { color: #526a72; }
.bottom-actions { padding: 28px 0 8px; }
footer { border-top: 1px solid #AFAFAF; font-size: .8rem; }
.copy-buffer { position: fixed; top: 0; left: 0; width: 1px; height: 1px; min-height: 0; opacity: 0; }
[hidden] { display: none !important; }
@media (min-width: 900px) { .games { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 400px) { main, footer { padding: 16px; } .game { padding: 16px; } .review-tools .actions > button { width: 100%; } }
/* Reserve the cards area before catalog.json arrives (CLS). */
#games { min-height: 70vh; }
#load-status { min-height: 48px; }
