@font-face {
  font-family: Game;
  src: url('assets/PressStart2P-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --body: #1a1a1d;
  --panel: #222226;
  --line: #3d3d43;
  --bronze: #6a5628;
  --gold: #ffd54a;
  --text: #d1d1d9;
  --muted: #aaaab5;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  padding-top: 32px;
  background: #111113;
  color: var(--text);
  font: 11px/2.1 Game, monospace;
  font-synthesis: none;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0;
  font-kerning: none;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border-radius: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, p { margin: 0; }
h1, h2 { font-weight: 400; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
img { display: block; max-width: 100%; }
.preview-label { max-width: 1280px; margin: 40px auto 14px; padding: 0 2px; font-size: 10px; color: #aaaab5; }
.site-window { max-width: 1280px; margin: 0 auto; padding: 0 26px 28px; background: var(--body); border: 1px solid var(--bronze); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 116px; border-bottom: 1px solid #55492e; }
.brand { display: flex; align-items: center; gap: 18px; color: var(--gold); }
.brand h1 { font-size: 24px; line-height: 1.5; white-space: nowrap; }
.brand img { width: 88px; height: auto; flex-shrink: 0; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.server-status { display: flex; align-items: center; gap: 10px; font-size: 10px; color: var(--muted); }
.status-dot { width: 8px; height: 8px; flex: 0 0 auto; background: #9898a3; }
.server-status[data-state="online"] { color: #b5e1b4; }
.server-status[data-state="online"] .status-dot { background: #85c880; }
.server-status[data-state="offline"] { color: #e5b3ac; }
.server-status[data-state="offline"] .status-dot { background: #c57e73; }
.button, .tab { display: inline-flex; align-items: center; justify-content: center; padding: 9px 12px; min-height: 40px; border: 1px solid var(--line); background: var(--panel); font-size: 10px; line-height: 1.8; white-space: nowrap; }
.button:hover, .tab:hover { background: #2c2c30; color: #fff; }
main { display: grid; grid-template-columns: 332px minmax(0, 1fr); align-items: start; gap: 24px; padding-top: 28px; }
.intro-panel { padding: 23px 20px 20px; background: #1d1d21; border: 1px solid var(--line); }
.about-copy h2 { font-size: 12px; color: var(--gold); margin-bottom: 20px; }
.about-copy p { font-size: 11px; line-height: 2.15; }
.about-copy p + p { margin-top: 15px; }
.download-content { margin-top: 30px; }
.primary-button { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 51px; padding: 10px; border: 1px solid #d3ae45; background: #2a2410; color: var(--gold); font-size: 11px; line-height: 1.8; }
.primary-button:hover { background: #3a3115; color: #ffe585; }
.primary-button svg { width: 17px; height: 17px; flex-shrink: 0; }
.platform, .download-size { text-align: center; font-size: 10px; color: var(--muted); line-height: 2; }
.platform { margin-top: 14px; }
.download-size { margin-top: 3px; }
.account-note { margin-top: 17px; font-size: 10px; line-height: 2.1; color: var(--text); }
.alpha-note { margin-top: 23px; padding-top: 17px; border-top: 1px solid #4d442f; font-size: 10px; color: var(--muted); line-height: 2.1; }
.alpha-note span { display: block; margin-bottom: 6px; color: var(--gold); }
.gallery-panel { min-width: 0; border: 1px solid var(--line); background: #1d1d21; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 46px; padding: 10px 15px; border-bottom: 1px solid #55492e; }
.panel-heading h2 { color: var(--gold); font-size: 11px; }
.panel-heading > span { font-size: 10px; color: var(--muted); }
.screenshot-button { display: block; position: relative; width: 100%; padding: 0; border: 0; background: #121214; cursor: zoom-in; }
.screenshot-button > img { width: 100%; height: auto; }
.enlarge-label { position: absolute; bottom: 12px; right: 12px; padding: 6px 9px; border: 1px solid #68625a; background: #151517f0; color: #e4e4eb; font-size: 10px; line-height: 1.8; }
.gallery-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; min-height: 62px; border-top: 1px solid var(--line); }
.gallery-bottom p { font-size: 10px; }
.arrows { display: flex; gap: 7px; }
.arrows button, .dialog-controls button { min-width: 40px; min-height: 38px; padding: 7px 10px; border: 1px solid var(--line); background: var(--panel); font-size: 12px; line-height: 1.6; }
.arrows button:hover, .dialog-controls button:hover { color: var(--gold); border-color: #8b7136; }
.image-tabs { display: flex; flex-wrap: wrap; gap: 7px; padding: 12px; border-top: 1px solid var(--line); background: var(--body); }
.tab { padding: 8px 10px; }
.tab.selected { border-color: #d3ae45; background: #2a2410; color: var(--gold); }
.disclaimer { max-width: 1280px; margin: 20px auto 38px; text-align: center; font-size: 10px; line-height: 2.1; color: #a2a2ae; padding: 0 14px; }
dialog { width: min(1800px, 96vw); max-width: none; max-height: 96vh; margin: auto; padding: 0; background: var(--body); color: var(--text); border: 1px solid var(--bronze); }
dialog::backdrop { background: #000d; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; gap: 16px; border-bottom: 1px solid #55492e; }
.dialog-heading h2 { font-size: 12px; color: var(--gold); }
.dialog-controls { display: flex; gap: 8px; }
.dialog-stage { background: #121214; display: grid; place-items: center; padding: 8px; }
.dialog-stage img { max-height: calc(94vh - 95px); width: auto; object-fit: contain; }
@media (max-width: 1330px) {
  .preview-label, .site-window, .disclaimer { margin-left: 24px; margin-right: 24px; }
}
@media (max-width: 1120px) {
  .site-window { padding: 0 20px 22px; }
  .site-header { flex-wrap: wrap; padding: 22px 0; gap: 18px; }
  main { grid-template-columns: 300px minmax(0, 1fr); gap: 18px; padding-top: 22px; }
  .intro-panel { padding: 20px 16px; }
  .platform { font-size: 10px; }
}
@media (max-width: 900px) {
  main { display: flex; flex-direction: column; gap: 22px; }
  .intro-panel { display: grid; grid-template-columns: minmax(0, 1fr) 280px; column-gap: 28px; row-gap: 20px; width: 100%; padding: 22px; }
  .download-content { margin-top: 0; }
  .alpha-note { grid-column: 1 / -1; margin-top: 0; padding-top: 14px; }
  .alpha-note span { display: inline; margin-right: 12px; }
  .gallery-panel { width: 100%; }
}
@media (max-width: 680px) {
  .preview-label { margin: 20px 14px 12px; font-size: 10px; }
  .site-window { margin: 0 12px; padding: 0 16px 18px; }
  .site-header { padding: 22px 0; gap: 20px; }
  .brand { gap: 12px; }
  .brand img { width: 68px; }
  .brand h1 { font-size: 20px; }
  .header-actions { width: 100%; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .server-status { font-size: 10px; gap: 8px; }
  main { padding-top: 20px; gap: 20px; }
  .intro-panel { display: block; padding: 20px 16px; }
  .about-copy h2 { margin-bottom: 16px; }
  .about-copy p { font-size: 11px; }
  .download-content { margin-top: 24px; }
  .alpha-note { margin-top: 20px; }
  .alpha-note span { display: block; margin-bottom: 6px; }
  .gallery-bottom { padding: 10px; gap: 10px; }
  .gallery-bottom p { font-size: 10px; }
  .image-tabs { padding: 10px; }
  .enlarge-label { bottom: 8px; right: 8px; }
  .disclaimer { margin: 18px 14px 28px; text-align: left; padding: 0; font-size: 10px; }
  .dialog-heading { flex-wrap: wrap; padding: 10px; }
  .dialog-heading h2 { font-size: 11px; }
  .dialog-controls button { font-size: 10px; }
}
@media (max-width: 380px) {
  .brand h1 { font-size: 18px; }
  .brand img { width: 60px; }
}
