@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/BarlowCondensed-BlackItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #101310;
  --panel: #191d19;
  --ink: #f3f0df;
  --muted: #b3b9ac;
  --line: #373e35;
  --lime: #c2fc32;
  --red: #ff958b;
  --mono: ui-monospace, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; color: var(--ink); font: 1rem/1.5 system-ui, sans-serif; }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.mast { border-bottom: 1px solid var(--line); }
.mast-inner, .brand, .head, .ctl, .jump { display: flex; align-items: center; }
.mast-inner { min-height: 62px; justify-content: space-between; gap: 12px; }
.brand { gap: 10px; font-weight: 850; letter-spacing: -.04em; }
.brand img { width: 45px; height: auto; mix-blend-mode: screen; }
.platform, .num, .tag, .edition { font-family: var(--mono); text-transform: uppercase; }
.platform { font-size: .72rem; letter-spacing: .12em; color: var(--muted); }
.hero {
  position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; overflow: hidden; border-bottom: 1px solid var(--line);
}
.hero-copy { padding: 38px 0 34px; position: relative; z-index: 1; }
h1, h2, h3, p { margin: 0; }
.wordmark { display: block; font: italic 900 clamp(6.5rem, 12vw, 10.5rem)/.79 "Barlow Condensed", Impact, sans-serif; letter-spacing: -.037em; margin-left: -.04em; }
.edition { display: block; color: var(--lime); font-size: clamp(.82rem, 1.6vw, 1.15rem); letter-spacing: .39em; line-height: 1.3; margin-top: 14px; }
.hero-copy p { color: #cad0c2; max-width: 44ch; margin: 16px 0; }
a { color: var(--lime); }
.jump { width: fit-content; text-decoration: none; border-bottom: 1px solid #7d9c36; padding-bottom: 3px; font-weight: 650; font-size: .92rem; }
.jump:hover { border-color: var(--lime); }
.disk-art {
  align-self: stretch; display: grid; place-items: center; position: relative; isolation: isolate;
  background: radial-gradient(ellipse at center, #47502f 0%, #282e22 45%, transparent 72%);
}
.disk-art::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .37;
  background-image: radial-gradient(#96a576 1px, transparent 1px);
  background-size: 7px 7px; mask-image: radial-gradient(ellipse at center, black 18%, transparent 72%);
}
.disk-art img { width: min(85%, 440px); height: auto; transform: rotate(-7deg); filter: drop-shadow(6px 15px 9px #080b08a8); }
.workbench { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 32%); align-items: start; gap: clamp(20px, 4vw, 56px); padding: 36px 0 64px; }
#originals { scroll-margin: 16px; }
#rows > section + section { margin-top: 32px; }
h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); letter-spacing: -.045em; line-height: 1.15; }
.section-note { color: var(--muted); margin: 5px 0 15px; }
.src { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); padding: 16px 19px 12px; margin-top: 9px; }
.src.over { border-color: var(--lime); background: #232b1b; }
.src.bad { border-color: var(--red); }
.src.ok { border-color: #677d40; }
.head { gap: 10px; }
.num { color: var(--muted); font-size: .75rem; }
.title { font-size: 1.12rem; letter-spacing: -.025em; }
.tag { color: var(--muted); font-size: .75rem; letter-spacing: .06em; margin-left: auto; }
.tag.req, .src.ok .num { color: var(--lime); }
.what { margin: 5px 0 12px; font-size: .91rem; color: #c0c6b8; }
.ctl { gap: 8px; flex-wrap: wrap; }
button, .btn { appearance: none; font: 650 .9rem/1.35 system-ui, sans-serif; color: var(--ink); background: #2c322a; border: 1px solid #535e4d; border-radius: 5px; padding: 8px 13px; cursor: pointer; text-decoration: none; }
label.btn { position: relative; }
button:enabled:hover, .btn:hover { border-color: var(--lime); }
:focus-visible, label.btn:focus-within { outline: 2px solid var(--lime); outline-offset: 3px; }
input[type=file] { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; }
button:disabled { cursor: default; }
.plain { color: var(--muted); background: transparent; }
.ctl .plain:disabled { display: none; }
.hint, .size { color: var(--muted); font-size: .81rem; }
details { font-size: .85rem; }
summary { cursor: pointer; color: var(--muted); width: fit-content; }
summary:hover { color: var(--ink); }
.look:not(:empty) { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
.look .lh { margin: 10px 0 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.look button { padding: 3px 8px; font-size: .78rem; }
.known { list-style: none; margin: 0; padding: 0; }
.known li, .file { border-top: 1px solid var(--line); padding: 6px 0; }
.known .kn, .fname { font-weight: 650; overflow-wrap: anywhere; }
.known .ks, .known .kw, .sha, .alt { color: var(--muted); }
.known .y .kn, .v.ok::before { color: var(--lime); }
.known .y::before, .v.ok::before { content: "✓ "; }
.known code { display: block; }
code, #log { font-family: var(--mono); font-size: .78rem; overflow-wrap: anywhere; }
.alt { margin: 6px 0; }
.res:not(:empty) { margin-top: 12px; font-size: .9rem; }
.hash { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 2px 10px; font: .78rem var(--mono); color: var(--muted); margin: 6px 0; }
.bad.v, #result .bad { color: var(--red); }
.v.busy, .v.muted { color: var(--muted); }
.v.warn::before { content: "! "; }
#build { border-top: 3px solid var(--lime); border-radius: 4px 4px 8px 8px; padding: 22px; background: #20261e; overflow-wrap: anywhere; }
#build h2 { font-size: 1.5rem; }
.meter { display: flex; gap: 4px; margin: 20px 0 12px; }
.meter i { height: 5px; flex: 1; background: #484f42; border-radius: 1px; }
.meter .filled { background: var(--lime); }
.counts { display: grid; grid-template-columns: 1fr auto; gap: 5px; font-size: .88rem; }
.counts strong { font: .86rem/1.5 var(--mono); }
#will { margin: 16px 0 9px; color: var(--muted); font-size: .88rem; }
.go, a.btn { display: block; background: var(--lime); color: #171c0c; width: 100%; padding: 12px; text-align: center; border: 0; }
.go:disabled { background: #3c4436; color: #b8c1af; }
.go:enabled:hover, a.btn:hover { background: #d4ff70; }
.local { margin-top: 18px; padding-top: 12px; border-top: 1px solid #444c3e; color: var(--muted); font-size: .79rem; }
#ready { color: var(--ink); }
#ready::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #c7ac69; }
#ready.online::before { background: var(--lime); }
#stages { list-style: none; padding: 0; margin: 0; font-size: .85rem; }
#stages:not(:empty), #result:not(:empty), #logbox { margin-top: 16px; }
#stages li { padding: 4px 0 4px 17px; position: relative; }
#stages li::before { position: absolute; left: 0; color: var(--lime); }
#stages .done::before { content: "✓"; } #stages .now::before { content: "…"; }
#stages .t { color: var(--muted); }
#result { font-size: .88rem; } #result > * + * { margin-top: 8px; }
#log { white-space: pre-wrap; max-height: 260px; overflow: auto; background: var(--bg); padding: 8px; }
.hidden { display: none !important; }
@media (min-width: 861px) and (min-height: 600px) {
  aside { position: sticky; top: 16px; }
  #build { max-height: calc(100vh - 32px); overflow-y: auto; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .mast-inner { min-height: 52px; }
  .workbench { grid-template-columns: 1fr; gap: 25px; padding-top: 25px; }
  .hero { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
  .disk-art img { width: 100%; }
  .hero-copy { padding: 28px 0; }
  .hero-copy p { font-size: .92rem; }
}
@media (max-width: 490px) {
  .hero { display: block; }
  .hero-copy { padding: 29px 0 20px; }
  .disk-art { position: absolute; width: 46%; height: 105px; right: 0; top: 20px; }
  .hero-copy p { max-width: 37ch; margin: 20px 0 10px; }
  .wordmark { font-size: clamp(4.8rem, 21vw, 6.4rem); }
  .edition { font-size: .68rem; letter-spacing: .25em; margin-top: 9px; }
  .platform { font-size: .75rem; letter-spacing: .04em; }
  .src { padding-inline: 13px; }
}
