@font-face {
  font-family: 'Oswald';
  src: url('/fonts/oswald-600.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
:root {
  --bg: #171310; --panel: #211b16; --rust: #cd5c2a; --rust-hot: #e8703a;
  --bone: #e8ddd0; --dim: #8a7f70; --line: #3a2f26;
}
* { box-sizing: border-box; margin: 0; }
body {
  background: var(--bg); color: var(--bone);
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  line-height: 1.5;
}
main { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; }
h1, h2, .verdict-value, button {
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  letter-spacing: 0.04em;
}
.hero { text-align: center; margin-bottom: 40px; }
.hero h1 { font-size: 64px; color: var(--bone); }
.hero h1 span { color: var(--rust); }
.tagline { font-size: 20px; color: var(--rust-hot); margin-top: 4px; }
.sub { color: var(--dim); max-width: 520px; margin: 12px auto 0; }
#check-form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
#steam-input {
  flex: 1 1 340px; padding: 14px 16px; font-size: 16px;
  background: var(--panel); color: var(--bone);
  border: 1px solid var(--line); border-radius: 8px;
}
#steam-input:focus { outline: 2px solid var(--rust); border-color: var(--rust); }
button {
  padding: 14px 22px; font-size: 16px; cursor: pointer;
  background: var(--rust); color: #fff; border: 0; border-radius: 8px;
  text-transform: uppercase;
}
button:hover { background: var(--rust-hot); }
.error { color: #e0655a; text-align: center; margin-top: 14px; }
#result { margin-top: 48px; }
.verdict { text-align: center; padding: 32px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.verdict-label { color: var(--dim); text-transform: uppercase; letter-spacing: 0.2em; font-size: 13px; }
.verdict-value { font-size: 84px; color: var(--rust); text-transform: uppercase; line-height: 1.1; }
.verdict-note { color: var(--dim); font-size: 14px; }
.fingerprint { text-align: center; margin-top: 32px; }
.fingerprint h2 { color: var(--bone); margin-bottom: 12px; }
#fp-canvas { max-width: 100%; height: auto; }
.fingerprint .note { color: var(--dim); font-size: 14px; max-width: 460px; margin: 10px auto 0; }
.share { text-align: center; margin-top: 28px; }
#share-done { color: var(--rust-hot); margin-left: 12px; }
.gallery { margin-top: 64px; }
.gallery h2 { color: var(--bone); }
.gallery p { color: var(--dim); margin: 8px 0 16px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-grid figure { margin: 0; }
.gallery-grid img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block;
  border-radius: 8px; border: 1px solid var(--line);
}
.gallery-grid figcaption { color: var(--dim); font-size: 12px; margin-top: 6px; text-align: center; }
footer { margin-top: 72px; text-align: center; color: var(--dim); font-size: 13px; }
footer p { margin-top: 6px; }
@media (max-width: 560px) {
  .hero h1 { font-size: 44px; }
  .verdict-value { font-size: 56px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
