/* thousandfold.gg. Bright Guild (docs/art/antneeverse/bright-guild.md): storybook sky, warm ink line,
   chunky toy panels, leaning MMO frames, neon only for Fever. Colours are named after data/palette.yaml. */
@font-face {
  font-family: "Pixelify Sans";
  src: url("fonts/PixelifySans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #301C25;          /* ink */
  --plum: #45283C;         /* plum */
  --white: #FFFFFF;
  --cream: #FFF6E0;
  --cobalt: #5B6EE1;       /* cobalt */
  --sky: #639BFF;          /* blue */
  --sky-pale: #CBDBFC;     /* blue_pale */
  --gold: #FBF236;         /* yellow */
  --gold-deep: #E6BD07;    /* gold_deep */
  --pink: #FFA4A4;         /* pink */
  --leaf: #6ABE30;         /* grass_green */
  --forest: #37946E;       /* forest */
  --periwinkle: #8791FC;   /* periwinkle */
  --bronze: #8A6F30;       /* bronze */
  --red: #AC3232;          /* red */
  --night: #222034;        /* night */
  --indigo: #3F3F74;       /* indigo */
  --fire: #DF7126;         /* orange */
  --water: #5FCDE4;        /* cyan */
  --wind: #99E550;         /* lime */
  --light: #FBF236;        /* yellow */
  --dark: #CB5EFC;         /* violet */
  --neon-pink: #FF4FB8;    /* Fever only */
  --neon-lime: #C6FF3A;    /* Fever only */
  --display: "Pixelify Sans", "Courier New", monospace;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --line: 3px solid var(--ink);
  --edge: 0 6px 0 var(--ink);
  --outline: 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 2px 0 var(--ink), 0 -2px 0 var(--ink),
             2px 2px 0 var(--ink), -2px 2px 0 var(--ink), 2px -2px 0 var(--ink), -2px -2px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ink); font: 17px/1.55 var(--body); overflow-x: clip; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; line-height: 1; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
.wrap {
  max-width: 1120px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  display: flex; flex-direction: column; gap: 22px;
}
.big {
  font-size: clamp(44px, 9vw, 112px);
  color: var(--white);
  text-shadow: var(--outline), 0 8px 0 var(--ink);
  letter-spacing: .01em;
}
.sub { font-size: 19px; font-weight: 600; max-width: 640px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--display); font-size: 20px; text-decoration: none;
  color: var(--ink); background: var(--white);
  border: var(--line); padding: 12px 22px;
  box-shadow: var(--edge);
  transform: skewX(-8deg);
  transition: transform .08s, box-shadow .08s;
}
.btn-gold { background: var(--gold); }
.btn:hover { transform: skewX(-8deg) translateY(2px); box-shadow: 0 4px 0 var(--ink); }
.btn:active { transform: skewX(-8deg) translateY(6px); box-shadow: none; }
.btn-huge { font-size: clamp(24px, 4vw, 40px); padding: 18px 34px; align-self: flex-start; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: max(620px, 100svh);
  overflow: hidden;
  background: var(--sky);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; image-rendering: pixelated; touch-action: pan-y; }
.nav {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px;
  padding: max(14px, env(safe-area-inset-top, 0px)) 16px 0;
  font-family: var(--display); font-size: 19px;
}
.nav a { text-decoration: none; color: var(--white); text-shadow: var(--outline); padding: 4px 2px; }
.nav a:hover { color: var(--gold); }
.hero-copy {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(56px, 11vh, 120px);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 0 16px; text-align: center; pointer-events: none;
}
.hero-copy > * { pointer-events: auto; }
/* The pixel wordmark (assets/game/ui/logo-v1) at whole-number scales only. */
.logo img { display: block; width: 316px; height: auto; image-rendering: pixelated; }
@media (min-width: 680px) { .logo img { width: 632px; } }
@media (min-width: 1040px) { .logo img { width: 948px; } }
.logo.live { position: relative; }
.logo.live img { visibility: hidden; }
.title-live { position: absolute; height: auto; image-rendering: pixelated; pointer-events: none; }
.tagline { font-family: var(--display); font-size: clamp(26px, 5vw, 44px); color: var(--white); text-shadow: var(--outline), 0 5px 0 var(--ink); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 4px; }
.hint {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 18px; text-align: center;
  font-family: var(--display); font-size: 15px; color: var(--white); text-shadow: var(--outline);
  animation: blink 1.4s steps(2) infinite;
}
@keyframes blink { 50% { opacity: .35; } }
.no-webgl .hero { background: linear-gradient(var(--cobalt), var(--sky) 55%, var(--sky-pale)); }

