/* Chess Fighter: the game's comic-book look on the web. Inked panels with
   hard shadows, Ben-Day dots, POW bursts, Bangers lettering and Comic Neue
   text, in the interface's own palette (ChessStyle.h). */

@font-face { font-family: "Bangers"; src: url("../fonts/Bangers-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Comic Neue"; src: url("../fonts/ComicNeue-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Comic Neue"; src: url("../fonts/ComicNeue-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "VT323"; src: url("../fonts/VT323.ttf") format("truetype"); font-display: swap; }

:root {
  --ink: #17121d;
  --ink-2: #241e2c;
  --paper: #fffaea;
  --white: #ffffff;
  --red: #ec2a2f;
  --red-deep: #a8101a;
  --yellow: #ffdc1f;
  --yellow-deep: #f2a100;
  --blue: #1f6fe6;
  --blue-deep: #0a3a9e;
  --sky: #4cc8ff;
  --pink: #ff4a94;
  --line: 5px;
  --drop: 9px;
  --wrap: 1180px;
  --gutter: 20px;
  --head: "Bangers", Impact, "Arial Black", sans-serif;
  --body: "Comic Neue", "Comic Sans MS", "Trebuchet MS", sans-serif;
  --cc: "VT323", "Courier New", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--ink);
  font: 700 18px/1.5 var(--body); overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* --- Lettering ----------------------------------------------------------- */

.letter, h1, h2, h3, .kicker, .btn, .nav a, .tag-box, .chip {
  font-family: var(--head); font-weight: 400; letter-spacing: .04em; text-transform: uppercase;
}
.inked {
  /* An ink outline and a hard shadow down-right, the way the game letters. */
  text-shadow:
    3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 3px 0 var(--ink), 0 -3px 0 var(--ink),
    2px 2px 0 var(--ink), -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink),
    7px 7px 0 var(--ink);
}
h2 {
  font-size: clamp(44px, 7.5vw, 92px); line-height: .95; margin: 0 0 18px;
  color: var(--yellow); transform: rotate(-2deg); transform-origin: left center;
}
h2.white { color: var(--white); }
h2.red { color: var(--red); }
.center h2 { transform-origin: center; }
h3 { font-size: 32px; line-height: 1; margin: 0 0 10px; }
.kicker {
  display: inline-block; font-size: 22px; padding: 4px 14px 2px; margin: 0 0 18px;
  background: var(--ink); color: var(--yellow); border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, .35); transform: rotate(-3deg);
}
.lede { font-size: 21px; max-width: 760px; margin: 0 0 30px; }
.center .lede { margin-left: auto; margin-right: auto; }

/* --- Pages: the colour and the dots behind each section ------------------- */

section { position: relative; padding: 96px 0; overflow: hidden; }
.page-ink { background-color: var(--ink); color: var(--paper);
  background-image: radial-gradient(rgba(236, 42, 47, .32) 2.2px, transparent 2.8px); background-size: 22px 22px; }
.page-yellow { background-color: var(--yellow);
  background-image: radial-gradient(rgba(242, 161, 0, .55) 3px, transparent 3.6px); background-size: 20px 20px; }
.page-blue { background-color: var(--blue); color: var(--white);
  background-image: radial-gradient(rgba(10, 58, 158, .55) 3px, transparent 3.6px); background-size: 20px 20px; }
.page-red { background-color: var(--red); color: var(--white);
  background-image: radial-gradient(rgba(168, 16, 26, .55) 3px, transparent 3.6px); background-size: 20px 20px; }
.page-paper { background-color: var(--paper);
  background-image: radial-gradient(rgba(76, 200, 255, .32) 2px, transparent 2.6px); background-size: 18px 18px; }
section + section { border-top: var(--line) solid var(--ink); }
.rays::before {
  /* Speed lines from the middle, behind everything. */
  content: ""; position: absolute; inset: -50%; z-index: 0; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, .16) 0 4deg, transparent 4deg 12deg);
}
section > .wrap { position: relative; z-index: 1; }

/* --- Panels, captions, bubbles -------------------------------------------- */

