/* Page 57 · THE WEAPON PAGES. On top of ../kit.css + fbkit.css.
   The presentation is page 38's, on purpose and nearly line for line: the same DARK VIVID chrome, the same sticker
   buttons, the same phone frame, the same KILL LIBRARY — a list of kill cards on the right, the big phone stage on
   the left, and the director's bar under it (PLAY AGAIN, SLOW, a scrub track carrying the kill's own beats).
   What is new on this page is the work inside that frame: the rarity badge, what a kill needs from the spot, its
   camera language and its beat list. The kill animations themselves share nothing with page 38's. */
:root { --page: #0E0A1D; --page-2: #19122F; --line: rgba(255, 246, 224, 0.12); --mint: #7CFFA3; --hot: #FF4FA3; --sky: #3FEAF5;
  --card: linear-gradient(180deg, #2B2248, #1A1430); --card-2: linear-gradient(180deg, #342A58, #201838); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 74px; }
body.fin { margin: 0; background: var(--page); color: var(--cream); font: 400 15.5px / 1.55 var(--f-body); -webkit-font-smoothing: antialiased; padding-bottom: 130px; overflow-x: hidden; }
body.fin::before { content: ""; position: fixed; inset: 0; z-index: -2; background:
  radial-gradient(70% 45% at 50% -5%, #3B2470 0%, transparent 70%),
  radial-gradient(40% 35% at 0% 30%, rgba(255, 79, 163, 0.14), transparent 70%),
  radial-gradient(45% 35% at 100% 65%, rgba(63, 154, 255, 0.14), transparent 70%), var(--page); }
body.fin::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1.2px, transparent 1.7px); background-size: 9px 9px; }
.fin a { color: var(--yellow); }
.fin b, .fin strong { color: #fff; font-weight: 700; }
.fin code { font: 600 0.86em / 1 ui-monospace, Menlo, monospace; color: #FFE9A8; background: rgba(255, 246, 224, 0.08); padding: 2px 5px; border-radius: 5px; }
.fin em { font-style: normal; }
.fin button { font-family: inherit; }
.panel-d { position: relative; border: 3px solid var(--ink); border-radius: 22px; background: var(--card); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.08), 5px 8px 0 var(--ink); }

/* ================================================================== top bar */
.fbar { position: sticky; top: 0; z-index: 150; background: rgba(14, 10, 29, 0.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 3px solid var(--ink); box-shadow: 0 2px 0 rgba(255, 246, 224, 0.06); }
.fbar__in { max-width: 1320px; margin: 0 auto; display: flex; align-items: center; gap: 18px; padding: 10px 22px; }
.fbar__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 12.5px / 1.1 var(--f-body); letter-spacing: 0.1em; color: var(--cream-2) !important; white-space: nowrap; }
.fbar__brand b { color: var(--yellow); }
.fbar__brand i { display: grid; place-items: center; width: 32px; height: 32px; font: 400 21px / 1 var(--f-display); font-style: normal; color: var(--ink); background: linear-gradient(180deg, var(--yellow-hi), var(--yellow)); border: 3px solid var(--ink); border-radius: 10px; box-shadow: 2px 3px 0 var(--ink); transform: rotate(-6deg); }
.fbar__nav { display: flex; gap: 4px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.fbar__nav::-webkit-scrollbar { display: none; }
.fbar__nav a { flex: none; padding: 7px 11px; border-radius: 10px; text-decoration: none; font: 400 14.5px / 1 var(--f-display); letter-spacing: 0.05em; color: var(--cream-2) !important; }
.fbar__nav a:hover, .fbar__nav a.is-on { color: var(--ink) !important; background: var(--yellow); }
.fbar__motion { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px; cursor: pointer; font: 400 13px / 1 var(--f-display); letter-spacing: 0.06em; color: var(--cream-2); background: #1E1830; border: 2.5px solid var(--ink); border-radius: 10px; }
.fbar__motion i { width: 26px; height: 15px; border-radius: 9px; background: var(--green); position: relative; border: 2px solid var(--ink); }
.fbar__motion i::after { content: ""; position: absolute; right: 1px; top: 1px; width: 9px; height: 9px; border-radius: 50%; background: #fff; transition: right 0.2s; }
.fbar__motion[aria-pressed="false"] i { background: #555068; }
.fbar__motion[aria-pressed="false"] i::after { right: 12px; }

.fwrap { max-width: 1320px; margin: 0 auto; padding: 0 22px; }

/* ================================================================== hero */
.hero { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); gap: 40px; align-items: center; padding: 46px 0 30px; }
.eyebrow { display: inline-block; font: 800 12px / 1.3 var(--f-body); letter-spacing: 0.16em; text-transform: uppercase; color: #FFB3D6; }
.htitle { margin: 10px 0 14px; display: grid; line-height: 0.86; }
.htitle span { font-family: var(--f-display); font-weight: 400; -webkit-text-stroke: 10px var(--ink); paint-order: stroke fill; }
.htitle__a { font-size: 44px; color: var(--cream); letter-spacing: 0.08em; text-shadow: 0 5px 0 var(--ink); transform: rotate(-3deg); transform-origin: left; width: max-content; }
.htitle__b { font-size: clamp(64px, 8.6vw, 124px); color: var(--yellow); letter-spacing: 0.01em; text-shadow: 0 8px 0 var(--ink), 0 0 40px rgba(255, 210, 63, 0.35); }
.hero__lede { margin: 0 0 18px; font-size: 16.5px; color: var(--cream-2); max-width: 54ch; }
.saids { display: grid; gap: 8px; margin-bottom: 18px; }
.said { display: flex; gap: 12px; align-items: baseline; padding: 10px 14px; border-radius: 14px; background: rgba(255, 246, 224, 0.06); border: 2px solid rgba(255, 246, 224, 0.1); }
.said b { flex: none; font: 400 13px / 1 var(--f-display); letter-spacing: 0.08em; color: var(--ink); background: var(--hot); padding: 4px 7px 3px; border-radius: 6px; border: 2px solid var(--ink); }
.said span { font-size: 14.5px; color: var(--cream); font-style: italic; }
.asks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.asks a { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; text-decoration: none; border: 3px solid var(--ink); border-radius: 16px; background: var(--card-2); box-shadow: 3px 5px 0 var(--ink); transition: transform 0.15s var(--out); }
.asks a:hover { transform: translateY(-3px) rotate(-0.6deg); }
.asks a i { flex: none; display: grid; place-items: center; width: 30px; height: 30px; font: 400 18px / 1 var(--f-display); font-style: normal; color: var(--ink); background: linear-gradient(180deg, var(--yellow-hi), var(--yellow)); border: 2.5px solid var(--ink); border-radius: 9px; transform: rotate(-6deg); }
.asks a span { font-size: 12.5px; line-height: 1.35; color: var(--cream-3); }
.asks a b { display: block; font: 400 15.5px / 1.1 var(--f-display); letter-spacing: 0.04em; color: var(--cream); margin-bottom: 2px; }
.asks a.is-done i { background: linear-gradient(180deg, #7BEFA5, var(--green)); }
.asks a.is-done::after { content: "PICKED"; position: absolute; right: -6px; top: -9px; font: 400 11px / 1 var(--f-display); letter-spacing: 0.06em; color: var(--ink); background: var(--green); border: 2px solid var(--ink); padding: 3px 6px 2px; border-radius: 6px; transform: rotate(5deg); }
.hero__show { position: relative; }
.hero__now { margin-top: 8px; text-align: center; font: 800 12px / 1.3 var(--f-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-3); min-height: 16px; }
.hero__now b { color: var(--yellow); }

/* the phone: the kit's device frame, with a stage filling the 998 x 460 screen */
.phone { position: relative; }
.phone .dev__body { filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.55)); }
.scrfill { position: absolute; inset: 0; overflow: hidden; background: #0B0820; }
.fstage { position: absolute; inset: 0; width: 998px; }

/* the beat bar under a phone */
.beatbar { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 14px; padding: 0 6px; }
.beatbar::before { content: ""; position: absolute; left: 10%; right: 10%; top: 17px; height: 5px; border-radius: 3px; background: rgba(255, 246, 224, 0.12); }

/* ---- the director's scrub bar (page 38, section 02), used here under the library stage ---- */
.scrub { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.scrub__btn { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; cursor: pointer; color: var(--ink); border: 3px solid var(--ink); border-radius: 13px; background: linear-gradient(180deg, var(--yellow-hi), var(--yellow) 55%, var(--yellow-lo)); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.6), 2px 4px 0 var(--ink); }
.scrub__btn svg { width: 22px; height: 22px; fill: var(--ink); }
.scrub__btn .i-play { display: none; }
.scrub__btn.is-paused .i-play { display: block; }
.scrub__btn.is-paused .i-pause { display: none; }
.scrub__btn--txt { width: auto; padding: 0 12px; font: 400 15px / 1 var(--f-display); letter-spacing: 0.05em; color: var(--cream); background: linear-gradient(180deg, #4B4472, #2A2640); }
.scrub__btn--txt[aria-pressed="true"] { color: var(--ink); background: linear-gradient(180deg, var(--yellow-hi), var(--yellow)); }
.scrub__track { position: relative; flex: 1; height: 44px; border-radius: 13px; background: #1B1530; border: 3px solid var(--ink); cursor: pointer; overflow: hidden; touch-action: none; }
.scrub__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, rgba(255, 210, 63, 0.35), rgba(255, 79, 163, 0.35)); }
.scrub__beats { position: absolute; inset: 0; }
.scrub__beats span { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; padding-left: 7px; font: 400 11.5px / 1 var(--f-display); letter-spacing: 0.05em; color: var(--cream-2); border-left: 2px solid rgba(255, 246, 224, 0.25); white-space: nowrap; overflow: hidden; }
.scrub__beats span.is-on { color: var(--yellow); border-left-color: var(--yellow); }
.scrub__head { position: absolute; top: -3px; bottom: -3px; width: 4px; margin-left: -2px; background: #fff; border-radius: 2px; box-shadow: 0 0 0 2px var(--ink); left: 0; }
.director__ctl { padding: 16px; display: grid; gap: 16px; }

/* ---- the kill library (page 38, section 07) ---- */
.libstats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.lstat { display: inline-flex; align-items: baseline; gap: 8px; padding: 9px 14px; border: 3px solid var(--ink); border-radius: 14px; background: var(--card-2); box-shadow: 3px 4px 0 var(--ink); }
.lstat b { font: 400 26px / 1 var(--f-display); color: var(--yellow); -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; }
.lstat span { font: 700 12px / 1.2 var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-2); }
.lstat--e b { color: var(--sky); } .lstat--n b { color: var(--mint); } .lstat--r b { color: #FFB3D6; }
.rule { padding: 14px 16px; margin-bottom: 18px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; }
.rule__t b { display: block; font: 400 20px / 1 var(--f-display); letter-spacing: 0.03em; color: var(--yellow); }
.rule__t span { font-size: 12.5px; color: var(--cream-3); }
.rule__flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rstep { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px 7px 7px; border-radius: 12px; border: 2.5px solid var(--ink); background: #221B38; font-size: 12.5px; line-height: 1.25; color: var(--cream-2); max-width: 270px; }
.rstep i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--yellow); border: 2px solid var(--ink); font: 400 15px / 1 var(--f-display); font-style: normal; color: var(--ink); }
.rstep b { color: #fff; }
.rarrow { font: 400 20px / 1 var(--f-display); color: var(--yellow); }

.rail { position: sticky; top: 62px; z-index: 60; margin: 0 -22px 16px; padding: 10px 22px; background: rgba(14, 10, 29, 0.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 2px solid rgba(255, 246, 224, 0.08); border-bottom: 3px solid var(--ink); }
.rail__in { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: thin; padding: 6px 2px 8px; scroll-snap-type: x proximity; }
.rgroup { flex: none; display: grid; gap: 5px; scroll-snap-align: start; }
.rgroup > b { font: 800 10px / 1 var(--f-body); letter-spacing: 0.14em; color: var(--cream-3); padding-left: 3px; }
.rgroup > div { display: flex; gap: 6px; }
.rw { position: relative; flex: none; display: grid; justify-items: center; align-content: center; gap: 1px; width: 76px; height: 64px; padding: 0; cursor: pointer; border: 3px solid var(--ink); border-radius: 13px; background: linear-gradient(180deg, #352B5A, #1F1838); box-shadow: 2px 4px 0 var(--ink); transition: transform 0.14s var(--out); }
.rw:hover { transform: translateY(-3px) rotate(-1.5deg); }
.rw .wico { margin-top: -4px; filter: drop-shadow(1px 2px 0 rgba(0, 0, 0, 0.5)); }
.rw span { font: 400 10.5px / 1 var(--f-display); letter-spacing: 0.03em; color: var(--cream-2); white-space: nowrap; max-width: 70px; overflow: hidden; text-overflow: ellipsis; }
.rw.is-on { background: linear-gradient(180deg, var(--yellow-hi), var(--yellow) 60%, var(--yellow-lo)); transform: translateY(-3px); }
.rw.is-on span { color: var(--ink); }
.rw em { position: absolute; right: -6px; top: -7px; min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; font: 400 11px / 1 var(--f-display); color: var(--ink); background: var(--cream); border: 2px solid var(--ink); border-radius: 9px; }
.rw.has-change em { background: #FF8FA8; }
.rw--gen { width: 92px; background: linear-gradient(180deg, #5A3FD0, #2E1F80); }
.rw--gen .fist { width: 34px; height: 34px; margin-top: -2px; }
.libzone { position: relative; }
.libmain__stage { position: sticky; top: 196px; }
.libmain { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr); gap: 22px; align-items: start; }
.libmain__bar { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.libmain__w { flex: 1; display: flex; align-items: center; gap: 8px; font: 400 22px / 1 var(--f-display); letter-spacing: 0.03em; color: #fff; -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; min-width: 0; }
.libmain__w small { font: 800 11px / 1 var(--f-body); letter-spacing: 0.1em; color: var(--cream-3); -webkit-text-stroke: 0; }
.libmain__list { display: grid; gap: 14px; }
.kcard { position: relative; display: grid; gap: 9px; padding: 12px; border: 3px solid var(--ink); border-radius: 18px; background: var(--card-2); box-shadow: 4px 6px 0 var(--ink); cursor: pointer; transition: transform 0.15s var(--out), box-shadow 0.15s; }
.kcard:hover { transform: translateY(-2px); }
.kcard.is-playing { box-shadow: 0 0 0 4px var(--yellow), 4px 6px 0 var(--ink); }
.kcard.is-picked { box-shadow: 0 0 0 4px #FF8FA8, 4px 6px 0 var(--ink); }
.kcard__top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.kcard__top h4 { margin: 0; font: 400 22px / 1 var(--f-display); letter-spacing: 0.02em; color: #fff; -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; }
.ktag { display: inline-block; padding: 4px 7px 3px; font: 400 11.5px / 1 var(--f-display); letter-spacing: 0.07em; border: 2px solid var(--ink); border-radius: 6px; color: var(--ink); }
.ktag--existing { background: var(--sky); }
.ktag--new { background: var(--mint); }
.ktag--renamed { background: #FFB3D6; }
.ktag--was { background: #3A3060; color: var(--cream-2); text-decoration: line-through; text-decoration-thickness: 2px; }
.ktag--fav { background: var(--yellow); }
.kcard p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--cream-2); }
.kstrip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.kstrip figure { position: relative; margin: 0; }
.kstrip .pic { position: relative; border: 2.5px solid var(--ink); border-radius: 9px; overflow: hidden; background: #0B0820; aspect-ratio: 998 / 460; }
.kstrip figcaption { margin-top: 4px; font: 400 10.5px / 1 var(--f-display); letter-spacing: 0.04em; color: var(--cream-3); text-align: center; }
.kstrip figure i { position: absolute; z-index: 5; left: 4px; top: 4px; width: 17px; height: 17px; display: grid; place-items: center; font: 400 11px / 1 var(--f-display); font-style: normal; color: var(--ink); background: var(--yellow); border: 2px solid var(--ink); border-radius: 5px; }
.kcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kcard__play { font: 400 13px / 1 var(--f-display); letter-spacing: 0.05em; color: var(--yellow); display: inline-flex; align-items: center; gap: 6px; }
.kcard__play::before { content: ""; width: 0; height: 0; border-left: 9px solid var(--yellow); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.kcard.is-playing .kcard__play::after { content: "PLAYING"; margin-left: 2px; color: var(--ink); background: var(--yellow); padding: 2px 5px 1px; border-radius: 5px; border: 2px solid var(--ink); font-size: 11px; }

/* ================================================================== page 57's own pieces */
/* the body class, so the page 38 chrome applies */
body.k57 { margin: 0; background: var(--page); color: var(--cream); font: 400 15.5px / 1.55 var(--f-body); -webkit-font-smoothing: antialiased; padding-bottom: 130px; overflow-x: hidden; }
body.k57::before { content: ""; position: fixed; inset: 0; z-index: -2; background:
  radial-gradient(70% 45% at 50% -5%, #3B2470 0%, transparent 70%),
  radial-gradient(40% 35% at 0% 30%, rgba(255, 79, 163, 0.14), transparent 70%),
  radial-gradient(45% 35% at 100% 65%, rgba(63, 154, 255, 0.14), transparent 70%), var(--page); }
body.k57::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1.2px, transparent 1.7px); background-size: 9px 9px; }
.k57 a { color: var(--yellow); }
.k57 b, .k57 strong { color: #fff; font-weight: 700; }
.k57 em { font-style: normal; }
.k57 button { font-family: inherit; }
.k57 code { font: 600 0.86em / 1 ui-monospace, Menlo, monospace; color: #FFE9A8; background: rgba(255, 246, 224, 0.08); padding: 2px 5px; border-radius: 5px; }

/* THE RARITY BADGE */
.rtag { display: inline-flex; align-items: center; padding: 4px 8px 3px; font: 400 11.5px / 1 var(--f-display); letter-spacing: 0.09em;
  color: var(--ink); background: linear-gradient(180deg, var(--rh), var(--rc) 60%, var(--rl)); border: 2.5px solid var(--ink); border-radius: 7px;
  box-shadow: 2px 3px 0 var(--ink); transform: rotate(-2.5deg); white-space: nowrap; }
.rtag--big { font-size: 15px; padding: 6px 11px 5px; border-radius: 9px; }

/* WHAT A KILL NEEDS FROM THE SPOT */
.ntag { display: inline-block; padding: 3px 7px 2px; font: 800 10px / 1.1 var(--f-body); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cream-2); background: rgba(0, 0, 0, 0.3); border: 2px dashed rgba(255, 246, 224, 0.3); border-radius: 6px; white-space: nowrap; }
.ntag--any { border-style: solid; border-color: rgba(124, 255, 163, 0.4); color: var(--mint); }

/* the kill card's extra rows: the camera language, and the unnamed reference */
.kmeta { display: grid; gap: 5px; }
.kmeta__r { display: flex; gap: 7px; align-items: baseline; font-size: 12.3px; line-height: 1.4; color: var(--cream-2); }
.kmeta__r > i { flex: none; width: 58px; font: 800 9.5px / 1.5 var(--f-body); letter-spacing: 0.11em; text-transform: uppercase; color: var(--cream-3); font-style: normal; }
.kmeta__r b { color: #fff; font-weight: 700; }
.kneeds { display: flex; flex-wrap: wrap; gap: 5px; }

/* the big stage header on a weapon page */
.libmain__w .rtag { margin-left: 4px; }
.libhead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.libhead h3 { margin: 0; font: 400 26px / 1 var(--f-display); letter-spacing: 0.02em; color: #fff; -webkit-text-stroke: 5px var(--ink); paint-order: stroke fill; }
.nowplay { margin-top: 10px; padding: 11px 14px; display: grid; gap: 6px; }
.nowplay h4 { margin: 0; font: 400 24px / 1 var(--f-display); letter-spacing: 0.02em; color: var(--yellow); -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; }
.nowplay p { margin: 0; font-size: 13.5px; color: var(--cream-2); }

/* the weapon rail at the top: every slot, the ready ones linked */
.wrail { display: flex; gap: 7px; overflow-x: auto; padding: 8px 2px 10px; scrollbar-width: thin; }
.wrail a, .wrail span { position: relative; flex: none; display: grid; justify-items: center; align-content: center; gap: 2px; width: 82px; height: 62px;
  text-decoration: none; border: 3px solid var(--ink); border-radius: 13px; background: linear-gradient(180deg, #352B5A, #1F1838); box-shadow: 2px 4px 0 var(--ink); }
.wrail span { opacity: 0.45; }
.wrail a:hover { transform: translateY(-3px) rotate(-1.5deg); }
.wrail b { font: 400 10.5px / 1 var(--f-display); letter-spacing: 0.03em; color: var(--cream-2); max-width: 76px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wrail .is-here { background: linear-gradient(180deg, var(--yellow-hi), var(--yellow) 60%, var(--yellow-lo)); }
.wrail .is-here b { color: var(--ink); }
.wico { display: block; background-repeat: no-repeat; filter: drop-shadow(1px 2px 0 rgba(0, 0, 0, 0.5)); }

/* a section header, page 38's */
.sec { margin: 54px auto 0; scroll-margin-top: 80px; }
.sech { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 20px; }
.secn { flex: none; display: grid; place-items: center; width: 66px; height: 66px; font: 400 34px / 1 var(--f-display); color: var(--ink);
  background: linear-gradient(180deg, var(--yellow-hi), var(--yellow) 60%, var(--yellow-lo)); border: 4px solid var(--ink); border-radius: 18px;
  box-shadow: 4px 6px 0 var(--ink); transform: rotate(-5deg); }
.sech h2 { margin: 4px 0 8px; font: 400 clamp(30px, 4vw, 46px) / 0.98 var(--f-display); letter-spacing: 0.01em; color: #fff;
  -webkit-text-stroke: 7px var(--ink); paint-order: stroke fill; text-shadow: 0 5px 0 var(--ink); }
.sech p { margin: 0; max-width: 88ch; color: var(--cream-2); font-size: 15.5px; }
.tag { display: inline-block; padding: 5px 9px 4px; font: 400 12.5px / 1 var(--f-display); letter-spacing: 0.08em; color: var(--cream); background: #3A2E5E; border: 2.5px solid var(--ink); border-radius: 8px; }
.tag--done { color: var(--ink); background: var(--green); }
.tag--q { color: var(--ink); background: var(--yellow); }

.sbtn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; cursor: pointer; font: 400 15.5px / 1 var(--f-display); letter-spacing: 0.05em; color: var(--ink); border: 3px solid var(--ink); border-radius: 12px; background: linear-gradient(180deg, #FFFDF6, #EADFC4); box-shadow: inset 0 2px 0 #fff, 2px 4px 0 var(--ink); }
.sbtn--dark { color: var(--cream); background: linear-gradient(180deg, #3A2E5E, #231A3C); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.12), 2px 4px 0 var(--ink); }
.nextp { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.nextp a { text-decoration: none; }

@media (max-width: 1040px) {
  .libmain { grid-template-columns: minmax(0, 1fr); }
  .libmain__stage { position: static; }
}
@media (max-width: 760px) {
  .fwrap { padding: 0 14px; }
  .fbar__in { padding: 8px 14px; gap: 10px; }
  .fbar__brand span { display: none; }
  .fbar__motion i { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 24px 0 16px; }
  .htitle__a { font-size: 24px; -webkit-text-stroke-width: 6px; }
  .htitle__b { font-size: 46px; -webkit-text-stroke-width: 7px; }
  .asks { grid-template-columns: minmax(0, 1fr); }
  .sech { gap: 12px; }
  .secn { width: 50px; height: 50px; font-size: 25px; }
  .sech h2 { -webkit-text-stroke-width: 5px; }
  .scrub__btn--txt { padding: 0 9px; font-size: 13px; }
  .kcard__top h4 { font-size: 19px; -webkit-text-stroke-width: 3px; }
}
.k57 main, .k57 header { max-width: 100vw; }
.fbar__nav { min-width: 0; }
@media (prefers-reduced-motion: reduce) { .rtag { transform: none; } }

/* ================================================================== fixes found in review, 23 Oct evening */
/* The kill-cam canvas. This rule lives in 40k.css, which page 57 does not load, so without it every weapon
   stage drew at its initial backing-store size (752 x 347) inside a 998 x 460 screen and sat inset from the
   phone's edges. */
.kcv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* The hero title sat on top of the eyebrow line. Two causes: .htitle has a 0.86 line-height, so the glyphs are
   taller than their box; and .htitle__a is rotated -3deg about its left end, which lifts its right end by about
   5% of its own width — around 21px on a 400px line. The clearance has to cover both. */
.hero__copy .htitle { margin-top: 32px; }
.htitle__a { line-height: 1.06; padding-top: 2px; }
.eyebrow { position: relative; z-index: 2; }
@media (max-width: 760px) { .hero__copy .htitle { margin-top: 18px; } }
