:root {
  color-scheme: dark;
  --background: #111111;
  --text: #dededb;
  --muted: #93938f;
  --accent: #e76868;
  --border: #292929;
  --sans: Arial, Helvetica, sans-serif;
  --mono: "Cascadia Code", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { position: relative; isolation: isolate; margin: 0; background: var(--background); color: var(--text); -webkit-font-smoothing: antialiased; }
.site-header,
main {
  position: relative;
  z-index: 1;
}
.shot-band {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 50%;
  width: 100%;
  max-width: 1100px;
  height: 280px;
  overflow: hidden;
  pointer-events: none;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 25%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 25%, transparent 100%);
}
.shot-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--background), rgba(17, 17, 17, 0) 16%, rgba(17, 17, 17, 0) 84%, var(--background));
}
.shot-band-row {
  position: absolute;
  top: 18px;
  right: -3%;
  left: -3%;
  display: flex;
  justify-content: center;
  -webkit-perspective: 1100px;
  perspective: 1100px;
}
.shot-band-frame {
  display: block;
  position: relative;
  width: 37%;
  border: 1px solid #363030;
  background: #141212;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .5);
}
.shot-band-frame + .shot-band-frame { margin-left: -3%; }
.shot-band-frame:nth-child(2) { z-index: 1; }
.shot-band-pic {
  display: block;
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
}
.shot-band-pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  -webkit-filter: brightness(.72) saturate(.7);
  filter: brightness(.72) saturate(.7);
}
@media (min-width: 761px) {
  @supports (transform: perspective(1px) rotateY(1deg)) {
    .shot-band-frame:first-child {
      transform: rotateY(22deg);
      transform-origin: 0 50%;
    }
    .shot-band-frame:nth-child(2) {
      transform: rotateX(14deg);
      transform-origin: 50% 100%;
    }
    .shot-band-frame:last-child {
      transform: rotateY(-22deg);
      transform-origin: 100% 50%;
    }
  }
}
@media (max-width: 760px) {
  .shot-band { height: 210px; }
  .shot-band-row {
    right: -12%;
    left: -12%;
  }
  .shot-band-frame { width: 40%; }
}
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 2px; }
.site-header { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; max-width: 960px; margin: 0 auto; padding: 29px 0; }
.wordmark { font: 700 15px var(--sans); text-decoration: none; letter-spacing: -.25px; }
.site-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.site-tabs a { padding: 6px 12px; border-bottom: 2px solid transparent; color: var(--muted); font: 700 13px/1.2 var(--mono); letter-spacing: .3px; text-decoration: none; }
.site-tabs a:hover { color: var(--text); }
.site-tabs a[aria-current="page"] { border-bottom-color: var(--accent); color: var(--text); }
main { max-width: 960px; margin: 0 auto; }
.download-area { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: min(100%, 900px); margin: 112px auto 14px; }
.jailbreak-note { width: min(100%, 900px); margin: 0 auto 42px; padding: 11px 16px; border: 1px solid #363030; border-left: 2px solid var(--accent); background: #141212; color: var(--muted); font-size: 14px; text-align: center; }
.jailbreak-note strong { color: var(--text); }
.jailbreak-note a { color: var(--accent); white-space: nowrap; }
.console-panel, .sprx-panel { width: min(100%, 900px); margin: -26px auto 42px; padding: 16px 20px 18px 24px; border: 1px solid #363030; background: #141212; }
.sprx-panel { margin-top: -26px; border-top: 2px solid var(--accent); }
.console-panel[hidden], .sprx-panel[hidden], .console-button[hidden], .console-hint[hidden], .sprx-changelog[hidden], .sprx-steps[hidden] { display: none; }
.console-panel h2, .sprx-panel h2 { margin: 0; font-size: 16px; }
.console-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.console-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.console-badge { padding: 3px 8px; border: 1px solid #3b3b3b; border-radius: 3px; background: #191919; color: var(--muted); font: 11px/1.5 var(--mono); }
.console-badge::before { content: "○ "; }
.console-badge[data-state="ok"] { border-color: var(--accent); background: #2a1a1a; color: var(--text); }
.console-badge[data-state="ok"]::before { content: "● "; color: var(--accent); }
.console-badge[data-state="warn"] { border-color: #6b5a2e; color: #d9c48a; }
.console-badge[data-state="warn"]::before { content: "! "; }
.console-badge[data-state="pending"] { border-style: dashed; color: var(--text); }
.console-badge[data-state="pending"]::before { content: "… "; }
.console-detail { margin: 10px 0 0; color: var(--muted); font: 13px/1.5 var(--sans); }
.console-hint { margin: 6px 0 0; color: var(--muted); font: 11px/1.6 var(--mono); overflow-wrap: anywhere; }
.console-button { margin-top: 12px; padding: 7px 12px; border: 1px solid #3b3b3b; border-radius: 3px; background: #191919; color: var(--text); font: 12px var(--mono); cursor: pointer; }
.console-button:hover { border-color: var(--accent); }
.console-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.console-button:disabled { color: var(--muted); cursor: progress; }
.sprx-note { margin: 8px 0 14px; color: var(--muted); font: 13px/1.55 var(--sans); }
.sprx-note strong { color: var(--text); }
.sprx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sprx-card { padding: 14px 16px; border: 1px solid #363030; background: #171515; }
.sprx-card .eyebrow { margin: 0 0 6px; }
.sprx-card h3 { margin: 0 0 6px; font: 700 17px/1.25 var(--sans); letter-spacing: -.3px; }
.sprx-meta { margin: 0 0 8px; color: var(--muted); font: 11px/1.6 var(--mono); }
.sprx-changelog { margin: 0 0 10px; padding-left: 16px; color: #aaa5a5; font: 12px/1.5 var(--sans); }
.sprx-changelog li { margin: 3px 0; }
.sprx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 10px; }
.sprx-load { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 14px; border: 1px solid var(--accent); border-radius: 3px; background: #2a1a1a; color: var(--text); font: 700 13px/1.3 var(--sans); text-align: left; cursor: pointer; }
.sprx-load span { color: var(--muted); font: 400 10px/1.4 var(--mono); letter-spacing: .4px; }
.sprx-load:hover { background: #3a2020; color: var(--text); }
.sprx-load:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sprx-load:disabled { border-color: #3b3b3b; background: #191919; color: var(--muted); cursor: progress; }
.sprx-steps { margin: 12px 0 0; padding: 0; list-style: none; font: 11px/1.55 var(--mono); }
.sprx-steps li { position: relative; margin: 4px 0; padding: 0 0 0 16px; color: var(--muted); overflow-wrap: anywhere; }
.sprx-steps li::before { content: "○"; position: absolute; left: 0; }
.sprx-steps li[data-state="pending"] { color: var(--text); }
.sprx-steps li[data-state="pending"]::before { content: "…"; }
.sprx-steps li[data-state="ok"] { color: var(--text); }
.sprx-steps li[data-state="ok"]::before { content: "●"; color: var(--accent); }
.sprx-steps li[data-state="warn"] { color: #d9c48a; }
.sprx-steps li[data-state="warn"]::before { content: "!"; }
.sprx-steps li[data-state="fail"] { color: #e79a9a; }
.sprx-steps li[data-state="fail"]::before { content: "×"; }
.sprx-steps li[data-state="diag"] { -webkit-user-select: all; user-select: all; color: var(--muted); }
.sprx-steps li[data-state="diag"]::before { content: "#"; }
.sprx-file { color: var(--muted); font: 11px var(--mono); }
.sprx-source { margin: 12px 0 0; color: var(--muted); font: 11px/1.6 var(--mono); }
.sprx-source a { color: var(--accent); }
.game-tag { display: inline-block; padding: 0 5px; border: 1px solid var(--accent); color: var(--accent); font: 10px/1.6 var(--mono); letter-spacing: 1px; vertical-align: 1px; }
.download-card { min-width: 0; display: flex; align-items: center; gap: 19px; padding: 20px 24px; border: 1px solid #363030; border-top: 2px solid var(--accent); background: #171515; text-decoration: none; transition: border-color .18s, background .18s; }
.download-card:hover { color: var(--text); background: #1c1818; border-color: var(--accent); }
.download-icon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 48px; color: var(--accent); }
.download-icon svg { width: 31px; height: 31px; }
.download-copy { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.eyebrow { font: 10px/1.5 var(--mono); letter-spacing: 1.4px; color: var(--muted); }
.download-copy strong { font: 700 21px/1.2 var(--sans); letter-spacing: -.4px; }
.download-detail { color: #aaa5a5; font: 11px/1.5 var(--mono); }
.download-stats { color: var(--muted); font: 11px/1.5 var(--mono); }
.changelog-jump-row { width: min(100%, 900px); margin: 0 auto 14px; text-align: center; }
.changelog-jump { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 16px; border: 1px solid #363030; background: #141212; color: var(--text); font: 700 13px/1.2 var(--mono); letter-spacing: .3px; text-decoration: none; transition: border-color .15s, color .15s; }
.changelog-jump svg { width: 12px; height: 12px; color: var(--accent); transition: transform .15s; }
.changelog-jump:hover, .changelog-jump:focus-visible { border-color: var(--accent); color: #fff; }
.changelog-jump:hover svg { transform: translateY(2px); }
.download-log { margin: 18px 0 8px; padding: 14px 16px 16px; border: 1px solid #363030; background: #141212; }
.download-log-status { margin: 0; color: var(--muted); font: 12px/1.6 var(--mono); }
.download-log-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; margin-top: 10px; }
.download-log-grid[hidden], .download-log-status[hidden] { display: none; }
.download-log-file { min-width: 0; }
.download-log-file h4 { margin: 0 0 8px; font: 700 15px/1.3 var(--sans); }
.download-log .changelog-text { font-size: 13px; }
.download-arrow { margin-left: auto; color: var(--accent); font: 25px var(--sans); }
.article-layout { position: relative; display: grid; grid-template-columns: minmax(0, 740px) 190px; gap: 30px; align-items: start; }
.article-layout::before { content: ""; pointer-events: none; position: absolute; z-index: -1; left: -58px; top: -30px; width: 245px; height: 270px; opacity: .36; background-image: radial-gradient(circle, #3a3a3a 1px, transparent 1.5px); background-size: 8px 8px; mask-image: linear-gradient(to right, #000, transparent), linear-gradient(to bottom, #000, transparent); mask-composite: intersect; }
article { min-width: 0; font: 17px/1.48 Georgia, "Times New Roman", serif; }
.article-header { margin-bottom: 22px; }
.article-kicker { margin: 0 0 10px; color: var(--accent); }
h1 { margin: 0 0 17px; font: 700 30px/1.2 var(--sans); letter-spacing: -.7px; }
.short-rule { width: 105px; border-bottom: 3px solid #202020; margin-top: 15px; }
section { margin-bottom: 24px; }
h2 { position: relative; margin: 0 0 8px; font: 700 19px/1.3 var(--sans); letter-spacing: -.4px; }
h2 > a { text-decoration: none; }
section h2::before { content: "#"; color: var(--accent); position: absolute; left: -17px; font-weight: 600; }
p { margin: 0 0 14px; }
strong { font-weight: 700; }
ul, ol { padding-left: 23px; margin: 12px 0 16px; }
li { padding-left: 3px; margin: 7px 0; }
li::marker { color: var(--muted); }
.feature-tree { --guide: #4a4343; margin: 14px 0 18px; padding: 0; list-style: none; }
.feature-tree ul { margin: 3px 0 0; padding: 0 0 0 6px; list-style: none; }
.feature-tree li { margin: 0; padding: 0; overflow-wrap: anywhere; }
.feature-tree > li { margin-bottom: 14px; }
.feature-tree > li:last-child { margin-bottom: 0; }
.feature-tree > li > strong { color: var(--accent); font: 700 13px/1.6 var(--mono); letter-spacing: .4px; }
.feature-tree li li { position: relative; padding: 3px 0 3px 24px; font-size: 16px; line-height: 1.5; }
.feature-tree li li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; border-left: 1px solid var(--guide); }
.feature-tree li li::after { content: ""; position: absolute; left: 0; top: calc(3px + .75em); width: 15px; border-top: 1px solid var(--guide); }
.feature-tree li li:last-child::before { bottom: auto; height: calc(3px + .75em); }
.menu-bind { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 16px; color: var(--muted); font: 700 13px/1.2 var(--mono); letter-spacing: .4px; }
.menu-bind-label { color: var(--text); text-transform: uppercase; }
.ps-btn { display: inline-flex; align-items: center; justify-content: center; height: 26px; padding: 0 9px; border: 1px solid #4a4343; border-radius: 6px 6px 3px 3px; background: linear-gradient(#262222, #171515); color: var(--text); font: 700 12px/1 var(--mono); }
.ps-dpad { width: 26px; height: 26px; }
.ps-dpad .arm { fill: #262222; stroke: #4a4343; stroke-width: 1; }
.ps-dpad .arm-up { fill: var(--accent); stroke: var(--accent); }
.ps-plus { color: var(--muted); }
.menu-trees { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.menu-panel-title { margin: 0 0 10px; font: 700 15px/1.3 var(--sans); }
.changelog { margin: 18px 0 8px; padding: 14px 16px 16px; border: 1px solid #363030; background: #141212; }
.changelog > :last-child { margin-bottom: 0; }
.changelog-title { margin: 0 0 6px; font: 700 16px/1.3 var(--sans); }
.changelog-title a { text-decoration: none; }
.menu-tree { margin: 0; }
.menu-tree > li { margin-bottom: 10px; }
.menu-tree ul { margin-top: 1px; padding-left: 4px; }
.menu-tree li li { padding: 1px 0 1px 18px; color: var(--text); font: 12px/1.5 var(--mono); letter-spacing: .2px; }
.menu-tree li li::after { top: calc(1px + .75em); width: 11px; }
.menu-tree li li:last-child::before { height: calc(1px + .75em); }
.menu-tree .game-tag { margin-left: 2px; padding: 0 4px; font-size: 9px; }
.menu-section { color: #c9c4c4; font-weight: 700; }
.row-note { display: block; color: var(--muted); font: 12px/1.45 var(--sans); letter-spacing: 0; }
.game-tag.bo1 { border-color: #c9a86a; color: #c9a86a; }
.changelog-status { margin: 0 0 12px; color: var(--muted); font: 12px/1.6 var(--mono); }
.changelog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin: 14px 0 12px; }
.changelog-menu { min-width: 0; }
.changelog-menu h4 { margin: 0 0 4px; font: 700 15px/1.3 var(--sans); }
.changelog-meta { margin: 0 0 12px; color: var(--muted); font: 11px/1.6 var(--mono); }
.changelog-timeline { margin: 0; padding: 0; list-style: none; }
.changelog-item { position: relative; margin: 0; padding: 0 0 12px 16px; border-left: 1px solid #4a4343; }
.changelog-item:last-child { padding-bottom: 0; border-left-color: transparent; }
.changelog-item::before { content: ""; position: absolute; left: -4px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: #4a4343; }
.changelog-item:first-child::before { background: var(--accent); }
.changelog-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; color: var(--muted); font: 11px/1.6 var(--mono); }
.changelog-kind { padding: 0 5px; border: 1px solid #3b3b3b; border-radius: 3px; color: var(--text); font-size: 10px; letter-spacing: .5px; }
.changelog-kind[data-kind="release"] { border-color: var(--accent); color: var(--accent); }
.changelog-version { color: var(--text); }
.changelog-text { margin: 4px 0 0; font-size: 14px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.changelog-text.is-empty { color: var(--muted); font-style: italic; }
.changelog-empty, .changelog-more { margin: 0; color: var(--muted); font: 12px/1.6 var(--mono); }
.changelog-more { margin-top: 8px; }
.changelog-source { color: var(--muted); font: 12px/1.6 var(--mono); }
.changelog-source a { color: var(--accent); }
code { font: .8em/1.5 var(--mono); color: #d8b9b9; overflow-wrap: anywhere; }
.game-support { width: 100%; margin: 14px 0 18px; border-collapse: collapse; font-size: 14px; text-align: left; }
.game-support caption { padding-bottom: 8px; text-align: left; color: var(--muted); font: 11px/1.5 var(--mono); }
.game-support th, .game-support td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.game-support thead th { color: var(--muted); font: 11px/1.5 var(--mono); }
.game-support tbody th { font: 700 14px/1.5 var(--sans); }
.support-note { color: var(--muted); font-size: 15px; }
.offhost-video { margin: 22px 0; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: #171717; }
.offhost-video iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; color-scheme: light; }
.offhost-video figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; padding: 12px 16px; color: var(--muted); font: 10px/1.6 var(--mono); letter-spacing: .4px; }
.offhost-video figcaption a { color: var(--text); text-decoration: none; }
.offhost-video figcaption a:hover { color: var(--accent); }
/* Off-host screenshot gallery. Links remain usable as full-size image fallbacks without JavaScript. */
.shot-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; width: 100%; max-width: 740px; margin: 22px auto 8px; }
.shot { min-width: 0; margin: 0; border: 1px solid #363030; background: #151414; }
.shot-frame { display: block; overflow: hidden; border-bottom: 1px solid #363030; background: #0d0d0d; }
.shot-frame img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center top; transition: transform .18s, filter .18s; }
.shot-frame:hover img { transform: scale(1.018); filter: brightness(1.08); }
.shot-note { max-width: 740px; margin: 0 auto 22px; color: var(--muted); font: 10px/1.6 var(--mono); letter-spacing: .4px; }
.shot figcaption { min-height: 58px; margin: 0; padding: 9px 11px 10px; color: var(--muted); font: 10px/1.5 var(--mono); letter-spacing: .4px; }
.shot figcaption b { display: block; margin-bottom: 2px; color: var(--text); text-transform: uppercase; }
body.gallery-open { overflow: hidden; }
.gallery-lightbox { position: fixed; z-index: 1000; top: 0; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: center; padding: 20px 76px; background: #070606; }
.gallery-lightbox[hidden] { display: none; }
.gallery-shell { display: flex; flex-direction: column; align-items: stretch; max-width: 100%; max-height: 100%; }
.gallery-image { display: block; width: auto; height: auto; max-width: calc(100vw - 176px); max-height: calc(100vh - 132px); margin: auto; object-fit: contain; background: #080808; box-shadow: 0 18px 60px rgba(0, 0, 0, .7); }
.gallery-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; width: 100%; margin-top: 12px; color: var(--text); font: 11px/1.5 var(--mono); }
.gallery-caption { margin: 0; }
.gallery-counter { flex: 0 0 auto; color: var(--muted); }
.gallery-control { position: fixed; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; border: 1px solid #4a4343; border-radius: 2px; background: #171515; color: var(--text); font: 26px/1 var(--sans); cursor: pointer; }
.gallery-control:hover { border-color: var(--accent); background: #2a1a1a; color: #fff; }
.gallery-control:focus { outline: 2px solid var(--accent); outline-offset: 3px; }
.gallery-close { top: 18px; right: 18px; font-size: 24px; }
.gallery-prev, .gallery-next { top: 50%; transform: translateY(-50%); }
.gallery-prev { left: 18px; }
.gallery-next { right: 18px; }
/* The aside spans the article's row so its contents can stay in view. */
.article-meta { align-self: stretch; padding-top: 98px; }
.meta-sticky { position: -webkit-sticky; position: sticky; top: 24px; }
.toc { margin-bottom: 26px; }
.toc h2 { margin: 0 0 8px; color: var(--accent); font: 11px/1.5 var(--mono); letter-spacing: 1px; }
.toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--border); }
.toc li { margin: 0; }
.toc a { display: block; margin-left: -1px; padding: 4px 0 4px 11px; border-left: 2px solid transparent; color: var(--muted); font: 13px/1.35 var(--sans); text-decoration: none; }
.toc a:hover, .toc a:focus { color: var(--text); }
.toc li.is-current a { border-left-color: var(--accent); color: var(--text); }
.toc li[hidden], body.jailbroken .toc li[data-target="connection"], body.jailbroken .toc li[data-target="features"] { display: none; }
.tags { font: 11px/1.7 var(--mono); color: var(--muted); white-space: nowrap; }
.tags span { color: var(--accent); }
.meta-block { margin-top: 29px; }
.meta-block h2 { margin-bottom: 6px; color: var(--accent); font: 11px/1.5 var(--mono); letter-spacing: 1px; }
.meta-block p { font: 14px/1.45 Georgia, serif; }
.donations { margin-top: 34px; }
.donations > p { color: var(--muted); font-size: 16px; }
.wallet { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.currency { color: var(--accent); font: 12px var(--mono); }
.wallet-address { color: var(--text); font-size: 12px; user-select: all; }
.copy-address { padding: 6px 9px; border: 1px solid #3b3b3b; border-radius: 3px; background: #191919; color: var(--muted); font: 11px var(--mono); cursor: pointer; }
.copy-address:hover { color: var(--text); border-color: var(--accent); }
.copy-address:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.donations .copy-status { min-height: 1.6em; margin: 10px 0 0; color: var(--muted); font: 11px/1.6 var(--mono); }
.article-footer { margin-top: 38px; padding: 22px 0; border-top: 1px solid var(--border); color: var(--muted); font: 11px/1.8 var(--mono); }
.youtube-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px 20px; width: min(100%, 640px); margin: 0 auto 24px; padding: 20px 22px; text-align: left; border: 1px solid #ffffff12; border-radius: 16px; background: linear-gradient(135deg, #2a1a1acc, #181616 55%), #171717; box-shadow: 0 1px 0 #ffffff0d inset, 0 16px 40px #0005; }
.youtube-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--accent); }
.youtube-copy { min-width: 0; }
.youtube-card-label { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font: 10px/1.5 var(--mono); letter-spacing: 2px; }
.youtube-card-label svg { width: 18px; height: 18px; }
.youtube-card h2 { margin: 4px 0 4px; color: var(--text); font: 700 22px/1.2 var(--sans); letter-spacing: -.5px; }
.youtube-handle { margin: 0; color: var(--muted); font: 12px/1.5 var(--sans); }
.youtube-actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.youtube-subscribe { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: 999px; background: #f2f2f2; color: #0f0f0f; font: 700 14px/1 var(--sans); text-decoration: none; transition: background .18s, transform .18s; }
.youtube-subscribe svg { width: 16px; height: 16px; }
.youtube-subscribe:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }
.youtube-subscribe:focus-visible { outline-offset: 3px; border-radius: 999px; }
.youtube-channel { padding: 7px 14px; border: 1px solid #ffffff1f; border-radius: 999px; color: var(--text); font: 12px/1 var(--sans); text-align: center; text-decoration: none; transition: border-color .18s; }
.youtube-channel:hover { border-color: var(--accent); }
.back-top { display: inline-block; margin-top: 12px; color: var(--text); }
.site-footer { max-width: 960px; margin: 40px auto 0; padding: 22px 0 30px; border-top: 1px solid #222; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font: 10px var(--mono); letter-spacing: .5px; }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 12px; background: #222; z-index: 5; font: 14px var(--sans); }
.skip-link:focus { top: 10px; }
@media (min-width: 1400px) {
  .site-header, main, .site-footer { transform: translateX(60px); }
}
@media (max-width: 1100px) {
  .site-header, main, .site-footer { margin-left: 55px; margin-right: 40px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 170px; gap: 30px; }
}
@media (max-width: 900px) {
  .changelog-grid, .menu-trees { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .site-header, main, .site-footer { margin-left: 30px; margin-right: 24px; }
  .site-header { padding: 25px 0; }
  .download-area { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 16px; margin-bottom: 12px; }
  .jailbreak-note { margin-bottom: 32px; font-size: 13px; }
  .console-panel, .sprx-panel { margin-top: -18px; margin-bottom: 32px; padding: 14px 14px 16px 22px; }
  .sprx-grid { grid-template-columns: minmax(0, 1fr); }
  .download-log { padding: 12px 14px 14px; }
  .download-log-grid { grid-template-columns: minmax(0, 1fr); }
  .download-card { flex-direction: column; gap: 10px; padding: 16px 12px; text-align: center; }
  .download-icon { flex-basis: 30px; width: 30px; height: 30px; }
  .download-icon svg { width: 26px; height: 26px; }
  .download-copy strong { min-height: 2.4em; font-size: 16px; }
  .download-copy .eyebrow { font-size: 9px; letter-spacing: .5px; }
  .download-detail { font-size: 10px; }
  .download-arrow { display: none; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-meta { display: none; }
  .article-layout::before { left: -24px; width: 190px; }
  h1 { font-size: 28px; }
  article { font-size: 17px; }
  section h2::before { left: -16px; }
  .site-footer { margin-top: 20px; }
  .youtube-card { grid-template-columns: auto minmax(0, 1fr); padding: 18px; }
  .youtube-avatar { width: 56px; height: 56px; }
  .youtube-actions { grid-column: 1 / -1; flex-direction: row; }
  .youtube-actions a { flex: 1; }
  .shot-row { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .shot { width: 100%; }
  .gallery-lightbox { padding: 12px; }
  .gallery-image { max-width: calc(100vw - 24px); max-height: calc(100vh - 132px); }
  .gallery-meta { gap: 12px; padding: 0 4px; }
  .gallery-close { top: 12px; right: 12px; }
  .gallery-prev { left: 12px; }
  .gallery-next { right: 12px; }
}
@media (max-width: 420px) {
  .eyebrow { font-size: 9px; letter-spacing: 1px; }
  h1 { font-size: 26px; }
  .feature-tree:not(.menu-tree) li li { padding-left: 20px; font-size: 15px; }
  .feature-tree:not(.menu-tree) li li::after { width: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .download-card { transition: none; }
  .youtube-subscribe, .youtube-channel { transition: none; }
  .youtube-subscribe:hover { transform: none; }
  .shot-frame img { transition: none; }
  .shot-frame:hover img { transform: none; }
}
/* Jailbroken PS4: the download cards give way to direct Load SPRX cards. */
.download-area[hidden] { display: none; }
.load-card { width: 100%; font: inherit; color: var(--text); text-align: left; cursor: pointer; }
.load-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.load-card:disabled { opacity: .6; cursor: progress; }
@media (max-width: 760px) { .load-card { text-align: center; } }
/* Under each Load card: one row per menu (Multiplayer, Zombies) with a tick
   box for Load, the console's state for that menu (from the keeper's
   GET /menus) and its own Update / Uninstall buttons. The native box stays
   focusable for the controller; the drawn box follows it. */
.load-slot { min-width: 0; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column; }
.load-slot .load-card { -webkit-box-flex: 1; -webkit-flex: 1 1 auto; flex: 1 1 auto; }
.load-card[aria-disabled="true"] { opacity: .6; cursor: default; }
.load-parts { border: 1px solid #363030; border-top: 0; background: #121010; }
.load-part { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; min-height: 40px; padding: 5px 12px 5px 16px; }
.load-part + .load-part { border-top: 1px solid #241f1f; }
.load-pick { position: relative; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; width: 116px; -webkit-flex-shrink: 0; flex-shrink: 0; color: var(--text); font: 600 13px/1.2 var(--sans); cursor: pointer; }
.load-pick input { position: absolute; left: 0; top: 50%; width: 16px; height: 16px; margin: -8px 0 0; opacity: 0; cursor: pointer; }
.load-pick span::before { content: ""; display: inline-block; box-sizing: border-box; width: 16px; height: 16px; margin-right: 10px; vertical-align: -3px; border: 1px solid #5c5050; background: #171515; }
.load-pick input:checked + span::before { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px #171515; }
.load-pick input:focus + span::before { outline: 2px solid var(--accent); outline-offset: 2px; }
.load-pick input:disabled + span { color: #6b6262; cursor: default; }
.load-pick input:disabled + span::before { border-color: #3a3333; background: #141212; }
.load-part-state { -webkit-box-flex: 1; -webkit-flex: 1 1 auto; flex: 1 1 auto; min-width: 0; overflow: hidden; color: var(--muted); font: 11px/1.4 var(--mono); white-space: nowrap; text-overflow: ellipsis; }
.load-part-state[data-kind="current"] { color: #6fcf8a; }
.load-part-state[data-kind="update"], .load-part-state[data-kind="replace"], .load-part-state[data-kind="enable"] { color: #e2b55c; }
.load-part-action { -webkit-flex-shrink: 0; flex-shrink: 0; margin-left: 6px; padding: 6px 10px; border: 1px solid #3a3232; background: transparent; color: #d8cfcf; font: 600 12px/1.2 var(--sans); cursor: pointer; }
.load-part-action[data-update] { border-color: var(--accent); color: var(--text); }
.load-part-action:hover, .load-part-action:focus { border-color: var(--accent); background: #1c1818; color: var(--text); }
.load-part-action:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.load-part-action:disabled { opacity: .6; cursor: progress; }
.load-part-action[hidden] { display: none; }
@media (max-width: 760px) { .load-pick { width: 108px; } .load-part { padding-left: 12px; padding-right: 10px; } }
.load-clear { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; margin-top: 8px; color: var(--muted); font: 700 12px/1.3 var(--sans); cursor: pointer; }
.load-clear input { -webkit-appearance: none; appearance: none; box-sizing: border-box; width: 15px; height: 15px; margin: 0 8px 0 0; border: 1px solid #5c5050; background: #171515; cursor: pointer; }
.load-clear input:checked { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px #171515; }
.load-clear input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.load-clear input:disabled { border-color: #3a3333; background: #141212; cursor: default; }
.load-clear-note { display: none; width: min(100%, 900px); margin: -6px auto 42px; color: var(--muted); font: 11px/1.6 var(--mono); text-align: center; }
body.jailbroken .load-clear-note { display: block; }
/* Load SPRX progress modal (PS4): opened by the Load cards. Explicit edges and
   a fixed box size instead of `inset`/`min()`, which older PS4 WebKit lacks
   (the box then sat in the page flow near the bottom). The step list scrolls
   inside the box; the box itself keeps one size for the whole install. */
.load-modal { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 900; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; padding: 24px; background: rgba(6, 5, 5, .86); }
.load-modal[hidden] { display: none; }
.load-modal-box { box-sizing: border-box; width: 640px; max-width: 100%; height: 420px; max-height: 100%; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column; padding: 20px 22px; border: 1px solid #363030; border-top: 2px solid var(--accent); background: #171515; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.load-modal-box h2 { margin: 0 0 12px; font: 700 18px/1.3 var(--sans); }
.load-modal-steps { -webkit-box-flex: 1; -webkit-flex: 1 1 auto; flex: 1 1 auto; min-height: 0; margin: 0; overflow-y: auto; }
.load-modal-actions { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-pack: end; -webkit-justify-content: flex-end; justify-content: flex-end; margin-top: 14px; }
body.modal-open { overflow: hidden; }
.changelog-jump-row[hidden], .jailbreak-note[hidden] { display: none; }
body.jailbroken .load-area { margin-bottom: 42px; }
body.jailbroken .article-header[hidden], body.jailbroken #connection[hidden], body.jailbroken #features[hidden], body.jailbroken #releases[hidden] { display: none; }