.panel {
  background: var(--paper); color: var(--ink); border: var(--line) solid var(--ink);
  box-shadow: var(--drop) var(--drop) 0 var(--ink); position: relative;
}
.panel.white { background: var(--white); }
.tilt-l { transform: rotate(-1.2deg); }
.tilt-r { transform: rotate(1.2deg); }
.tag-box {
  display: inline-block; background: var(--yellow); color: var(--ink); border: 4px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink); padding: 6px 16px 3px; font-size: 26px; line-height: 1.1; transform: rotate(-2deg);
}
.tag-box.red { background: var(--red); color: var(--white); }
.tag-box.blue { background: var(--blue); color: var(--white); }
.tag-box.ink { background: var(--ink); color: var(--yellow); }
.bubble {
  position: relative; display: inline-block; background: var(--white); color: var(--ink);
  border: 4px solid var(--ink); border-radius: 26px; padding: 12px 20px; font-size: 19px; line-height: 1.3;
  box-shadow: 6px 6px 0 var(--ink);
}
.bubble::after {
  content: ""; position: absolute; left: 34px; bottom: -22px; width: 26px; height: 26px; background: var(--white);
  border-right: 4px solid var(--ink); border-bottom: 4px solid var(--ink); transform: skewX(30deg) rotate(45deg);
}
.cc {
  /* A 1998 closed caption. */
  display: inline-block; font-family: var(--cc); font-size: 22px; line-height: 1.05; letter-spacing: .02em;
  background: #000; color: #fff; padding: 3px 8px; text-transform: uppercase;
}

/* --- Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 28px; line-height: 1;
  padding: 14px 26px 11px; background: var(--white); color: var(--ink); border: var(--line) solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink); transition: transform .08s, box-shadow .08s, background .12s;
}
.btn:hover { background: var(--yellow); }
.btn:active { transform: translate(5px, 5px); box-shadow: 2px 2px 0 var(--ink); }
.btn.pow {
  /* The POW burst: a jagged red star with the word lettered on it. */
  position: relative; background: none; border: 0; box-shadow: none; color: var(--yellow);
  padding: 46px 64px 42px; font-size: 34px; isolation: isolate;
}
.btn.pow::before, .btn.pow::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  clip-path: polygon(50% 0, 60% 18%, 78% 6%, 76% 28%, 98% 24%, 86% 44%, 100% 58%, 80% 64%, 88% 88%, 66% 78%,
    56% 100%, 44% 80%, 24% 96%, 26% 72%, 2% 74%, 16% 54%, 0 38%, 22% 32%, 12% 10%, 36% 18%);
}
.btn.pow::before { background: var(--ink); transform: translate(8px, 8px) scale(1.06); }
.btn.pow::after { background: var(--red); transform: scale(.98); }
.btn.pow:hover::after { background: #ff4b50; }
.btn.pow .play {
  width: 0; height: 0; border-left: 22px solid var(--yellow); border-top: 14px solid transparent; border-bottom: 14px solid transparent;
  filter: drop-shadow(3px 3px 0 var(--ink));
}
.btn.pow span { text-shadow: 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 2px 0 var(--ink), 0 -2px 0 var(--ink), 4px 4px 0 var(--ink); }
.btn.small { font-size: 22px; padding: 10px 18px 8px; box-shadow: 5px 5px 0 var(--ink); border-width: 4px; }

/* --- Nav ------------------------------------------------------------------ */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; gap: 18px;
  padding: 10px var(--gutter); transition: background .2s, border-color .2s;
  border-bottom: var(--line) solid transparent;
}
.nav.solid { background: var(--ink); border-bottom-color: var(--red); }
.nav .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--yellow); font-size: 28px; }
.nav .brand img { width: 44px; height: 44px; border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.nav ul { list-style: none; display: flex; gap: 22px; margin: 0 0 0 auto; padding: 0; }
.nav ul a { text-decoration: none; color: var(--white); font-size: 22px;
  text-shadow: 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 2px 0 var(--ink), 0 -2px 0 var(--ink); }
.nav ul a:hover { color: var(--yellow); }
.nav .burger { display: none; margin-left: auto; background: var(--yellow); border: 4px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--head); font-size: 22px; padding: 6px 14px 3px; }