/* ---------- marquee ---------- */
.marquee { position: relative; z-index: 3; margin-top: -26px; transform: rotate(-2deg); }
.marquee .row {
  overflow: hidden; white-space: nowrap;
  background: var(--gold); border-block: 4px solid var(--ink);
  font-family: var(--display); font-size: clamp(22px, 3.4vw, 40px); padding: 8px 0;
}
.marquee .row.rev { background: var(--pink); margin-top: -4px; transform: rotate(3deg); }
.marquee span { display: inline-block; padding-left: 100%; animation: slide 38s linear infinite; }
.marquee .rev span { animation-direction: reverse; animation-duration: 46s; }
@keyframes slide { to { transform: translateX(-100%); } }

/* ---------- sections ---------- */
main > section { padding-block: clamp(72px, 12vw, 140px); }
.watch { background: linear-gradient(var(--night), var(--indigo)); color: var(--white); }
.screen {
  margin: 0; position: relative;
  border: 4px solid var(--ink); background: var(--ink);
  box-shadow: 10px 10px 0 var(--gold-deep), 10px 10px 0 4px var(--ink);
  transform: rotate(-1deg);
}
.screen video { display: block; width: 100%; aspect-ratio: 16 / 9; max-width: 100%; }
.screen figcaption {
  position: absolute; left: -10px; bottom: -22px;
  background: var(--white); color: var(--ink); border: var(--line);
  font-weight: 700; font-size: 15px; padding: 6px 12px; transform: skewX(-8deg);
  max-width: calc(100% - 20px);
}

.slots { background: linear-gradient(var(--cobalt), var(--sky) 40%, var(--sky-pale)); }
.slot-row { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 34px 28px; }
.slot {
  position: relative; background: var(--cream); border: var(--line); box-shadow: var(--edge);
  padding: 34px 22px 22px; transform: skewX(-5deg);
  display: flex; flex-direction: column; gap: 10px; min-width: 0;
}
.slot > * { transform: skewX(5deg); }
.slot h3 { font-size: 30px; }
.slot-tag {
  position: absolute; top: -18px; left: 16px;
  font-family: var(--display); font-size: 20px; text-transform: uppercase;
  border: var(--line); padding: 2px 14px; background: var(--white);
}
.intro .slot-tag { background: var(--water); }
.middle .slot-tag { background: var(--gold); }
.finisher .slot-tag { background: var(--pink); }
.warn {
  align-self: flex-start; margin-top: 10px;
  font-family: var(--display); font-size: clamp(20px, 3vw, 28px);
  background: var(--ink); color: var(--gold); padding: 10px 18px; transform: skewX(-8deg);
}

.weapons { background: var(--night); color: var(--white); display: flex; flex-direction: column; gap: clamp(40px, 7vw, 80px); }
.weapons .sub, .armory .sub { color: var(--sky-pale); }
.w-row {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center;
  background: linear-gradient(115deg, var(--a), var(--b));
  border-block: 4px solid var(--ink);
}
.w-row video {
  display: block; width: 100%; aspect-ratio: 16 / 9; max-width: 100%; background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}
