/* nobolab site pages (hub, leaderboard, account): Riso Zine — dotted print paper, taped cards, print colours. */
:root { --paper: #FFF6E6; --ink: #1B1B3A; --mute: #44446a; --blue: #4C7BE2; --pink: #FF5E7E; --yellow: #FFD23F; --green: #2FBF8F; --sheet: #FFFDF7; color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 16px/1.45 "Bricolage Grotesque", system-ui, sans-serif;
  background-image: radial-gradient(#1B1B3A14 1px, transparent 1.2px); background-size: 6px 6px; }
main { max-width: 760px; margin: 0 auto; padding: max(18px, env(safe-area-inset-top)) 16px 48px; }
a { color: inherit; }
nav { display: flex; align-items: center; gap: 12px; }
nav .sp { flex: 1; }
nav a.link, nav button.link { font: 700 14px "Bricolage Grotesque", system-ui, sans-serif; text-decoration: none; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 6px 2px; }
nav .chip { max-width: 46vw; overflow: hidden; text-overflow: ellipsis; font: 700 14px "Bricolage Grotesque", system-ui, sans-serif; background: var(--ink); color: var(--paper); border: 0; border-radius: 30px; padding: 8px 14px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.logo { font: 400 21px "Rubik Mono One", sans-serif; position: relative; display: inline-block; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.logo span { position: relative; z-index: 1; }
.logo::before { content: "nobolab"; position: absolute; left: 3px; top: 3px; color: var(--pink); mix-blend-mode: multiply; }
h1 { font: 800 clamp(36px, 9vw, 56px)/.95 "Bricolage Grotesque", sans-serif; letter-spacing: -0.04em; margin: 26px 0 10px; }
h1 em { font-style: normal; background: var(--yellow); padding: 0 8px; display: inline-block; transform: rotate(-2deg); }
h2.sec { font: 800 24px/1.1 "Bricolage Grotesque", sans-serif; letter-spacing: -0.02em; margin: 30px 0 10px; }
.sub { font-size: 16px; margin: 0 0 24px; color: var(--mute); max-width: 34em; }
.panel { position: relative; background: var(--sheet); border-radius: 4px; padding: 16px; box-shadow: 0 2px 0 #1B1B3A22; }
.panel.dark { background: var(--ink); color: var(--paper); }
.tape { position: absolute; width: 70px; height: 20px; background: #ffffffb0; top: -8px; left: 40%; transform: rotate(-4deg); }
.btn { display: inline-block; font: 800 14px "Bricolage Grotesque", system-ui, sans-serif; background: var(--ink); color: var(--paper); border: 0; border-radius: 30px; padding: 9px 16px; text-decoration: none; cursor: pointer; }
.btn.pink { background: var(--pink); color: #fff; } .btn.light { background: var(--paper); color: var(--ink); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 14px; }
.tabs button { font: 700 14px "Bricolage Grotesque", system-ui, sans-serif; border: 2px solid var(--ink); background: transparent; color: var(--ink); border-radius: 30px; padding: 6px 12px; cursor: pointer; }
.tabs button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
table.board { width: 100%; border-collapse: collapse; font-size: 15px; }
table.board th { text-align: left; font-size: 12px; color: var(--mute); font-weight: 600; padding: 6px 8px; }
table.board td { padding: 9px 8px; border-top: 1.5px dashed #1B1B3A22; }
table.board tr.me td { background: #FFD23F55; font-weight: 800; }
table.board td.r { text-align: right; white-space: nowrap; }
.muted { color: var(--mute); }
footer { margin-top: 34px; font-size: 13px; color: var(--mute); display: grid; gap: 10px; }
footer .socials { display: flex; gap: 8px; flex-wrap: wrap; }
footer .socials a { text-decoration: none; font-weight: 700; color: var(--ink); background: #ffffffaa; border-radius: 20px; padding: 6px 12px; }
footer .links { display: flex; gap: 14px; flex-wrap: wrap; }
footer button.linkish { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
@media (max-width: 430px) { nav .chip .pts { display: none; } nav { gap: 8px; } .logo { font-size: 18px; } }
