/* Collector fieldbook and wanted-board scenes, drawn as stickers on the public stage (public.css). */
.game-page { --game-paper: var(--cream); --game-paper-ink: var(--ink); --game-pencil: var(--cream-muted); --game-shadow: 6px 6px 0 var(--ink); }
.game-page .public-main { max-width: 1320px; }
.game-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: 32px; padding-block: 32px 48px; }
.game-copy { position: relative; z-index: 1; }
.game-hero h1 { font-size: clamp(3.25rem, 1.8rem + 4.6vw, 6.75rem); line-height: 1; max-width: 12ch; margin-bottom: 32px; }
.game-hero .public-lead { max-width: 42ch; font-size: 20px; }
.game-hero .public-note { margin-top: 24px; max-width: 48ch; }
.game-shelfmark { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 28px; color: var(--label-white); font: 700 17px/1.2 var(--public-hand); }
.game-shelfmark > span { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 3px solid var(--ink); border-radius: 999px; background: var(--sun); color: var(--ink); box-shadow: var(--pop-sm); font: 800 14px/1 var(--sans); }
.game-scene { min-width: 0; width: 100%; margin: 0; }
.game-scene-stage { position: relative; width: 100%; aspect-ratio: 1 / 1.08; isolation: isolate; }
.game-scene img { display: block; width: 100%; height: auto; aspect-ratio: 63 / 88; object-fit: contain; }
.game-scene figcaption { position: relative; margin-top: 48px; font-size: 14px; color: var(--public-muted); max-width: 58ch; }
.game-scene .game-loose-card { position: absolute; width: 38%; border: 3px solid var(--ink); border-radius: 12px; box-shadow: var(--game-shadow); }
.game-field-notes { position: absolute; inset: 13% 4% 2% 9%; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-end; padding: 24px 28px; border: 3px solid var(--ink); border-radius: 22px; background: var(--game-paper); color: var(--game-paper-ink); box-shadow: var(--float); text-align: right; transform: rotate(-6deg); }
/* Ruled lines fill the sheet above the note, so the cards rest on the paper and never cover its words. */
.game-field-notes::before { content: ""; position: absolute; inset: 24px 24px 104px; border-bottom: 3px solid var(--ink); background: repeating-linear-gradient(transparent 0 31px, #0d0e1422 31px 33px); }
.game-field-notes span { display: block; font: 800 30px/1 var(--sans); }
.game-field-notes small { display: block; margin-top: 8px; color: var(--cream-muted); font-size: 14px; font-weight: 600; }
.game-scene-pokemon .game-loose-card:nth-of-type(1) { left: 4%; top: 26%; transform: rotate(-18deg); z-index: 1; }
.game-scene-pokemon .game-loose-card:nth-of-type(2) { right: 3%; top: 8%; transform: rotate(14deg); z-index: 2; }
.game-scene-pokemon .game-loose-card:nth-of-type(3) { left: 34%; top: 29%; transform: rotate(-3deg); z-index: 3; }
.game-scene-note { position: absolute; left: 0; top: 2%; z-index: 4; padding: 6px 16px; border: 3px solid var(--ink); border-radius: 14px; background: var(--blush); color: var(--ink); box-shadow: var(--pop); font: 700 clamp(1.25rem, 1rem + 1vw, 2rem)/1.2 var(--public-hand); transform: rotate(-5deg); }
.game-page .public-section { scroll-margin-top: 32px; padding: 56px; }
.game-manifesto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; }
.game-manifesto h2 { font-size: clamp(2.4rem, 1.6rem + 2.6vw, 4.5rem); line-height: 1.04; max-width: 13ch; }
.game-index { margin: 0; padding: 0; list-style: none; counter-reset: collection; }
.game-index li { counter-increment: collection; display: grid; grid-template-columns: 52px 1fr; gap: 20px; border-top: 3px dashed var(--cream-line); padding-block: 24px; }
.game-index li:first-child { border-top: 0; padding-top: 0; }
.game-index li::before { content: counter(collection); display: grid; place-items: center; width: 52px; height: 52px; border: 3px solid var(--ink); border-radius: 50%; background: var(--sun); color: var(--ink); box-shadow: var(--pop-sm); font: 800 22px/1 var(--sans); }
.game-index li:nth-child(2)::before { background: var(--mint); }
.game-index li:nth-child(3)::before { background: var(--sky); }
.game-index strong { display: block; margin-bottom: 8px; font-weight: 800; font-size: 21px; }
.game-index p { margin: 0; color: var(--public-muted); }
.game-ledger { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 80px; align-items: start; }
.game-ledger h2, .game-questions h2, .game-closing h2 { font-size: clamp(2.5rem, 1.5rem + 2.5vw, 4rem); line-height: 1; letter-spacing: -.025em; }
.game-checklist { padding: 32px; border: 3px solid var(--ink); border-radius: 22px; background: var(--sun); color: var(--ink); box-shadow: 6px 6px 0 var(--ink); transform: rotate(2deg); }
.game-checklist h3 { font-size: 32px; }
.game-checklist :is(p, li, .public-note) { color: var(--ink); }
.game-checklist ul { list-style: none; margin: 24px 0; padding: 0; }
.game-checklist li { display: flex; gap: 24px; padding-block: 14px; border-bottom: 3px dashed #0d0e1440; font-weight: 600; }
.game-checklist li span:first-child { min-width: 40px; font-weight: 800; font-variant-numeric: tabular-nums; }
.game-checklist p:last-child { margin-bottom: 0; }
.game-story-links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.game-hero-onepiece { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.game-hero-onepiece h1 { max-width: 10ch; }
.game-scene-onepiece .game-scene-stage { aspect-ratio: 1 / 1.15; }
.game-chart { position: absolute; inset: 8% 1% 8% 4%; border: 3px solid var(--ink); border-radius: 22px; background: repeating-linear-gradient(0deg, transparent 0 46px, #fff8ec33 46px 48px), repeating-linear-gradient(90deg, transparent 0 46px, #fff8ec33 46px 48px), #24527d; box-shadow: var(--float); transform: rotate(5deg); }
.game-chart::before, .game-chart::after { content: ""; position: absolute; border: 3px dashed #fff8ec66; border-radius: 50%; width: 70%; aspect-ratio: 1; inset: 15% auto auto 15%; }
.game-chart::after { width: 40%; inset: 30% auto auto 30%; }
.game-chart-label { position: absolute; z-index: 3; right: 6%; top: -2%; padding: 6px 14px; border: 3px solid var(--ink); border-radius: 12px; background: var(--sun); color: var(--ink); box-shadow: var(--pop-sm); font: 700 20px/1.2 var(--public-hand); transform: rotate(5deg); }
.game-wanted { position: absolute; display: flex; flex-direction: column; align-items: stretch; width: 46%; padding: 12px 16px 16px; border: 3px solid var(--ink); border-radius: 16px; background: var(--game-paper); color: var(--game-paper-ink); box-shadow: var(--game-shadow); }
.game-wanted > span { font: 800 clamp(1.6rem, 1.1rem + 1.4vw, 2.75rem)/1 var(--sans); letter-spacing: .06em; text-align: center; }
.game-wanted > small { display: block; text-align: center; color: var(--cream-muted); font-size: 13px; font-weight: 700; margin-block: 4px 12px; }
.game-wanted img { border: 3px solid var(--ink); border-radius: 8px; }
.game-wanted > strong { font: 700 clamp(1.2rem, 1rem + .8vw, 1.75rem)/1.1 var(--public-hand); margin-top: 12px; text-align: center; }
.game-wanted-zoro { left: 2%; top: 15%; transform: rotate(-11deg); z-index: 2; }
.game-wanted-luffy { right: 0; top: 9%; transform: rotate(9deg); z-index: 1; }
.game-scene-onepiece .game-scene-note { top: auto; bottom: -2%; left: 31%; }
.game-archive-heading { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-bottom: 32px; }
.game-archive-heading h2 { font-size: clamp(2.4rem, 1.6rem + 2.6vw, 4.5rem); line-height: 1.04; max-width: 14ch; margin-bottom: 0; }
.game-archive-heading > p { max-width: 34ch; color: var(--public-muted); margin: 0; }
.game-archive-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 64px; padding-block: 32px; border-top: 3px dashed var(--cream-line); }
.game-archive-row h3 { font-size: 30px; }
.game-archive-row p { color: var(--public-muted); margin: 0; }
.game-archive-row a { margin-top: 8px; }
.game-proof { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; }
.game-proof figure { margin: 0; }
.game-proof img { display: block; width: 100%; height: auto; border: 3px solid var(--ink); border-radius: 16px; box-shadow: 6px 6px 0 var(--ink); }
.game-proof figcaption { color: var(--cream-muted); font-size: 14px; margin-top: 16px; }
.game-proof h2 { font-size: clamp(2.5rem, 1.5rem + 2.5vw, 4rem); line-height: 1; }
.game-ledger table { width: 100%; border-collapse: collapse; font-size: 16px; }
.game-ledger caption { text-align: left; font-size: 14px; padding-bottom: 16px; }
.game-ledger th, .game-ledger td { text-align: left; padding: 16px 8px; }
.game-ledger th { font-weight: 800; }

.game-questions { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 64px; }
.game-closing { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--sun) !important; }
.game-closing p { color: var(--ink) !important; }
:is(body.public-page, #landingPage) .game-closing .public-actions :where(.public-button, a) { background: var(--ink); color: var(--label-white); }
.game-closing h2 { margin-bottom: 16px; }
.game-closing .public-actions { flex-shrink: 0; margin: 0; }
.guide-contents { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 24px; }
.public-guide h2[id] { scroll-margin-top: 24px; }
.public-guide .guide-example-table { table-layout: auto; }
.public-guide .guide-example-table td, .public-guide .guide-example-table th { text-align: left; overflow-wrap: anywhere; }

/* Hovering a scene fans its cards a little further apart; --motion is 0 for reduced motion. */
.game-scene :is(.game-loose-card, .game-wanted) { transition: translate .22s var(--ease), rotate .22s var(--ease); }
@media (hover: hover) {
  .game-scene-stage:hover .game-loose-card:nth-of-type(1) { translate: calc(-12px * var(--motion)) calc(-4px * var(--motion)); rotate: calc(-3deg * var(--motion)); }
  .game-scene-stage:hover .game-loose-card:nth-of-type(2) { translate: calc(10px * var(--motion)) calc(-8px * var(--motion)); rotate: calc(3deg * var(--motion)); }
  .game-scene-stage:hover .game-loose-card:nth-of-type(3) { translate: 0 calc(-12px * var(--motion)); }
  .game-scene-stage:hover .game-wanted-zoro { translate: calc(-8px * var(--motion)) calc(-6px * var(--motion)); rotate: calc(-3deg * var(--motion)); }
  .game-scene-stage:hover .game-wanted-luffy { translate: calc(8px * var(--motion)) calc(-6px * var(--motion)); rotate: calc(3deg * var(--motion)); }
}

@media (max-width: 1100px) {
  .game-manifesto, .game-ledger { gap: 48px; }
  .game-hero h1 { font-size: clamp(3rem, 1.6rem + 4.6vw, 6rem); }
  /* Narrower stage: smaller, higher cards and a one-line note keep the words uncovered. */
  .game-field-notes span { font-size: 24px; }
  .game-scene-pokemon .game-loose-card { width: 34%; }
  .game-scene-pokemon .game-loose-card:nth-of-type(1) { top: 18%; }
  .game-scene-pokemon .game-loose-card:nth-of-type(2) { top: 3%; }
  .game-scene-pokemon .game-loose-card:nth-of-type(3) { top: 20%; }
}
@media (max-width: 850px) {
  .game-hero, .game-manifesto, .game-ledger, .game-questions, .game-proof { grid-template-columns: 1fr; }
  .game-hero { padding-top: 48px; gap: 24px; }
  .game-hero h1 { max-width: 13ch; font-size: clamp(3rem, 1.5rem + 7vw, 6rem); }
  .game-scene { max-width: 600px; margin-inline: auto; }
  .game-scene-stage { aspect-ratio: 1.15 / 1; }
  .game-scene-onepiece .game-scene-stage { aspect-ratio: 1 / 1.15; }
  .game-field-notes { inset-block: 4% 0; }
  .game-scene-pokemon .game-loose-card:nth-of-type(1) { top: 18%; }
  .game-scene-pokemon .game-loose-card:nth-of-type(2) { top: 1%; }
  .game-scene-pokemon .game-loose-card:nth-of-type(3) { top: 20%; }
  .game-scene-pokemon .game-scene-note { top: 0; }
  .game-manifesto h2 { max-width: 16ch; }
  .game-checklist { transform: none; }
  .game-archive-heading { display: block; }
  .game-archive-heading > p { margin-top: 24px; max-width: 60ch; }
}
@media (max-width: 700px) {
  .game-hero { padding-block: 32px; gap: 32px; }
  .game-hero h1 { font-size: clamp(2.6rem, 12.5vw, 4.5rem); max-width: 11ch; }
  .game-hero .public-lead { font-size: 18px; }
  .game-shelfmark { margin-bottom: 24px; gap: 16px; }
  .game-field-notes { padding: 16px; }
  .game-field-notes span { font-size: 22px; }
  .game-field-notes small { max-width: 16ch; }
  .game-scene-stage { aspect-ratio: 1 / 1; }
  .game-scene-onepiece .game-scene-stage { aspect-ratio: 1 / 1.2; }
  .game-scene-pokemon .game-loose-card:nth-of-type(1) { top: 18%; }
  .game-scene-pokemon .game-loose-card:nth-of-type(2) { top: 6%; }
  .game-scene-pokemon .game-loose-card:nth-of-type(3) { top: 21%; }
  .game-field-notes::before { inset: 16px 16px 104px; }
  .game-scene-note { font-size: 19px; }
  .game-wanted { padding: 8px 8px 12px; width: 44%; }
  .game-wanted > span { font-size: clamp(1.25rem, 6vw, 2rem); }
  .game-wanted > strong { font-size: 20px; }
  .game-wanted > small { font-size: 13px; margin-bottom: 8px; }
  .game-wanted-zoro { left: 5%; top: 15%; }
  .game-wanted-luffy { right: 5%; top: 7%; }
  .game-chart-label { font-size: 16px; }
  .game-scene-onepiece .game-scene-note { left: 20%; top: 100%; bottom: auto; margin-top: 24px; }
  .game-scene-onepiece figcaption { margin-top: 80px; }
  .game-page .public-section { padding: 28px 20px; }
  .game-manifesto, .game-ledger, .game-questions { gap: 32px; }
  .game-manifesto h2, .game-archive-heading h2 { font-size: 40px; }
  .game-index li { grid-template-columns: 44px 1fr; gap: 14px; }
  .game-index li::before { width: 44px; height: 44px; font-size: 19px; }
  .game-index strong { font-size: 18px; }
  .game-checklist { padding: 22px 18px; }
  .game-ledger th, .game-ledger td { padding-inline: 4px; }
  .game-archive-row { grid-template-columns: 1fr; gap: 8px; padding-block: 24px; }
  .game-archive-row h3 { font-size: 26px; margin-bottom: 8px; }
  .game-closing { display: block; }
  .game-closing .public-actions { margin-top: 24px; }
}