.w-row.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.w-row.flip video { order: 2; clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%); }
.w-copy {
  padding: 28px clamp(16px, 4vw, 48px);
  display: flex; flex-direction: column; gap: 10px; color: var(--ink); min-width: 0;
}
.w-copy img { width: 72px; height: 72px; image-rendering: pixelated; background: var(--night); border: var(--line); padding: 6px; }
.w-copy h3 { font-size: clamp(44px, 6.5vw, 84px); color: var(--white); text-shadow: var(--outline), 0 6px 0 var(--ink); }
.w-copy p:last-child { font-weight: 600; font-size: 18px; max-width: 420px; }
.kind { font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 14px; }
.els { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.els li { font-size: 13px; font-weight: 800; padding: 2px 10px; border: 2px solid var(--ink); color: var(--ink); background: var(--white); transform: skewX(-8deg); }
.els .fire { background: var(--fire); }
.els .water { background: var(--water); }
.els .wind { background: var(--wind); }
.els .light { background: var(--light); }
.els .dark { background: var(--dark); }

.armory { background: linear-gradient(var(--night), var(--indigo)); color: var(--white); }
.armory-stage {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  border: 4px solid var(--ink); box-shadow: 10px 10px 0 var(--dark), 10px 10px 0 4px var(--ink);
  background: var(--cream);
}
.armory-view { position: relative; min-height: clamp(360px, 58vh, 600px); border-right: 4px solid var(--ink); }
.armory-view canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; image-rendering: pixelated; cursor: grab; touch-action: pan-y; }
.armory-view canvas:active { cursor: grabbing; }
.armory-card { color: var(--ink); padding: 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.armory-bio { font-weight: 600; }
.armory-clip { width: 100%; max-width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--night); border: var(--line); image-rendering: pixelated; }
.armory-move { font-family: var(--display); font-size: 16px; }
.armory-count { font-family: var(--display); font-size: 14px; font-variant-numeric: tabular-nums; }
.armory-name { font-size: clamp(28px, 4vw, 44px); }
.arrow {
  position: absolute; top: 50%; translate: 0 -50%;
  width: 54px; height: 54px; font-family: var(--display); font-size: 28px; cursor: pointer;
  color: var(--ink); background: var(--gold); border: var(--line); box-shadow: var(--edge);
}
.arrow:active { translate: 0 calc(-50% + 4px); box-shadow: 0 2px 0 var(--ink); }
.prev { left: 14px; }
.next { right: 14px; }

.foot { background: var(--ink); color: var(--cream); text-align: center; padding: 26px 16px 34px; font-size: 15px; }

/* ---------- the Grid ---------- */
.caption-line { color: var(--sky-pale); font-weight: 600; margin-top: 10px; }

/* ---------- combo of the day ---------- */
.cotd { background: linear-gradient(var(--indigo), var(--night)); color: var(--white); }
.cotd .sub { color: var(--sky-pale); }
.reels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 22px; }
.reels li { position: relative; }
.reels video { display: block; width: 100%; max-width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--ink); border: 4px solid var(--ink); border-radius: 18px; box-shadow: 0 8px 0 var(--ink); }
.reels span { position: absolute; top: -14px; left: 14px; font-family: var(--display); font-size: 20px; background: var(--gold); color: var(--ink); border: var(--line); padding: 0 10px; transform: skewX(-8deg); }
.cotd .btn { align-self: flex-start; }

/* ---------- dev log ---------- */
.devlog { background: var(--sky-pale); }
.devlog .big { color: var(--white); }
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.post { background: var(--cream); border: var(--line); box-shadow: var(--edge); padding: 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.post time { font-family: var(--display); font-size: 14px; color: var(--plum); font-variant-numeric: tabular-nums; }
.post h3 { font-size: 28px; }

/* ---------- platforms and sign-up ---------- */
.get { background: var(--gold) repeating-linear-gradient(-45deg, transparent 0 28px, rgb(255 255 255 / .25) 28px 56px); }
.platforms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.platforms li { background: var(--ink); color: var(--white); padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; transform: skewX(-6deg); box-shadow: 0 6px 0 var(--plum); }
.platforms b { font-family: var(--display); font-size: 26px; color: var(--gold); }
.platforms span { font-size: 14px; font-weight: 600; }
.platforms span::after { content: " \00B7  coming soon"; color: var(--sky-pale); }
.signup { display: flex; flex-direction: column; gap: 10px; background: var(--cream); border: var(--line); box-shadow: var(--edge); padding: 20px; max-width: 720px; }
.signup label { font-family: var(--display); font-size: 24px; }
.signup-row { display: flex; flex-wrap: wrap; gap: 12px; }
.signup input[type=email] { flex: 1 1 240px; min-width: 0; font: 600 18px var(--body); padding: 12px 14px; border: var(--line); background: var(--white); color: var(--ink); }
.signup input[type=email]:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 2px; }
.signup .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.signup-note { font-size: 14px; font-weight: 600; color: var(--plum); }
.signup-note.ok { color: var(--forest); }
.signup-note.err { color: var(--red); }
.foot-links { display: flex; justify-content: center; gap: 22px; margin-bottom: 8px; font-family: var(--display); }

