/* How to play + Weapons pages. Loaded after style-a.css; reuses its tokens
   (--ink, --snow, --mustard, --red, --sky, --display) and cut-paper look. */

/* Jump links under the hero */
.gp-jump { background: var(--snow); border-bottom: 4px solid var(--ink); padding: 14px 0; }
.gp-jump .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.gp-jump b { font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.gp-jump ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gp-jump a { display: inline-block; color: var(--ink); text-decoration: none; font-weight: 800; font-size: .85rem; padding: 4px 10px; border: 3px solid var(--ink); background: var(--snow-2); box-shadow: 3px 3px 0 var(--ink); }
.gp-jump a:hover { background: var(--mustard); }
.gp-row [id] { scroll-margin-top: 84px; }
.gp-row .row-head { margin-bottom: 4px; }

.gp-small { color: var(--muted); max-width: 70ch; margin: 12px 0 0; }
.dark .gp-small { color: #c9d3d6; }
.gp-h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.05; margin: 0; }

/* Keycaps */
kbd {
  display: inline-block; min-width: 1.9em; padding: 2px 7px; margin: 1px 0; text-align: center;
  font-family: var(--body); font-weight: 800; font-size: .85em; line-height: 1.4; color: var(--ink);
  background: var(--snow); border: 2px solid var(--ink); border-radius: 4px; box-shadow: 0 3px 0 var(--ink);
}

/* Quick start */
.gp-steps { list-style: none; counter-reset: gs; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.gp-steps li { counter-increment: gs; position: relative; background: var(--snow); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 44px 16px 16px; }
.gp-steps li:nth-child(odd) { transform: rotate(-.6deg); }
.gp-steps li:nth-child(even) { transform: rotate(.5deg); }
.gp-steps li::before {
  content: counter(gs); position: absolute; left: -10px; top: -14px; width: 48px; height: 48px; display: grid; place-items: center;
  font-family: var(--display); font-size: 1.6rem; background: var(--red); color: var(--snow); border: 3px solid var(--ink); transform: rotate(-6deg);
}
.gp-steps li:nth-child(even)::before { background: var(--mustard); color: var(--ink); }
.gp-steps h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.45rem; margin: 0 0 6px; line-height: 1; }
.gp-steps p { margin: 0; }
.gp-fighters { display: grid; grid-template-columns: repeat(3, minmax(0, 150px)) minmax(0, 1fr); gap: 16px; align-items: end; margin-top: 34px; }
.gp-fighters figure { margin: 0; text-align: center; }
.gp-fighters img { width: 100%; max-height: 210px; object-fit: contain; filter: drop-shadow(5px 5px 0 rgba(0, 0, 0, .3)); }
.gp-fighters figcaption { display: inline-block; margin-top: 8px; font-family: var(--display); text-transform: uppercase; background: var(--ink); color: var(--snow); padding: 2px 10px; transform: rotate(-2deg); }
.gp-callout { margin: 0; align-self: center; background: var(--mustard); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 14px 16px; transform: rotate(.6deg); }
.gp-callout b { font-weight: 800; }

/* Controls */
.gp-controls { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 20px; margin-top: 26px; align-items: start; }
.gp-ctl { min-width: 0; background: var(--snow-2); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 16px; }
.gp-ctl:nth-child(2) { box-shadow: 6px 6px 0 var(--red); }
.gp-ctl:nth-child(3) { box-shadow: 6px 6px 0 var(--mustard-2); }
.gp-ctl .gp-small { margin: 4px 0 12px; font-size: .9rem; }
.gp-keys { margin: 0; background: var(--snow); }
.gp-keys tbody th { white-space: nowrap; font-weight: 800; }
.gp-keys td, .gp-keys th { vertical-align: middle; }

/* Basics */
.gp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; margin-top: 24px; }
.dark .gp-split, .gp-split.wrap { align-items: center; }
.gp-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.gp-rules li { background: var(--snow); border: 3px solid var(--ink); border-left: 10px solid var(--mustard); padding: 12px 14px; }
.gp-rules li:nth-child(even) { border-left-color: var(--red); }
.gp-rules b { display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.25rem; line-height: 1.1; }
.gp-shot { margin: 0; border: 4px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); background: var(--ink); transform: rotate(.6deg); }
.gp-shot figcaption { color: var(--snow); font-weight: 800; padding: 10px 14px; }

