/* shared paper look for the arcade pages */
:root {
  --paper: #f3e7cf; --paper-2: #e9d8b6; --ink: #2e1b14; --ink-2: #4a2c22; --ink-3: #7a5a4c;
  --rose: #c98a88; --rose-2: #e3b9b3; --gold: #f2c21b; --gold-2: #d9a70f; --gilt: #b8892e; --red: #b5321f; --cave: #1b100c;
  --r: 6px; --display: "Fraunces", "Iowan Old Style", Georgia, serif; --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.grain { position: fixed; inset: 0; z-index: 9; pointer-events: none; opacity: .2; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px clamp(14px, 3vw, 28px); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: .04em; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.eyebrow { font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; }
.h1 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 6vw, 56px); line-height: .95; letter-spacing: -.02em; margin: 0 0 10px; }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 3.4vw, 34px); line-height: 1.05; margin: 0 0 12px; }
.lede { color: var(--ink-2); max-width: 56ch; margin: 0 0 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; padding: 12px 20px; border-radius: var(--r);
  border: 2px solid var(--ink); background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px;
  box-shadow: 4px 4px 0 var(--ink); transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }
.btn--primary { background: var(--gold); }
.btn--ghost { background: transparent; box-shadow: none; border-color: var(--ink-3); color: var(--ink-2); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.card { background: var(--paper-2); border: 2px solid var(--ink); border-radius: var(--r); box-shadow: 6px 6px 0 var(--ink); padding: 18px; }
.frame { background: var(--paper); padding: 10px; border: 8px solid var(--gilt); outline: 2px solid var(--ink); box-shadow: inset 0 0 0 2px var(--gold-2), 10px 10px 0 var(--ink-2); }
.wrap { width: min(1100px, 100% - 2*clamp(14px, 3vw, 28px)); margin: 0 auto; }
.tiny { font-size: 12.5px; color: var(--ink-3); }
.pill { display: inline-block; padding: 4px 10px; border: 2px solid var(--ink); border-radius: 999px; background: var(--gold); font-weight: 700; font-size: 12px; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(20px); opacity: 0; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r); font-weight: 600; transition: .25s var(--ease); z-index: 30; pointer-events: none; }
.toast.is-on { opacity: 1; transform: translateX(-50%); }
@media (prefers-reduced-motion: reduce) { .grain { display: none; } }
