@font-face {
  font-family: "Exo 2";
  src: url("fonts/exo2-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
  background: #000;
  color-scheme: dark;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
.page { width: min(100%, 496px); margin: 12vh auto 0; padding: 24px 28px 48px; }
header img { display: block; width: 320px; max-width: 100%; height: auto; }
header a { display: inline-block; }
main { margin-top: 36px; }
h1, h2 { font-family: "Exo 2", Arial, sans-serif; font-weight: 700; }
h1 { margin: 0 0 14px; font-size: 26px; }
.release-line { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 30px; font-size: 12px; line-height: 1.5; color: #aaa; }
a { color: #0cf57e; text-underline-offset: 3px; }
.release-line a { flex-shrink: 0; text-decoration: none; }
label { display: block; margin-bottom: 10px; font: 700 12px "Exo 2", Arial, sans-serif; color: #0cf57e; text-transform: uppercase; letter-spacing: 1px; }
select { width: 100%; min-height: 48px; padding: 14px 12px; border: 1px solid #444; border-radius: 4px; background: #101010; color: #fff; font: inherit; font-size: 14px; cursor: pointer; }
select:disabled { color: #888; cursor: default; }
.hint { min-height: 18px; margin: 10px 0 20px; font-size: 12px; line-height: 1.6; color: #aaa; }
.checkbox-row { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font: 400 12px Arial, Helvetica, sans-serif; color: #ccc; text-transform: none; letter-spacing: normal; cursor: pointer; }
.checkbox-row input { width: 16px; height: 16px; margin: 0; accent-color: #0cf57e; cursor: pointer; }
button { cursor: pointer; font: inherit; }
#install { width: 100%; padding: 15px; border: 0; border-radius: 4px; background: #0cf57e; color: #000; font: 700 14px "Exo 2", Arial, sans-serif; text-transform: uppercase; }
#install:hover:enabled { background: #65f5a1; }
#install:disabled { background: #182b20; color: #7b8c82; cursor: not-allowed; }
.secondary { display: flex; justify-content: center; gap: 20px; margin-top: 14px; font-size: 12px; }
.secondary:has([hidden] + [hidden]) { display: none; }
.text-button { padding: 0; background: none; border: 0; color: #0cf57e; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }
#status { margin: 16px 0 0; font-size: 12px; line-height: 1.7; color: #aaa; }
#status:empty { display: none; }
#status.error { color: #f0a18e; }
.compatibility { margin: 24px 0 0; font-size: 11px; color: #999; text-align: center; }
progress { width: 100%; height: 5px; margin-top: 18px; accent-color: #0cf57e; }
details { margin-top: 18px; font-size: 12px; color: #aaa; }
summary { cursor: pointer; }
pre { max-height: 180px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 11px; }
dialog { width: min(420px, calc(100% - 40px)); padding: 28px; border: 1px solid #444; border-radius: 6px; color: #fff; background: #101010; }
dialog::backdrop { background: #000b; }
dialog h2 { margin: 0 0 18px; font-size: 24px; }
dialog p { font-size: 13px; line-height: 1.7; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 26px; }
.dialog-actions button { padding: 12px 16px; border: 0; border-radius: 4px; color: #000; background: #0cf57e; font: 700 13px "Exo 2", Arial, sans-serif; }
.dialog-actions .cancel { background: #292929; color: #ddd; }
:focus-visible { outline: 2px solid #0cf57e; outline-offset: 4px; }
[hidden] { display: none !important; }
@media (max-width: 520px) { .page { margin-top: 5vh; padding: 24px 24px 40px; } }
