/* The styles of install.html and vye.html, in a file of their own so the pages stay small (tools/page-assets.js). */
@font-face {
  font-family: "Hacked";
  src: url("/fonts/HACKED.woff2?v=c2b61b1d67") format("woff2"), url("/fonts/HACKED.ttf?v=db3080d82f") format("truetype");
  font-display: swap;
}
:root {
  --bg: #08000b;
  --panel: rgba(17, 0, 19, 0.94);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.82);
  --pink: #ff2492;
  --pink-soft: #ff9bd8;
  --green: #7dff2b;
  --green-soft: #caffab;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 36, 146, 0.24), transparent 26%),
    radial-gradient(circle at 82% 16%, rgba(125, 255, 43, 0.12), transparent 18%),
    var(--bg);
}
a { color: var(--pink-soft); text-decoration: underline; text-underline-offset: 3px; }
img, video { max-width: 100%; display: block; }
.article-shell { width: min(920px, calc(100% - 32px)); margin: 0 auto; padding: 32px 0 56px; }
.article-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-bottom: 24px;
}
.article-back {
  display: inline-flex;
  color: var(--green-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}
.article-source {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  border: 1px solid rgba(255, 36, 146, 0.42);
  border-radius: 6px;
  background: rgba(255, 36, 146, 0.12);
  padding: 8px 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}
.article-source:hover {
  border-color: rgba(125, 255, 43, 0.5);
  box-shadow: 0 0 18px rgba(125, 255, 43, 0.12);
}
.article-card {
  border: 1px solid rgba(255, 36, 146, 0.34);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 0 32px rgba(255, 36, 146, 0.12);
  padding: clamp(20px, 4vw, 38px);
}
.article-kicker {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
h1, h2 {
  font-family: "Hacked", Impact, "Arial Black", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
h1 { margin: 14px 0 0; font-size: clamp(42px, 8vw, 82px); line-height: 0.92; text-align: center; }
.article-body { line-height: 1.8; color: rgba(255, 255, 255, 0.78); overflow-wrap: anywhere; }
.article-body h2 { margin: 34px 0 10px; color: var(--pink-soft); font-size: 34px; line-height: 1; text-align: center; }
.article-body h3 { margin: 28px 0 8px; color: var(--green-soft); font-size: 22px; text-align: center; text-transform: uppercase; }
.article-body h4, .article-body h5, .article-body h6 { color: var(--green-soft); text-align: center; text-transform: uppercase; }
.article-body p { margin: 16px 0; }
.article-body figcaption {
  margin-top: 8px;
  color: rgba(255, 255, 255, .74);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}
.article-body img, .article-body video, .article-body iframe {
  width: 100%;
  margin: 22px 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #000;
}
.article-body iframe { aspect-ratio: 16 / 9; border: 0; }
.article-body blockquote {
  margin: 22px 0;
  border-left: 3px solid var(--green);
  background: rgba(125, 255, 43, 0.08);
  padding: 12px 16px;
  color: var(--green-soft);
}
.article-body table { width: 100%; margin: 16px 0; border-collapse: collapse; }
.article-body th, .article-body td { border: 1px solid rgba(255, 255, 255, 0.16); padding: 8px; text-align: left; vertical-align: top; }
.article-body th { color: var(--green-soft); background: rgba(125, 255, 43, 0.08); }
.article-body pre {
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.72);
  padding: 14px;
}
.article-body code {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.58);
  padding: 2px 5px;
  font-family: Consolas, monospace;
}
.article-body hr {
  height: 1px;
  border: 0;
  margin: 28px 0;
  background: linear-gradient(90deg, transparent, var(--pink), var(--green), transparent);
}
.article-download {
  display: flex;
  justify-content: center;
  margin: 26px 0;
}
.article-download a {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(125, 255, 43, 0.44);
  border-radius: 6px;
  background: rgba(125, 255, 43, 0.1);
  padding: 12px 20px;
  color: var(--green-soft);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}
.article-download a:hover {
  border-color: rgba(255, 36, 146, 0.5);
  box-shadow: 0 0 18px rgba(255, 36, 146, 0.14);
}
.article-locked {
  margin: 26px 0 0;
  border: 1px solid rgba(125, 255, 43, 0.36);
  border-radius: 8px;
  background: rgba(125, 255, 43, 0.08);
  padding: 18px;
  text-align: center;
  color: var(--green-soft);
  line-height: 1.7;
}
.article-more {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.article-more a {
  flex: 1 1 260px;
  border: 1px solid rgba(255, 36, 146, 0.34);
  border-radius: 8px;
  background: var(--panel);
  padding: 14px 16px;
  color: #fff;
  line-height: 1.5;
  text-decoration: none;
}
.article-more a:hover { border-color: rgba(125, 255, 43, 0.5); }
.article-more span {
  display: block;
  color: var(--green-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.article-more .article-more__newer { text-align: right; }
.article-body ol.howto { list-style: none; counter-reset: step; padding: 0; }
.article-body .howto-step {
  counter-increment: step;
  position: relative;
  margin: 14px 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.36);
  padding: 14px 16px 14px 64px;
}
.article-body .howto-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 14px;
  color: var(--green);
  font-weight: 900;
  letter-spacing: 0.08em;
}
.article-body .howto-step h3 { margin: 0; text-align: left; font-size: 18px; }
.article-body .howto-step p { margin: 6px 0 0; }
.article-body img { height: auto; }
