@font-face {
  font-family: Manrope;
  src: url("manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --page: #111113;
  --panel: #19191d;
  --line: #35343b;
  --text: #f7f5f4;
  --muted: #c4c0c6;
  --red: #ff666c;
  --light-red: #ff9195;
  --on-red: #220b0d;
  font-family: Manrope, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--text); line-height: 1.6; }
[hidden] { display: none !important; }
a { color: inherit; }
input { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.14; font-weight: 800; letter-spacing: -.035em; }
:focus-visible { outline: 2px solid var(--light-red); outline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 3; left: 1rem; top: .7rem; transform: translateY(-180%); background: var(--text); color: var(--page); padding: .5rem .85rem; border-radius: .4rem; }
.skip:focus { transform: none; }
.shell { width: min(1050px, calc(100% - 3.5rem)); margin-inline: auto; }

.site-header { border-bottom: 1px solid var(--line); }
.header-layout { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 4.45rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; font-size: 1.05rem; font-weight: 800; text-decoration: none; }
.brand-icon { position: relative; flex: none; width: 2rem; height: 2rem; background: var(--red); border-radius: .42rem; }
.brand-icon::before, .brand-icon::after { content: ""; position: absolute; width: .32rem; background: var(--on-red); border-radius: 2px; transform: skew(-20deg); }
.brand-icon::before { height: .86rem; left: .61rem; top: .58rem; }
.brand-icon::after { height: .62rem; left: 1.09rem; top: .51rem; }
.home-link { display: flex; align-items: center; min-height: 44px; padding: 0 .8rem; border-radius: .45rem; background: #26262b; box-shadow: inset 0 -2px var(--red); font-size: .9rem; font-weight: 800; text-decoration: none; }

main { padding-block: clamp(2.4rem, 7vw, 5.2rem) clamp(3rem, 8vw, 6rem); }
.intro { margin-bottom: clamp(2.5rem, 6vw, 4.2rem); }
.intro h1 { font-size: clamp(2.6rem, 7vw, 5.65rem); letter-spacing: -.073em; line-height: .99; text-wrap: balance; }
.intro h1 span { color: var(--red); }
.search { position: relative; width: min(100%, 38rem); margin-top: 1.4rem; }
.search::before { content: ""; position: absolute; left: 1.15rem; top: 50%; width: .85rem; height: .85rem; transform: translateY(-60%); border: 2px solid var(--muted); border-radius: 50%; pointer-events: none; }
.search::after { content: ""; position: absolute; left: 1.84rem; top: 55%; width: .42rem; height: 2px; transform: rotate(45deg); transform-origin: left center; border-radius: 1rem; background: var(--muted); pointer-events: none; }
.search input { width: 100%; min-height: 3.35rem; padding: .64rem 1rem .64rem 2.85rem; border: 1px solid var(--line); border-radius: .68rem; background: var(--panel); color: var(--text); }
.search input::placeholder { color: var(--muted); }

h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); margin-bottom: 1.05rem; }
.search-status:not(:empty) { margin-block: 0 1rem; color: var(--muted); }
.catalog { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 1rem; }
.category { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: .85rem; }
.category h3 { font-size: clamp(1.55rem, 3.5vw, 2rem); }
.driving-photo { position: relative; isolation: isolate; display: flex; align-items: end; min-height: 10.1rem; padding: 1.25rem 1.35rem; overflow: hidden; border-radius: .8rem .8rem 0 0; }
.driving-photo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 57%; }
.driving-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#101013 0%, #10101380 55%, #10101305 88%); }
.driving-body { display: flex; align-items: center; justify-content: space-between; gap: .8rem 1rem; flex-wrap: wrap; padding: 1.05rem 1.35rem; }
.driving-body h4 { font-size: 1.13rem; }
.driving-body p { margin-top: .2rem; color: var(--muted); font-size: .91rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .52rem .9rem; border-radius: .5rem; font-size: .875rem; font-weight: 800; text-decoration: none; }
.button-main { background: var(--red); color: var(--on-red); }
.button-main:hover { background: var(--light-red); }

.category-roblox summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; padding: .95rem 1.35rem; cursor: pointer; list-style: none; }
.category-roblox summary::-webkit-details-marker { display: none; }
.category-roblox summary:hover { color: var(--light-red); }
.disclosure { display: grid; flex: none; place-items: center; width: 1.8rem; height: 1.8rem; border: 1px solid var(--line); border-radius: 50%; color: var(--light-red); }
.disclosure::before { content: ""; width: .48rem; height: .48rem; border-right: 2px solid; border-bottom: 2px solid; transform: translateY(-16%) rotate(45deg); }
details[open] .disclosure::before { transform: translateY(16%) rotate(225deg); }
.game-list { display: grid; gap: .7rem; list-style: none; border-top: 1px solid var(--line); padding: .85rem 1.35rem 1.1rem; margin: 0; }
.game { display: flex; align-items: center; gap: .85rem; padding: .6rem; border: 1px solid var(--line); border-radius: .65rem; background: #222126; text-decoration: none; }
.game:hover { border-color: var(--red); }
.game-icon { position: relative; flex: none; width: 4.65rem; aspect-ratio: 1; overflow: hidden; border-radius: .42rem; }
/* The supplied screenshot's icon is the 250px square beginning at (22, 7). */
.game-icon img { position: absolute; left: -8.8%; top: -2.8%; width: 324.4%; height: 120.4%; max-width: none; }
.game-label { min-width: 0; display: grid; gap: .15rem; }
.game-label strong { font-size: 1.15rem; font-weight: 800; line-height: 1.18; }
.game-label span { color: var(--muted); font-size: .875rem; }

@media (max-width: 680px) {
  .shell { width: calc(100% - 2rem); }
  .header-layout { min-height: 4rem; }
  .catalog { grid-template-columns: 1fr; gap: .85rem; }
  .driving-photo { min-height: 8.75rem; padding: .95rem 1rem; }
  .driving-body, .category-roblox summary { padding-inline: 1rem; }
  .game-list { padding-inline: 1rem; }
}
