:root {
  color-scheme: dark;
  --white: #f5f7fc;
  --gold: #ffd173;
  --muted: #bdc9d8;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font: 16px/1.35 "Segoe UI", Arial, sans-serif;
  color: var(--white);
  background: #101722 url("assets/rockford-ingame.jpg") center 44% / cover no-repeat;
}
.screen {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  padding: clamp(24px, 5vh, 58px) clamp(24px, 5.7vw, 120px);
  padding-bottom: max(112px, 10vh);
  background: linear-gradient(90deg, rgba(7, 16, 27, .92), rgba(7, 16, 27, .49) 49%, rgba(7, 16, 27, .15)),
              linear-gradient(0deg, rgba(7, 16, 27, .97), transparent 38%, transparent 79%, rgba(7, 16, 27, .4));
}
header { display: flex; align-items: center; gap: 17px; }
header img { width: clamp(42px, 4.2vw, 72px); height: auto; }
header strong { display: block; font-size: clamp(18px, 2vw, 33px); line-height: 1.03; letter-spacing: .04em; }
header small { display: block; margin-top: 7px; color: var(--gold); font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.hero { padding: 22px 0 35px; }
.hero h1 { margin: 0; font-size: clamp(48px, 8.6vw, 164px); line-height: .96; letter-spacing: -.048em; font-weight: 800; text-shadow: 0 4px 30px rgba(0,0,0,.34); }
.hero h1 span { color: var(--gold); }
.hero p { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 0; color: var(--muted); font-size: clamp(12px, 1.1vw, 18px); font-weight: 600; }
.hero p span[aria-hidden] { color: var(--gold); }
.loading-heading, .details { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.loading-heading { margin-bottom: 11px; font-size: clamp(14px, 1.3vw, 22px); }
.numbers { display: flex; align-items: baseline; gap: 14px; white-space: nowrap; }
#counter { font-size: 11px; color: var(--muted); letter-spacing: .08em; }
#percentage { color: var(--gold); font-size: 1.35em; font-variant-numeric: tabular-nums; }
.track { height: 6px; overflow: hidden; border-radius: 5px; background: #526275; }
#progress { width: 0; height: 100%; border-radius: inherit; background: var(--gold); transition: width .18s ease; }
.is-indeterminate #progress { width: 27%; animation: connecting 1.8s ease-in-out infinite; }
@keyframes connecting { from { transform: translateX(-101%); } to { transform: translateX(371%); } }
.details { margin-top: 12px; min-height: 26px; color: var(--muted); font-size: clamp(11px, .9vw, 15px); }
#file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tip { display: inline-flex; align-items: center; gap: 10px; text-align: right; }
kbd { padding: 2px 6px; border: 1px solid #677788; border-radius: 4px; color: var(--white); font: inherit; }
@media (max-width: 700px) {
  .tip { display: none; }
  .hero h1 { font-size: clamp(48px, 12vw, 90px); }
}
@media (max-height: 720px) {
  .hero h1 { font-size: clamp(42px, 12vh, 86px); }
}
@media (prefers-reduced-motion: reduce) {
  .is-indeterminate #progress { animation: none; }
  #progress { transition: none; }
}

