/* Unified public storefront. Operational panels remain in their own routes. */
body.gr-app .release-journey > summary { cursor:pointer; padding-block:16px; color:var(--slate-40); font-size:20px; font-weight:650; }

.gr-app .gr-container, .gr-app .shell { width:calc(100% - 64px); max-width:var(--max); margin-inline:auto; }
.gr-app .gr-header { position:sticky; top:0; z-index:80; background:color-mix(in srgb,var(--slate-820) 96.1%,transparent); border-bottom:1px solid var(--slate-670); box-shadow:none; }
.gr-app .gr-header-top { display:grid; grid-template-columns:auto minmax(0,1fr) minmax(140px,220px) auto; align-items:center; gap:22px; min-height:64px; padding-block:0; }
.gr-app .gr-brand { gap:9px; white-space:nowrap; }
.gr-app .gr-brand > span { font-size:23px; letter-spacing:-.8px; }
.gr-app .gr-brand > .gr-icon { width:32px; height:32px; }
.gr-app .gr-nav-shell { min-width:0; }
.gr-app .gr-navigation { display:flex; justify-content:center; gap:18px; padding:0; overflow:visible; }
.gr-app .gr-navigation a { display:flex; align-items:center; min-height:64px; border-bottom:2px solid transparent; padding:0; font-size:12px; font-weight:550; white-space:nowrap; color:var(--slate-200); }
.gr-app .gr-navigation a:hover { color:#fff; }
.gr-app .gr-navigation a[aria-current] { border-color:var(--accent); color:var(--slate-40); background:none; }
.gr-app .gr-search { width:100%; min-width:0; height:36px; background:var(--slate-760); border:1px solid var(--slate-640); border-radius:7px; }
.gr-app .gr-search input { min-width:0; width:100%; font-size:12px; }
.gr-app .gr-search button { width:28px; height:28px; }
.gr-app .gr-header .gr-quick-search, .gr-app .gr-menu-toggle { display:none; }
.gr-app .gr-main, .gr-app .gr-browser { padding-top:26px; padding-bottom:40px; }
.gr-app .gr-page-heading, .gr-app .gr-browser-heading { margin:0 0 20px; gap:20px; }
.gr-app .gr-page-heading h1, .gr-app .gr-browser-heading h1 { font-size:30px; font-weight:680; letter-spacing:-.7px; margin:0 0 6px; line-height:1.2; }
.gr-app .gr-page-heading p, .gr-app .gr-browser-heading p { color:var(--muted); font-size:14px; line-height:1.5; margin:0; }
.gr-app :is(a,button,input,select,summary):focus-visible { outline:2px solid var(--cyan-170); outline-offset:3px; }
/* Search and filters are controls, not hero panels. */
.gr-app .gr-browser-form { background:var(--slate-790); border-color:var(--slate-640); border-radius:9px; padding:12px; box-shadow:none; }
.gr-app .gr-browser-query > div, .gr-app .gr-browser-form :is(input:not([type=hidden]),select) { background:var(--slate-790); border-color:var(--slate-640); border-radius:6px; min-height:40px; color:var(--slate-80); font-size:13px; }
.gr-app .gr-browser-query input[type=search] { border:0; background:none; }
.gr-app .gr-browser-form > .gr-browser-filters > summary { background:var(--slate-730); min-height:40px; }
.gr-app .gr-button { border-radius:6px; font-size:13px; min-height:38px; box-shadow:none; }
.gr-app .gr-button-primary { background:var(--cyan-210); color:var(--slate-760); font-weight:650; }
.gr-app .gr-button-primary:hover { background:var(--cyan-130); }
.gr-app .gr-date-tabs, .gr-app .gr-tabs, .gr-app .gr-channel-tabs { gap:10px; margin-block:16px 20px; padding-bottom:0; border:0; }
.gr-app .gr-date-tabs a, .gr-app .gr-tabs a, .gr-app .gr-channel-tabs a { border:1px solid var(--slate-640); border-radius:7px; background:var(--slate-760); padding:9px 13px; min-height:38px; font-size:12px; color:var(--slate-160); }
.gr-app :is(.gr-date-tabs,.gr-tabs,.gr-channel-tabs) a[aria-current] { border-color:var(--cyan-210); background:var(--slate-670); color:var(--slate-40); }
.gr-app .gr-browser-results-head h2, .gr-app .gr-section-heading h2 { font-size:22px; letter-spacing:-.35px; }
.gr-app .gr-card-grid, .gr-app .gr-browser-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.gr-app .gr-card { min-width:0; min-height:0; overflow:visible; border:1px solid var(--slate-640); border-radius:9px; background:var(--slate-760); box-shadow:0 4px 18px #0002; transition:border-color .16s ease,background .16s ease; }
.gr-app .gr-card:hover { border-color:var(--slate-400); background:var(--slate-730); transform:none; }
.gr-app .gr-card .gr-card-art { border-radius:8px 8px 0 0; overflow:hidden; }
.gr-app .gr-card .gr-card-cover { aspect-ratio:460/215; border-radius:0; }
.gr-app .gr-card-cover img { object-fit:cover; }
.gr-app .gr-card .gr-card-content { padding:12px; gap:10px; min-height:0; }
.gr-app .gr-card h3 { font-size:16px; line-height:1.35; min-height:0; margin:0; }
.gr-app .gr-card h3 a { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.gr-app .gr-card .gr-card-genres { display:flex; flex-wrap:wrap; gap:5px; margin-top:8px; color:var(--slate-160); font-size:10px; }
.gr-app .gr-card-genres > span { padding:3px 7px; background:var(--slate-700); border-radius:20px; line-height:1.3; }
.gr-app .gr-card-release { position:absolute; top:10px; left:10px; max-width:calc(100% - 20px); display:flex; align-items:center; gap:6px; padding:6px 9px; border-radius:5px; background:color-mix(in srgb,var(--cyan-470) 74.9%,transparent); color:#fff; font-size:11px; font-weight:650; backdrop-filter:blur(8px); pointer-events:none; }
.gr-app .gr-card-release .gr-icon { width:13px; height:13px; }
.gr-app .gr-card-art:has(.gr-card-release) .gr-card-status { top:auto; bottom:8px; left:10px; right:auto; font-size:10px; }
.gr-app .gr-card-release { z-index:3; }
.gr-app .gr-card:has(.gr-card-release) .gr-card-date { display:none; }
.gr-app .gr-card .gr-card-bottom { display:flex; flex-direction:column; align-items:stretch; gap:10px; }
.gr-app .gr-card .gr-card-facts { display:flex; flex-wrap:wrap; align-items:center; gap:5px 10px; }
.gr-app .gr-card .gr-card-platforms { display:block; font-size:11px; color:var(--slate-160); }
.gr-app .gr-card-unknown { display:none; }
.gr-app .gr-card-extra { display:flex; align-items:center; gap:8px; justify-content:space-between; margin-top:auto; padding-top:8px; border-color:var(--slate-640); font-size:11px; color:var(--slate-240); }
.gr-app .gr-workspace { grid-template-columns:minmax(0,1fr); }
.gr-app .gr-workspace > .gr-sidebar { display:none; }
.gr-app .gr-library-toolbar { margin-bottom:12px; }
.gr-app .gr-library-modes { border-color:var(--slate-580); background:var(--slate-730); padding:3px; }
.gr-app .gr-library-modes button[aria-pressed=true] { background:var(--slate-580); }
/* One readable horizontal composition for feeds and list mode. */
.gr-app .gr-library[data-gr-card-layout=list] { grid-template-columns:minmax(0,1fr); }
.gr-app :is(.gr-library[data-gr-card-layout=list],.gr-game-list:not([data-gr-card-layout=grid])) > .gr-card { display:grid; grid-template-columns:280px minmax(0,1fr); gap:22px; height:auto; padding:14px; }
.gr-app :is(.gr-library[data-gr-card-layout=list],.gr-game-list:not([data-gr-card-layout=grid])) .gr-card-art { border-radius:6px; }
.gr-app :is(.gr-library[data-gr-card-layout=list],.gr-game-list:not([data-gr-card-layout=grid])) .gr-card-content { display:grid; grid-template-columns:minmax(0,1fr) 180px; gap:6px 18px; padding:0; }
.gr-app :is(.gr-library[data-gr-card-layout=list],.gr-game-list:not([data-gr-card-layout=grid])) .gr-card-main { grid-column:1; }
.gr-app :is(.gr-library[data-gr-card-layout=list],.gr-game-list:not([data-gr-card-layout=grid])) .gr-card-bottom { grid-column:2; grid-row:1/4; align-items:stretch; padding:0; border:0; }
.gr-app :is(.gr-library[data-gr-card-layout=list],.gr-game-list:not([data-gr-card-layout=grid])) .gr-card-extra { grid-column:1; border:0; justify-content:flex-start; gap:20px; margin:0; padding:0; }
.gr-app :is(.gr-library[data-gr-card-layout=list],.gr-game-list:not([data-gr-card-layout=grid])) .gr-card-description { display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; overflow:hidden; margin-block:4px; font-size:13px; }
.gr-app .gr-library[data-gr-card-layout=grid].gr-game-list { grid-template-columns:repeat(4,minmax(0,1fr)); }
.gr-app .gr-library[data-gr-card-layout=grid].gr-game-list .gr-card-content { display:flex; }
.gr-app .gr-library[data-gr-card-layout=grid].gr-game-list .gr-card-bottom { flex-direction:column; align-items:stretch; }
.gr-app .gr-library[data-gr-card-layout=grid].gr-game-list .gr-card-platforms { display:block; }
.gr-app .gr-search-help { margin:10px 0 20px; color:var(--slate-280); font-size:12px; }
.gr-app .gr-search-help summary { width:fit-content; cursor:pointer; min-height:32px; padding:5px 0; }
.gr-app .gr-search-pages, .gr-app .gr-browser-pages { font-size:13px; gap:16px; padding-block:24px; }
.gr-app .gr-data-note { margin-top:24px; padding-top:16px; border-color:var(--slate-670); color:var(--slate-280); font-size:12px; }
.gr-app .gr-data-note > summary { cursor:pointer; min-height:36px; }
/* Availability is a full-width feed, never a statistics dashboard. */
.gr-app .gr-community-list { gap:10px; }
.gr-app .availability-row { grid-template-columns:210px minmax(0,1fr) 135px; gap:10px 20px; padding:14px; border-color:var(--slate-640); background:linear-gradient(110deg,var(--slate-760),var(--slate-790)); border-radius:8px; }
.gr-app .availability-row:hover { background:var(--slate-730); border-color:var(--slate-460); }
.gr-app .availability-row .community-heading > a { font-size:18px; letter-spacing:-.2px; }
.gr-app .availability-row .availability-main > p { margin-block:5px 7px; -webkit-line-clamp:1; font-size:12px; }
.gr-app .availability-row .community-meta span { background:var(--slate-700); font-size:10px; padding:3px 6px; }
.gr-app .gr-availability-evidence { margin-top:7px; }
.gr-app .gr-availability-evidence > summary { min-height:28px; font-size:12px; color:var(--cyan-130); }
.gr-app .availability-row .game-action { min-height:36px; height:36px; min-width:36px; background:var(--slate-670); border-color:var(--slate-520); }
.gr-app .availability-row .game-action-icon { font-size:18px; }
.gr-app .gr-source-directory { font-size:12px; }
.gr-app .gr-community-browser .gr-browser-results-head h2 span { background:var(--slate-670); }

.gr-app .gr-search-subscribe { margin-top:14px; font-size:12px; }
.gr-app .gr-feed-section, .gr-app .gr-browser-results, .gr-app .gr-community-results, .gr-app .gr-search-results { scroll-margin-top:84px; }
@media (max-width:1390px) and (min-width:1280px) {
 .gr-app .gr-header-top { gap:15px; grid-template-columns:auto minmax(0,1fr) 165px auto; }
 .gr-app .gr-navigation { gap:12px; }
}
@media (max-width:1279px) {
 .gr-app .gr-header-top { grid-template-columns:auto minmax(0,1fr) auto auto; gap:16px; }
 .gr-app .gr-header .gr-search { grid-column:2; grid-row:1; max-width:360px; justify-self:end; }
 .gr-app .gr-menu-toggle { grid-column:4; grid-row:1; }
 .gr-app .gr-header.gr-js .gr-menu-toggle { display:flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:6px; }
 .gr-app .gr-nav-shell { grid-column:1/-1; grid-row:2; width:100%; border-top:1px solid var(--slate-670); }
 .gr-app .gr-header.gr-js:not(.gr-menu-open) .gr-nav-shell { display:none; }
 .gr-app .gr-navigation { flex-wrap:wrap; justify-content:flex-start; gap:0 24px; padding-block:4px; }
 .gr-app .gr-navigation a { min-height:42px; font-size:13px; }
 .gr-app .gr-card-grid, .gr-app .gr-browser-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .gr-app .gr-library[data-gr-card-layout=grid].gr-game-list { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:980px) {
 .gr-app .gr-container, .gr-app .shell { width:calc(100% - 36px); }
 .gr-app .gr-card-grid, .gr-app .gr-browser-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .gr-app .gr-library[data-gr-card-layout=grid].gr-game-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .gr-app :is(.gr-library[data-gr-card-layout=list],.gr-game-list:not([data-gr-card-layout=grid])) > .gr-card { grid-template-columns:210px minmax(0,1fr); gap:16px; }
 .gr-app :is(.gr-library[data-gr-card-layout=list],.gr-game-list:not([data-gr-card-layout=grid])) .gr-card-content { display:flex; }
 .gr-app .availability-row { grid-template-columns:165px minmax(0,1fr) 115px; gap:12px; }
}
@media (max-width:760px) {
 .gr-app .gr-container, .gr-app .shell { width:calc(100% - 24px); }
 .gr-app .gr-main, .gr-app .gr-browser { padding-top:20px; }
 .gr-app .gr-page-heading h1, .gr-app .gr-browser-heading h1 { font-size:25px; }
 .gr-app .gr-page-heading p, .gr-app .gr-browser-heading p { font-size:12px; }
 body.gr-app .gr-header .gr-header-top { grid-template-columns:minmax(0,1fr) auto auto auto; min-height:60px; padding-block:0; gap:10px; }
 body.gr-app .gr-header.gr-js .gr-search { display:none; }
 body.gr-app .gr-header.gr-js .gr-quick-search { display:flex; grid-column:2; grid-row:1; justify-content:center; width:34px; height:40px; }
 body.gr-app .gr-quick-search .gr-icon { display:block; width:19px; }
 body.gr-app .gr-quick-search kbd { display:none; }
 body.gr-app .gr-header:not(.gr-js) .gr-search { display:flex; grid-column:1/-1; grid-row:2; max-width:none; margin-bottom:8px; }
 body.gr-app .gr-header:not(.gr-js) .gr-nav-shell { grid-row:3; }
 .gr-app .gr-brand > span { font-size:21px; }
 .gr-app .gr-brand > .gr-icon { width:29px; height:29px; }
 .gr-app .gr-navigation { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 18px; }
 .gr-app .gr-card-grid, .gr-app .gr-browser-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 .gr-app .gr-availability-evidence > summary, .gr-app .gr-library-modes button { min-height:40px; }
 .gr-app .availability-row { grid-template-columns:110px minmax(0,1fr); gap:8px 12px; }
}
@media (max-width:760px) {
 .gr-app .availability-row .availability-poster { grid-column:1; grid-row:1; }
 .gr-app .availability-row .availability-main { grid-column:2; grid-row:1; }
 .gr-app .availability-row .community-time { grid-column:1; grid-row:2; text-align:left; }
 .gr-app .availability-row > .game-quick-actions { grid-column:2; grid-row:2; justify-content:flex-start; }
}
@media (max-width:540px) {
 .gr-app .gr-card-grid, .gr-app .gr-browser-grid, .gr-app .gr-library[data-gr-card-layout=grid].gr-game-list { grid-template-columns:minmax(0,1fr); }
 .gr-app :is(.gr-library[data-gr-card-layout=list],.gr-game-list:not([data-gr-card-layout=grid])) > .gr-card { grid-template-columns:100px minmax(0,1fr); gap:12px; padding:12px; }
 .gr-app :is(.gr-library[data-gr-card-layout=list],.gr-game-list:not([data-gr-card-layout=grid])) .gr-card-content { gap:8px; }
 .gr-app .gr-card .gr-card-release { font-size:10px; padding:4px 6px; }
 .gr-app .gr-library[data-gr-card-layout=list] .gr-card-release { position:static; max-width:none; border-radius:0; font-size:10px; padding:4px; }
 .gr-app .gr-library[data-gr-card-layout=list] .gr-card-art { aspect-ratio:auto; }
 .gr-app .gr-library[data-gr-card-layout=list] .gr-card-cover { height:auto; }
 .gr-app .gr-browser-form input[type=search] { font-size:16px; }
 .gr-app .availability-row { grid-template-columns:94px minmax(0,1fr); }
 .gr-app .availability-row .community-heading > a { font-size:16px; }
}
@media (prefers-reduced-motion:reduce) { .gr-app .gr-card { transition:none; } }
.gr-app [hidden] { display:none!important; }
@media (min-width:981px) { .gr-app .availability-row { grid-template-columns:210px minmax(0,1fr) 160px; } }
/* The artwork owns its dimensions; image loading never changes card geometry. */
.gr-app .gr-card .gr-card-art { position:relative; aspect-ratio:460/215; }
.gr-app .gr-card .gr-card-cover { position:absolute; inset:0; width:100%; height:100%; aspect-ratio:auto; }
.gr-app .gr-card .gr-card-cover img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:1; }
@media (max-width:540px) {
 .gr-app .gr-library[data-gr-card-layout=list] .gr-card-release { display:none; }
 .gr-app .gr-library[data-gr-card-layout=list] .gr-card-date { display:block; }
}
.gr-app .gr-library[data-gr-card-layout=grid].gr-game-list { display:grid; }
.gr-app .gr-library[data-gr-card-layout=grid].gr-game-list > .gr-card { align-items:stretch; }
.gr-app .gr-card .gr-card-art { width:100%; min-width:0; }
.gr-app .gr-availability-evidence > summary { border:1px solid var(--slate-610); border-radius:5px; padding:3px 8px; width:fit-content; background:var(--slate-730); }

/* Reference refinement: controls share a baseline, while evidence stays expandable. */
.gr-app .gr-main, .gr-app .gr-browser { padding-top:20px; }
.gr-app .gr-page-heading, .gr-app .gr-browser-heading { margin-bottom:16px; }
.gr-app .gr-page-heading h1, .gr-app .gr-browser-heading h1 { font-size:28px; }
.gr-app .gr-browser-form { padding:8px; }
.gr-app .gr-browser-search > label > span { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); }
.gr-app .gr-browser-search { align-items:center; }
.gr-app .gr-browser-form > .gr-browser-filters > summary { min-height:40px; }
.gr-app .gr-browse-view-bar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:14px 0; }
.gr-app .gr-browse-view-bar .gr-date-tabs { margin:0; min-width:0; }
.gr-app [data-gr-layout-host] { flex:none; }
.gr-app [data-gr-layout-host] .gr-library-toolbar { margin:0; }
.gr-app [data-gr-layout-host] .gr-library-toolbar > span { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.gr-app .gr-browser-results-head { margin-bottom:14px; }
.gr-app .gr-browser-results-head h2 { font-size:20px; }
/* Compact cards keep one copy of each action; quick view sits over the artwork. */
.gr-app .gr-card .gr-card-content { gap:9px; }
.gr-app .gr-library[data-gr-card-layout=grid].gr-game-list .gr-card h3 { min-height:0; }
.gr-app .gr-card .gr-card-genres { margin-top:7px; gap:4px; }
.gr-app .gr-card-platforms { display:flex!important; align-items:center; flex-wrap:wrap; gap:8px; }
.gr-app .gr-platform { display:inline-flex; align-items:center; gap:4px; font-size:11px; color:var(--slate-200); }
.gr-app .gr-platform svg { width:14px; height:14px; flex:none; }
.gr-app .gr-card .gr-card-facts { align-items:center; gap:6px 12px; }
.gr-app .gr-card .gr-card-bottom { gap:8px; }
.gr-app .gr-card .gr-card-rating { font-size:12px; }
.gr-app .gr-card .gr-card-rating small { display:inline; }
.gr-app .gr-card .gr-card-extra { padding-top:7px; }
.gr-app [data-gr-compact-channels] { margin:0; min-width:0; }
.gr-app [data-gr-compact-channels] > summary { align-items:center; min-height:28px; gap:4px; font-size:11px; }
.gr-app [data-gr-compact-channels] > summary > span:not(.gr-sr) { background:none; padding:0; color:var(--cyan-200); }
.gr-app [data-gr-compact-channels] > summary .is-confirmed { color:var(--green-140); }
.gr-app [data-gr-compact-channels][open] { flex-basis:100%; }
.gr-app [data-gr-compact-channels] .gr-channel-details { margin:4px 0 8px; }
.gr-app [data-gr-compact-channels] .gr-channel-state { color:var(--slate-120); }
/* Source rows: publication time, actual permalink and evidence, no KPI column. */
.gr-app .availability-row { grid-template-columns:210px minmax(0,1fr) 184px; gap:8px 20px; padding:14px; }
.gr-app .availability-row .availability-main { grid-column:2; grid-row:1/3; }
.gr-app .availability-row .community-time { grid-column:3; grid-row:1; font-variant-numeric:tabular-nums; }
.gr-app .availability-row .community-time small { display:block; color:var(--slate-340); font-size:10px; margin-bottom:3px; }
.gr-app .availability-row .community-time time { display:block; }
.gr-app .availability-row .gr-availability-actions { grid-column:3; grid-row:2; display:flex; align-items:center; gap:6px; align-self:end; justify-content:flex-end; }
.gr-app .gr-availability-actions > .game-quick-actions { display:flex; gap:5px; opacity:1; position:static; inset:auto; transform:none; pointer-events:auto; }
.gr-app .availability-row .gr-availability-actions .game-action { display:flex; align-items:center; justify-content:center; width:34px; height:36px; min-width:34px; padding:0; }
.gr-app .gr-availability-actions .game-action .game-action-label { display:none; }
.gr-app .gr-availability-actions .gr-icon { width:16px; height:16px; }
.gr-app .gr-availability-open { display:inline-flex; align-items:center; justify-content:center; gap:5px; min-height:36px; padding:7px 9px; border-radius:6px; background:var(--cyan-210); color:var(--slate-760); font-size:12px; font-weight:650; white-space:nowrap; }
.gr-app .gr-availability-open:hover { background:var(--cyan-130); color:var(--slate-760); }
.gr-app .availability-row .community-heading { gap:6px 10px; }
.gr-app .availability-row .community-heading > span { background:var(--slate-700); color:var(--slate-200); font-size:10px; }
.gr-app .availability-row .community-meta { margin-top:8px; }
.gr-app .gr-availability-evidence > summary { display:flex; flex-wrap:wrap; min-height:30px; width:fit-content; max-width:100%; padding:0; border:0; background:none; gap:6px; }
.gr-app .gr-availability-evidence > summary .gr-source-pill { padding:4px 8px; margin:0; border:1px solid var(--slate-580); border-radius:5px; background:var(--slate-730); color:var(--cyan-120); font-size:11px; overflow-wrap:anywhere; }
.gr-app .gr-availability-evidence > summary > span:not(.gr-source-pill):not(.gr-sr) { font-size:11px; margin-left:2px; }
.gr-app .gr-source-observation { margin:10px 0 6px; color:var(--slate-160); font-size:12px; line-height:1.45; overflow-wrap:anywhere; }
@media (max-width:1100px) {
 .gr-app .availability-row { grid-template-columns:170px minmax(0,1fr) 164px; gap:10px 14px; }
 .gr-app .gr-availability-open { padding-inline:7px; font-size:11px; }
 .gr-app .gr-availability-open > .gr-icon { display:none; }
 .gr-app .gr-browse-view-bar { flex-wrap:wrap; gap:10px; }
}
@media (max-width:760px) {
 .gr-app .gr-main, .gr-app .gr-browser { padding-top:18px; }
 .gr-app .gr-browser-heading, .gr-app .gr-page-heading { gap:8px; margin-bottom:14px; }
 .gr-app .gr-browser-heading h1, .gr-app .gr-page-heading h1 { font-size:24px; }
 .gr-app .gr-browser-heading .gr-calendar-subscribe { font-size:11px; min-height:28px; }
 .gr-app .gr-browser-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)) 68px; gap:8px; padding:8px; align-items:end; }
 .gr-app .gr-browser-form > .gr-browser-search { display:contents; }
 .gr-app .gr-browser-search > .gr-browser-query { grid-column:1/3; grid-row:1; }
 .gr-app .gr-browser-search > button { grid-column:3; grid-row:1; min-height:44px; }
 .gr-app .gr-browser-search > label:not(.gr-browser-query) { grid-column:auto; grid-row:2; }
 .gr-app .gr-community-form .gr-browser-search > label:not(.gr-browser-query) { grid-column:1/3; }
 .gr-app .gr-browser-form :is(input:not([type=hidden]),select) { min-height:44px; }
 .gr-app .gr-browser-form > .gr-browser-filters { grid-column:3; grid-row:2; margin:0; }
 .gr-app .gr-browser-form > .gr-browser-filters > summary { justify-content:center; gap:0; font-size:0; min-height:44px; padding:6px; width:100%; }
 .gr-app .gr-browser-form > .gr-browser-filters > summary::after { display:none; }
 .gr-app .gr-browser-form > .gr-browser-filters > summary .gr-icon { width:20px; height:20px; }
 .gr-app .gr-browser-form > .gr-browser-filters[open] { grid-row:3; grid-column:1/-1; }
 .gr-app .gr-browser-form > .gr-browser-filters[open] > summary { justify-content:flex-start; gap:8px; font-size:13px; width:fit-content; }
 .gr-app .gr-browser-form .gr-browser-filter-fields { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .gr-app .gr-browse-view-bar { flex-wrap:nowrap; gap:8px; margin:12px 0; }
 .gr-app .gr-browse-view-bar .gr-date-tabs { flex:1; overflow:auto; scrollbar-width:thin; }
 .gr-app .gr-browse-view-bar .gr-library-modes button { font-size:0; width:38px; padding:4px; min-height:40px; }
 .gr-app .gr-browse-view-bar .gr-library-modes button::before { content:'▦'; font-size:22px; }
 .gr-app .gr-browse-view-bar .gr-library-modes button[data-gr-card-mode=list]::before { content:'☰'; font-size:18px; }
}
@media (max-width:760px) {
 .gr-app .availability-row { grid-template-columns:96px minmax(0,1fr); padding:12px; gap:10px 12px; }
 .gr-app .availability-row .availability-poster { grid-column:1; grid-row:1; }
 .gr-app .availability-row .availability-main { grid-column:2; grid-row:1; }
 .gr-app .availability-row .community-time { grid-column:1; grid-row:2; text-align:left; align-self:center; }
 .gr-app .availability-row .gr-availability-actions { grid-column:2; grid-row:2; justify-content:flex-start; gap:5px; }
 .gr-app .availability-row .gr-availability-actions .game-action { min-height:44px; height:44px; min-width:34px; }
 .gr-app .availability-row .gr-availability-open { min-height:44px; padding-inline:7px; font-size:11px; }
 .gr-app .availability-row .community-heading > a { font-size:16px; }
 .gr-app .gr-availability-evidence > summary { min-height:40px; }
}
@media (max-width:380px) {
 .gr-app .availability-row { grid-template-columns:80px minmax(0,1fr); gap:9px; }
 .gr-app .gr-availability-actions .game-quick-actions { gap:3px; }
 .gr-app .availability-row .gr-availability-actions .game-action { width:32px; min-width:32px; }
 .gr-app .gr-browser-search > label:not(.gr-browser-query) select { font-size:12px; padding-left:7px; }
}

.gr-app .availability-row .community-time time > strong, .gr-app .availability-row .community-time time > span { display:block; }
.gr-app .availability-row .community-time time > span { margin-top:3px; }
.gr-app .gr-card .gr-card-extra { margin-top:0; }

/* Storefront direction: artwork-led blue shelves, not outlined dashboard tiles. */

.gr-app .gr-header { background:var(--slate-760); border-color:var(--slate-790); }
.gr-app .gr-header .gr-brand { color:var(--slate-80); }
.gr-app .gr-search { background:var(--slate-640); border:1px solid var(--slate-550); border-radius:2px; }
.gr-app .gr-button { border-radius:2px; box-shadow:none; font-weight:500; }
.gr-app .gr-button-primary { color:#fff; background:linear-gradient(100deg,var(--cyan-350),var(--slate-520)); }
.gr-app .gr-button-primary:hover { background:linear-gradient(100deg,var(--cyan-250),var(--cyan-400)); }
.gr-app .gr-button-secondary { color:var(--slate-120); background:var(--slate-610); border-color:transparent; }
.gr-app .gr-browser-form { background:var(--slate-670); border:0; border-radius:2px; }
.gr-app .gr-browser-form :is(input:not([type=hidden]),select), .gr-app .gr-browser-query > div { background:var(--slate-730); border-color:var(--slate-580); border-radius:2px; }
.gr-app :is(.gr-date-tabs,.gr-tabs,.gr-channel-tabs) a { border:0; border-radius:2px; background:var(--slate-640); color:var(--slate-160); }
.gr-app :is(.gr-date-tabs,.gr-tabs,.gr-channel-tabs) a[aria-current] { background:var(--slate-520); color:#fff; }
.gr-app .gr-card { border:0; border-radius:2px; background:var(--slate-670); box-shadow:0 2px 8px #0004; }
.gr-app .gr-card:hover, .gr-app .gr-card:focus-within { background:var(--slate-580); border:0; }
.gr-app .gr-card .gr-card-art { border-radius:2px 2px 0 0; }
.gr-app .gr-card h3 { font-weight:600; letter-spacing:0; }
.gr-app .gr-library-modes, .gr-app .gr-library-modes button { border-radius:2px; }
.gr-app .gr-library-modes { background:var(--slate-730); border:0; }
.gr-app .gr-library-modes button[aria-pressed=true] { background:var(--slate-520); }
.gr-app .availability-row { background:var(--slate-670); border:0; border-radius:2px; }
.gr-app .availability-row:hover { background:var(--slate-610); }

.gr-app :focus-visible { outline:2px solid var(--cyan-130); outline-offset:3px; }
/* Catalogue and search: the search field, the quick lists, the filters and the bar of the results.
 * The fields themselves are the shared ones of components.css; this block only lays them out. */
body.gr-app .gr-catalog-page { padding-top:20px; }
body.gr-app .gr-search-form { gap:12px; min-height:54px; margin:0 0 14px; padding:6px 6px 6px 18px; border-radius:var(--gr-radius-card)!important; background:var(--gr-surface)!important; }
body.gr-app .gr-search-form > .gr-icon { width:20px; height:20px; color:var(--cyan-210); }
body.gr-app .gr-search-form input[type=search] { font-size:16px; }
body.gr-app .gr-search-form > .gr-button { flex:none; padding-inline:18px!important; }
body.gr-app .gr-search-presets { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 16px; }
body.gr-app .gr-search-page .gr-catalog-scope { margin:-4px 0 16px; padding:0; border:0; color:var(--slate-280); font-size:var(--type-caption); }
body.gr-app .gr-search-page .gr-search-help { margin:-4px 0 16px; }
/* The conditions in force: each chip removes its own. */
body.gr-app .gr-active-filters { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 16px; }
body.gr-app .gr-active-filters a { display:inline-flex; align-items:center; gap:8px; min-height:32px; max-width:100%; padding:0 10px 0 12px; border:1px solid var(--gr-field-border); border-radius:999px; background:var(--gr-surface); color:var(--slate-120); font-size:var(--type-meta); line-height:1.2; transition:border-color 140ms ease,color 140ms ease; }
body.gr-app .gr-active-filters a > span:first-child { min-width:0; max-width:280px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.gr-app .gr-active-filters a > span[aria-hidden] { color:var(--slate-340); font-size:16px; line-height:1; }
body.gr-app .gr-active-filters a:hover { border-color:var(--gr-border-strong); color:var(--slate-20); }
body.gr-app .gr-active-filters a:hover > span[aria-hidden] { color:var(--slate-20); }
body.gr-app .gr-active-filters .gr-active-reset { padding-inline:6px; border-color:transparent; background:none; color:var(--cyan-130); }
body.gr-app .gr-browser-form + .gr-active-filters { margin-top:12px; }
body.gr-app .gr-search-workspace { display:grid; grid-template-columns:minmax(0,1fr); gap:20px; align-items:start; }
/* The panel of the filters: a heading that folds it, a grid of fields, then the foot with the less common
 * conditions on the left and the actions on the right. */
body.gr-app .gr-search-filters { min-width:0; padding:0; }
body.gr-app .gr-filter-panel > summary { display:flex; align-items:center; gap:10px; min-height:48px; padding:0 18px; color:var(--slate-80); font-size:var(--type-small); font-weight:600; list-style:none; cursor:pointer; user-select:none; }
body.gr-app :is(.gr-filter-panel,.gr-advanced-filters) > summary::-webkit-details-marker { display:none; }
body.gr-app .gr-filter-panel > summary > .gr-icon { flex:none; width:18px; height:18px; color:var(--cyan-210); }
body.gr-app :is(.gr-filter-panel,.gr-advanced-filters) > summary::after { content:''; flex:none; width:7px; height:7px; margin:-4px 3px 0 auto; border:solid var(--slate-280); border-width:0 1.6px 1.6px 0; transform:rotate(45deg); transition:transform 140ms ease; }
body.gr-app :is(.gr-filter-panel,.gr-advanced-filters)[open] > summary::after { margin-top:4px; transform:rotate(-135deg); }
body.gr-app .gr-filter-panel > summary:focus-visible { outline-offset:-3px; border-radius:var(--gr-radius-card); }
body.gr-app .gr-filter-panel[open] > summary { border-bottom:1px solid var(--gr-border); }
body.gr-app .gr-search-filters form { display:block; margin:0; padding:16px 18px 18px; }
body.gr-app .gr-filter-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px 16px; align-items:end; }
body.gr-app .gr-field { display:grid; gap:6px; min-width:0; margin:0; }
body.gr-app .gr-field > :is(input,select), body.gr-app .gr-date-range input { width:100%; }
body.gr-app .gr-date-range > div { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:6px; color:var(--slate-340); }
body.gr-app .gr-date-range input { padding-inline:10px 8px!important; }
/* A yes/no condition sits in the grid as a field of its own. */
body.gr-app .gr-field-toggle { box-sizing:border-box; display:flex!important; min-width:0; padding:0 12px; border:1px solid var(--gr-field-border); border-radius:var(--gr-radius-control); background:var(--gr-field-bg); color:var(--slate-80); font-size:var(--type-small); transition:border-color 140ms ease; }
body.gr-app .gr-field-toggle:hover { border-color:var(--gr-field-border-hover); }
body.gr-app .gr-field-toggle:has(input:checked) { border-color:color-mix(in srgb,var(--gr-primary) 55%,transparent); background:color-mix(in srgb,var(--gr-primary) 9%,var(--gr-field-bg)); color:var(--slate-20); }
body.gr-app .gr-field-toggle:has(input:focus-visible) { border-color:var(--gr-primary); box-shadow:var(--gr-focus-ring); }
body.gr-app .gr-field-toggle input:focus-visible { outline:0; }
body.gr-app .gr-filter-foot { display:flex; flex-wrap:wrap; align-items:center; gap:0 16px; margin-top:16px; padding-top:8px; border-top:1px solid var(--gr-border); }
body.gr-app .gr-advanced-filters { flex:1 1 240px; min-width:0; }
body.gr-app .gr-advanced-filters[open] { flex-basis:100%; }
body.gr-app .gr-advanced-filters > summary { display:inline-flex; align-items:center; gap:8px; min-height:44px; color:var(--cyan-130); font-size:var(--type-meta); font-weight:600; list-style:none; cursor:pointer; user-select:none; }
body.gr-app .gr-advanced-filters > summary::after { margin-left:2px; border-color:currentColor; }
body.gr-app .gr-advanced-filters > summary:hover { color:var(--slate-20); }
body.gr-app .gr-advanced-filters > summary > b { min-width:20px; padding:2px 6px; border-radius:999px; background:var(--gr-primary); color:var(--gr-on-primary); font-size:11px; font-weight:700; line-height:16px; text-align:center; }
body.gr-app .gr-advanced-filter-fields { align-items:start; padding:6px 0 16px; }
body.gr-app .gr-similar-field { min-width:0; }
body.gr-app .gr-filter-hint { margin:6px 0 0; color:var(--slate-240); font-size:var(--type-caption); line-height:1.45; }
body.gr-app .gr-filter-actions { display:flex; align-items:center; gap:8px 18px; min-height:44px; margin-left:auto; }
body.gr-app .gr-advanced-filters[open] + .gr-filter-actions { flex:1 1 100%; justify-content:flex-end; padding-top:8px; border-top:1px solid var(--gr-border); }
body.gr-app .gr-filter-actions .gr-button { min-width:150px; }
body.gr-app .gr-filter-actions .gr-filter-reset { padding:0; color:var(--slate-200)!important; font-size:var(--type-meta)!important; text-decoration:underline; text-decoration-color:transparent; text-underline-offset:3px; }
body.gr-app .gr-filter-actions .gr-filter-reset:hover { color:var(--slate-20)!important; text-decoration-color:currentColor; }
/* The bar of the results: how many, in what order, cards or rows. */
body.gr-app .gr-search-results-head { display:flex; flex-wrap:wrap; align-items:center; gap:10px 12px; margin:0 0 16px; padding-bottom:14px; border-bottom:1px solid var(--gr-border); }
body.gr-app .gr-search-results-head h2 { margin:0 auto 0 0; font-size:20px; font-weight:600; letter-spacing:-.2px; }
body.gr-app .gr-sort-form { display:flex; align-items:center; gap:8px; min-width:0; margin:0; }
body.gr-app .gr-sort-form .gr-field { display:flex; align-items:center; gap:10px; }
body.gr-app .gr-sort-form select { width:auto; max-width:260px; }
@media (max-width:1100px) {
 body.gr-app .gr-filter-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:760px) {
 body.gr-app .gr-catalog-page { padding-top:14px; }
 body.gr-app .gr-search-form { gap:8px; min-height:52px; padding:4px 4px 4px 14px; }
 body.gr-app .gr-search-form > .gr-icon { display:none; }
 body.gr-app .gr-search-form > .gr-button { padding-inline:14px!important; }
 body.gr-app .gr-search-presets { flex-wrap:nowrap; margin-inline:-12px; padding:0 12px 4px; overflow-x:auto; scrollbar-width:none; }
 body.gr-app .gr-search-presets a { flex:none; min-height:40px; }
 body.gr-app .gr-active-filters a { min-height:40px; }
 body.gr-app .gr-filter-panel > summary { padding-inline:14px; }
 body.gr-app .gr-search-filters form { padding:14px; }
 body.gr-app .gr-filter-grid { gap:12px; }
 body.gr-app .gr-filter-grid > :is(.gr-tag-picker,.gr-tag-fallback,.gr-date-range,.gr-similar-field) { grid-column:1/-1; }
 body.gr-app .gr-filter-foot { margin-top:14px; }
 body.gr-app .gr-filter-actions { flex:1 1 100%; justify-content:space-between; }
 body.gr-app .gr-filter-actions .gr-button { flex:0 1 220px; }
 body.gr-app .gr-search-results-head h2 { flex:1 1 100%; }
 body.gr-app .gr-sort-form { flex:1; }
 body.gr-app .gr-search-results-head .gr-sort-form .gr-field { flex:1; font-size:0!important; gap:0; }
 body.gr-app .gr-sort-form select { width:100%; max-width:none; }
 body.gr-app .gr-search-results-head .gr-library-modes button { font-size:0; width:42px; padding:0; }
 body.gr-app .gr-search-results-head .gr-library-modes button::before { content:'▦'; font-size:22px; }
 body.gr-app .gr-search-results-head .gr-library-modes button[data-gr-card-mode=list]::before { content:'☰'; font-size:18px; }
}
@media (max-width:359px) {
 body.gr-app .gr-filter-grid { grid-template-columns:minmax(0,1fr); }
}
@media (prefers-reduced-motion:reduce) {
 body.gr-app :is(.gr-filter-panel,.gr-advanced-filters) > summary::after { transition:none; }
}
/* The release calendar with the list of upcoming games under it (/upcoming): the calendar is a panel, the list is the page. */
.gr-app .gr-release-calendar { margin-block:6px 32px; border:1px solid var(--slate-640); border-radius:10px; background:var(--slate-760); overflow:hidden; }
.gr-app .gr-release-calendar-toggle { display:flex; align-items:center; gap:10px; width:100%; padding:14px 20px; border:0; background:transparent; color:var(--slate-80); font:inherit; text-align:left; cursor:pointer; }
.gr-app .gr-release-calendar-toggle > span { font-size:15px; font-weight:600; }
.gr-app .gr-release-calendar-toggle > small { margin-left:auto; color:var(--slate-200); font-size:12px; }
.gr-app .gr-release-calendar-toggle > .gr-icon { width:18px; height:18px; flex:none; }
.gr-app .gr-release-calendar-toggle > .gr-icon:last-child { transform:rotate(90deg); transition:transform 180ms ease; }
.gr-app .gr-release-calendar-toggle[aria-expanded=false] > .gr-icon:last-child { transform:rotate(0); }
.gr-app .gr-release-calendar-toggle:hover { background:var(--slate-730); }
.gr-app .gr-release-calendar-toggle:focus-visible { outline:2px solid var(--cyan-130); outline-offset:-3px; }
.gr-app .gr-release-calendar .gr-daily-calendar { margin:0; padding-top:0; border:0; background:transparent; }
.gr-app .gr-release-calendar .gr-daily-toolbar { margin-top:4px; }
.gr-app .gr-upcoming-list { scroll-margin-top:84px; }
.gr-app .gr-upcoming-list > .gr-browser-form { margin-bottom:16px; }
.gr-app .gr-upcoming-controls { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px 24px; }
.gr-app .gr-upcoming-controls > .gr-date-tabs { margin:0; padding:0; flex:0 1 auto; min-width:0; overflow-x:auto; scrollbar-width:thin; }
.gr-app .gr-upcoming-controls .gr-date-tabs a { white-space:nowrap; }
.gr-app .gr-upcoming-dates a small { margin-left:7px; font-size:11px; opacity:.72; }
.gr-app .gr-upcoming-note { margin:10px 0 14px; color:var(--slate-280); font-size:12px; line-height:1.5; }
.gr-app .gr-upcoming-list > .gr-game-list, .gr-app .gr-upcoming-list > .gr-library { margin-top:4px; }
.gr-app .gr-upcoming-list > .gr-library { transition:opacity 180ms ease; }
.gr-app .gr-upcoming-list[aria-busy=true] > .gr-library { opacity:.65; }
.gr-app .gr-upcoming-status { position:fixed; bottom:20px; left:50%; transform:translateX(-50%); z-index:20; padding:8px 14px; border-radius:8px; background:var(--slate-730); color:var(--slate-80); font-size:12px; }
.gr-app .gr-upcoming-status:empty { display:none; }
@media (max-width:760px) {
 .gr-app .gr-release-calendar { margin-bottom:24px; }
 .gr-app .gr-release-calendar-toggle { padding:14px; }
 .gr-app .gr-upcoming-controls { gap:8px; }
 .gr-app .gr-upcoming-controls > .gr-date-tabs { width:100%; flex:1 1 100%; }
 .gr-app .gr-upcoming-dates a small { margin-left:5px; }
}
@media (prefers-reduced-motion:reduce) {
 .gr-app .gr-release-calendar-toggle > .gr-icon:last-child, .gr-app .gr-upcoming-list > .gr-library { transition:none; }
}
