:root {
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", system-ui, sans-serif;
  color: #252e2a;
  background: #fffaf2;
  line-height: 1.5;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #38584b; }
button, input { font: inherit; }
button:focus-visible, input:focus-visible, a:focus-visible {
  outline: 3px solid #305d88;
  outline-offset: 4px;
}
.game-nav, .game-main {
  width: min(100% - clamp(28px, 7vw, 80px), 1000px);
  margin-inline: auto;
}
.game-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 1.2rem;
  padding-block: .7rem;
  border-block-end: 1px solid #e7dfd2;
}
.game-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.game-nav a:hover { text-decoration: underline; text-underline-offset: .22em; }
.game-nav .brand { color: #292e32; gap: .55rem; font-size: 1.25rem; font-weight: 800; letter-spacing: -.035em; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 1.85rem; height: 1.85rem;
  color: white; background: #e7675a;
  border-radius: .6rem; box-shadow: 0 3px 0 #b9443d;
  font: 800 1.12rem/1 "Trebuchet MS",sans-serif;
}
.game-nav nav { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.game-nav nav a { font-weight: 700; font-size: .92rem; }
.game-main { padding-block: 1rem 3rem; }
h1 {
  font-size: clamp(2.15rem, 5.5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -.045em;
  margin-block: 0 .45rem;
  overflow-wrap: anywhere;
}
:lang(ar) h1, :lang(hi) h1, :lang(th) h1 { letter-spacing: normal; line-height: 1.35; }
@media(max-width:540px) {
  .game-main { padding-block-start: .55rem; }
  .game-nav nav { column-gap: .8rem; }
  .game-nav nav a { font-size: .85rem; }
}
