:root {
  color-scheme: dark;
  --paper: #0c0e12;
  --panel: #14171d;
  --raised: #1c2028;
  --ink: #f2f4f7;
  --muted: #959dab;
  --line: #292e38;
  --accent: #d1f279;
  --purple: #b6a2ff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 14px/1.5 Arial, Helvetica, sans-serif; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { min-height: 42px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--ink); cursor: pointer; }
button:hover:not(:disabled) { background: #242a33; border-color: #454e5d; }
button:disabled { opacity: .4; cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 16px; padding: 12px; background: var(--accent); color: #10150b; z-index: 20; }
.skip-link:focus { top: 12px; }
.site-nav { position: sticky; top: 0; z-index: 8; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; padding: 0 max(32px,calc((100vw - 1320px)/2)); border-bottom: 1px solid #262b33; background: #0c0e12ed; backdrop-filter: blur(18px); }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-size: 21px; font-weight: 700; letter-spacing: -.9px; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: #12180b; font-size: 25px; line-height: 1; letter-spacing: -2px; padding: 0 3px 4px 0; }
.brand-dot { display: inline-block; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; margin-left: -6px; margin-top: 12px; }
.site-nav nav { display: flex; gap: 5px; align-self: stretch; }
.site-nav nav a { display: flex; align-items: center; gap: 8px; position: relative; padding: 0 20px; font-size: 12px; color: #a1a8b4; }
.site-nav [aria-current=page] { color: var(--accent); }
.site-nav [aria-current=page]::after { content: ""; height: 2px; background: var(--accent); position: absolute; bottom: -1px; left: 20px; right: 20px; box-shadow: 0 0 12px #d1f24544; }
.nav-utilities { display: flex; align-items: center; gap: 18px; }
.connection { color: var(--muted); font-size: 11px; display: flex; align-items: center; gap: 7px; }
.connection::before { content: ""; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.icon-button { display: grid; place-items: center; padding: 10px; min-width: 40px; background: transparent; }
#motion-toggle { border-color: #282e38; border-radius: 50%; min-width: 36px; width: 36px; height: 36px; min-height: 36px; padding: 9px; color: #9ba4b4; }
#motion-toggle[aria-pressed=true] { color: var(--accent); background: #d1f2790b; border-color: #d1f27950; }
.page-content { max-width: 1384px; padding: 0 32px; margin: auto; }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; padding: 36px 0 28px; align-items: center; }
.eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 1.9px; color: var(--muted); margin: 0 0 16px; }
.hero .eyebrow { color: var(--accent); display: flex; align-items: center; gap: 8px; font-size: 9px; }
.live-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
h1 { font-size: clamp(44px,4.9vw,70px); letter-spacing: -3.8px; line-height: .99; margin: 0; font-weight: 600; }
h1 em { font-style: normal; color: var(--accent); }
.hero-description { font-size: 13px; color: #a3aab5; line-height: 1.75; margin: 19px 0 23px; }
.hero-actions { display: flex; align-items: center; gap: 12px; }
.hero-actions button, .hero-actions a { display: flex; align-items: center; justify-content: center; gap: 13px; font-size: 12px; padding: 12px 18px; min-height: 45px; }
.primary { border-radius: 10px; background: var(--accent); color: #11160a; font-weight: 600; border: 1px solid var(--accent); }
.primary:hover { background: #e0ff96; color: #11160a; }
.spotlight { position: relative; isolation: isolate; height: 310px; overflow: hidden; border: 1px solid #333b30; border-radius: 18px; background: radial-gradient(ellipse at 60% 20%,#32402b 0%,#1b231d 40%,#141a16 76%); }
.spotlight::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(#a7bd8e09 1px,transparent 1px),linear-gradient(90deg,#a7bd8e09 1px,transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(#000,transparent); }
.spotlight-label { display: flex; justify-content: space-between; gap: 12px; padding: 20px 24px; font-size: 8px; letter-spacing: 1.2px; color: #b3c3a7; }
.spotlight-label>span:first-child { display: flex; align-items: center; gap: 6px; }
.spotlight-label i { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; }
.hero-art { position: absolute; width: 350px; height: 215px; top: 27px; right: 25px; }
.art-orbit { position: absolute; width: 220px; height: 220px; top: -3px; right: 16px; border: 1px solid #c4e7a51c; border-radius: 50%; }
.art-orbit::after { content: ""; position: absolute; inset: 24px; border: 1px dashed #c4e7a51c; border-radius: 50%; }
.art-tile { display: grid; place-items: center; position: absolute; font-weight: 700; font-family: Arial,sans-serif; border-radius: 18px; line-height: 1; box-shadow: 0 22px 30px #0006,inset 0 1px 1px #ffffff50; }
.tile-2048 { background: linear-gradient(135deg,#ddf5a4,#a5cf5e); border: 1px solid #d8f89c; color: #2b3915; width: 142px; height: 142px; top: 32px; right: 35px; transform: rotate(13deg); font-size: 42px; letter-spacing: -3px; z-index: 2; }
.tile-eight { width: 100px; height: 100px; top: 9px; left: 71px; background: linear-gradient(135deg,#444d36,#293123); border: 1px solid #687852; color: #bbd591; transform: rotate(-13deg); font-size: 46px; }
.tile-four { width: 76px; height: 76px; top: 120px; left: 114px; background: linear-gradient(135deg,#b5a1e9,#8170b3); border: 1px solid #beacec; color: #201d30; transform: rotate(-12deg); font-size: 36px; z-index: 3; }
.art-star { position: absolute; right: 0; top: 0; color: #cde39f; font-size: 34px; }
.spotlight-footer { display: flex; position: absolute; bottom: 0; left: 0; right: 0; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 20px 24px; background: linear-gradient(transparent,#141a16 80%); }
.spotlight-footer h2 { font-size: 22px; line-height: 1.1; font-weight: 500; letter-spacing: -.7px; margin: 0 0 8px; }
.spotlight-footer>div>span { font-size: 10px; color: #9cae91; }
.round-play { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--accent); color: #1f2912; padding: 12px; display: grid; place-items: center; }
.round-play svg { fill: currentColor; width: 20px; height: 20px; margin-left: -3px; }
.round-play:hover:not(:disabled) { background: #e4ffab; box-shadow: 0 0 22px #c2ed6740; }
.collection-bar { display: flex; align-items: center; gap: 36px; border-bottom: 1px solid var(--line); padding: 4px 0 25px; }
.collection-bar>div { display: flex; align-items: center; gap: 11px; padding-right: 28px; border-right: 1px solid var(--line); }
.collection-bar strong { font-size: 24px; font-weight: 500; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.collection-bar>div>span { color: var(--muted); font-size: 10px; max-width: 82px; line-height: 1.5; }
.ai-promo { display: flex; align-items: center; gap: 12px; margin-left: auto; font-size: 11px; color: #c6c0d9; }
.ai-promo>span:first-child { font-size: 28px; color: var(--purple); }
.ai-promo small { display: block; font-size: 10px; color: #92909f; margin-top: 4px; }
.ai-promo>span:last-child { color: var(--purple); font-size: 18px; padding-left: 8px; }
.library-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin: 32px 0 20px; }
.library-heading .eyebrow { font-size: 9px; margin-bottom: 7px; }
h2 { font-size: 27px; font-weight: 500; line-height: 1.2; letter-spacing: -.9px; margin: 0; }
.library-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.library-actions button { display: flex; align-items: center; gap: 9px; font-size: 11px; background: #15191f; }
.library-actions svg { width: 15px; height: 15px; }
.library-actions #download-all { background: #21271d; color: #d5e7bb; border-color: #3b4830; }
.toolbar { display: flex; gap: 12px; }
.search-wrap { position: relative; flex: 1; min-width: 0; }
.search-wrap svg { position: absolute; top: 15px; left: 16px; color: #8a94a5; }
.search-wrap kbd { position: absolute; top: 13px; right: 13px; background: #222730; color: #9aa4b5; border: 1px solid #343b46; border-radius: 4px; padding: 0 7px; font: 12px/22px monospace; }
input[type=search] { width: 100%; height: 50px; padding: 12px 46px; background: #15181f; border: 1px solid #303641; border-radius: 10px; color: var(--ink); font-size: 13px; }
input::placeholder { color: #828c9e; }
.sort-wrap select { min-height: 50px; min-width: 166px; max-width: 100%; background: #15181f; color: #b4bcc9; border: 1px solid #303641; border-radius: 10px; padding: 11px 13px; font-size: 11px; }
.browse-options { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0 0; }
.filters { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.filters button,.saved-filter { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 11px; min-height: 36px; padding: 8px 13px; border: 1px solid #292f39; background: transparent; border-radius: 8px; color: #a2acbb; cursor: pointer; }
.filters button[aria-pressed=true],.saved-filter:has(:checked) { background: #d1f27913; border-color: #657d40; color: var(--accent); }
.saved-filter input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.saved-filter:has(:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
#favorite-count { font-size: 9px; color: inherit; border-radius: 4px; background: #ffffff0b; padding: 1px 5px; }
.view-switch { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 8px; padding: 2px; }
.view-switch button { border: 0; border-radius: 5px; padding: 8px; min-width: 32px; min-height: 32px; color: #788396; }
.view-switch svg { width: 15px; height: 15px; }
.view-switch button[aria-pressed=true] { background: #2b313b; color: #e5ebf4; }
.transfer { position: relative; display: flex; align-items: center; gap: 9px; padding: 11px 13px; min-height: 42px; margin-top: 15px; border: 1px solid #2e3930; border-radius: 9px; background: #141c17; overflow: hidden; }
.transfer[data-state=ready] { border: 0; background: transparent; padding: 0; min-height: 28px; margin-top: 12px; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: #a0be73; flex: none; }
#status { font-size: 11px; color: #a6b49f; line-height: 1.6; flex: 1; min-width: 0; margin: 0; overflow-wrap: anywhere; }
.transfer button { font-size: 11px; padding: 6px 11px; min-height: 32px; flex: none; }
.transfer[data-state=error] { background: #261b19; border-color: #664035; }
.transfer[data-state=error] #status { color: #f0b0a2; }
.transfer[data-state=error] .status-dot { background: #f1977b; }
.transfer[data-state=busy] { background: #1b1d2b; border-color: #454064; }
.transfer[data-state=busy] #status { color: #c6b9e9; }
.transfer[data-state=busy] .status-dot { background: var(--purple); }
progress { position: absolute; bottom: 0; left: 0; height: 3px; width: 100%; border: 0; accent-color: var(--accent); }
progress::-webkit-progress-bar { background: #303a25; }
progress::-webkit-progress-value { background: var(--accent); }
progress::-moz-progress-bar { background: var(--accent); }
.results-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 12px; color: var(--muted); font-size: 11px; }
.results-heading p { margin: 0; }
.results-heading>span { font-size: 10px; letter-spacing: 1.3px; color: #929daf; }
#grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.card { position: relative; min-width: 0; display: flex; flex-direction: column; border: 1px solid #292e38; border-radius: 13px; overflow: hidden; background: #15181e; }
.game-cover { position: relative; aspect-ratio: 1.75; overflow: hidden; background: var(--tile-bg,#252e26); isolation: isolate; }
.game-cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(35deg,transparent 40%,#ffffff04 40%,#ffffff04 60%,transparent 60%),radial-gradient(circle at 20% 0%,var(--tile-ink,#abc28d),transparent 75%); opacity: .26; }
.cover-fallback { position: absolute; inset: 12px; display: grid; place-items: center; text-align: center; padding: 10px 18px; font-size: clamp(18px,2vw,29px); font-weight: 800; line-height: 1.02; letter-spacing: -1px; text-transform: uppercase; color: var(--tile-ink,#b8cea3); opacity: .85; overflow-wrap: anywhere; }
.cover-fallback::before { content: ""; position: absolute; width: 115px; height: 115px; border: 1px solid currentColor; border-radius: 24px; opacity: .12; transform: rotate(28deg); }
.game-cover img { display: block; width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.game-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 65%,#0004); pointer-events: none; }
.cover-launch { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; border-radius: 0; background: transparent; z-index: 1; }
.cover-launch:hover:not(:disabled) { background: #0001; border: 0; }
.cover-launch span { width: 45px; height: 45px; border: 1px solid #ffffff50; border-radius: 50%; display: grid; place-items: center; color: #13180c; background: #d1f279eb; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-40%); opacity: 0; box-shadow: 0 4px 24px #0004; }
.cover-launch svg { fill: currentColor; stroke: none; width: 17px; }
.card:hover .cover-launch span { opacity: 1; transform: translate(-50%,-50%); }
.favorite { position: absolute; top: 10px; right: 10px; z-index: 3; display: grid; place-items: center; width: 32px; min-height: 32px; padding: 7px; border: 1px solid #ffffff30; border-radius: 50%; background: #0b0e15bb; color: #dde4f1; backdrop-filter: blur(10px); }
.favorite svg { width: 15px; height: 15px; }
.favorite[aria-pressed=true] { color: var(--accent); border-color: #d1f27988; background: #28351be8; }
.favorite[aria-pressed=true] svg { fill: currentColor; }
.card-body { padding: 14px 15px 13px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font: 600 14px/1.4 Arial,sans-serif; letter-spacing: -.15px; margin: 0; }
.play { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 0; min-height: 28px; border: 0; border-radius: 4px; background: none; text-align: left; font: inherit; }
.play .game-title { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.play .play-arrow { font-size: 17px; color: #8a96a8; }
.play:hover:not(:disabled) { border: 0; background: none; color: var(--accent); }
.detail { font-size: 10px; line-height: 1.6; color: var(--muted); margin: 5px 0 13px; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid #282d36; min-height: 39px; }
.download { min-height: 30px; padding: 5px 9px; font-size: 10px; background: #20262e; border: 1px solid #343d4a; border-radius: 6px; }
.download.saved { background: #25311d; color: #c6e6a0; border-color: #3b5029; }
.size-label { color: #9aa5b5; font-size: 10px; white-space: nowrap; }
.online-label { font-size: 10px; color: #a2acbe; display: flex; align-items: center; gap: 6px; }
.online-label::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #7d94bf; }
.game-badge { position: absolute; bottom: 10px; left: 10px; z-index: 2; font-size: 8px; letter-spacing: .5px; border-radius: 4px; padding: 4px 7px; color: #e3e9f3; border: 1px solid #ffffff28; background: #101720c9; pointer-events: none; }
.game-badge.saved { color: #d5f59f; background: #1c2919ed; border-color: #66854a77; }
#grid.list-layout { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.list-layout .card { display: grid; grid-template-columns: 130px minmax(0,1fr); }
.list-layout .game-cover { height: 100%; aspect-ratio: auto; min-height: 140px; }
.list-layout .cover-fallback { font-size: 18px; inset: 2px; padding: 10px; }
.list-layout .card-body { padding: 14px; }
.list-layout .card h3 { font-size: 13px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 24px; margin: 28px 0; }
.pagination button { font-size: 11px; min-width: 100px; }
.pagination span { font-size: 11px; color: var(--muted); }
.note { font-size: 10px; color: #858fa0; line-height: 1.8; max-width: 700px; text-align: center; margin: 0 auto 32px; }
#empty { text-align: center; padding: 40px 20px; border: 1px dashed #3b4452; background: #11151b; border-radius: 12px; }
.empty-icon { color: var(--accent); font-size: 40px; }
#empty h3 { font-size: 24px; letter-spacing: -.8px; margin: 12px 0; }
#empty p { font-size: 12px; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); padding: 27px 0 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer .wordmark { font-size: 18px; }
.site-footer>span,.site-footer>a:last-child { font-size: 11px; color: #8a95a7; }
.recent-section { margin: 28px 0 5px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 14px; }
.section-heading h2 { font-size: 18px; letter-spacing: -.4px; }
.text-button { border: 0; background: none; color: #909caf; font-size: 11px; padding: 6px; min-height: 36px; }
#recent-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.recent-game { display: flex; align-items: center; gap: 12px; text-align: left; padding: 11px 13px; min-width: 0; font-size: 12px; background: #171b23; border-color: #2c3340; }
.recent-game .recent-icon { display: grid; place-items: center; width: 36px; height: 36px; flex: none; background: #2a3240; border-radius: 8px; color: var(--purple); font-size: 11px; font-weight: bold; }
.recent-game .recent-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.recent-game .recent-arrow { color: #91a0b7; }
#toast { position: fixed; z-index: 30; bottom: 24px; left: 50%; transform: translateX(-50%); max-width: calc(100vw - 32px); padding: 12px 20px; background: #d1f279; color: #19200e; border-radius: 10px; box-shadow: 0 8px 35px #0007; font-size: 12px; text-align: center; }
#player { position: fixed; inset: 0; background: #090b0f; z-index: 20; }
#game-frame { width: 100%; height: 100%; border: 0; display: block; background: #090b0f; }
#back { position: absolute; right: max(16px,env(safe-area-inset-right)); top: max(16px,env(safe-area-inset-top)); width: 48px; height: 48px; padding: 12px; border: 1px solid #536335; border-radius: 50%; background: #d1f279; color: #1c2510; box-shadow: 0 3px 18px #0006; z-index: 21; }
#back svg { width: 22px; height: 22px; }
body.playing { overflow: hidden; }
@media (max-width: 1100px) {
 .site-nav { padding: 0 24px; gap: 20px; } .connection { display: none; }
 .page-content { padding: 0 24px; } .hero { gap: 32px; } h1 { font-size: 60px; }
 .spotlight { height: 300px; } .hero-art { right: 0; transform: scale(.9); transform-origin: top right; }
 .collection-bar { gap: 20px; } .collection-bar>div { padding-right: 18px; } .ai-promo { font-size: 10px; } .ai-promo small { font-size: 9px; }
 #grid { grid-template-columns: repeat(3,minmax(0,1fr)); } #recent-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } .recent-game:nth-child(4) { display: none; }
}
@media (max-width: 800px) {
 .hero { gap: 24px; grid-template-columns: 1fr .9fr; } h1 { font-size: 50px; letter-spacing: -2.8px; }
 .hero-description { font-size: 12px; } .hero-actions { flex-wrap: wrap; gap: 8px; } .hero-actions button,.hero-actions a { padding: 10px 13px; font-size: 11px; }
 .hero-art { right: -18px; transform: scale(.78); } .spotlight-label { padding: 16px; } .spotlight-label>span:last-child { display: none; } .spotlight-footer { padding: 16px; } .spotlight-footer h2 { font-size: 21px; } .spotlight-footer>div>span { font-size: 9px; }
 .ai-promo { display: none; } .collection-bar { justify-content: space-between; padding-bottom: 22px; } .collection-bar>div { padding-right: 24px; } .collection-bar>div:last-of-type { border-right: 0; padding-right: 0; }
 #grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; } .card-body { padding: 12px; } .card h3 { font-size: 13px; } .cover-fallback { font-size: 20px; padding: 6px; }
 .list-layout .card { grid-template-columns: 90px minmax(0,1fr); } #grid.list-layout { grid-template-columns: 1fr; } .list-layout .game-cover { min-height: 120px; }
}
@media (max-width: 600px) {
 html { scroll-padding-top: 130px; } .site-nav { height: auto; padding: 16px 18px 0; flex-wrap: wrap; gap: 12px; }
 .site-nav .wordmark { font-size: 21px; } .site-nav nav { order: 3; width: 100%; height: 42px; justify-content: space-between; } .site-nav nav a { font-size: 12px; padding: 0 12px; } .site-nav [aria-current=page]::after { left: 12px; right: 12px; }
 .nav-utilities { margin-left: auto; } #motion-toggle { width: 32px; height: 32px; min-height: 32px; min-width: 32px; }
 .page-content { padding: 0 18px; } .hero { grid-template-columns: 1fr; gap: 24px; padding: 28px 0 22px; }
 h1 { font-size: 52px; letter-spacing: -2.8px; } .hero .eyebrow { font-size: 8px; margin-bottom: 14px; }
 .hero-description { margin: 16px 0 20px; font-size: 12px; } .hero-actions { gap: 10px; } .hero-actions a,.hero-actions button { font-size: 12px; min-height: 44px; padding: 11px 16px; }
 .spotlight { height: 155px; border-radius: 12px; } .spotlight-label { padding: 14px 16px; font-size: 7px; }
 .hero-art { width: 350px; height: 215px; right: -5px; top: 0; transform: scale(.6); transform-origin: top right; }
 .spotlight-footer { padding: 13px 16px; background: linear-gradient(90deg,#141a16 15%,transparent 70%); align-items: flex-end; z-index: 4; }
 .spotlight-footer h2 { font-size: 19px; margin-bottom: 6px; } .spotlight-footer>div>span { font-size: 8px; } .round-play { height: 38px; width: 38px; min-height: 38px; padding: 9px; }
 .collection-bar { padding: 0 0 22px; gap: 12px; } .collection-bar>div { flex-direction: column; align-items: flex-start; gap: 3px; padding-right: 12px; } .collection-bar strong { font-size: 23px; } .collection-bar>div>span { font-size: 9px; max-width: none; }
 .library-heading { flex-direction: column; align-items: flex-start; gap: 16px; margin: 26px 0 16px; } h2 { font-size: 25px; } .library-heading .eyebrow { font-size: 8px; } .library-actions { width: 100%; } .library-actions button { flex: 1; justify-content: center; padding: 10px; font-size: 10px; }
 .toolbar { gap: 8px; } .sort-wrap select { min-width: 0; width: 118px; padding: 10px 7px; font-size: 10px; } input[type=search] { padding-left: 35px; padding-right: 12px; font-size: 12px; } .search-wrap svg { left: 11px; width: 16px; } .search-wrap kbd { display: none; }
 .browse-options { align-items: flex-start; padding-top: 12px; gap: 8px; } .filters { gap: 6px; } .filters button,.saved-filter { padding: 8px 10px; font-size: 10px; min-height: 36px; } .view-switch { flex: none; } .view-switch button { padding: 7px; min-width: 28px; min-height: 30px; }
 .transfer { flex-wrap: wrap; margin-top: 12px; } #status { flex-basis: 75%; font-size: 10px; } .transfer[data-state=busy] { position: sticky; top: 118px; z-index: 7; box-shadow: 0 8px 20px #0005; }
 .results-heading { margin-top: 16px; font-size: 10px; } .results-heading>span { display: none; }
 #grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; } .game-cover { aspect-ratio: 1.35; } .card-body { padding: 11px; } .card h3 { font-size: 12px; } .detail { font-size: 9px; margin: 5px 0 11px; } .download { font-size: 9px; padding: 6px 7px; min-height: 32px; } .size-label { font-size: 9px; } .card-bottom { gap: 5px; flex-wrap: wrap; } .game-badge { font-size: 7px; left: 8px; bottom: 8px; padding: 3px 5px; } .cover-fallback { font-size: 20px; padding: 5px; inset: 8px; }
 .favorite { width: 32px; height: 32px; top: 8px; right: 8px; } .list-layout .card { grid-template-columns: 100px minmax(0,1fr); } .list-layout .card-body { padding: 12px; } .list-layout .game-cover { min-height: 120px; }
 #recent-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; } .recent-game { padding: 9px; gap: 8px; font-size: 11px; } .recent-game:nth-child(4) { display: flex; } .recent-game .recent-icon { width: 30px; height: 30px; font-size: 9px; }
 .pagination { gap: 16px; margin: 24px 0; } .pagination button { min-width: 92px; padding: 10px 12px; } .site-footer { padding: 23px 0; gap: 12px; } .site-footer>span { display: none; } .site-footer>a:last-child { font-size: 10px; }
}
@media (max-width: 360px) {
 .page-content { padding: 0 14px; } .site-nav { padding-left: 14px; padding-right: 14px; } .hero-actions a,.hero-actions button { padding: 10px 12px; font-size: 11px; }
 .collection-bar>div { padding-right: 9px; } .collection-bar>div>span { font-size: 8px; } .browse-options { flex-wrap: wrap; } .view-switch { margin-left: auto; } .card-body { padding: 9px; } .detail { font-size: 9px; }
}
@media (prefers-reduced-motion:no-preference) {
 button,a,input,select,.card,.game-cover img,.cover-launch span { transition: background .2s,border-color .2s,color .2s,box-shadow .25s,transform .25s,opacity .2s; }
 button:active:not(:disabled) { transform: scale(.97); }
 .card:hover { transform: translateY(-4px); border-color: #55623f; box-shadow: 0 10px 25px #0004; }
 .card:hover .game-cover img { transform: scale(1.055); }
 .hero-copy { animation: rise-in .6s both; } .spotlight { animation: rise-in .7s .08s both; }
 .tile-2048 { animation: float-main 7s ease-in-out infinite; } .tile-eight { animation: float-eight 8s ease-in-out infinite; } .tile-four { animation: float-four 6s ease-in-out infinite; } .art-star { animation: star-turn 22s linear infinite; }
 .card.reveal { animation: rise-in .38s both; animation-delay: var(--delay,0ms); }
 .favorite[aria-pressed=true] svg { animation: favorite-pop .3s ease-out; }
 .transfer[data-state=busy] .status-dot { animation: pulse 1.2s ease-in-out infinite; }
 .transfer[data-state=complete] { animation: complete-flash .6s ease-out; }
 .playing #player { animation: player-in .24s ease-out; } #menu.returning { animation: rise-in .25s ease-out; }
 #toast:not([hidden]) { animation: toast-in .2s ease-out; }
 @keyframes rise-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
 @keyframes float-main { 0%,100% { transform: translateY(0) rotate(13deg); } 50% { transform: translateY(-9px) rotate(9deg); } }
 @keyframes float-eight { 0%,100% { transform: translateY(0) rotate(-13deg); } 50% { transform: translateY(7px) rotate(-9deg); } }
 @keyframes float-four { 0%,100% { transform: translateY(0) rotate(-12deg); } 50% { transform: translateY(-6px) rotate(-16deg); } }
 @keyframes star-turn { to { transform: rotate(360deg); } }
 @keyframes pulse { 50% { opacity: .4; box-shadow: 0 0 0 5px #b6a2ff16; } }
 @keyframes favorite-pop { 50% { transform: scale(1.3); } }
 @keyframes complete-flash { from { background: #314525; } to { background: #141c17; } }
 @keyframes player-in { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
 @keyframes toast-in { from { opacity: 0; bottom: 14px; } to { opacity: 1; bottom: 24px; } }
}
html[data-motion=off] *,html[data-motion=off] *::before,html[data-motion=off] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html[data-motion=off] { scroll-behavior: auto; }
@media (prefers-reduced-motion:reduce) {
 html { scroll-behavior: auto; }
 *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* Keep metadata and touch controls readable on small screens. */
.detail{font-size:11px}.download{font-size:11px;min-height:36px}.game-badge{font-size:9px}.favorite{width:36px;min-height:36px}.online-label{font-size:11px}
@media(max-width:600px){.card h3{font-size:14px}.detail{font-size:11px;line-height:1.6}.download{font-size:10px;min-height:40px;padding:7px 9px}.size-label{font-size:10px}.favorite{width:40px;min-height:40px;padding:10px}.game-badge{font-size:8px}.card-bottom{min-height:49px}.online-label{font-size:10px}.cover-fallback{font-size:21px}}
/* The artwork keeps its original proportions, so game logos remain intact. */
.game-cover img{object-fit:contain;background:#11141a;padding:2px;transition:transform .25s ease,opacity .2s}
.game-cover.has-art .cover-fallback{opacity:0}
.recent-icon{position:relative;overflow:hidden;width:48px;height:48px}
.recent-icon img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:var(--raised)}
.page-navigation{display:flex;align-items:center;gap:16px}
#page-form{display:flex;gap:5px;align-items:center}
#page-jump{width:58px;min-height:44px;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:8px;padding:8px;font:inherit}
#page-form button{min-height:44px;padding:8px 12px}
.filters button,.saved-filter,.view-switch button,#motion-toggle,.favorite{min-height:44px;min-width:44px}
.detail,.download,.size-label,.online-label{font-size:12px}
.card .download{min-height:44px}
.game-badge{font-size:10px}
@media(max-width:600px){.pagination{gap:6px}.pagination>button{padding:9px 10px;font-size:11px}.page-navigation{gap:6px;flex-direction:column}#page-form button{padding:8px}#page-jump{width:48px}.detail{font-size:11px}.download,.size-label{font-size:11px}.card-bottom{flex-wrap:wrap;gap:8px}.favorite{width:44px;padding:12px}.game-badge{font-size:9px;max-width:calc(100% - 12px)}.browse-options{align-items:flex-start}.view-switch button{padding:9px;min-width:40px}.card h3{font-size:15px}}
@media(prefers-reduced-motion:reduce){.game-cover img{transition:none}}
.game-cover.has-art::before{background-image:var(--cover-url);background-position:center;background-size:cover;inset:-20px;filter:blur(18px) brightness(.4);opacity:1}
.game-cover img{background:transparent}
@media(max-width:600px){.pagination>button{min-width:0;flex:0 1 auto}.page-navigation{min-width:0}}

/* Individual exports support browsers with a limited in-memory pack size. */
.card-bottom { flex-wrap: wrap; }
.export-game { padding: 8px 10px; min-height: 44px; font-size: 11px; }