/* ---------- combo HUD and hits ---------- */
.combo-hud {
  position: fixed; z-index: 20;
  top: max(14px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px));
  display: grid; grid-template-columns: auto auto; align-items: end; column-gap: 8px;
  font-family: var(--display); color: var(--gold); text-shadow: var(--outline), 0 4px 0 var(--ink);
  opacity: 0; translate: 0 -12px; transition: opacity .2s, translate .2s; pointer-events: none;
}
.combo-hud.live { opacity: 1; translate: 0 0; }
.combo-count { font-size: 64px; line-height: .9; font-variant-numeric: tabular-nums; }
.combo-label { font-size: 22px; color: var(--white); }
.combo-bar { grid-column: 1 / -1; height: 8px; margin-top: 6px; background: var(--ink); border: 2px solid var(--ink); }
.combo-bar i { display: block; height: 100%; background: var(--gold); transform-origin: left; }
.combo-hud.bump .combo-count { animation: bump .18s steps(3); }
@keyframes bump { 50% { transform: scale(1.35) rotate(-6deg); } }
.combo-hud.fever .combo-count { animation: fever .4s steps(2) infinite; }
.combo-hud.fever .combo-label { color: var(--neon-lime); }
.combo-hud.fever .combo-bar i { background: var(--neon-pink); }
@keyframes fever { 0% { color: var(--neon-pink); } 50% { color: var(--neon-lime); } }

.dmg {
  position: absolute; z-index: 30; pointer-events: none;
  font-family: var(--display); font-size: 34px; color: var(--white);
  text-shadow: var(--outline), 0 4px 0 var(--ink);
  translate: -50% -50%;
  animation: dmg .9s cubic-bezier(.2, .9, .3, 1) forwards;
}
.dmg.crit { font-size: 50px; color: var(--gold); }
.dmg.fever { color: var(--neon-lime); }
.dmg.crit.fever { color: var(--neon-pink); }
@keyframes dmg {
  0% { transform: scale(.4); }
  18% { transform: scale(1.25); }
  30% { transform: scale(1) translate(0, 0); opacity: 1; }
  100% { transform: translate(var(--drift), -90px); opacity: 0; }
}
.spark {
  position: absolute; z-index: 29; pointer-events: none; width: 20px; height: 20px; translate: -50% -50%;
  border: 4px solid var(--white); outline: 3px solid var(--ink); transform: rotate(45deg);
  animation: spark .35s steps(4) forwards;
}
@keyframes spark { to { width: 110px; height: 110px; opacity: 0; } }

