@font-face { font-family: 'Press Start 2P'; src: url('/fonts/PressStart2P-Regular.ttf') format('truetype'); font-display: swap; }
/* The Full Snap website: one stylesheet for the landing page, the manual, the teams page and the controls page */
:root { --bg: #070b18; --panel: #101831; --panel2: #16204a; --line: #26335c; --gold: #fde047; --red: #dc2626; --green: #4ade80; --blue: #60a5fa; --text: #e8ecf5; --dim: #a9b5cf; --px: 'Press Start 2P', ui-monospace, monospace; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3, .px { font-family: var(--px); font-weight: 400; }
h2 { color: var(--gold); font-size: clamp(16px, 3vw, 24px); line-height: 1.5; margin: 0 0 10px; text-shadow: 3px 3px 0 #000; }
h3 { font-size: 12px; line-height: 1.6; margin: 14px 14px 6px; color: #fff; }
.kicker { font-family: var(--px); font-size: 10px; color: #f87171; letter-spacing: 1px; margin: 0 0 12px; }
.lede { color: var(--dim); max-width: 64ch; margin: 0 0 28px; }
section { padding: 64px 0; border-bottom: 2px solid var(--line); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--gold); color: #000; padding: 10px; z-index: 50; font-weight: 700; }
.skip:focus { left: 8px; top: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* network bar */
.bar { position: sticky; top: 0; z-index: 10; background: rgba(7,11,24,.96); border-bottom: 3px solid var(--red); }
.bar .wrap { display: flex; align-items: center; gap: 14px; height: 54px; }
.bug { font-family: var(--px); font-size: 12px; background: var(--red); color: #fff; padding: 8px 9px 6px; text-decoration: none; flex: none; }
.live { font-family: var(--px); font-size: 8px; color: #fff; display: flex; align-items: center; gap: 6px; flex: none; }
.live::before { content: ''; width: 8px; height: 8px; background: #ef4444; animation: blink 1s steps(2) infinite; }
.bar nav { margin-left: auto; display: flex; gap: 16px; }
.bar nav a { font-family: var(--px); font-size: 8px; color: var(--dim); text-decoration: none; padding: 6px 0; white-space: nowrap; }
.bar nav a:hover, .bar nav a:focus-visible, .bar nav a[aria-current] { color: var(--gold); }
.subnav { display: none; }
.btn { display: inline-block; font-family: var(--px); background: var(--red); color: #fff; text-decoration: none; padding: 18px 26px; font-size: clamp(14px, 3vw, 20px); box-shadow: 6px 6px 0 #000; transition: transform .08s; border: 0; }
.btn:hover, .btn:focus-visible { background: #ef4444; outline: 3px solid var(--gold); outline-offset: 3px; transform: translate(-2px,-2px); }
.btn.sm { font-size: 9px; padding: 10px 12px 8px; box-shadow: 3px 3px 0 #000; flex: none; }
.btn.ghost { background: transparent; color: var(--gold); box-shadow: none; outline: 3px solid var(--gold); outline-offset: -3px; font-size: clamp(10px, 2vw, 13px); padding: 16px 18px; }
.btn.ghost:hover, .btn.ghost:focus-visible { background: rgba(253,224,71,.12); }
.btns { display: flex; flex-wrap: wrap; gap: 18px 22px; align-items: center; }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 4px solid #000; }
.hero .bg { position: absolute; inset: 0; background: url(/screens/pass-play.webp) center/cover; image-rendering: pixelated; opacity: .4; transform: scale(1.06); animation: drift 30s ease-in-out infinite alternate; }
.hero::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.22) 0 2px, transparent 2px 4px), linear-gradient(90deg, rgba(7,11,24,.96) 0%, rgba(7,11,24,.6) 60%, rgba(7,11,24,.3) 100%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; padding-top: clamp(40px, 8vw, 96px); padding-bottom: clamp(40px, 7vw, 86px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: center; }
h1 { margin: 0; font-size: clamp(36px, 9vw, 92px); line-height: 1.12; background: linear-gradient(180deg, #fff7c2 0%, #fde047 42%, #f59e0b 58%, #b45309 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(5px 5px 0 #000); }
.tag { font-family: var(--px); font-size: clamp(11px, 2.4vw, 17px); line-height: 1.8; color: #fff; text-shadow: 3px 3px 0 #000; margin: 24px 0 12px; }
.sub { max-width: 56ch; color: #dbe3f5; margin: 0 0 30px; text-shadow: 1px 1px 0 #000; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; padding: 0; list-style: none; }
.chips li { font-family: var(--px); font-size: 8px; color: var(--gold); border: 2px solid var(--gold); padding: 8px 9px 6px; background: rgba(0,0,0,.55); }
.cab { background: #000; border: 4px solid #2b375f; box-shadow: 0 0 0 4px #000, 10px 10px 0 4px rgba(0,0,0,.6); padding: 10px; transform: rotate(1.5deg); }
.cab img { image-rendering: pixelated; width: 100%; aspect-ratio: 1; }
.cab p { font-family: var(--px); font-size: 8px; color: var(--gold); text-align: center; margin: 10px 0 2px; animation: blink 1.2s steps(2) infinite; }

/* ticker */
.ticker { background: #000; border-bottom: 2px solid var(--line); overflow: hidden; white-space: nowrap; font-family: var(--px); font-size: 9px; }
.ticker .lab { display: inline-block; background: #1d4ed8; color: #fff; padding: 11px 10px 9px; position: relative; z-index: 1; }
.ticker .run { display: inline-block; animation: tick 60s linear infinite; }
.ticker span { margin-right: 34px; color: #fff; }
.ticker b { color: var(--gold); font-weight: 400; } .ticker i { color: var(--dim); font-style: normal; }

/* grids and cards */
.three { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.pill { background: var(--panel); border: 2px solid var(--line); border-top: 4px solid var(--gold); padding: 22px; }
.pill h3 { margin: 0 0 10px; color: var(--gold); }
.pill p { margin: 0; color: var(--dim); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.card { background: var(--panel); border: 2px solid var(--line); overflow: hidden; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; image-rendering: pixelated; border-bottom: 2px solid var(--line); }
.card p { margin: 0 14px 16px; color: var(--dim); font-size: 15px; }
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 18px; }
.feat { background: var(--panel); border: 2px solid var(--line); display: grid; grid-template-columns: 120px 1fr; gap: 0; overflow: hidden; }
.feat img { width: 120px; height: 100%; min-height: 150px; object-fit: cover; image-rendering: pixelated; border-right: 2px solid var(--line); }
.feat div { padding: 16px 16px 18px; }
.feat h3 { margin: 0 0 8px; color: var(--gold); font-size: 11px; }
.feat p { margin: 0; color: var(--dim); font-size: 15px; }
.feat .tagx { display: inline-block; font-family: var(--px); font-size: 7px; color: #000; background: var(--green); padding: 4px 5px 3px; margin-bottom: 8px; }
.feat.big { grid-column: span 2; grid-template-columns: 1fr 1fr; }
.feat.big img { width: 100%; height: 100%; min-height: 240px; border-right: 2px solid var(--line); }
.feat.big h3 { font-size: 13px; }
.booth { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 16px; }
.voice { display: grid; grid-template-columns: 96px 1fr; gap: 16px; background: var(--panel); border: 2px solid var(--line); padding: 16px; align-items: start; }
.voice img { width: 96px; height: 96px; image-rendering: pixelated; border: 2px solid var(--gold); }
.voice h3 { margin: 0 0 4px; }
.voice .role { font-family: var(--px); font-size: 8px; color: var(--gold); margin: 0 0 10px; }
blockquote { margin: 0; color: #dbe3f5; font-style: italic; border-left: 3px solid var(--red); padding-left: 12px; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
figure { margin: 0; background: #000; border: 2px solid var(--line); }
figure img { width: 100%; image-rendering: pixelated; aspect-ratio: 16 / 9; object-fit: cover; }
figcaption { font-family: var(--px); font-size: 8px; line-height: 1.7; color: var(--dim); padding: 10px 12px; }
.nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; text-align: center; }
.nums div { background: var(--panel2); border: 2px solid var(--line); padding: 22px 8px; }
.nums b { display: block; font-family: var(--px); font-weight: 400; font-size: clamp(20px, 4vw, 30px); color: var(--gold); text-shadow: 3px 3px 0 #000; margin-bottom: 10px; }
.nums span { font-family: var(--px); font-size: 8px; color: var(--dim); line-height: 1.7; }
.league { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 10px; }
.league li { display: flex; gap: 12px; align-items: center; background: var(--panel); border: 2px solid var(--line); border-left: 6px solid var(--j); padding: 10px; box-shadow: inset 4px 0 0 var(--t); }
.league a { display: flex; gap: 12px; align-items: center; color: inherit; text-decoration: none; width: 100%; }
.league a:hover b, .league a:focus-visible b { color: var(--gold); }
.league img { width: 48px; height: 48px; image-rendering: pixelated; flex: none; }
.league b { display: block; font-size: 15px; } .league span { font-size: 13px; color: var(--dim); }
.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.mode { background: var(--panel); border: 2px solid var(--line); padding: 18px; }
.mode b { display: block; font-family: var(--px); font-weight: 400; font-size: 11px; color: #fff; margin-bottom: 10px; line-height: 1.6; }
.mode span { color: var(--dim); font-size: 15px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.steps li { counter-increment: s; background: var(--panel); border: 2px solid var(--line); padding: 50px 18px 18px; position: relative; color: var(--dim); font-size: 15px; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 14px; font-family: var(--px); font-size: 18px; color: #000; background: var(--gold); width: 30px; height: 30px; display: grid; place-items: center; box-shadow: 3px 3px 0 #000; }
.steps b { color: #fff; }
details { background: var(--panel); border: 2px solid var(--line); margin-bottom: 10px; }
summary { cursor: pointer; padding: 16px 18px; font-weight: 600; }
details p { margin: 0; padding: 0 18px 18px; color: var(--dim); }
.warn { border: 2px solid var(--red); padding: 18px; color: #fecaca; background: rgba(220,38,38,.1); }
.final { text-align: center; background: linear-gradient(180deg, var(--panel2), var(--bg)); }
.final h2 { font-size: clamp(18px, 4.4vw, 34px); margin-bottom: 26px; }
.guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.guides a { display: flex; align-items: center; gap: 12px; background: var(--panel); border: 2px solid var(--line); padding: 14px; color: #fff; text-decoration: none; height: 100%; }
.guides a:hover, .guides a:focus-visible { border-color: var(--gold); }
.guides svg { flex: none; width: 34px; height: 34px; }
.guides b { display: block; font-family: var(--px); font-weight: 400; font-size: 9px; line-height: 1.6; color: var(--gold); }
.guides span { font-size: 13px; color: var(--dim); }

/* footer */
footer { padding: 40px 0 70px; color: var(--dim); font-size: 14px; }
.fnav { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0 0 18px; padding: 0; list-style: none; }
.fnav a { font-family: var(--px); font-size: 9px; text-decoration: none; }

/* inner pages */
.pagehead { padding: 46px 0 34px; background: linear-gradient(180deg, var(--panel2), var(--bg)); border-bottom: 2px solid var(--line); }
.pagehead h1 { font-size: clamp(26px, 6vw, 54px); }
.pagehead p { color: var(--dim); max-width: 66ch; margin: 18px 0 0; }
.doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; padding: 40px 16px 60px; }
.toc { position: sticky; top: 74px; align-self: start; max-height: calc(100vh - 90px); overflow: auto; background: var(--panel); border: 2px solid var(--line); padding: 14px 14px 10px; }
.toc p { font-family: var(--px); font-size: 9px; color: var(--gold); margin: 0 0 10px; }
.toc ol { margin: 0; padding: 0 0 0 22px; font-size: 14px; }
.toc li { margin: 0 0 6px; color: var(--dim); }
.toc a { color: #dbe3f5; text-decoration: none; }
.toc a:hover, .toc a:focus-visible { color: var(--gold); text-decoration: underline; }
.doc article > section { padding: 0 0 36px; margin: 0 0 36px; }
.doc article > section:last-child { border-bottom: 0; }
.doc h2 { font-size: clamp(14px, 2.4vw, 19px); }
.doc h3 { margin: 26px 0 10px; font-size: 11px; color: #fff; }
.doc p, .doc li { color: #d3dbec; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .note { background: var(--panel); border-left: 4px solid var(--gold); padding: 12px 16px; color: #e5e9f3; }
.tbl { overflow-x: auto; margin: 12px 0 18px; border: 2px solid var(--line); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--px); font-weight: 400; font-size: 8px; line-height: 1.6; color: var(--gold); background: var(--panel2); }
tbody tr:nth-child(odd) { background: rgba(255,255,255,.025); }
td b { color: #fff; }
kbd, .k { display: inline-block; font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: #0b1020; background: #e5e7eb; border: 1px solid #fff; border-bottom: 3px solid #94a3b8; border-radius: 4px; padding: 4px 6px 3px; margin: 1px 2px; white-space: nowrap; }
.k.pad { background: #1e293b; color: #fde047; border-color: #475569; border-bottom-color: #0f172a; }
.k.tap { background: #0f172a; color: #fff; border-color: #64748b; border-radius: 12px; }
.shotrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; margin: 16px 0; }
.crew { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.crew div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; background: var(--panel); border: 2px solid var(--line); padding: 10px; align-items: start; }
.crew img { width: 76px; height: 76px; image-rendering: pixelated; border: 2px solid #fff; }
.crew b { display: block; color: #fff; font-size: 15px; }
.crew i { display: block; font-style: normal; font-family: var(--px); font-size: 7px; line-height: 1.7; color: var(--gold); margin: 3px 0 5px; }
.crew span { font-size: 14px; color: var(--dim); }
.pdfs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 18px; }
.pdf { background: var(--panel); border: 2px solid var(--line); display: flex; flex-direction: column; }
.pdf img { border-bottom: 2px solid var(--line); background: #fff; aspect-ratio: 11 / 8.5; object-fit: cover; }
.pdf div { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pdf h3 { margin: 0; color: var(--gold); }
.pdf p { margin: 0; color: var(--dim); font-size: 15px; flex: 1; }
.pdf .btn { align-self: flex-start; }

/* teams page */
.clubs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 18px; padding: 40px 16px 60px; }
.club { background: var(--panel); border: 2px solid var(--line); border-top: 6px solid var(--j); position: relative; scroll-margin-top: 70px; }
.club header { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 16px 12px; align-items: center; background: linear-gradient(90deg, color-mix(in srgb, var(--j) 32%, transparent), transparent 70%); }
.club header img { width: 96px; height: 96px; image-rendering: pixelated; }
.club h2 { margin: 0; font-size: clamp(13px, 2.2vw, 16px); line-height: 1.5; }
.club h2 small { display: block; font-size: 9px; color: #fff; text-shadow: none; margin-top: 6px; }
.club .meta { font-size: 14px; color: var(--dim); margin: 6px 0 0; }
.swatch { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 16px 12px; margin: 0; list-style: none; font-size: 13px; color: var(--dim); }
.swatch li { display: flex; gap: 6px; align-items: center; }
.swatch i { width: 22px; height: 22px; border: 2px solid #fff; box-shadow: 2px 2px 0 #000; background: var(--c); }
.swatch code { color: #e5e7eb; font-size: 12px; }
.rate { display: grid; grid-template-columns: 74px 1fr; gap: 4px 10px; padding: 0 16px 14px; font-family: var(--px); font-size: 7px; color: var(--dim); align-items: center; }
.rate span:nth-child(even) { height: 10px; background: #0b1020; border: 1px solid var(--line); position: relative; }
.rate span:nth-child(even)::after { content: ''; position: absolute; inset: 1px auto 1px 1px; width: var(--v); background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 10px); }
.coach { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 14px 16px 16px; border-top: 2px solid var(--line); }
.coach img { width: 96px; height: 96px; image-rendering: pixelated; border: 2px solid var(--gold); }
.coach h3 { margin: 0; font-size: 10px; color: #fff; }
.coach .att { font-family: var(--px); font-size: 7px; color: var(--gold); margin: 6px 0 8px; line-height: 1.7; }
.coach p { margin: 0 0 6px; font-size: 15px; color: #d3dbec; }
.coach q { display: block; font-size: 14px; color: var(--dim); font-style: italic; margin-top: 6px; }
.jump { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 0; padding: 0; list-style: none; }
.jump a { display: block; font-family: var(--px); font-size: 8px; padding: 7px 7px 5px; border: 2px solid var(--line); background: var(--panel); text-decoration: none; color: #fff; }
.jump a:hover, .jump a:focus-visible { border-color: var(--gold); color: var(--gold); }

@keyframes blink { 50% { opacity: .2; } }
@keyframes tick { to { transform: translateX(-50%); } }
@keyframes drift { to { transform: scale(1.14) translateX(-2%); } }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .cab { max-width: 340px; transform: none; }
  .doc { grid-template-columns: 1fr; gap: 22px; }
  .toc { position: static; max-height: none; }
  .feat.big { grid-column: auto; grid-template-columns: 1fr; }
  .feat.big img { min-height: 0; aspect-ratio: 16 / 10; border-right: 0; border-bottom: 2px solid var(--line); }
}
@media (max-width: 760px) {
  .bar nav, .live { display: none; }
  .bar .btn { margin-left: auto; }
  .subnav { display: flex; gap: 6px; overflow-x: auto; padding: 8px 16px; background: #050812; border-bottom: 2px solid var(--line); scrollbar-width: none; }
  .subnav a { font-family: var(--px); font-size: 8px; color: var(--dim); text-decoration: none; white-space: nowrap; padding: 8px 9px 6px; border: 2px solid var(--line); }
  .subnav a[aria-current] { color: var(--gold); border-color: var(--gold); }
  section { padding: 44px 0; }
  .voice, .coach { grid-template-columns: 72px 1fr; } .voice img, .coach img { width: 72px; height: 72px; }
  .feat { grid-template-columns: 96px 1fr; } .feat img { width: 96px; }
  .club header { grid-template-columns: 72px 1fr; } .club header img { width: 72px; height: 72px; }
  .clubs, .doc { padding-top: 26px; }
}
@media (prefers-reduced-motion: reduce) { .ticker .run, .hero .bg, .live::before, .cab p { animation: none; } html { scroll-behavior: auto; } }
@media print { .bar, .subnav, .toc, .ticker, .hero .bg { display: none; } body { background: #fff; color: #000; } }
.tbl.wide table { min-width: 760px; }
.tbl:focus-visible { outline: 3px solid var(--gold); }

/* gameplay clips: a TV set around each one */
.tv { margin: 0; position: relative; background: #000; border: 4px solid #2b375f; box-shadow: 0 0 0 4px #000, 8px 8px 0 4px rgba(0,0,0,.6); padding: 8px; }
.tv video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; cursor: pointer; }
.tv figcaption { font-family: var(--px); font-size: 8px; line-height: 1.6; color: var(--gold); margin: 10px 2px 2px; }
.tv.big { margin: 24px auto 22px; max-width: 900px; }
.vids { max-width: 900px; margin: 0 auto; }
.tv.big figcaption { font-size: 9px; }
.vids { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 22px; }
.scr { position: relative; }
.vbtn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border: 3px solid #fff; background: rgba(220,38,38,.92); color: #fff; font-size: 24px; cursor: pointer; box-shadow: 4px 4px 0 #000; }
.tv.on .vbtn { opacity: 0; }
.tv.on:hover .vbtn, .vbtn:focus-visible { opacity: .9; }

/* the hero: real gameplay in the cabinet instead of the title art */
.cab.tvcab video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; image-rendering: pixelated; }
@media (min-width: 901px) { .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } }

.ticker[hidden] { display: none; }
