:root {
    color-scheme: dark;
    --acid: #d7ff3f;
    --paper: #101410;
    --text: #f0f4ed;
    --muted: #b2bcb0;
    --rule: #354035;
    font-family: "DM Sans", Arial, sans-serif;
    background: var(--paper);
    color: var(--text);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
.wrap { width: min(1320px, calc(100% - clamp(32px, 8vw, 112px))); margin-inline: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--acid); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--acid); outline-offset: 4px; }
[hidden] { display: none !important; }
.skip { position: fixed; z-index: 2; left: 16px; top: -100px; background: var(--acid); color: #111; padding: 12px; }
.skip:focus { top: 12px; color: #111; }
.mast, footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.mast { height: 79px; border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 800 11px/1.04 Arial,sans-serif; letter-spacing: 1.3px; }
.brand .orbital-mark { --mark-cutout: #101410; color: var(--acid); font-size: 47px; }
nav { display: flex; align-items: center; gap: 24px; }
nav a, footer a { display: inline-flex; gap: 6px; align-items: center; min-height: 44px; }
nav a { font-size: 14px; font-weight: 700; }
nav [aria-current] { color: var(--acid); }
.intro { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: clamp(28px,4vw,62px) 0 clamp(24px,3vw,44px); }
h1, h2, p { margin: 0; }
h1, h2 { font-family: "Space Grotesk", "DM Sans", Arial,sans-serif; }
h1 { font-size: clamp(62px,9.5vw,150px); line-height: .85; letter-spacing: -.075em; }
.accent { color: var(--acid); }
.intro p { font-weight: 700; font-size: clamp(14px,1.5vw,20px); line-height: 1.45; text-align: right; }
.intro p span { color: var(--muted); font-size: .77em; font-weight: 400; }
.tools { display: flex; align-items: center; justify-content: space-between; gap: 10px 18px; flex-wrap: wrap; padding-block: 13px; border-block: 1px solid var(--rule); }
fieldset { display: flex; flex-wrap: wrap; gap: 4px 6px; border: 0; padding: 0; margin: 0; }
legend, fieldset input { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
fieldset label { position: relative; cursor: pointer; }
fieldset span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid transparent; border-radius: 2px; font: 650 14px/1.25 "DM Sans",Arial,sans-serif; }
fieldset input:checked + span { background: var(--acid); color: #101410; }
fieldset label:hover span { border-color: #87927d; }
fieldset input:focus-visible + span { outline: 3px solid var(--acid); outline-offset: 2px; }
.count { font: 500 13px/1.5 "DM Sans",Arial,sans-serif; color: var(--muted); }
.shelf { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: clamp(16px,2vw,28px); padding-block: 24px 55px; align-items: stretch; }
.game-card { grid-column: span 2; display: flex; flex-direction: column; background: #1a201a; border: 1px solid var(--rule); min-width: 0; }
.game-card:nth-child(-n+2) { grid-column: span 3; }
.frame { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; background: #151a15; image-rendering: pixelated; border-bottom: 1px solid var(--rule); }
.card-body { display: flex; flex: 1; flex-direction: column; padding: clamp(17px,2vw,27px); align-items: stretch; }
.genre { font-size: 11px; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; color: var(--acid); font-weight: 700; }
h2 { font-size: clamp(23px,2.3vw,37px); line-height: 1.1; letter-spacing: -.045em; margin-top: 7px; }
.description { font-size: 15px; line-height: 1.45; color: var(--muted); margin: 10px 0 19px; }
.launches { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: auto; }
.launch { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid var(--acid); background: var(--acid); color: #101410; border-radius: 2px; min-height: 44px; padding: 9px 15px; font-size: 14px; font-weight: 750; }
.launch:hover { background: #ecffa0; color: #101410; }
.launch.secondary { color: var(--text); border-color: #61715e; background: transparent; }
.launch.secondary:hover { color: var(--acid); border-color: var(--acid); }
details { border-top: 1px solid var(--rule); margin-top: 16px; }
summary { width: fit-content; min-height: 44px; padding-block: 13px 8px; color: var(--muted); cursor: pointer; font-size: 13px; font-weight: 700; }
summary:hover { color: var(--text); }
details p { font-size: 14px; line-height: 1.5; }
.lineage { color: var(--muted); font-size: 12px; margin-top: 8px; }
footer { border-top: 1px solid var(--rule); padding-block: 18px 30px; font-size: 13px; color: var(--muted); }
@media(min-width: 851px) {
    .shelf.filtered .game-card { grid-column: span 2; }
}
@media(max-width: 850px) {
    .shelf { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .game-card, .game-card:nth-child(-n+2) { grid-column: span 1; }
}
@media(max-width: 590px) {
    .mast { height: 65px; }
    nav { gap: 14px; }
    .intro p { max-width: 125px; font-size: 13px; }
    fieldset { gap: 2px; }
    fieldset span { padding: 8px; font-size: 13px; }
    .tools { padding-block: 6px; gap: 2px; }
    .count { font-size: 12px; }
    .shelf { grid-template-columns: minmax(0,1fr); padding-block: 14px 28px; }
    footer { align-items: start; }
}
