/* C design: search controls and compact, usable catalogue results. */
.gxl-catalog [hidden]{display:none!important}
.gxl-tools{display:flex;align-items:end;flex-wrap:wrap;gap:14px;margin:20px 0 16px;padding:18px;background:var(--c-subtle);border:1px solid var(--c-line)}
.gxl-tools label,.gxl-guide-options label{display:block;min-width:0;color:var(--c-muted);font-size:11px;line-height:1.6}
.gxl-tools label>span,.gxl-guide-options label>span{display:block;margin-bottom:6px}
.gxl-search{flex:1 1 260px}.gxl-sort{flex:0 0 160px}.gxl-year{flex:0 0 130px}.gxl-maker{flex:1 1 190px}
.gxl-tools input[type=search],.gxl-tools select,.gxl-guide-options select{display:block;width:100%;height:44px;border:1px solid var(--c-line);border-radius:0;background:var(--c-paper);color:var(--c-ink);font:inherit;font-size:14px;padding:8px 11px;margin:0}
.gxl-catalog .gxl-reset{border:0;border-bottom:1px solid var(--c-muted);background:transparent;color:var(--c-muted);font:inherit;font-size:12px;cursor:pointer;min-height:44px;padding:8px 0;white-space:nowrap}
.gxl-genres,.gxl-modes{display:flex;gap:0 22px;flex-wrap:wrap;border-bottom:1px solid var(--c-line);padding:0;margin:20px 0}
.gxl-genres button,.gxl-modes button{appearance:none;background:transparent;border:0;border-bottom:2px solid transparent;color:var(--c-muted);border-radius:0;padding:12px 0;font:inherit;font-size:13px;font-weight:650;min-height:46px;cursor:pointer}
.gxl-genres button[aria-pressed=true],.gxl-modes button[aria-pressed=true]{color:var(--c-accent)!important;border-bottom-color:var(--c-accent)!important}
.gxl-genres button span,.gxl-modes button span,.gxl-guides .filters button span{font-size:10px;color:var(--c-muted);font-variant-numeric:tabular-nums;font-weight:400;margin-left:7px}
.gxl-resultbar{display:flex;justify-content:space-between;align-items:center;gap:16px;color:var(--c-muted);font-size:12px;margin:20px 0;scroll-margin-top:30px}
.gxl-resultbar a{color:var(--c-ink);text-decoration:underline;text-underline-offset:4px;min-height:40px;display:inline-flex;align-items:center}
.gxl-count{font-size:14px;font-weight:700;color:var(--c-ink)}
.gxl-empty{margin:20px 0;padding:36px 20px;border:1px solid var(--c-line);color:var(--c-muted);font-size:14px;text-align:center}
.gxl-guide-options{display:flex;gap:22px;align-items:end;justify-content:space-between;margin:0}.gxl-guide-options .gxl-sort{flex:1 1 160px}
.gxl-guides .guide-controls{display:grid;grid-template-columns:minmax(0,1fr) 260px;align-items:end;gap:18px}.gxl-guides .guide-controls .search-box{grid-column:1/-1}.gxl-guides .filters{display:flex;flex-wrap:wrap;gap:5px 22px}.gxl-guides .filters button{font-size:13px;min-height:44px;padding:10px 0}
.gxl-guides .guide-controls{margin-bottom:24px}.gxl-guides .guide-grid{gap:22px}.gxl-guides .guide-info{padding:17px}.gxl-guides .guide-links a{min-height:36px}
.gxl-matches{display:grid;gap:7px;border-top:1px solid var(--c-line);padding:12px 17px;font-size:12px}.gxl-matches a{color:var(--c-accent);text-decoration:underline;text-underline-offset:4px;line-height:1.7}
.c-site.gxl-browser .gxl-game-group{margin-bottom:32px;scroll-margin-top:24px}.c-site.gxl-browser .gxl-game-group h2{display:flex;align-items:baseline;gap:15px;font-size:20px!important;padding:16px 0!important;border:0!important;border-top:2px solid var(--c-ink)!important;background:none!important;color:var(--c-ink)!important;margin:24px 0 16px!important}.gxl-game-group h2 small{font-size:12px;font-weight:400;color:var(--c-muted)}
.c-site.gxl-browser .gx-database-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;margin:0!important}
.c-site.gxl-browser .gx-db-card{display:flex!important;align-items:flex-start!important;gap:14px!important;padding:15px!important;min-width:0!important}
.c-site.gxl-browser .gx-db-thumb{width:100px!important;height:80px!important;flex:0 0 100px!important}.c-site.gxl-browser .gx-db-body{min-width:0;flex:1}.c-site.gxl-browser .gx-db-title{font-size:16px!important;font-weight:750!important;line-height:1.55!important;color:var(--c-ink)!important;margin:0 0 7px!important;padding:0!important;border:0!important;background:none!important}.c-site.gxl-browser .gx-db-desc{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:12px!important;line-height:1.75!important;color:var(--c-muted)!important;margin:0!important}.c-site.gxl-browser .gx-db-card:hover .gx-db-title{color:var(--c-accent)!important}.c-site.gxl-browser .gxl-flat{margin:24px 0!important}
.gxl-famicom #gx-famicom .fc-hub-hero{margin-bottom:24px!important}.gxl-famicom #gx-famicom .gxl-tools{margin-top:14px!important}.gxl-famicom .gxl-search{flex-basis:100%}.gxl-famicom .gxl-sort{flex:1 1 170px}.gxl-ready{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--c-muted);min-height:40px}.gxl-ready input{width:17px;height:17px;accent-color:var(--c-accent)}
.gxl-famicom #gx-famicom .fc-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0}
.gxl-famicom #gx-famicom .gxl-fc-card{padding:18px;border:1px solid var(--c-line);border-top:2px solid var(--c-ink);border-radius:0;background:var(--c-paper);min-width:0;box-shadow:none}
.gxl-famicom #gx-famicom .gxl-fc-card h3{font-size:17px!important;line-height:1.65!important;margin:0 0 10px!important;padding:0!important;border:0!important;background:none!important}
.gxl-famicom #gx-famicom .gxl-fc-card h3 a{color:var(--c-ink);text-decoration:none}.gxl-famicom #gx-famicom .gxl-fc-card h3 a:hover{color:var(--c-accent);text-decoration:underline}
.gxl-fc-meta{display:grid;gap:4px;color:var(--c-muted);font-size:11px;line-height:1.7}.gxl-secrets{border-top:1px solid var(--c-line);margin-top:15px}.gxl-secrets summary{cursor:pointer;min-height:42px;padding:11px 0 6px;font-size:11px;color:var(--c-muted);line-height:1.7}.gxl-secrets ul{padding-left:18px!important;margin:8px 0 0!important;font-size:12px;line-height:1.8}.gxl-secrets li{margin-bottom:8px}.gxl-famicom #gx-famicom .gxl-secrets a{color:var(--c-accent);text-decoration:underline}
.gxl-pager{display:flex;justify-content:center;align-items:center;gap:28px;margin:28px 0 36px}.gxl-pager button{font:inherit;font-size:13px;min-height:44px;padding:9px 15px;border:1px solid var(--c-line);border-radius:0;background:var(--c-paper);color:var(--c-ink);cursor:pointer}.gxl-pager button:disabled{opacity:.4;cursor:default}.gxl-page{font-size:12px;font-variant-numeric:tabular-nums;color:var(--c-muted)}
.gxl-famicom #gx-famicom .fc-year-nav{display:flex;flex-wrap:wrap;gap:0 22px;padding:12px 0;border-top:2px solid var(--c-ink);border-bottom:1px solid var(--c-line);margin:20px 0}.gxl-famicom #gx-famicom .fc-year-nav a{display:inline-flex;align-items:center;min-height:40px;font-size:13px;color:var(--c-ink)}.gxl-famicom #gx-famicom .fc-year{scroll-margin-top:25px}
@media(max-width:1100px){.gxl-famicom #gx-famicom .fc-features{grid-template-columns:repeat(2,minmax(0,1fr))}.c-site.gxl-browser .gx-db-thumb{width:82px!important;height:76px!important;flex-basis:82px!important}}
@media(max-width:700px){.c-site.gxl-browser .gx-database-grid{grid-template-columns:minmax(0,1fr)!important}.gxl-tools{padding:14px;gap:12px}.gxl-tools input[type=search],.gxl-tools select,.gxl-guide-options select{font-size:16px}.gxl-tools .gxl-search{flex-basis:100%}.gxl-tools .gxl-sort{flex:1 1 150px}.gxl-genres,.gxl-modes{gap:0 19px}.gxl-genres button,.gxl-modes button{font-size:12px}.gxl-famicom .gxl-year{flex:1 1 100px}.gxl-famicom .gxl-maker{flex:2 1 170px}.gxl-famicom #gx-famicom .fc-features{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gxl-famicom #gx-famicom .gxl-fc-card{padding:14px}.gxl-famicom #gx-famicom .gxl-fc-card h3{font-size:15px!important}.gxl-fc-meta{font-size:10px}.gxl-resultbar{gap:10px}.gxl-range{font-size:10px}.gxl-guides .guide-grid{gap:16px}.gxl-guides .guide-info{padding:14px}}
@media(max-width:440px){.gxl-famicom #gx-famicom .fc-features{grid-template-columns:minmax(0,1fr)}.gxl-fc-meta{display:flex;flex-wrap:wrap;gap:6px 18px}.gxl-famicom .gxl-tools .gxl-year{flex:1 1 90px}.gxl-famicom .gxl-tools .gxl-maker{flex:1.8 1 150px}}
@media(max-width:760px){.gxl-guides .guide-controls{grid-template-columns:minmax(0,1fr);gap:12px}.gxl-guide-options{justify-content:flex-start}.gxl-guide-options .gxl-sort{flex:0 1 210px}}
.gxl-tools .gxl-genre-select{display:none}
@media(max-width:700px){.c-site.gxl-browser .gxl-tools{padding:0;border:0;background:transparent;margin:18px 0!important}.c-site.gxl-browser .gxl-tools .gxl-genre-select{display:block;flex:1 1 130px}.c-site.gxl-browser .gxl-tools .gxl-sort{flex:1 1 130px}.c-site.gxl-browser.gxl-has-genre-picker .gxl-genres{display:none}.c-site.gxl-browser .gxl-resultbar{margin:12px 0!important}.c-site.gxl-browser .gxl-game-group{margin:12px 0 24px!important}.c-site.gxl-browser .gxl-game-group h2{margin:12px 0!important;padding:12px 0!important}}