/* Pick-ups (reuses .powerups / .pu) */
.gp-pu { margin-top: 24px; }
.gp-pu .pu span { display: block; margin-top: 4px; }

/* Big number facts */
.gp-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gp-facts li { background: var(--ink-2); border: 3px solid var(--snow); padding: 14px 16px; }
.gp-facts li:nth-child(1) { border-color: var(--mustard); }
.gp-facts li:nth-child(4) { border-color: #ff5a63; }
.gp-facts b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; color: var(--mustard); }
.gp-facts span { font-weight: 800; color: #d8e0e3; }
.gp-facts-light { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 26px; }
.gp-facts-light li { background: var(--snow); border-color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.gp-facts-light li:nth-child(2) { background: var(--mustard); transform: rotate(.6deg); }
.gp-facts-light li:nth-child(3) { transform: rotate(-.5deg); }
.gp-facts-light li:nth-child(4) { border-color: var(--ink); background: var(--sky); }
.gp-facts-light b { color: var(--red); text-shadow: 2px 2px 0 var(--ink); }
.gp-facts-light li:nth-child(2) b { color: var(--snow); }
.gp-facts-light span { color: var(--ink); }

/* Scoring */
.gp-score { margin: 0; background: var(--snow); font-size: 1.05rem; box-shadow: 6px 6px 0 var(--ink); }
.gp-score td { font-family: var(--display); color: var(--red); font-size: 1.2rem; }
.gp-split .sub-head { margin-top: 0; }
.gp-split .streaks { margin-top: 14px; }
.gp-turkey { margin-top: 24px; display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 14px; align-items: center; }
.gp-turkey img { border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); aspect-ratio: 4 / 3; object-fit: cover; }
.gp-turkey p { margin: 0; }
.gp-turkey b { font-weight: 800; }

/* Modes */
.gp-modes { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gp-modes li { border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 16px 18px; background: var(--snow-2); }
.gp-modes li:nth-child(2) { background: var(--red); color: var(--snow); transform: rotate(.6deg); border-bottom: 12px solid #2f6fd0; }
.gp-modes li:nth-child(3) { background: var(--mustard); transform: rotate(-.6deg); }
.gp-modes h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; margin: 0 0 6px; line-height: 1; }
.gp-modes p { margin: 0; font-weight: 800; }

/* Town */
.gp-town { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); margin-top: 26px; align-items: start; }
.gp-map { margin: 0; border: 4px solid var(--ink); box-shadow: 10px 10px 0 var(--red); background: var(--ink); transform: rotate(-.5deg); position: sticky; top: 80px; }
.gp-districts { list-style: none; counter-reset: d; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gp-districts li { counter-increment: d; position: relative; background: var(--snow); border: 3px solid var(--ink); padding: 10px 12px 10px 46px; }
.gp-districts li::before { content: counter(d); position: absolute; left: 8px; top: 9px; width: 28px; height: 28px; display: grid; place-items: center; background: var(--ink); color: var(--mustard); font-family: var(--display); font-size: .95rem; }
.gp-districts b { display: block; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.gp-districts span { display: block; font-size: .92rem; color: var(--muted); }

/* Progression */
.gp-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.gp-card { background: var(--snow-2); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 16px 18px; }
.gp-card:nth-child(2) { box-shadow: 6px 6px 0 var(--red); }
.gp-card ul { margin: 10px 0 0; padding-left: 20px; }
.gp-card li { margin-bottom: 4px; }
.gp-card p { margin: 10px 0 0; }
.gp-card b { font-weight: 800; }
.gp-tiers { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.gp-tiers li { border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); display: flex; align-items: stretch; }
.gp-tiers b { font-family: var(--display); font-weight: 400; text-transform: uppercase; padding: 8px 12px; background: var(--snow); }
.gp-tiers span { padding: 8px 10px; background: var(--ink); color: var(--snow); font-weight: 800; font-size: .88rem; display: flex; align-items: center; }
.gp-tiers li:nth-child(2) b { background: #dcecef; }
.gp-tiers li:nth-child(3) b { background: var(--sky); }
.gp-tiers li:nth-child(4) b { background: var(--mustard); }
.gp-tiers li:nth-child(5) b { background: var(--red); color: var(--snow); }
.gp-tiers li:nth-child(odd) { transform: rotate(-1deg); }
.gp-tiers li:nth-child(even) { transform: rotate(1deg); }

/* Fair play (reuses .locks) */
.gp-locks span { display: block; }
.gp-locks kbd { font-size: .8em; }
.dark .actions { margin-top: 30px; }

/* ---------- Weapons page ---------- */
.gp-feature { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.gp-feat-shot { margin: 0; border: 4px solid var(--mustard); box-shadow: 10px 10px 0 var(--red); transform: rotate(-.8deg); background: var(--ink); }
.gp-feat-copy .row-title { color: var(--snow); }
.gp-feat-note { color: #d8e0e3; margin: 12px 0 0; }
.wpn-stats-big { margin-top: 20px; }
.dark .wpn-stats div { background: var(--ink-2); border-color: var(--snow); }
.dark .wpn-stats dt { color: var(--mustard); }
.dark .wpn-stats dd { color: var(--snow); }
.dark .wpn-stats small { color: #c9d3d6; }

.gp-base { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(20px, 3vw, 36px); margin-top: 24px; align-items: start; }
.gp-base .sub-head { margin-top: 0; }
.gp-base .gp-pu { margin-top: 0; grid-template-columns: 1fr; }
.wpn-base { --wc: var(--snow); }

/* Filter */
.wpn-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 22px 0 0; }
.wpn-filter-label { margin: 0; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; }
.wpn-filter-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.wpn-filter button {
  font-family: var(--body); font-weight: 800; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em;
  padding: 8px 14px; border: 3px solid var(--ink); background: var(--snow); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); cursor: pointer;
}
.wpn-filter button:hover { background: var(--snow-2); transform: translate(-1px, -1px); }
.wpn-filter button[aria-pressed="true"] { background: var(--ink); color: var(--mustard); box-shadow: 4px 4px 0 var(--red); }
.wpn-count { margin: 0; flex-basis: 100%; font-weight: 800; color: var(--muted); font-size: .9rem; }

/* Weapon cards */
.wpn-grid { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.wpn {
  --wc: var(--mustard);
  position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0;
  background: var(--snow); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 0 16px 16px;
}
.wpn::before { content: ""; display: block; height: 14px; margin: 0 -16px; background: var(--wc); border-bottom: 3px solid var(--ink); }
.wpn-grid .wpn:nth-child(4n+1) { transform: rotate(-.5deg); }
.wpn-grid .wpn:nth-child(4n+3) { transform: rotate(.4deg); }
.wpn-no { position: absolute; right: 10px; top: 20px; margin: 0; font-family: var(--display); font-size: 1.1rem; color: #59666b; }
.wpn h3 { margin: 0; padding-right: 34px; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.35rem; line-height: 1.05; }
.wpn-blurb { margin: 0; font-style: italic; flex: 1; }
.wpn-stats { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.wpn-stats-big { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wpn-stats div { border: 2px solid var(--ink); background: var(--snow-2); padding: 5px 8px; min-width: 0; }
.wpn-stats dt { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.wpn-stats dd { margin: 0; font-weight: 800; line-height: 1.2; }
.wpn-stats small { display: block; font-size: .78rem; font-weight: 500; color: var(--muted); }
.wpn-traits { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.wpn-traits li { font-weight: 800; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border: 2px solid var(--ink); background: var(--snow); }
.wpn-traits .wpn-tag { background: var(--ink); color: var(--snow); }
.wpn-feat { box-shadow: 6px 6px 0 var(--red); }
.wpn-feat h3::after { content: "Featured"; display: inline-block; margin-left: 8px; vertical-align: 3px; font-family: var(--body); font-weight: 800; font-size: .62rem; letter-spacing: .1em; background: var(--red); color: var(--snow); padding: 2px 6px; }

/* Every day: twists, weapon of the day */
.gp-twists { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gp-twists li { background: var(--snow-2); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 10px 14px; }
.gp-twists li:nth-child(odd) { transform: rotate(-.4deg); }
.gp-twists li:nth-child(even) { box-shadow: 4px 4px 0 var(--red); transform: rotate(.4deg); }
.gp-twists b { display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.25rem; line-height: 1.1; }
.gp-twists span { display: block; font-weight: 800; }
.gp-facts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; }
.gp-facts-2 b { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.gp-daily-fig { margin: 26px 0 0; max-width: 308px; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); background: var(--ink); transform: rotate(-.6deg); }
.gp-daily-fig figcaption { color: var(--snow); font-weight: 800; font-size: .88rem; padding: 8px 12px; }
.gp-shots { display: grid; gap: 22px; }

/* Bonuses */
.gp-bonus { font-size: .98rem; }
.gp-bonus tbody th { white-space: nowrap; }
.gp-bonus td:nth-child(2) { font-family: var(--body); color: var(--ink); font-size: .95rem; }
.gp-bonus td:last-child { white-space: nowrap; }

/* Winter Season track and round awards */
.gp-cols + .sub-head { margin-top: 40px; }
.gp-season { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.gp-season li { display: flex; align-items: stretch; border: 3px solid var(--ink); background: var(--snow-2); }
.gp-season b { flex: none; display: flex; align-items: center; font-family: var(--display); font-weight: 400; text-transform: uppercase; padding: 8px 10px; background: var(--ink); color: var(--mustard); }
.gp-season span { padding: 8px 10px; font-weight: 800; font-size: .92rem; }
.gp-chips { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gp-card .gp-chips li { margin: 0; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border: 2px solid var(--ink); background: var(--snow); }

@media (max-width: 1000px) {
  .gp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .gp-controls { grid-template-columns: 1fr 1fr; }
  .gp-controls .gp-ctl:first-child { grid-row: span 2; }
  .gp-facts-light { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .gp-split, .gp-town, .gp-feature, .gp-base { grid-template-columns: 1fr; }
  .gp-map { position: static; }
  .gp-modes, .gp-cols { grid-template-columns: 1fr; }
  .gp-fighters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gp-callout { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .gp-steps, .gp-controls { grid-template-columns: 1fr; }
  .gp-controls .gp-ctl:first-child { grid-row: auto; }
  .gp-districts { grid-template-columns: 1fr; }
  .gp-fighters img { max-height: 140px; }
  .gp-turkey { grid-template-columns: 1fr; }
  .gp-facts { grid-template-columns: 1fr 1fr; }
  .gp-facts b { font-size: 1.8rem; }
  .gp-bonus { font-size: .9rem; }
  .gp-bonus tbody th { white-space: normal; }
  .gp-jump a { font-size: .78rem; padding: 3px 8px; }
  .wpn-filter button { flex: 1 1 auto; }
  .wpn-stats-big { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Weapon accent colors (from the game's weapons.js) */
.w-hottake { --wc: #ff7a2f; }
.w-ratio { --wc: #1d9bf0; }
.w-doomscroll { --wc: #9b5cff; }
.w-thoughts { --wc: #c9a227; }
.w-autorenew { --wc: #e50914; }
.w-snowblower { --wc: #2e8b3e; }
.w-mortgage { --wc: #5a8f3c; }
.w-nimby { --wc: #6b7a3a; }
.w-ringlight { --wc: #f5c6d6; }
.w-hype { --wc: #16c784; }
.w-trophy { --wc: #e8c25a; }
.w-cancel { --wc: #ff3b5c; }
.w-freezeray { --wc: #8af4ff; }
.w-icicle { --wc: #bfefff; }
.w-confetti { --wc: #ff66c4; }
.w-boomerang { --wc: #c8742b; }
.w-algorithm { --wc: #7cff6b; }
.w-replyall { --wc: #2f6fd0; }
.w-lawsuit { --wc: #a08a6a; }
.w-trickle { --wc: #ffd700; }

/* Weapons page: how to get each weapon, and the free / earned / paid table */
.wpn-get { margin: 0; font-size: .88rem; font-weight: 700; }
.wpn-get b { display: inline-block; margin-right: 6px; padding: 1px 6px; background: var(--mustard); border: 2px solid var(--ink); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; }
.fep-table td:last-child { font-weight: 800; min-width: 7em; }
