/* LONGBOX player's guide: the same newsprint page, thick ink panels and comic lettering as the game, but it scrolls. No scripts on this page. */
:root {
  --ink: #111111; --paper: #F2E6CC; --paper-light: #F8F1E1; --space: #12152B; --yellow: #FFD23F; --cyan: #2EC4F1; --magenta: #EE3E7B; --violet: #8A48A0; --radio: #E3F1F7;
  --f-title: 'Bangers', 'Impact', 'Arial Black', sans-serif; --f-balloon: 'Shantell Sans', 'Comic Sans MS', sans-serif; --f-cap: 'Kalam', 'Segoe Print', cursive;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 14px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-balloon); font-weight: 500; font-size: clamp(15px, 1.35vw, 18px); line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::after { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 900; opacity: .2; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .35  0 0 0 0 .27  0 0 0 0 .14  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
a { color: #b3153f; }
a:hover { background: var(--yellow); color: var(--ink); }
kbd { font-family: var(--f-cap); font-weight: 700; background: var(--ink); color: var(--paper); border-radius: 5px; padding: 0 .45em; font-size: .9em; white-space: nowrap; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 18px 40px; }
.panel { position: relative; background: var(--paper-light); border-radius: 5px 11px 6px 10px / 9px 5px 11px 6px; }
.panel::after { content: ''; position: absolute; inset: 0; border: 5px solid var(--ink); border-radius: inherit; pointer-events: none; filter: url(#rough); }
.caption { display: inline-block; background: var(--yellow); border: 3px solid var(--ink); padding: .25em .8em; font-family: var(--f-cap); font-weight: 700; font-style: italic; text-transform: uppercase; box-shadow: 5px 5px 0 rgba(17,17,17,.9); transform: rotate(-1deg); filter: url(#rough-sm); }

/* the strip at the top, like the cover's */
.top { display: grid; grid-template-columns: minmax(80px, 150px) 1fr minmax(80px, 130px); gap: 12px; padding: 18px 18px 0; max-width: 1080px; margin: 0 auto; }
.logo { background: var(--yellow); border: 4px solid var(--ink); font-family: var(--f-title); font-size: clamp(20px, 3vw, 40px); line-height: .9; text-align: center; padding: .25em .2em .15em; transform: rotate(-1.5deg); box-shadow: 4px 4px 0 var(--ink); filter: url(#rough-sm); text-decoration: none; color: var(--ink); }
.logo:hover { background: var(--yellow); }
.logo span { font-size: .62em; letter-spacing: .08em; }
.bar { background: var(--ink); color: var(--paper); font-family: var(--f-title); letter-spacing: .3em; font-size: clamp(20px, 3vw, 40px); display: grid; place-items: center; border-radius: 6px; padding: .1em .4em; text-align: center; }
.issue { border: 4px solid var(--ink); background: var(--paper-light); text-align: center; font-family: var(--f-title); line-height: .9; display: grid; place-items: center; padding: .2em; transform: rotate(1deg); }
.issue small { font-family: var(--f-cap); font-style: italic; font-size: clamp(12px, 1.3vw, 18px); } .issue b { font-size: clamp(30px, 4.4vw, 58px); font-weight: 400; }

h1 { font-family: var(--f-title); font-weight: 400; font-size: clamp(44px, 8vw, 110px); line-height: .95; margin: 22px 0 6px; letter-spacing: .01em;
  background: linear-gradient(#fff6c4 0%, #f8d160 38%, #e79a1e 52%, #ffd76a 70%, #f0b030 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(5px 5px 0 var(--magenta)) drop-shadow(0 0 0 var(--ink)); -webkit-text-stroke: 0; paint-order: stroke fill; }
h1 span { -webkit-text-stroke: 0; }
.lede { font-size: clamp(16px, 1.6vw, 21px); max-width: 62ch; margin: 8px 0 18px; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 22px; padding: 0; list-style: none; }
.jump a { display: inline-block; font-family: var(--f-cap); font-weight: 700; text-decoration: none; color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 99px; padding: .1em .85em .18em; box-shadow: 3px 3px 0 var(--ink); }
.jump a:hover { background: var(--yellow); }
.btn { display: inline-block; font-family: var(--f-title); font-size: clamp(22px, 2.4vw, 34px); color: var(--ink); text-decoration: none; background: var(--magenta); border: 4px solid var(--ink); border-radius: 3px 7px 4px 6px; padding: .1em .6em 0; box-shadow: 6px 6px 0 var(--ink); transform: rotate(-1.2deg); }
.btn:hover { background: var(--yellow); color: var(--ink); }

section.gsec { margin: 34px 0 0; }
h2 { font-family: var(--f-title); font-weight: 400; font-size: clamp(32px, 4.6vw, 62px); line-height: 1; margin: 0 0 10px; letter-spacing: .01em; }
h2 .num { display: inline-block; background: var(--magenta); color: var(--ink); font-size: .55em; padding: 0 .4em; border: 3px solid var(--ink); border-radius: 50% 45% 55% 40%; margin-right: .3em; transform: rotate(-6deg); vertical-align: .2em; }
h3 { font-family: var(--f-title); font-weight: 400; font-size: clamp(22px, 2.4vw, 32px); margin: 18px 0 4px; letter-spacing: .02em; }
p { margin: 0 0 12px; max-width: 70ch; }
.cols { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.cols.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
figure { margin: 0; }
figure .shot { display: block; position: relative; background: var(--space); border-radius: 5px 11px 6px 10px / 9px 5px 11px 6px; overflow: hidden; }
figure .shot::after { content: ''; position: absolute; inset: 0; border: 5px solid var(--ink); border-radius: inherit; pointer-events: none; filter: url(#rough); }
figure img { display: block; width: 100%; height: auto; }
figcaption { margin-top: 10px; font-family: var(--f-cap); font-weight: 700; font-style: italic; font-size: .95em; }
figcaption b { color: #b3153f; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 14px 0 18px; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 18px 16px 14px; background: #fff; border: 4px solid var(--ink); border-radius: 6px 12px 7px 11px; box-shadow: 5px 5px 0 var(--ink); counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: -10px; top: -16px; font-family: var(--f-title); font-size: 34px; background: var(--yellow); border: 3px solid var(--ink); border-radius: 50%; width: 46px; height: 46px; display: grid; place-items: center; }
.steps b { font-family: var(--f-title); font-weight: 400; font-size: 1.7em; display: block; letter-spacing: .03em; }
.steps li:nth-child(1) b { color: #b8860b; } .steps li:nth-child(2) b { color: #0b6c8c; } .steps li:nth-child(3) b { color: #b3153f; }

table { width: 100%; border-collapse: collapse; background: #fff; border: 4px solid var(--ink); margin: 10px 0 16px; font-size: .92em; }
th, td { border: 2px solid var(--ink); padding: .4em .7em; text-align: left; vertical-align: top; }
th { background: var(--yellow); font-family: var(--f-cap); font-weight: 700; text-transform: uppercase; font-size: .9em; letter-spacing: .03em; }
td.n { white-space: nowrap; font-weight: 700; } td b { font-weight: 800; }
.tablewrap { overflow-x: auto; }
.bad { color: #b3153f; font-weight: 700; } .good { color: #0b6c8c; font-weight: 700; }

.balloon { position: relative; display: inline-block; max-width: 100%; margin: 6px 0 10px; font-weight: 600; }
.balloon.crew { background: #fff; border: 3px solid var(--ink); border-radius: 26px / 22px; padding: .6em 1.2em; }
.balloon.radio { background: var(--radio); border: 3px dashed var(--ink); border-radius: 22px; padding: .55em 1.1em; }
.balloon.alarm { background: var(--yellow); border: 3px solid var(--ink); clip-path: polygon(0 12%, 6% 0, 13% 14%, 22% 0, 31% 14%, 40% 0, 50% 14%, 59% 0, 68% 14%, 77% 0, 86% 14%, 94% 0, 100% 12%, 100% 88%, 94% 100%, 86% 86%, 77% 100%, 68% 86%, 59% 100%, 50% 86%, 40% 100%, 31% 86%, 22% 100%, 13% 86%, 6% 100%, 0 88%); padding: .9em 1.6em; font-weight: 800; }
.balloon.cap { background: var(--yellow); border: 3px solid var(--ink); padding: .35em .9em; font-family: var(--f-cap); font-weight: 700; font-style: italic; text-transform: uppercase; }
.balloons { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 18px; align-items: start; margin: 8px 0 14px; }
.balloons small { display: block; font-family: var(--f-cap); font-weight: 400; margin-top: 2px; }

.sfxs { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 10px 0 16px; }
.sfxs > div { background: var(--space); border: 4px solid var(--ink); border-radius: 6px; padding: 12px 12px 10px; text-align: center; color: var(--paper); font-family: var(--f-cap); font-size: .88em; }
.sfxs b { display: block; font-family: var(--f-title); font-weight: 400; font-size: 2.1em; line-height: 1; letter-spacing: .02em; margin-bottom: 4px; -webkit-text-stroke: .1em var(--ink); paint-order: stroke fill; filter: drop-shadow(.06em .06em 0 var(--sh, var(--magenta))); }

.enemies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 14px; }
.enemy { background: #fff; border: 4px solid var(--ink); border-radius: 6px 12px 7px 11px; box-shadow: 6px 6px 0 var(--ink); padding: 12px 14px 14px; }
.enemy h3 { margin: 0 0 6px; color: var(--violet); font-size: clamp(24px, 2.6vw, 36px); }
.enemy figure .shot { margin-bottom: 8px; }
.enemy .cut { background: var(--paper-light); border: 3px solid var(--ink); border-radius: 6px; display: block; width: 100%; height: auto; margin: 8px 0; }
.enemy dl { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 3px 12px; margin: 8px 0 6px; font-size: .88em; }
.enemy dt { font-family: var(--f-cap); font-weight: 700; opacity: .75; } .enemy dd { margin: 0; font-weight: 700; }
.enemy p { font-size: .94em; }

.keys td:first-child { white-space: nowrap; width: 1%; }
ul.tips { padding-left: 1.2em; max-width: 72ch; } ul.tips li { margin-bottom: 8px; }
.foot { margin-top: 44px; padding-top: 16px; border-top: 4px solid var(--ink); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-family: var(--f-cap); font-weight: 700; }
.foot span { font-weight: 400; opacity: .85; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 860px) {
  .cols, .cols.flip, .enemies, .steps { grid-template-columns: 1fr; }
  .top { grid-template-columns: 1fr 1fr; } .bar { grid-column: 1 / -1; order: 3; }
  .enemy dl { grid-template-columns: auto 1fr; }
}
