/* Source-led key art: identical wide framing, original unmodified wordmarks. */
.game-grid { grid-template-columns:minmax(0,1fr); gap:48px; }
.game-card { border-radius:8px; overflow:hidden; }
.game-card .game-art.branded-banner,
#game-dialog .game-art.branded-banner {
  position:relative; isolation:isolate; display:block; width:100%;
  height:auto; min-height:0; aspect-ratio:1672 / 941; overflow:hidden;
  background:#080b11; border:0; padding:0; text-align:left;
}
.game-art.branded-banner::before,
.game-art.branded-banner::after { content:none; }
.branded-banner .banner-scene {
  position:absolute; inset:0; width:100%; height:100%; max-width:none;
  object-fit:cover; object-position:center; display:block; z-index:0;
  transform:none; filter:none; image-rendering:auto;
}
.branded-banner .banner-shade {
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(90deg,#0004,transparent 50%),linear-gradient(0deg,#0009,transparent 22%);
}
.branded-banner .banner-logo {
  position:absolute; left:4%; top:21%; bottom:25%; width:39%; height:54%;
  max-width:none; max-height:none; object-fit:contain; z-index:2;
  filter:drop-shadow(0 5px 14px #0008); transform:none;
}
.game-art.branded-banner:hover img { transform:none; }
.branded-banner .banner-tagline {
  position:absolute; left:5%; bottom:22%; width:35%; z-index:2;
  text-align:center; color:#fff3dd; font-size:clamp(8px,1.15vw,13px);
  font-weight:600; letter-spacing:.16em; line-height:1.6;
  text-shadow:0 2px 8px #000;
}
.game-card .branded-banner .art-number,
.game-card .branded-banner .art-status { top:5%; z-index:3; font-size:clamp(7px,.9vw,10px); text-shadow:0 2px 8px #000; }
.game-card .branded-banner .art-number { left:5%; }
.game-card .branded-banner .art-status { right:5%; padding:6px 10px; color:#f4f3ec; background:#080b11d9; border:1px solid #ffffff40; border-radius:2px; }
.game-card .branded-banner .art-arrow { z-index:3; right:4%; bottom:5%; width:42px; height:42px; font-size:23px; background:#080b11b8; border:1px solid #ffffff44; }
.game-card:has(.branded-banner:focus-visible) { outline:3px solid var(--lime); outline-offset:5px; }
.game-card .branded-banner:focus-visible { outline:none; }
.banner-jasmine .banner-shade { background:linear-gradient(90deg,#28104d30,transparent 47%),linear-gradient(0deg,#29123c80,transparent 20%); }
.banner-laboratory .banner-tagline { color:#b6ffec; }
.banner-meatworm .banner-tagline { color:#f1dca4; }
.game-card .card-copy {
  padding:30px 36px 26px; display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  grid-template-areas:'kicker description' 'title description' 'actions actions';
  column-gap:45px;
}
.game-card .card-kicker { grid-area:kicker; margin:0 0 12px; font-size:10px; }
.game-card .card-copy h3 { grid-area:title; min-height:0; margin:0; font-size:clamp(34px,3.4vw,48px); }
.game-card .card-copy>p { grid-area:description; margin:0; min-height:0; max-width:none; font-size:14px; line-height:1.85; }
.game-card .card-actions { grid-area:actions; margin-top:24px; padding-top:18px; gap:24px; }
.game-card .explore-link,.game-card .audio-button { min-height:44px; }
.game-card .explore-link { font-size:13px; }
.game-card .audio-button { font-size:11px; }

/* Briefings keep the whole composition rather than cropping it to a portrait. */
#game-dialog[open] { display:block; width:min(1100px,calc(100% - 32px)); height:auto; max-height:90dvh; overflow-y:auto; }
#game-dialog .dialog-art { height:auto; min-height:0; aspect-ratio:1672 / 941; background:#080b11; }
#game-dialog .dialog-copy { height:auto; min-height:0; max-height:none; overflow:visible; padding:35px 5% 40px; scrollbar-gutter:auto; }
#game-dialog .dialog-copy>p,#game-dialog .dialog-story p { font-size:14px; }
#game-dialog .dialog-copy li { font-size:13px; }
#game-dialog .dialog-copy h2 { font-size:clamp(32px,4.2vw,52px); }
#game-dialog .dialog-close { position:sticky; float:right; top:14px; right:14px; margin:14px 14px -50px 0; z-index:10; }
#game-dialog .branded-banner .banner-tagline { font-size:clamp(8px,1.1vw,12px); }

@media(max-width:760px) {
  .game-grid { gap:30px; }
  .game-card .card-copy { padding:24px; display:block; }
  .game-card .card-kicker { font-size:9px; }
  .game-card .card-copy h3 { font-size:36px; margin-bottom:20px; }
  .game-card .card-copy>p { font-size:13px; }
  .game-card .card-actions { flex-wrap:wrap; gap:10px 24px; margin-top:20px; }
  .branded-banner .banner-tagline { bottom:17%; left:4%; width:39%; font-size:clamp(6px,1.5vw,9px); letter-spacing:.1em; }
  .game-card .branded-banner .art-number { font-size:6px; letter-spacing:.1em; }
  .game-card .branded-banner .art-status { font-size:6px; letter-spacing:.07em; padding:4px 6px; }
  .game-card .branded-banner .art-arrow { width:28px; height:28px; font-size:17px; }
  #game-dialog .dialog-copy { padding:26px 22px 32px; }
  #game-dialog .dialog-copy>p,#game-dialog .dialog-story p { font-size:13px; }
  #game-dialog .dialog-close { top:8px; right:8px; margin:8px 8px -44px 0; }
  #game-dialog .branded-banner .banner-tagline { font-size:6px; }
}
