* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid #252525;
}

.brand {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible,
nav a[aria-current="page"] {
  color: #c7a86c;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 12px 40px;
}

h1 {
  margin: 0 0 8px;
  font-size: 22px;
}

#status,
.credit {
  color: #aaa;
  font-size: 13px;
}

#game {
  max-width: 100%;
  min-height: 563px;
  overflow: auto;
  background: #050505;
}

#game cheerpj-applet {
  display: block;
  width: 765px;
  height: 563px;
}

.credit a {
  color: inherit;
}

@media (max-width: 560px) {
  header {
    flex-direction: column;
    gap: 14px;
    padding: 18px 12px;
  }

  nav {
    gap: 18px;
  }
}
