:root {
  color-scheme: dark;
  --ink: #11241b;
  --panel: #172f23;
  --gold: #dcc082;
  --cream: #f5ead1;
  --muted: #c2cbb7;
  --line: #c5a46b64;
  --serif: "Iowan Old Style", "Palatino Linotype", "Songti TC", Georgia, serif;
  font-family: system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at 34% 15%, #2c4434, transparent 62%), var(--ink);
  color: var(--cream);
  line-height: 1.55;
}
a { color: var(--gold); }
button, input { font: inherit; }
:focus-visible { outline: 2px solid #f8df9f; outline-offset: 4px; }
.game-shell { width: min(1120px, calc(100% - 56px)); margin-inline: auto; }
.game-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  min-height: 80px;
  border-bottom: 1px solid var(--line);
}
.game-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font: 600 20px/1.3 var(--serif);
  text-decoration: none;
}
.game-brand img { object-fit: contain; }
.game-languages { display: flex; gap: 14px; font-size: 13px; }
.game-languages a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
.game-languages [aria-current] { color: var(--cream); text-decoration: underline; text-underline-offset: 5px; }
main.game-shell { padding-block: 26px 62px; }
.game-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 11px; font-size: 14px; text-decoration: none; }
.game-back:hover, .game-links a:hover, .game-languages a:hover { color: var(--cream); }
.game-dossier {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(125deg, #2c412f, transparent 54%), var(--panel);
  box-shadow: 0 23px 55px #07140d70, inset 0 0 0 5px #10221a;
}
.game-art {
  width: 100%;
  max-width: 485px;
  padding: 9px;
  justify-self: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(144deg, #645333, #18251b 44%, #53472f);
  box-shadow: 0 15px 38px #06100d85;
}
.game-art img {
  width: 100%;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #0e2117;
}
.game-copy { min-width: 0; }
.game-copy h1 { margin: 0 0 14px; color: #fff1d3; font: 600 48px/1.12 var(--serif); overflow-wrap: anywhere; }
.game-facts { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 0; padding: 0; }
.game-facts li { border: 1px solid var(--line); border-radius: 4px; padding: 3px 8px; color: var(--gold); font-size: 12px; }
.game-description { margin: 18px 0 24px; color: var(--cream); font-size: 16px; line-height: 1.8; }
.game-actions, .game-links { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.game-play, .game-watch, .game-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 5px;
  text-decoration: none;
  font-weight: 650;
}
.game-play { background: linear-gradient(#f4deb0, #cfaa63); color: #182517; border-color: #f5db9a; }
.game-watch, .game-actions button { background: #10251b; color: var(--gold); cursor: pointer; }
.game-play:hover, .game-watch:hover, .game-actions button:hover { filter: brightness(1.12); }
.game-links { margin-top: 5px; }
.game-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-underline-offset: 4px; }
#game-share-status { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
#game-share-url { width: 100%; min-height: 44px; margin: 5px 0; border: 1px solid var(--line); border-radius: 4px; background: #0d2116; color: var(--cream); padding: 7px 10px; }
.game-copy blockquote { margin: 8px 0 0; padding-top: 13px; border-top: 1px solid var(--line); }
.game-copy blockquote span { color: var(--gold); font-size: 12px; }
.game-copy blockquote p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.game-preview {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 18px 14px 24px;
  scroll-margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.game-preview h2 { margin: 0; color: var(--gold); font: 600 26px/1.25 var(--serif); }
.game-preview video {
  display: block;
  width: min(100%, var(--clip-width), calc(600px * var(--clip-ratio)));
  width: min(100%, var(--clip-width), calc(min(72svh, 600px) * var(--clip-ratio)));
  height: auto;
  aspect-ratio: var(--clip-ratio);
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #090f0c;
}
@media (max-width: 860px) {
  .game-dossier { gap: 25px; padding: 25px; }
  .game-copy h1 { font-size: 38px; }
}
@media (max-width: 680px) {
  .game-shell { width: calc(100% - 30px); }
  .game-header { min-height: 65px; }
  .game-brand { gap: 6px; font-size: 17px; }
  .game-brand img { width: 34px; height: 34px; }
  .game-languages { gap: 9px; }
  main.game-shell { padding-block: 11px 35px; }
  .game-back { margin-bottom: 5px; }
  .game-dossier { grid-template-columns: 1fr; padding: 17px; gap: 20px; }
  .game-art { max-width: 245px; }
  .game-copy h1 { font-size: 33px; }
  .game-description { margin: 13px 0 16px; }
}
@media (max-width: 360px) {
  .game-play, .game-watch, .game-actions button { padding-inline: 10px; }
}

.game-art--gameplay img {aspect-ratio:8/5}
.game-edition-note {color:var(--muted); font-size:13px; margin:0 0 17px}
.game-download {margin-top:26px; padding:22px; border:1px solid var(--line); border-radius:8px; background:var(--panel); scroll-margin-top:18px}
.game-download h2 {font:600 21px/1.3 var(--serif); margin:0 0 8px}
.game-download p {color:var(--muted); margin:0 0 6px}
.game-download a {display:inline-flex; align-items:center; min-height:44px; text-underline-offset:4px}