/* ---------- small screens ---------- */
@media (max-width: 760px) {
  .w-row, .w-row.flip { grid-template-columns: minmax(0, 1fr); }
  .w-row video, .w-row.flip video { order: 0; clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
  .combo-count { font-size: 46px; }
  .combo-hud { top: max(84px, calc(env(safe-area-inset-top, 0px) + 70px)); }
  .arrow { width: 44px; height: 44px; top: 38%; }
  .armory-stage { grid-template-columns: minmax(0, 1fr); }
  .armory-view { border-right: 0; border-bottom: 4px solid var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee span, .hint, .combo-hud.fever .combo-count { animation: none; }
  .marquee span { padding-left: 0; }
}

/* ---------- press kit ---------- */
.press-page { background: var(--sky-pale); }
.press-head { background: var(--sky); padding-block: 28px 56px; border-bottom: var(--line); }
.press-head .back { font-family: var(--display); color: var(--white); text-decoration: none; text-shadow: var(--outline); align-self: flex-start; }
.press-logo { width: 316px; height: auto; image-rendering: pixelated; }
@media (min-width: 680px) { .press-logo { width: 632px; } }
.press-page main > section { padding-block: clamp(48px, 8vw, 96px); }
.press-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 32px; align-items: start; }
.facts { margin: 0; background: var(--cream); border: var(--line); box-shadow: var(--edge); padding: 20px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 16px; }
.facts dt { font-family: var(--display); color: var(--plum); }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.press-copy { display: flex; flex-direction: column; gap: 14px; }
.press-copy h2 { font-size: 32px; margin-top: 8px; }
.features { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.press-media { background: var(--cobalt); }
.shots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.shots img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: var(--line); box-shadow: var(--edge); image-rendering: pixelated; }
.downloads { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; }
.press-note { color: var(--white); font-weight: 600; }
@media (max-width: 760px) { .press-cols { grid-template-columns: minmax(0, 1fr); } }

/* ---------- elements ---------- */
.elements { background: var(--indigo) radial-gradient(circle at 50% 0%, rgb(255 255 255 / .08), transparent 60%); color: var(--cream); }
.elements .sub { color: var(--cream); }
.el-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.el-tile { position: relative; border: 4px solid var(--ink); background: var(--night); box-shadow: 0 6px 0 var(--ink), inset 0 0 0 3px var(--c); overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: transform .15s; }
.el-tile:hover { transform: translateY(-4px) rotate(-1deg); }
.el-tile video { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; image-rendering: pixelated; }
.el-tile h3 { position: absolute; left: 10px; top: 8px; font-size: 30px; color: var(--c); text-shadow: var(--outline), 0 4px 0 var(--ink); }
.el-set { flex: 1; margin: 0; background: var(--ink); color: var(--cream); font-size: 12px; font-weight: 700; padding: 8px 10px; border-top: 3px solid var(--c); }
.el-mix { font-weight: 600; }
.el-mix b { color: var(--gold); }
@media (max-width: 900px) { .el-tiles { grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); } }

/* ---------- the Grid: board beside the fight ---------- */
.grid-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 18px; align-items: start; }
.grid-duo figure { margin: 0; border: 4px solid var(--ink); box-shadow: 10px 10px 0 var(--gold-deep), 10px 10px 0 4px var(--ink); background: var(--night); display: flex; flex-direction: column; min-width: 0; }
.grid-duo figcaption { order: -1; font-family: var(--display); font-size: 18px; color: var(--gold); background: var(--ink); padding: 6px 12px; display: flex; justify-content: space-between; gap: 12px; }
.grid-now { color: var(--white); }
.grid-board-art { position: relative; }
.grid-board-art img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.grid-ring { position: absolute; width: 13%; aspect-ratio: 1; translate: -50% -50%; border: 4px solid var(--gold); border-radius: 50%; box-shadow: 0 0 0 3px var(--ink), 0 0 24px 6px rgb(251 242 54 / .55); opacity: 0; scale: .6; transition: left .12s, top .12s, opacity .12s, scale .12s; pointer-events: none; }
.grid-ring.on { opacity: 1; scale: 1; }
.grid-play video { display: block; width: 100%; aspect-ratio: 16 / 9; image-rendering: pixelated; }
.grid-chain { list-style: none; margin: 0; padding: 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; background: var(--cream); counter-reset: none; }
.grid-chain li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; align-items: center; padding: 5px 8px; border: 2px solid transparent; font-size: 14px; transition: background .12s; }
.grid-chain .hitno { grid-row: span 2; font-family: var(--display); font-size: 22px; color: var(--plum); }
.grid-chain b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grid-chain .role { font-family: var(--display); font-size: 11px; text-transform: uppercase; color: var(--plum); }
.grid-chain li.main { box-shadow: inset 5px 0 0 var(--plum); }
.grid-chain li.flow { box-shadow: inset 5px 0 0 var(--periwinkle); }
.grid-chain li.strike { box-shadow: inset 5px 0 0 var(--bronze); }
.grid-chain li.on { background: var(--ink); color: var(--gold); transform: skewX(-6deg); }
.grid-chain li.on .hitno, .grid-chain li.on .role { color: var(--white); }
@media (max-width: 480px) { .grid-chain { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid-duo { grid-template-columns: minmax(0, 1fr); } }
