/* Catalogue interactions stay above the cover grid and use native controls. */
.browse-page .browse-page-heading{margin:14px 0 20px}
.browse-page-heading h1{margin:0 0 6px;color:#f1f3f7;font-size:30px;font-weight:500}
.browse-page-heading p{margin:0;color:var(--text-secondary);font-size:14px;line-height:1.6}
.browse-page .browse-toolbar{position:relative;z-index:2;gap:18px;align-items:center}
.browse-page .browse-controls{gap:14px;flex-shrink:0;align-items:center}
.browse-page #filter-toggle{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:8px 12px;border:1px solid #4b5263;border-radius:5px;color:#f5c1d6;background:#292e38;font:inherit;cursor:pointer}
.browse-page #filter-toggle[aria-expanded="true"]{border-color:var(--accent);background:#3b2e3d}
.browse-page #filter-count{display:inline-grid;place-items:center;min-width:19px;height:19px;border-radius:12px;padding:0 4px;background:#743551;color:#fff;font-size:12px}
.browse-page .browse-sort-label{gap:8px;color:var(--text-secondary)}
.browse-page #game-sort{display:block;position:relative;z-index:3;min-width:150px;min-height:38px;padding:8px 30px 8px 10px;color:#f2d2e0;border:1px solid #566074;border-radius:5px;background-color:#292e38;font:inherit;cursor:pointer;pointer-events:auto}
.browse-page #game-sort option{color:#e7ebf2;background:#242832}
.browse-page #game-filters{margin:14px 0;padding:16px;gap:14px;background:#22262f;border:1px solid #3d4554;border-radius:6px;align-items:end}
.browse-page #game-filters label{display:grid;gap:7px;flex:1 1 155px;min-width:0;color:#b7c1ce;font-size:13px}
.browse-page #game-filters select{width:100%;min-width:0;min-height:38px;font:inherit;cursor:pointer}
.browse-filter-actions{display:flex;flex-wrap:wrap;gap:8px}
.browse-page .browse-filter-actions button{min-height:38px;font:inherit;cursor:pointer}
.browse-page .browse-filter-actions [type="submit"]{background:#ae3268;border-color:#c04b7c;color:#fff}
.browse-active-filters{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 12px}
.browse-active-filters a,.browse-empty a{border:1px solid #535d72;border-radius:5px;padding:6px 9px;color:#d6deeb;text-decoration:none;font-size:13px}
.browse-active-filters a:hover,.browse-empty a:hover{border-color:var(--accent);color:#fff}
.browse-page #browse-control-status{margin:10px 0;color:var(--text-secondary);font-size:13px;line-height:1.5}
.browse-page #browse-control-status button{margin-left:8px;padding:6px 10px;color:#f5d0e1;background:#30394b;border:1px solid #66738c;border-radius:4px;font:inherit;cursor:pointer}
.browse-page #browse-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:18px;max-width:1110px}
.browse-page #browse-grid.search-other{grid-template-columns:repeat(auto-fit,minmax(min(245px,100%),1fr))}
.browse-page #browse-grid[aria-busy="true"]{opacity:.55}
.browse-page .browse-empty{grid-column:1/-1;padding:42px 18px;text-align:center;border:1px solid #3d4554;border-radius:6px;background:#20242c}
.browse-empty h2{font-size:19px;color:#e1e7f0;margin:0 0 10px}
.browse-empty p{margin:0 0 20px;color:var(--text-secondary);font-size:14px;line-height:1.6}
.browse-empty .browse-empty-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:9px}
.browse-page .browse-pagination{gap:12px;flex-wrap:wrap;padding-top:8px}
.browse-page .browse-pagination a{padding:8px 11px;border:1px solid #465268;border-radius:4px;background:#293141}
.browse-page .browse-pagination span{color:#abb7c8;font-size:14px}
.browse-page :is(button,select,input,a):focus-visible{outline:2px solid #efb4d1;outline-offset:3px}
.browse-page .browse-header-tools{min-width:0}
@media(max-width:850px){.browse-page #browse-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.browse-page .browse-header-inner{flex-wrap:wrap;gap:14px}.browse-page .browse-header-tools{flex-wrap:wrap;justify-content:flex-start}}
@media(max-width:600px){.browse-page .browse-page-heading{margin-top:8px}.browse-page-heading h1{font-size:25px}.browse-page #browse-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.browse-page .browse-controls{width:100%;justify-content:space-between;gap:8px}.browse-page .browse-sort-label{font-size:13px}.browse-page #game-sort{min-width:138px;padding-right:20px}.browse-page #game-filters{padding:12px}.browse-page #game-filters label{flex-basis:calc(50% - 14px)}.browse-filter-actions{width:100%}.browse-page .browse-nav{flex-wrap:wrap;gap:12px}.browse-page .browse-header-tools{gap:12px;width:100%}.browse-page .browse-search{width:100%;max-width:none}.browse-page #browse-grid.search-other{grid-template-columns:1fr}}
