@font-face {
  font-family: "prisontest";
  src: url("https://assets.prisontest.com/fonts/DejaVuSans.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "prisontest";
  src: url("https://assets.prisontest.com/fonts/DejaVuSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #191a1d;
  --panel: #222327;
  --text: #dddddf;
  --muted: #a6a6ae;
  --border: #48494f;
  --accent: #e7ca75;
  font: 15px/1.65 "prisontest", "DejaVu Sans", sans-serif;
  background: var(--background);
  color: var(--text);
  scroll-padding-top: 24px;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: 4px; }
a:hover { color: #fff0c1; }
button, input, select { font: inherit; }
button, .button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: 1.5rem; line-height: 1.3; font-weight: 600; }
h3 { font-size: 1rem; }
p + p { margin-top: 12px; }
img { max-width: 100%; object-fit: contain; }
.brand img, .features img { image-rendering: pixelated; flex: 0 0 auto; }
.muted { color: var(--muted); }
.small { font-size: .84rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; top: -80px; left: 12px; z-index: 2; padding: 8px 16px; background: var(--background); }
.skip:focus { top: 8px; }

.topbar, footer { max-width: 1032px; padding: 20px 32px; margin: auto; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: bold; color: var(--text); text-decoration: none; }
.topbar nav { display: flex; gap: 26px; margin-left: auto; }
.topbar nav a { font-size: .88rem; color: var(--text); text-decoration: none; }
.topbar nav a:hover { color: var(--accent); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 330px;
  padding: 42px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  background: #25242b url("https://assets.prisontest.com/ui/prisontest_menu_overlay.png") center / cover;
  border-block: 1px solid var(--border);
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(12 13 16 / 72%); }
.hero h1 { width: min(470px, 90vw); line-height: 0; }
.hero h1 img { width: 100%; height: auto; }
.hero p { color: #e8e6e9; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 9px 18px; border: 1px solid #73737a; background: #303137; color: var(--text); text-decoration: none; line-height: 1.5; }
.button:hover { background: #3b3c42; color: white; }
.button.primary { border-color: #b19b5c; background: #d9bf75; color: #191a1d; font-weight: bold; padding-inline: 28px; }
.button.primary:hover { background: #ead18b; }

.content { max-width: 1032px; margin: auto; padding: 0 32px; }
.content > section { padding: 38px 0; border-bottom: 1px solid var(--border); }
.section-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 18px; }
.section-heading > a { font-size: .88rem; }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.intro p { margin-top: 14px; color: var(--muted); max-width: 470px; }
.features { list-style: none; padding: 0; margin: 0; }
.features li { display: flex; align-items: center; gap: 16px; padding: 8px 0; font-size: .9rem; }

.downloads { margin: 20px 0 14px; border: 1px solid var(--border); }
.download-row { padding: 16px 20px; display: flex; gap: 20px; align-items: center; justify-content: space-between; background: var(--panel); }
.download-row + .download-row { border-top: 1px solid var(--border); }
.platform small { display: block; color: var(--muted); font-size: .8rem; }
.download-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; font-size: .85rem; }
.download-links .button { min-width: 130px; padding: 6px 12px; }
#checksums { margin-top: 10px; }
#release-notes { margin-top: 20px; }
#release-body { font: inherit; font-size: .86rem; white-space: pre-wrap; overflow-wrap: anywhere; padding-top: 12px; color: var(--muted); }

input, select { border: 1px solid var(--border); border-radius: 0; background: #101114; color: var(--text); padding: 9px 12px; min-height: 42px; }
input { width: 245px; max-width: 100%; font-size: .85rem; }
input::placeholder { color: var(--muted); opacity: 1; }
.guide-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 30px; margin-top: 16px; }
.categories { display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
.categories button { padding: 9px 12px; border: 0; border-left: 2px solid transparent; text-align: left; color: var(--muted); background: transparent; line-height: 1.4; font-size: .85rem; }
.categories button:hover { color: var(--text); background: var(--panel); }
.categories button[aria-pressed="true"] { color: var(--accent); border-left-color: var(--accent); background: var(--panel); }
.guide-pages details { padding: 13px 0; border-bottom: 1px solid var(--border); }
.guide-pages details:first-child { padding-top: 4px; }
.guide-pages details:last-child { border: 0; }
summary { cursor: pointer; color: var(--text); }
summary:hover { color: var(--accent); }
.article-body { font-size: .9rem; color: var(--muted); padding: 14px 0 5px 18px; }
.empty { padding: 12px 0; color: var(--muted); }
.more-link { margin-top: 20px; font-size: .88rem; }
.command-toolbar { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .85rem; margin-bottom: 14px; }
.command-toolbar select { min-width: 190px; }
.command-list { margin: 0; }
.command-row { display: grid; grid-template-columns: minmax(180px, 38%) minmax(0, 1fr); gap: 20px; padding: 15px 0; border-bottom: 1px solid #34353b; }
.command-row:last-child { border: 0; padding-bottom: 0; }
.command-row dd { margin: 0; color: var(--muted); font-size: .88rem; }
.command-row code { color: var(--accent); font-size: .87rem; overflow-wrap: anywhere; }
.aliases { display: block; font-size: .77rem; color: var(--muted); margin-top: 4px; overflow-wrap: anywhere; }
.getting-started h2 { margin-bottom: 15px; }
.getting-started p { max-width: 740px; font-size: .9rem; }
kbd { font-family: inherit; font-size: .82rem; border: 1px solid var(--border); background: #27282c; padding: 1px 5px; }
code { font-family: "DejaVu Sans Mono", monospace; }
footer { color: var(--muted); font-size: .75rem; flex-wrap: wrap; padding-block: 24px; }
footer > :last-child { margin-left: auto; }
.reference { padding-top: 32px; }
.reference h1 { font-size: 2rem; line-height: 1.3; margin: 14px 0; }
.reference > p { max-width: 740px; color: var(--muted); }
.reference nav { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 24px 0 0; font-size: .9rem; }
.reference h2 { margin-bottom: 22px; }
.reference article + article { margin-top: 28px; }
.reference h3 { margin-bottom: 10px; font-size: 1.1rem; }
.reference article p { max-width: 800px; color: var(--muted); font-size: .92rem; }

@media (max-width: 700px) {
  :root { font-size: 14px; }
  .topbar, footer { padding-inline: 20px; gap: 16px; }
  .topbar nav { gap: 16px; }
  .brand img { display: none; }
  .content { padding-inline: 20px; }
  .hero { min-height: 280px; padding-block: 35px; }
  .intro { grid-template-columns: 1fr; gap: 22px; }
  .content > section { padding-block: 30px; }
  .guide-layout { grid-template-columns: 1fr; gap: 22px; }
  .categories { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .categories button { padding: 6px 9px; border-left: 0; border-bottom: 2px solid transparent; }
  .categories button[aria-pressed="true"] { border-bottom-color: var(--accent); }
  .search-label { width: 100%; }
  input { width: 100%; }
  .download-row { align-items: flex-start; padding: 14px; }
  .download-links { flex-direction: column; }
  .download-links .button { min-width: 110px; }
  .command-row { grid-template-columns: 1fr; gap: 6px; }
  footer { gap: 8px 20px; }
  footer > :nth-child(2) { order: 3; width: 100%; }
}