/* --- Hero ----------------------------------------------------------------- */

.hero {
  /* Capped, so a very tall window (or a tall capture) does not stretch it. */
  position: relative; min-height: min(100vh, 940px); min-height: min(100svh, 940px); display: flex; align-items: flex-end; justify-content: center;
  padding: 120px 0 60px; color: var(--white); text-align: center; overflow: hidden; border-bottom: var(--line) solid var(--ink);
}
.hero .art { position: absolute; inset: 0; z-index: 0; }
.hero .art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(23, 18, 29, .55) 0%, rgba(23, 18, 29, 0) 22%, rgba(23, 18, 29, .1) 50%, rgba(23, 18, 29, .92) 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero .logo { width: min(820px, 94vw); margin: 0 auto 4px; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .55)); }
.hero .tag-box { font-size: clamp(26px, 4.4vw, 46px); margin: 0 auto 18px; }
.hero .sub { font-size: clamp(18px, 2.2vw, 23px); max-width: 720px; margin: 0 auto 10px; text-shadow: 0 2px 10px rgba(0, 0, 0, .9); }
.hero .btns { display: flex; flex-wrap: wrap; gap: 18px 26px; justify-content: center; align-items: center; margin: 4px 0 18px; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.badge {
  display: inline-flex; align-items: center; gap: 9px; background: var(--ink); color: var(--white); border: 3px solid var(--white);
  border-radius: 12px; padding: 7px 14px 6px; font: 700 18px/1 var(--body); box-shadow: 4px 4px 0 var(--ink);
}
.badge svg { width: 22px; height: 22px; fill: currentColor; }
.soon { margin-top: 16px; }

/* --- Trailers --------------------------------------------------------------- */

.reels { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px 48px; align-items: center; margin-top: 10px; }
.reel .frame { padding: 0; background: #000; }
.reel video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.reel .label { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin: 22px 0 8px; }
.reel p { margin: 0; color: var(--paper); font-size: 18px; }
.reel.main { grid-column: 1 / -1; }
.reel.short { text-align: center; }
.reel.short .label { justify-content: center; }
.reel.short p { max-width: 340px; margin: 0 auto; }
.tv {
  /* The 1998 TV set the TV Spot plays on. */
  position: relative; background: linear-gradient(180deg, #4a4258, #241f2e); border: var(--line) solid var(--ink);
  border-radius: 18px; padding: 18px 18px 64px; box-shadow: var(--drop) var(--drop) 0 #000; margin-top: 54px;
}
.tv::before, .tv::after {
  content: ""; position: absolute; bottom: 100%; left: 50%; width: 5px; height: 70px; background: var(--ink);
  transform-origin: bottom center; border-radius: 3px;
}
.tv::before { transform: rotate(-32deg); }
.tv::after { transform: rotate(36deg); height: 60px; }
.tv video { border-radius: 10px; border: 3px solid #000; }
.tv .knobs { position: absolute; right: 18px; bottom: 12px; display: flex; gap: 12px; align-items: center; }
.tv .knobs i { width: 34px; height: 34px; border-radius: 50%; background: #c9c2b4; border: 4px solid var(--ink); position: relative; }
.tv .knobs i::after { content: ""; position: absolute; left: 50%; top: 3px; width: 4px; height: 12px; background: var(--ink); transform: translateX(-50%) rotate(30deg); }
.tv .grille { position: absolute; left: 22px; bottom: 16px; width: 40%; height: 30px;
  background: repeating-linear-gradient(180deg, #0d0a12 0 5px, transparent 5px 9px); }
.tv .ch { position: absolute; left: 47%; bottom: 20px; font-family: var(--cc); font-size: 22px; color: #c9c2b4; }
.phone {
  /* A phone in portrait, for the short version. */
  width: min(300px, 78%); margin: 0 auto; background: var(--ink); border: var(--line) solid var(--ink); border-radius: 34px;
  padding: 12px; box-shadow: var(--drop) var(--drop) 0 #000; outline: 3px solid #3a3346; outline-offset: -9px;
}
.phone video, .phone img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px; background: #000; }

/* --- How it plays ----------------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 16px; }
.step img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: var(--line) solid var(--ink); }
.step .body { padding: 18px 20px 22px; }
.step .num {
  position: absolute; top: -26px; left: -18px; z-index: 2; width: 74px; height: 74px; display: grid; place-items: center;
  background: var(--red); color: var(--yellow); font-family: var(--head); font-size: 42px; border: 4px solid var(--ink);
  border-radius: 50%; box-shadow: 4px 4px 0 var(--ink); transform: rotate(-8deg);
}
.step h3 { font-size: 40px; color: var(--red); }
.step p { margin: 0; font-size: 17px; }
.step:nth-child(2) { transform: rotate(1deg) translateY(16px); }
.step:nth-child(3) { transform: rotate(-.8deg); }
.callout { margin: 64px auto 0; text-align: center; }
.callout .bubble { font-size: 22px; max-width: 760px; }

/* --- FMV endings -------------------------------------------------------------- */

.fmv { background-color: #0b0910; color: var(--paper); }
.fmv::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .22) 0 2px, transparent 2px 4px);
}
.fmv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 10px; }
.film { position: relative; margin: 0; }
.film .screen { position: relative; background: #000; border: 4px solid #3a3346; border-radius: 12px; overflow: hidden; box-shadow: 6px 6px 0 #000; }
.film video, .film img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(1.15) contrast(1.05); }
.film figcaption { margin-top: 10px; }
.film figcaption .cc { font-size: 21px; }
.film:nth-child(odd) { transform: rotate(-1deg); }
.film:nth-child(even) { transform: rotate(1deg); }
.vhs { font-family: var(--cc); font-size: 30px; color: var(--white); letter-spacing: .04em; margin-bottom: 8px; }
.vhs b { color: var(--red); }

/* --- Fighters ------------------------------------------------------------------ */

.roster { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 10px; }
.fighter {
  position: relative; padding: 0; border: 4px solid var(--ink); background: var(--white); box-shadow: 6px 6px 0 var(--ink);
  text-align: left; color: var(--ink); transition: transform .1s, box-shadow .1s, background .1s;
}
.fighter:nth-child(3n) { transform: rotate(1.2deg); }
.fighter:nth-child(3n+1) { transform: rotate(-1deg); }
.fighter:hover, .fighter:focus-visible { transform: rotate(0) scale(1.05); background: var(--yellow); z-index: 2; outline: none; }
.fighter img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 15%; background: var(--ink-2); border-bottom: 4px solid var(--ink);
  filter: brightness(1.14) contrast(1.06) saturate(1.1); }
.fighter .n { padding: 8px 10px 9px; font-family: var(--head); font-size: 22px; line-height: 1; letter-spacing: .03em; }
.fighter .n small { display: block; margin-top: 4px; font-family: var(--body); font-size: 13px; letter-spacing: 0; text-transform: none; color: #5a5262; }
.fighter .ab { position: absolute; top: 8px; right: -8px; font-size: 14px; padding: 3px 8px 1px; transform: rotate(4deg); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chip { background: var(--white); color: var(--ink); border: 3px solid var(--ink); padding: 4px 12px 2px; font-size: 19px; box-shadow: 3px 3px 0 var(--ink); }

/* --- Modes ---------------------------------------------------------------------- */

.modes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 10px; }
.mode img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: var(--line) solid var(--ink); cursor: zoom-in; }
.mode .body { padding: 18px 20px 20px; }
.mode .tag-box { position: absolute; top: -22px; left: 16px; z-index: 2; font-size: 30px; }
.mode p { margin: 6px 0 12px; font-size: 17px; }
.mode ul { margin: 0; padding: 0; list-style: none; font-size: 16px; }
.mode li { padding: 6px 0; border-top: 2px dashed rgba(23, 18, 29, .25); }
.mode li b { font-family: var(--head); font-weight: 400; font-size: 20px; letter-spacing: .03em; color: var(--red); margin-right: 6px; }

/* --- Views ------------------------------------------------------------------------- */

.views { display: grid; grid-template-columns: 1.25fr .85fr 1.25fr; gap: 34px; align-items: center; margin-top: 16px; }
.view .phone { width: min(250px, 100%); }
.view figure { margin: 0; }
.view .panel img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.view .tag-box { margin-top: 18px; }
.view figcaption { color: var(--white); font-size: 17px; margin-top: 10px; }

/* --- Arenas and screenshots ----------------------------------------------------------- */

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.shot { position: relative; border: 4px solid var(--ink); background: var(--ink); box-shadow: 6px 6px 0 var(--ink); cursor: zoom-in; margin: 0; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shot.tall img { aspect-ratio: 9 / 16; }
.shot .cap {
  position: absolute; left: -6px; bottom: -14px; max-width: 92%; font-family: var(--head); font-size: 19px; letter-spacing: .03em;
  background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); padding: 3px 10px 1px; transform: rotate(-1.5deg);
  text-transform: uppercase; line-height: 1.15;
}
.shot:hover { transform: scale(1.02); }
.tabs { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 34px; }
.tabs button { font-family: var(--head); font-size: 22px; letter-spacing: .04em; background: var(--white); color: var(--ink);
  border: 4px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 6px 16px 3px; }
.tabs button.on { background: var(--red); color: var(--white); }
.shots-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 22px; grid-auto-flow: dense; }
.shots-grid .shot.tall { grid-row: span 3; }
.shots-grid .shot.tall img { height: 100%; aspect-ratio: auto; }

/* --- Platforms ---------------------------------------------------------------------- */

.plat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin: 34px 0 0; text-align: left; }
.plat-grid.three { grid-template-columns: repeat(3, 1fr); max-width: 860px; margin-left: auto; margin-right: auto; }
.plat { padding: 18px 18px 20px; }
.plat h3 { font-size: 30px; margin-bottom: 6px; }
.plat .st { display: inline-block; font-family: var(--head); font-size: 17px; letter-spacing: .04em; text-transform: uppercase;
  background: var(--ink); color: var(--yellow); padding: 2px 10px 0; margin-bottom: 8px; }
.plat p { margin: 0; font-size: 16px; }
.plat.dim { opacity: .82; }
.plat-grid.names .plat { text-align: center; padding: 16px 14px 12px; }
.plat-grid.names .plat h3 { margin: 0; }
.features { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 6px; }
.feature {
  /* Small pills under the store names, like the hero's platform badges. */
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 9px; background: var(--ink); color: var(--white);
  border: 3px solid var(--white); border-radius: 12px; box-shadow: 3px 3px 0 var(--ink); font: 700 15px/1 var(--body);
}
.feature svg { width: 20px; height: 20px; color: var(--yellow); flex: none; }
.feature svg [fill="#17121d"], .feature svg [stroke="#17121d"] { fill: var(--ink); }
.feature.cross svg { color: var(--yellow); }

/* --- Footer ------------------------------------------------------------------------- */

footer { background: var(--ink); color: var(--paper); padding: 54px 0 46px; border-top: var(--line) solid var(--red); }
footer .wrap { display: grid; grid-template-columns: 320px 1fr; gap: 26px 40px; align-items: start; }
footer .logo { width: 300px; }
footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 8px 0 14px; padding: 0; }
footer ul a { font-family: var(--head); font-size: 22px; letter-spacing: .04em; text-decoration: none; color: var(--yellow); }
footer .legal { font-weight: 400; font-size: 15px; color: #bdb5c4; }
footer .legal a { color: var(--white); }

/* --- Overlays: the fighter card, the lightbox, the trailer player -------------------- */

.modal, .lightbox, .player {
  position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px;
  background: rgba(11, 9, 16, .9);
  background-image: radial-gradient(rgba(236, 42, 47, .25) 2px, transparent 2.6px); background-size: 20px 20px;
}
.modal.open, .lightbox.open, .player.open { display: flex; }
.close {
  position: absolute; top: 14px; right: 16px; width: 54px; height: 54px; border: 4px solid var(--ink); background: var(--yellow);
  font: 400 34px/1 var(--head); box-shadow: 4px 4px 0 var(--ink); z-index: 3;
}
.modal .box { display: grid; grid-template-columns: 340px 1fr; max-width: 900px; width: 100%; max-height: 90vh; overflow: auto; }
.modal .pic { background: var(--blue); border-right: var(--line) solid var(--ink);
  background-image: radial-gradient(rgba(10, 58, 158, .6) 3px, transparent 3.6px); background-size: 18px 18px; }
.modal .pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.modal .txt { padding: 26px 28px 24px; }
.modal .txt h3 { font-size: 46px; color: var(--red); margin: 0; }
.modal .nat { font-family: var(--head); font-size: 22px; letter-spacing: .04em; color: var(--blue); margin-bottom: 12px; }
.modal dl { margin: 0; font-size: 16px; }
.modal dt { font-family: var(--head); font-size: 20px; letter-spacing: .04em; margin-top: 12px; }
.modal dd { margin: 2px 0 0; }
.modal dd.ability { background: var(--yellow); border: 3px solid var(--ink); padding: 6px 10px; }
.modal .arrows { display: flex; gap: 12px; margin-top: 18px; }
.lightbox img { max-width: 92vw; max-height: 82vh; border: var(--line) solid var(--ink); box-shadow: var(--drop) var(--drop) 0 #000; }
.lightbox .cap { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%) rotate(-1deg); }
.lightbox .prev, .lightbox .next {
  position: absolute; top: 50%; width: 56px; height: 56px; margin-top: -28px; border: 4px solid var(--ink); background: var(--white);
  font: 400 40px/1 var(--head); box-shadow: 4px 4px 0 var(--ink);
}
.lightbox .prev { left: 14px; } .lightbox .next { right: 14px; }
.player .frame { width: min(1200px, 94vw); background: #000; border: var(--line) solid var(--ink); box-shadow: var(--drop) var(--drop) 0 #000; }
.player video, .player iframe { width: 100%; aspect-ratio: 16 / 9; display: block; border: 0; background: #000; }

/* --- Small screens -------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .nav ul { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0;
    background: var(--ink); border-bottom: var(--line) solid var(--red); padding: 8px var(--gutter) 14px; }
  .nav ul.open { display: flex; }
  .nav ul a { display: block; padding: 10px 0; font-size: 26px; }
  .nav .burger { display: block; }
  .reels { grid-template-columns: 1fr; }
  .reel.main { grid-row: auto; }
  .steps, .modes-grid { grid-template-columns: 1fr; gap: 54px; max-width: 640px; margin-left: auto; margin-right: auto; }
  .step:nth-child(2) { transform: rotate(1deg); }
  .fmv-grid { grid-template-columns: repeat(2, 1fr); }
  .roster { grid-template-columns: repeat(4, 1fr); }
  .views { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }
  .grid, .grid.four, .shots-grid { grid-template-columns: repeat(2, 1fr); }
  .plat-grid { grid-template-columns: repeat(2, 1fr); }
  footer .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --line: 4px; --drop: 6px; --gutter: 16px; }
  body { font-size: 17px; }
  section { padding: 72px 0; }
  .nav .brand span { display: none; }
  .btn.pow { padding: 40px 50px 36px; font-size: 28px; }
  .roster { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .fmv-grid { grid-template-columns: 1fr; }
  .grid, .grid.four { grid-template-columns: 1fr; }
  .shots-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
  .plat-grid, .plat-grid.three { grid-template-columns: 1fr; }
  .modal .box { grid-template-columns: 1fr; }
  .modal .pic { border-right: 0; border-bottom: var(--line) solid var(--ink); }
  .modal .pic img { aspect-ratio: 1; height: auto; }
  .tv { padding: 12px 12px 54px; }
  .tv .ch { display: none; }
  footer .logo { width: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .shot, .fighter { transition: none; }
}
