:root {
  color-scheme: dark;
  font-family: Inter, system-ui, sans-serif;
  background: #151512;
  color: #f6edde;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px clamp(16px, 5vw, 72px);
  background: #22221d;
  border-bottom: 1px solid #454338;
  min-height: 60px;
}
header img {
  display: block;
  max-width: 145px;
  max-height: 44px;
}
nav,
form,
.section {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
a {
  color: #f2c779;
}
nav a,
header a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
main {
  max-width: 980px;
  margin: auto;
  padding: 32px 20px 64px;
}
h1 {
  font-size: clamp(30px, 5vw, 46px);
  margin: 8px 0 20px;
}
h2 {
  margin: 0 0 16px;
}
section,
.game {
  border: 1px solid #494538;
  border-radius: 10px;
  background: #23231e;
  padding: 24px;
  margin-bottom: 22px;
}
.game {
  display: grid;
  grid-template-columns: minmax(160px, 37%) 1fr;
  padding: 0;
  overflow: hidden;
  align-items: center;
}
.game > div {
  padding: 24px;
}
.cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 225px;
}
.meta {
  color: #c7bcaa;
  font-size: 0.92rem;
}
.section {
  justify-content: space-between;
}
form {
  align-items: end;
  gap: 12px;
}
label {
  display: grid;
  gap: 6px;
  font-size: 0.84rem;
  color: #e2d6c5;
}
input,
select,
button {
  font: inherit;
  border-radius: 5px;
  padding: 9px 11px;
  border: 1px solid #69604e;
  color: inherit;
  min-height: 40px;
  max-width: 100%;
}
input,
select {
  background: #191a16;
}
button {
  background: #f3c074;
  color: #252016;
  font-weight: 650;
  border-color: transparent;
  cursor: pointer;
}
.secondary {
  background: #39382f;
  color: #f2e5cb;
}
button:hover {
  filter: brightness(1.1);
}
.playing {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
}
.playing header {
  min-height: 42px;
  padding: 7px 16px;
  font-size: 0.9rem;
}
.playing iframe {
  border: 0;
  display: block;
  flex: 1;
  width: 100%;
  min-height: 0;
  background: #111;
}
@media (max-width: 650px) {
  .game {
    grid-template-columns: 1fr;
  }
  .cover {
    height: 180px;
    min-height: 0;
  }
  .game > div,
  section {
    padding: 18px;
  }
  header {
    gap: 12px;
  }
  nav {
    gap: 10px;
    font-size: 0.8rem;
  }
  main {
    padding: 20px 14px;
  }
  label {
    max-width: 100%;
  }
}
