/* The room is the hub's crimson; the instrument is a loupe, the logo's own shape.
   It is the drop target, the progress ring and the score dial. System fonts only (strict CSP). */
@property --glow { syntax: "<color>"; inherits: true; initial-value: #b0243f; }
@property --deep { syntax: "<color>"; inherits: true; initial-value: #2b0712; }
:root {
  --ink: #fff2f3; --mute: #dcb4bd;
  --panel: #1b040bd9; --solid: #1b040b; --raise: #ffffff12; --line: #ffffff21;
  --bad: #ff5a6e; --warn: #ffc54d; --good: #62f2b4;
  --accent: var(--bad);
  --glass: conic-gradient(from 210deg, #ffd3ef, #b7c2ff, #c9fff1, #ffe6ae, #ff8fc4, #d6b0ff, #ffd3ef);
  --display: "Bahnschrift", "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  --mono: "Cascadia Mono", "Cascadia Code", Consolas, ui-monospace, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; }
html { background: #2b0712; }
body {
  display: grid; grid-template-rows: auto minmax(0, 1fr); grid-template-columns: minmax(0, 1fr);
  height: 100vh; height: 100dvh; overflow: hidden;
  background: radial-gradient(75vmax 65vmax at 72% 42%, var(--glow), var(--deep) 74%);
  color: var(--ink);
  font: 15px/1.55 "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  transition: --glow .7s, --deep .7s;
}
body[data-v=scan] { --glow: #c92a49; }
body[data-view=report][data-v=malicious] { --glow: #d3142f; --deep: #2b0508; }
body[data-view=report][data-v=suspicious], body[data-view=report][data-v=unverified] { --glow: #9a5a0c; --deep: #231003; }
body[data-view=report][data-v=clean] { --glow: #0f7a5c; --deep: #04201b; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
code, pre { font-family: var(--mono); font-size: .86em; }
p, h1, h2, h3, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
::selection { background: #fff; color: #2b0712; }
h1, h2, .verdict, .score, .cmd, .brand, .veil { font-family: var(--display); font-stretch: condensed; }
h2 { font-size: 28px; line-height: 1.1; font-weight: 700; }
kbd { font: 12px var(--mono); padding: 1px 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; color: var(--ink); }

/* header */
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px clamp(14px, 4vw, 48px); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 700; text-decoration: none; border-radius: 99px; }
.brand img { width: 44px; height: 44px; transition: rotate .4s cubic-bezier(.34, 1.56, .64, 1); }
.brand:hover img { rotate: -18deg; }
.bar nav { display: flex; gap: 2px; padding: 4px; border-radius: 99px; background: #0000003d; max-width: 100%; }
.bar nav button { padding: 7px 15px; border-radius: 99px; white-space: nowrap; color: var(--mute); }
.bar nav button:hover { color: var(--ink); background: var(--raise); }
.bar nav button[aria-current] { background: var(--ink); color: #2b0712; font-weight: 700; }
.badge { margin-left: 6px; padding: 0 6px; border-radius: 99px; background: #b0243f; color: #fff; font-size: 11px; font-weight: 700; }

main { position: relative; min-height: 0; }
.view { position: absolute; inset: 0; overflow: auto; scrollbar-color: #ffffff40 transparent; }

/* hero: words left, loupe right */
.hero { max-width: 1240px; min-height: 100%; margin: 0 auto; padding: 8px clamp(18px, 4vw, 48px) 28px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto; gap: 24px 40px; align-items: center; }
.pitch { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; min-width: 0; }
h1 { font-size: clamp(42px, min(5.8vw, 12vh), 80px); line-height: .98; text-wrap: balance; font-weight: 700; letter-spacing: -.012em; }
h1 span { display: block; text-wrap: balance; animation: focus .9s both cubic-bezier(.2, .7, .2, 1); }
h1 span + span { animation-delay: .14s; color: #ffc9d2; }
.hint { color: var(--mute); max-width: 52ch; }

.loupe { --mx: 0; --my: 0; position: relative; justify-self: center; width: min(100%, 500px, 66vh); min-width: 270px; aspect-ratio: 1; transition: scale .35s cubic-bezier(.34, 1.56, .64, 1); animation: focus 1s .2s both; }
.rim, .ring { position: absolute; left: 0; top: 0; width: 80%; height: 80%; border-radius: 50%; }
.rim { background: var(--glass); box-shadow: 0 30px 70px #0008, 0 0 60px #ff8fc43d, inset 0 0 12px #fff; animation: sheen 14s linear infinite; }
.handle { position: absolute; left: 67%; top: 67%; width: 40%; height: 12%; margin-top: -6%; transform-origin: 0 50%; transform: rotate(45deg); border-radius: 0 99px 99px 0;
  background: linear-gradient(#fff 0 6%, #ffb6dd 22%, #a6a2f4 55%, #8d2b63 82%, #ffd9ec); box-shadow: 0 20px 40px #0007; }
button.glass { position: absolute; left: 4%; top: 4%; width: 72%; height: 72%; border-radius: 50%; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center;
  background: radial-gradient(circle at 34% 26%, #ffffff38, #0000 34%), radial-gradient(circle, #4a0d1f 30%, #230510); box-shadow: inset 0 0 50px #000a, inset 0 0 0 2px #ffffff55; }
button.glass:focus-visible { outline-offset: -12px; }
.hex { position: absolute; inset: -14%; font: 700 clamp(15px, 1.7vw, 21px)/1.9 var(--mono); word-spacing: .2em; color: #ff9db04d; text-align: justify; overflow: hidden; pointer-events: none;
  translate: calc(var(--mx) * -60px) calc(var(--my) * -60px); transition: translate .5s ease-out;
  -webkit-mask: radial-gradient(circle, #0000 12%, #000 58%); mask: radial-gradient(circle, #0000 12%, #000 58%); }
.cmd { position: relative; max-width: 100%; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.02; font-weight: 700; overflow-wrap: anywhere; text-shadow: 0 3px 14px #000c; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.pick { position: relative; padding: 10px 22px; border-radius: 99px; background: var(--ink); color: #2b0712; font-weight: 700; transition: scale .2s; }
.glass:hover .pick { scale: 1.07; }
.ring { pointer-events: none; overflow: visible; }
.ring circle { fill: none; stroke: #fff; stroke-width: 3; stroke-dasharray: 0 100; transition: stroke-dasharray .2s linear; filter: drop-shadow(0 0 3px #ff5a6e); }
body.dragging .loupe { scale: 1.08; }
body[data-v=scan] .pick { visibility: hidden; }
body[data-v=scan] .hex { animation: stream 3s linear infinite; }
body[data-v=scan] .glass::after { content: ""; position: absolute; left: 0; right: 0; height: 24%; background: linear-gradient(#0000, #ff9db066, #fff 96%, #0000); mix-blend-mode: screen; opacity: .7; animation: beam 1.4s ease-in-out infinite alternate; }

.feed { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; min-width: 0; }
.track { height: 8px; border-radius: 99px; background: #0006; overflow: hidden; }
.track i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .2s linear; }
.counts { display: flex; flex-wrap: wrap; gap: 4px 22px; color: var(--mute); min-height: 1.55em; }
.counts b { color: var(--ink); margin-left: 6px; font-variant-numeric: tabular-nums; }
.entry { color: var(--mute); font: 13px/1.6 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 1.6em; }
.entry.fail { font: 700 15px/1.5 "Segoe UI", system-ui, sans-serif; color: var(--ink); white-space: normal; background: #b0243f; padding: 10px 14px; border-radius: 12px; }

.checks { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 20px 24px; border-radius: 24px; background: #0000003d; color: var(--mute); font-size: 14px; animation: rise .7s .5s both; }
.checks b { display: block; color: var(--ink); font: 700 20px/1.3 var(--display); font-stretch: condensed; }

/* queue while scanning, strip on the report */
.queue { max-height: 24vh; overflow: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.queue li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 6px 12px; border-radius: 99px; background: #0000003d; color: var(--mute); }
.queue .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--line); }
.queue .q-run { color: var(--ink); }
.queue .q-run .dot { background: #fff; animation: blink .8s steps(1) infinite; }
.queue .q-fail { color: var(--bad); }
.q-clean .dot, .batch .v-clean .dot { background: var(--good); }
.q-suspicious .dot, .q-unverified .dot, .batch .v-suspicious .dot, .batch .v-unverified .dot { background: var(--warn); }
.q-malicious .dot, .batch .v-malicious .dot { background: var(--bad); }
.batch { display: flex; gap: 6px; overflow-x: auto; padding: 4px; margin-bottom: 12px; align-items: center; }
.batch .label { color: var(--mute); white-space: nowrap; margin-right: 6px; }
.batch .item { display: flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; background: #0000004d; color: var(--ink); white-space: nowrap; max-width: 280px; flex: none; }
.batch .item:hover { background: #00000080; }
.batch .item[aria-current] { background: var(--ink); color: #2b0712; }
.batch .fname { overflow: hidden; text-overflow: ellipsis; }

/* report: verdict out in the open, evidence on a dark sheet */
.report { --accent: var(--bad); max-width: 1180px; margin: 0 auto; padding: 4px clamp(12px, 3vw, 32px) 56px; }
.report[data-v=clean] { --accent: var(--good); }
.report[data-v=suspicious], .report[data-v=unverified] { --accent: var(--warn); }
.rail { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 20px 40px; align-items: center; padding: 8px 8px 32px; }
.meter { display: grid; justify-items: center; gap: 8px; }
.dial { position: relative; width: min(300px, 74vw); aspect-ratio: 1; margin-bottom: 14px; animation: pop .7s both cubic-bezier(.34, 1.4, .64, 1); }
.dial svg { position: relative; z-index: 1; display: block; width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 34% 26%, #ffffff30, #0000 36%), var(--solid); box-shadow: 0 24px 60px #0007; }
.dial .handle { left: 83%; top: 83%; width: 28%; }
.dial circle { fill: none; stroke-width: 15; }
.dial .rest { stroke: #ffffff17; }
.dial .fill { stroke: var(--accent); stroke-dasharray: 0 100; transition: stroke-dasharray 1s cubic-bezier(.2, .7, .2, 1); filter: drop-shadow(0 0 5px var(--accent)); }
.dial line { stroke: #fff; stroke-width: 2.5; }
.score { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: .9; }
.score b { font-size: 108px; font-weight: 700; font-variant-numeric: tabular-nums; }
.score small { font-size: 18px; color: var(--mute); }
.marks { color: var(--mute); font-size: 13px; }
.info { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-width: 0; justify-items: start; }
.verdict { font-size: clamp(52px, 7.6vw, 96px); line-height: .92; font-weight: 700; text-shadow: 0 0 40px var(--accent), 0 3px 0 #0006; animation: focus .8s .2s both; }
.note { color: var(--mute); }
.rail .note { color: var(--ink); font-size: 19px; max-width: 60ch; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 18px; max-width: 100%; }
.facts dt { color: var(--mute); }
.facts dd { overflow-wrap: anywhere; }
.hash { color: var(--mute); font: 12px/1.6 var(--mono); overflow-wrap: anywhere; max-width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn { display: inline-block; padding: 8px 17px; border-radius: 99px; border: 1px solid #ffffff4d; background: #00000030; text-decoration: none; }
.btn:hover { border-color: #fff; background: var(--raise); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #2b0712; font-weight: 700; }
.btn.primary:hover { background: #fff; }
.rail .keys { color: var(--mute); font-size: 13px; }

.body { background: var(--panel); border-radius: 28px; padding: clamp(14px, 3vw, 34px); box-shadow: 0 30px 70px #0006; animation: rise .6s .25s both; }
.does { margin: 14px 0 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 8px; }
.does li { padding: 11px 14px 11px 18px; border-radius: 14px; background: var(--raise); box-shadow: inset 4px 0 var(--mute); animation: slide .45s both cubic-bezier(.2, .7, .2, 1); }
.does .l-high { box-shadow: inset 4px 0 var(--bad); background: #ff5a6e1f; }
.does .l-med { box-shadow: inset 4px 0 var(--warn); }
.does .none { grid-column: 1 / -1; box-shadow: none; }

.tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 22px; background: #0006; scroll-margin-top: 8px; }
.tabs button { padding: 8px 18px; border-radius: 99px; color: var(--mute); }
.tabs button:hover { color: var(--ink); background: var(--raise); }
.tabs button[aria-selected=true] { background: var(--ink); color: #2b0712; font-weight: 700; }
.tabs b { margin-left: 8px; font-weight: 400; opacity: .75; }
.pane { padding-top: 10px; }
.pane > * { animation: fade .25s both; }
.empty { color: var(--mute); padding: 14px 4px; }

details { margin-top: 6px; border-radius: 14px; background: var(--raise); }
summary { cursor: pointer; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 14px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary:hover { background: var(--raise); }
summary .w { justify-self: start; min-width: 44px; padding: 2px 8px; border-radius: 99px; background: #0008; color: var(--accent); text-align: center; font-weight: 700; }
summary .name { font-weight: 700; overflow-wrap: anywhere; }
summary .name small { font-weight: 400; color: var(--mute); font-size: inherit; margin-left: 8px; }
summary .cat { color: var(--mute); white-space: nowrap; font-size: 13px; }
details .inner { padding: 4px 14px 16px 82px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
details .inner > p { color: var(--mute); max-width: 72ch; }
.hit { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; }
.snip { display: block; background: #0008; box-shadow: inset 3px 0 var(--accent); border-radius: 8px; padding: 8px 12px; overflow-wrap: anywhere; }
.where { color: var(--mute); overflow-wrap: anywhere; font: 12.5px/1.6 var(--mono); }
button.where { text-decoration: underline; text-underline-offset: 3px; justify-self: start; }
button.where:hover { color: var(--ink); }
summary .w.r-high, .r-high { color: var(--bad); }
summary .w.r-med, .r-med { color: var(--warn); }
summary .w.r-low, .r-low { color: var(--ink); }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
.cols li { overflow-wrap: anywhere; }
.urls { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.urls li { padding: 10px 14px; border-radius: 12px; background: var(--raise); display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; overflow-wrap: anywhere; }

/* decompiler */
.code { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 14px; height: max(460px, calc(100vh - 170px)); padding-top: 4px; }
.code .main, .code .side { display: flex; flex-direction: column; gap: 8px; min-width: 0; min-height: 0; }
.code .main .src { flex: 1; min-height: 0; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.seg { display: flex; padding: 3px; border-radius: 99px; background: #0008; }
.seg button { padding: 6px 14px; border-radius: 99px; color: var(--mute); }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed=true] { background: var(--ink); color: #2b0712; font-weight: 700; }
.code input { width: 100%; padding: 8px 15px; background: #0008; border: 1px solid var(--line); border-radius: 99px; }
.code input:focus-visible { border-color: #fff; }
.code .list { flex: 1; min-height: 0; overflow: auto; font: 12.5px/1.7 var(--mono); }
.code .list button { display: block; width: 100%; padding: 3px 10px; border-radius: 8px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; direction: rtl; }
.code .list button:hover, .code .list button[aria-current] { color: var(--ink); background: var(--raise); }
.code .list button.flag { color: var(--bad); }
.src { margin: 0; overflow: auto; background: #0d0105; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; white-space: pre; font-size: 13px; line-height: 1.6; }
.src .com { color: #b88f99; }
.src .num { color: #ffd08a; }
.src .kw { font-weight: 700; color: #ffb3c4; }
.src .str { color: #b9f0c8; }
.src .str.bad { color: var(--bad); font-weight: 700; }
.src .call { color: var(--mute); }
.src .tag { font-weight: 700; }

/* binary and native files */
.body h3 { margin: 24px 0 8px; font-size: 15px; font-weight: 700; }
.body .cols h3 { margin: 0 0 4px; font-size: 13px; font-weight: 400; color: var(--mute); }
.bin { padding-top: 12px; }
.bin > .note { max-width: 72ch; margin-top: 8px; }
.tscroll { overflow-x: auto; }
.sections { border-collapse: collapse; width: 100%; }
.sections th { text-align: left; font-weight: 400; color: var(--mute); padding: 0 16px 6px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sections td { padding: 7px 16px 7px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sections .ent { display: flex; align-items: center; gap: 10px; }
.ebar { width: 130px; height: 8px; border-radius: 99px; overflow: hidden; background: #0008; display: block; flex: none; }
.ebar i { display: block; height: 100%; background: var(--mute); }
.ebar i.r-high { background: var(--bad); }
.ebar i.r-med { background: var(--warn); }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chips li { padding: 2px 10px; border-radius: 99px; background: #0006; border: 1px solid var(--line); font: 12.5px/1.7 var(--mono); overflow-wrap: anywhere; max-width: 100%; }
.chips li.r-high { border-color: var(--bad); }
.chips li.r-med { border-color: var(--warn); }
.natives { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.natives li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 14px; background: var(--raise); }
.natives .w { font: 700 28px var(--display); }
.natives .name { overflow-wrap: anywhere; font-weight: 700; }
.natives .meta { display: block; color: var(--mute); font-weight: 400; }
.v-clean { color: var(--good); }
.v-suspicious, .v-unverified { color: var(--warn); }
.v-malicious { color: var(--bad); }

/* history, signatures, how it works */
.page { max-width: 1000px; margin: 8px auto 56px; width: calc(100% - 24px); padding: clamp(18px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; justify-items: start; background: var(--panel); border-radius: 28px; animation: rise .5s both; }
.page h2 { font-size: clamp(36px, 6vw, 56px); margin-top: 22px; }
.page h2:first-child { margin-top: 0; }
.sub, .about .lead { color: var(--mute); max-width: 68ch; }
.about .lead { color: var(--ink); font-size: 19px; }
.page > div { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin: 8px 0; }
.row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: center; width: 100%; padding: 11px 16px; border-radius: 14px; background: var(--raise); }
button.row { --tone: var(--bad); color: var(--ink); }
button.row:hover { background: #ffffff24; }
.row .name { overflow-wrap: anywhere; font-weight: 700; }
.row .name small { display: block; color: var(--mute); font-size: 13px; font-weight: 400; }
.row .cat { color: var(--mute); white-space: nowrap; font-size: 13px; }
.row .w { font-weight: 700; }
/* history: each score is a small gauge of its own */
button.row.v-clean { --tone: var(--good); }
button.row.v-suspicious, button.row.v-unverified { --tone: var(--warn); }
button.row .w { display: grid; place-items: center; width: 52px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, var(--solid) 74%, #0000 76% 99%, #0000), conic-gradient(var(--tone) calc(var(--p) * 1%), #ffffff21 0); }
button.row .cat { color: var(--tone); }
/* signatures: the line under a row is its weight on the 0-100 scale */
#rules .row { background: linear-gradient(var(--bad), var(--bad)) no-repeat 0 100% / calc(var(--p) * 1%) 3px, var(--raise); }

.explain { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 0 24px; width: 100%; margin-top: 8px; }
.explain dt, .explain dd { padding: 14px 0; border-top: 1px solid var(--line); }
.explain dt { font: 700 20px/1.3 var(--display); font-stretch: condensed; }
.explain dd { color: var(--mute); max-width: 68ch; }
.limits { display: grid; gap: 10px; max-width: 72ch; }
.limits li { color: var(--mute); padding: 10px 16px; border-radius: 12px; background: var(--raise); }
.limits b { color: var(--ink); }
.about .keys { margin-top: 18px; }

.veil { position: fixed; inset: 12px; z-index: 10; display: grid; place-items: end center; padding-bottom: 7vh; border: 3px dashed var(--ink); border-radius: 32px; background: #2b071266; font-size: clamp(34px, 6vw, 70px); font-weight: 700; text-shadow: 0 3px 18px #000; pointer-events: none; animation: fade .18s both; }

/* motion plays even under prefers-reduced-motion: the owner's choice */
.bar nav button, .btn, .tabs button, .seg button, .batch .item, .row { transition: color .12s, border-color .12s, background-color .12s; }
@keyframes focus { from { opacity: 0; filter: blur(18px); scale: 1.06; } }
@keyframes sheen { to { filter: hue-rotate(360deg); } }
@keyframes stream { 50% { transform: translateY(-5%); } }
@keyframes beam { from { top: -10%; } to { top: 86%; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pop { from { scale: .6; opacity: 0; } }
@keyframes slide { from { opacity: 0; translate: -14px 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; translate: 0 22px; } }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .24s; }

@media (hover: none) { .rail .keys { display: none; } }
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; align-content: start; text-align: center; }
  .pitch { justify-items: center; }
  .feed { width: 100%; text-align: left; }
  h1 { font-size: clamp(42px, 12vw, 76px); }
  .loupe { width: min(100%, 440px); min-width: 0; }
  .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: left; }
  .rail { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .info { justify-items: center; width: 100%; }
  .facts { text-align: left; }
  .actions { justify-content: center; }
  .code { grid-template-columns: minmax(0, 1fr); grid-template-rows: 190px minmax(0, 1fr); height: 680px; }
  .cols, .explain { grid-template-columns: minmax(0, 1fr); }
  .explain dd { border-top: 0; padding-top: 0; }
  details .inner { padding-left: 14px; }
}
@media (max-width: 560px) {
  .bar { justify-content: center; }
  .bar nav { width: 100%; justify-content: space-between; overflow-x: auto; }
  .bar nav button { padding: 6px 8px; font-size: 13.5px; }
  .checks { grid-template-columns: minmax(0, 1fr); }
  summary { grid-template-columns: 50px minmax(0, 1fr); }
  summary .cat { grid-column: 2; white-space: normal; }
  .row { grid-template-columns: 52px minmax(0, 1fr); gap: 4px 12px; }
  .row .cat { grid-column: 2; white-space: normal; }
  .natives li { grid-template-columns: 40px minmax(0, 1fr); }
  .natives .btn { grid-column: 2; justify-self: start; }
}
