/* Games page in the style of the new home page (styles/home-v2.css): flat dark page, thin grey lines, square pictures, a divider
   between the games and the side panel. Loaded last. */
.gm-page {
    --v-line: rgba(255, 255, 255, .1);
    --v-dim: #8d9ab0;
    --v-blue: #4aa8ff;
}
.gm-title { margin-bottom: 16px; }
.gm-title h1 { font-size: 26px; font-weight: 760; letter-spacing: -.025em; }
.gm-title p { display: none; }

/* search: calm, transparent, a little rounded */
.gm-controls { margin-bottom: 18px; }
.gm-controls .gm-search-box, .gm-search-box, .gm-search-box:not(:focus-within), .gm-controls .gm-search-box:not(:focus-within) { height: 46px; padding: 0 8px 0 15px; border: 1px solid var(--v-line); border-radius: 10px; background: rgba(255, 255, 255, .03); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.gm-controls .gm-search-box:focus-within { border-color: rgba(98, 190, 255, .55); background: rgba(255, 255, 255, .04); box-shadow: 0 0 0 3px rgba(74, 168, 255, .14); }
.gm-search-ico { width: 18px; height: 18px; flex-basis: 18px; color: var(--v-dim); }
#gmSearch { font-size: 14.5px; }
#gmSearch::placeholder { color: #a3b0c4; }
.gm-kbd { width: 22px; height: 22px; border-radius: 5px; border-color: var(--v-line); color: var(--v-dim); }
.gm-random { height: 32px; padding: 0 13px; border: 1px solid var(--v-line); border-radius: 8px; background: transparent; box-shadow: none; color: #e4ecf8; font-size: 12.5px; }
.gm-random:hover { background: rgba(255, 255, 255, .06); filter: none; }

/* the two sides: a grey line between them, the side panel without a box */
.gm-layout { gap: 0; align-items: stretch; }
.gm-main { padding-right: 26px; }
.gm-side { position: sticky; top: 16px; align-self: start; border: 0; border-left: 1px solid var(--v-line); border-radius: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; padding-left: 14px; }
.gm-side-tabs { padding: 0; border-bottom: 1px solid var(--v-line); }

/* the tiles: square picture, no frame, nothing lifts; only the picture comes closer */
.hg-card, .hg-card:hover { border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.hg-card:hover { transform: none; }
.hg-thumb { border-radius: 0; }
.gm-page .hg-live { display: none; }
.gm-page .hg-icon { display: none; }
.gm-page .hg-info { gap: 0; padding: 12px 2px 0; }
.gm-page .hg-text { gap: 6px; }
.gm-page .hg-text strong { font-size: 15px; font-weight: 700; color: #f1f5fb; }
.gm-page .hg-text small { display: flex; align-items: center; gap: 16px; color: #b6c2d6; font-size: 14px; }
.gm-page .hg-pl, .gm-page .hg-lk { display: inline-flex; align-items: center; gap: 8px; }
.gm-page .hg-pl b { font-weight: 500; }
.gm-page .hg-pl::before, .gm-page .hg-lk::before { content: ''; width: 17px; height: 17px; flex: 0 0 17px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.gm-page .hg-pl { --ico: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.4'/%3E%3Cpath d='M2.8 20a6.2 6.2 0 0 1 12.4 0M16 5a3.4 3.4 0 0 1 0 6.4M17.6 14.2A6.2 6.2 0 0 1 21.2 20'/%3E%3C/svg%3E"); }
.gm-page .hg-lk { --ico: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10v10H4a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1h3Zm0 0 4-7a2 2 0 0 1 2 2v3h5.2a1.8 1.8 0 0 1 1.8 2.2l-1.4 6.6A2.4 2.4 0 0 1 16.2 19H7'/%3E%3C/svg%3E"); }
body.games-page .all-games-grid { gap: 22px 20px; }

/* the charts in the side panel: like trending on the home page */
.gm-chart-list { gap: 0; }
.gm-chart-list li { border-bottom: 1px solid var(--v-line); }
.gm-chart-list li:last-child { border-bottom: 0; }
.gm-chart-row { padding: 10px 4px; border-radius: 0; }
.gm-chart-row img { border-radius: 0; }
.gm-chart-list li:nth-child(1) b { color: #ffc94d; }
.gm-chart-list li:nth-child(2) b { color: #e2e9f4; }
.gm-chart-list li:nth-child(3) b { color: #f0a15e; }

@media (max-width: 1100px) {
    .gm-main { padding-right: 0; }
    .gm-side { border-left: 0; padding-left: 0; }
}
.gm-filter-btn { height: 32px; border: 1px solid var(--v-line); border-radius: 8px; background: transparent !important; box-shadow: none !important; color: #e4ecf8; }
.gm-filter-btn:hover { background: rgba(255, 255, 255, .06) !important; filter: none; }

/* ---------------------------------------------------------------- the filters panel */
.gm-fpanel { border: 1px solid var(--v-line); border-radius: 10px; background: #080b11; box-shadow: 0 24px 50px -24px #000; backdrop-filter: none; -webkit-backdrop-filter: none; }
.gm-fscrim { background: rgba(0, 0, 0, .35); backdrop-filter: none; -webkit-backdrop-filter: none; }
.gm-fp-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--v-line); }
.gm-fp-head strong { font-size: 14px; font-weight: 750; letter-spacing: .01em; margin-right: auto; }
.gm-fp-reset { padding: 5px 11px; border: 1px solid var(--v-line); border-radius: 999px; background: transparent; color: #c3cee0; font: 600 12px Inter, sans-serif; cursor: pointer; }
.gm-fp-reset:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.gm-fp-x { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #aab7cc; cursor: pointer; }
.gm-fp-x:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.gm-fp-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.gm-fp-body { padding: 18px; gap: 22px 28px; }
.gm-fp-sec h4 { margin: 0 0 10px; color: var(--v-dim); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.gm-fp-sec h4 button { margin-left: 8px; padding: 0; border: 0; background: none; color: var(--v-blue); font: 600 12px Inter, sans-serif; letter-spacing: 0; text-transform: none; cursor: pointer; }
.gm-cat-opt { height: 32px; padding: 0 13px; border: 1px solid var(--v-line); border-radius: 6px; background: transparent; color: #c3cee0; font-size: 13px; }
.gm-cat-opt:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.gm-cat-opt.is-on { border-color: rgba(74, 168, 255, .5); background: rgba(74, 168, 255, .12); color: #cfe6ff; }
.gm-fpanel .range-label { color: #c3cee0; font-size: 12.5px; font-weight: 600; }
.gm-fpanel .filter-control, .gm-fpanel .gm-cs-btn, .gm-fpanel .range-inputs input { min-height: 38px; border: 1px solid var(--v-line); border-radius: 8px; background: rgba(255, 255, 255, .03); box-shadow: none; color: #f2f6fc; }
.gm-fpanel .filter-control:focus, .gm-fpanel .range-inputs input:focus { border-color: rgba(98, 190, 255, .55); outline: 0; box-shadow: 0 0 0 3px rgba(74, 168, 255, .14); }
.gm-fpanel .library-advanced-search summary { display: none; }
.gm-fpanel .gm-cs-list { border: 1px solid var(--v-line); border-radius: 8px; background: #0a0e15; box-shadow: 0 18px 40px -20px #000; }
.gm-fp-foot { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-top: 1px solid var(--v-line); background: none; }
.gm-fp-random { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 1px solid var(--v-line); border-radius: 8px; background: transparent; box-shadow: none; color: #dbe5f5; font: 600 13px Inter, sans-serif; cursor: pointer; }
.gm-fp-random:hover { background: rgba(255, 255, 255, .06); }
.gm-fp-random svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.gm-fp-done { height: 36px; padding: 0 22px; border: 1px solid rgba(74, 168, 255, .45); border-radius: 8px; background: rgba(74, 168, 255, .14); box-shadow: none; color: #cfe6ff; font: 650 13px Inter, sans-serif; cursor: pointer; }
.gm-fp-done:hover { background: rgba(74, 168, 255, .24); filter: none; }

/* ---------------------------------------------------------------- the panel on the right: flat, and Collections */
.gm-pane { padding: 14px 0 0 2px; }
.gm-pane .container, .gm-pane .collections-grid, .gm-pane .collection-toolbar { background: none !important; }
.gm-pane .collection-toolbar { gap: 10px; margin-bottom: 14px; }
.gm-pane .collection-toolbar > input[type="search"], .gm-pane .collection-toolbar-controls select { min-height: 42px; border: 1px solid var(--v-line); border-radius: 10px; background: rgba(255, 255, 255, .03) !important; box-shadow: none; color: #f2f6fc; font-size: 14px; }
.gm-pane .collection-toolbar > input[type="search"]:focus, .gm-pane .collection-toolbar-controls select:focus { border-color: rgba(98, 190, 255, .55); outline: 0; box-shadow: 0 0 0 3px rgba(74, 168, 255, .14); }
.gm-pane .collection-toolbar .btn { height: 42px; border: 1px solid var(--v-line); border-radius: 10px; background: transparent !important; box-shadow: none; color: #e4ecf8; font-weight: 650; }
.gm-pane .collection-toolbar .btn:hover { background: rgba(255, 255, 255, .06) !important; filter: none; }
.gm-pane .collections-grid { gap: 0; }
.gm-col-card { gap: 14px; padding: 12px 4px; border: 0; border-bottom: 1px solid var(--v-line); border-radius: 0; background: none; }
.gm-col-card:last-child { border-bottom: 0; }
.gm-col-card:hover { transform: none; border-color: var(--v-line); background: rgba(255, 255, 255, .035); }
.gm-col-cover { flex-basis: 64px; width: 64px; height: 64px; border-radius: 0; }
.gm-col-title { font-size: 14.5px; }
.gm-col-by { color: #aab6c9; }
.gm-col-card .collection-save-toggle { border-radius: 6px; background: transparent; }
.gm-empty-state { border: 1px solid var(--v-line); border-radius: 10px; background: none; }
.gm-pane [data-rdash-style="s216"] { padding: 22px 6px; color: var(--v-dim); font-size: 13.5px; text-align: center; }

/* the collection drawer: the same dark as the page, a quiet close arrow */
.gm-drawer-backdrop { background: rgba(0, 0, 0, .55); backdrop-filter: none; -webkit-backdrop-filter: none; }
.gm-drawer-panel { border-left: 1px solid var(--v-line); background: #05070b; box-shadow: -24px 0 60px rgba(0, 0, 0, .55); }
.gm-drawer-body, .gm-drawer-frame, .gm-drawer-loading { background: #05070b; }
.gm-drawer-loading i { background: #aab6c9; }
.gm-drawer-handle { left: -30px; width: 30px; height: 60px; border: 1px solid var(--v-line); border-right: 0; border-radius: 8px 0 0 8px; background: #05070b; color: #aab6c9; box-shadow: none; }
.gm-drawer-handle:hover { left: -30px; width: 30px; background: #0d121b; color: #fff; }
.gm-drawer-handle svg { width: 16px; height: 16px; stroke-width: 2.2; }
.gm-drawer-handle:hover svg { transform: translateX(2px); }

/* round 3: the collections list in the side panel */
.gm-pane .collections-grid { padding: 0; }
.gm-col-card { gap: 14px; padding: 14px 4px; align-items: center; }
.gm-col-cover { flex: 0 0 76px; width: 76px; height: 76px; gap: 1px; background: #0a0e15; }
.gm-col-pill { display: block; position: absolute; left: 0; bottom: 0; padding: 2px 6px; border-radius: 0; background: rgba(5, 7, 11, .85); color: #e4ecf8; font-size: 10.5px; font-weight: 700; line-height: 1.4; }
.gm-col-pill.is-private { left: auto; right: 0; bottom: auto; top: 0; color: #fca5a5; }
.gm-col-body { gap: 8px; align-self: stretch; justify-content: center; }
.gm-col-title { font-size: 15px; font-weight: 700; }
.gm-col-by img { width: 20px; height: 20px; flex-basis: 20px; }
.gm-col-by { font-size: 12.5px; }
.gm-col-foot { gap: 10px; }
.gm-col-card .gm-save, .gm-col-card .collection-save-button { color: #8d9ab0; }
.gm-pane .collection-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.gm-pane .collection-toolbar > input[type="search"] { grid-column: 1 / -1; }
.gm-pane .collection-toolbar-controls { display: contents; }
.gm-pane .collection-toolbar-controls select { min-width: 0; }

/* round 4: the search with its filters button, and the collections toolbar */
.gm-controls .gm-search-box { height: 48px; gap: 10px; padding: 0 6px 0 16px; }
.gm-search-box .gm-kbd { margin-right: 2px; }
.gm-filter-btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 1px solid rgba(74, 168, 255, .4); border-radius: 8px; background: rgba(74, 168, 255, .1) !important; color: #cfe6ff; font: 650 13px Inter, sans-serif; }
.gm-filter-btn:hover, .gm-filter-btn[aria-expanded="true"], .gm-filter-btn.is-on { background: rgba(74, 168, 255, .2) !important; border-color: rgba(98, 190, 255, .6); }
.gm-filter-btn svg { width: 16px; height: 16px; }
.gm-pane .collection-toolbar { gap: 10px; margin-bottom: 16px; }
.gm-pane .collection-toolbar > input[type="search"] { min-height: 46px; padding-left: 16px; }
.gm-pane .collection-toolbar-controls select { min-height: 42px; padding: 0 34px 0 14px; cursor: pointer; }
.gm-pane .collection-toolbar .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 16px; border: 1px solid rgba(74, 168, 255, .4); border-radius: 10px; background: rgba(74, 168, 255, .1) !important; color: #cfe6ff; font: 650 13.5px Inter, sans-serif; white-space: nowrap; }
.gm-pane .collection-toolbar .btn::before { content: '+'; font-size: 17px; font-weight: 500; line-height: 1; }
.gm-pane .collection-toolbar .btn:hover { background: rgba(74, 168, 255, .2) !important; border-color: rgba(98, 190, 255, .6); }
.gm-pane .collection-max-notice { grid-column: 1 / -1; }

/* round 5: the filters button like the "/" mark, no scrollbars in the side panel, a solid dark side panel */
.gm-filter-btn, .gm-pane .collection-toolbar .btn { border: 1px solid var(--v-line) !important; background: transparent !important; color: #e4ecf8 !important; }
.gm-filter-btn:hover, .gm-filter-btn[aria-expanded="true"], .gm-filter-btn.is-on, .gm-pane .collection-toolbar .btn:hover { background: rgba(255, 255, 255, .06) !important; border-color: rgba(255, 255, 255, .2) !important; }
.gm-side, .gm-side * { scrollbar-width: none !important; }
.gm-side::-webkit-scrollbar, .gm-side *::-webkit-scrollbar { display: none; width: 0; height: 0; }
.gm-pane { scrollbar-gutter: auto; }
.gm-side { background: #05070b; }
@media (max-width: 1100px) { .gm-side { background: #05070b; border-top: 1px solid var(--v-line); box-shadow: 0 -24px 60px rgba(0, 0, 0, .6); } }

/* round 6: the likes of the charts, with the thumb in front like on the home page */
.gm-chart-row em { display: inline-flex; align-items: center; gap: 8px; color: #dbe5f5; font-style: normal; font-weight: 600; }
.gm-chart-row em::before { content: ''; width: 17px; height: 17px; flex: 0 0 17px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10v10H4a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1h3Zm0 0 4-7a2 2 0 0 1 2 2v3h5.2a1.8 1.8 0 0 1 1.8 2.2l-1.4 6.6A2.4 2.4 0 0 1 16.2 19H7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10v10H4a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1h3Zm0 0 4-7a2 2 0 0 1 2 2v3h5.2a1.8 1.8 0 0 1 1.8 2.2l-1.4 6.6A2.4 2.4 0 0 1 16.2 19H7'/%3E%3C/svg%3E") center / contain no-repeat; }

/* round 7: the focused search has no blue line and no glow */
.gm-controls .gm-search-box:focus-within, .gm-search-box:focus-within { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .04); box-shadow: none; }

/* round 8: the tiles of the games: a light round at the top, a straight bottom */
.gm-page .hg-thumb, body.games-page .hg-thumb { border-radius: 6px 6px 0 0 !important; }

/* round 9: the tiles of the games look as they do on the home page: a faint fill, rounded corners, the picture on top, the name and the numbers in a padded block */
body.games-page .hg-card, body.games-page .hg-card:hover, .gm-page .hg-card, .gm-page .hg-card:hover { overflow: hidden !important; border: 0 !important; border-radius: 8px !important; background: rgba(255, 255, 255, .025) !important; box-shadow: none !important; transition: background .25s ease !important; }
body.games-page .hg-card:hover, .gm-page .hg-card:hover { background: rgba(255, 255, 255, .045) !important; }
body.games-page .hg-thumb, .gm-page .hg-thumb { border-radius: 0 !important; box-shadow: none !important; }
body.games-page .hg-info, .gm-page .hg-info { padding: 12px 14px 14px !important; }
body.games-page .all-games-grid { gap: 18px; }

/* round 10: the side panel (Charts / Collections / Favorites) is one framed block: a tinted bar of three tabs, then roomy content */
.gm-layout { gap: 24px !important; }
.gm-main { padding-right: 0 !important; }
.gm-side { align-self: start; border: 1px solid rgba(255, 255, 255, .13) !important; border-left: 1px solid rgba(255, 255, 255, .13) !important; border-radius: 10px !important; background: rgba(255, 255, 255, .02) !important; padding-left: 0 !important; overflow: hidden; box-shadow: none; }
.gm-side-tabs { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 0 !important; padding: 0 !important; background: rgba(255, 255, 255, .035); border-bottom: 1px solid rgba(255, 255, 255, .1) !important; }
.gm-side-tab { height: 50px !important; flex: none; justify-content: center; gap: 8px !important; padding: 0 8px !important; border-radius: 0 !important; font-size: 13px !important; }
.gm-side-tab::after { left: 0 !important; right: 0 !important; }
.gm-pane { padding: 18px 16px 16px !important; }
.gm-chart-list { gap: 4px; }
.gm-chart-list li { border-bottom: 0 !important; }
.gm-chart-row { gap: 14px; padding: 10px 6px !important; border-radius: 6px; transition: background .2s ease; }
.gm-chart-row:hover { background: rgba(255, 255, 255, .05); }
.gm-chart-row img { width: 46px; height: 46px; border-radius: 6px; }
.gm-chart-text strong, .gm-chart-row strong { font-weight: 500; font-size: 14.5px; }
.gm-chart-row b { font-weight: 600; font-size: 17px; width: 22px; text-align: center; }
.gm-fav-grid { gap: 12px !important; }
.gm-fav-item, .gm-fav-art { border-radius: 8px; }
.gm-empty-state { padding: 22px 18px; text-align: center; border: 0 !important; background: rgba(255, 255, 255, .025); border-radius: 8px; }
.gm-pane .collections-grid { gap: 6px; }
.gm-col-card { border-bottom: 0 !important; border-radius: 8px !important; padding: 10px !important; }
.gm-col-card:hover { background: rgba(255, 255, 255, .05) !important; }
@media (max-width: 1100px) { .gm-side { border-radius: 14px 14px 0 0 !important; } }

/* the filters open inside the page: they push the results down instead of lying over them */
@media (min-width: 651px) {
    .gm-fpanel { position: static !important; z-index: auto; transform: none !important; margin: 12px 0 0; max-height: 0; opacity: 0; overflow: hidden; border-width: 0 !important; pointer-events: none; transition: max-height .4s cubic-bezier(.2, .9, .25, 1), opacity .3s ease, margin .4s ease, border-width 0s linear .4s !important; }
    .gm-fpanel.is-open { max-height: 760px; opacity: 1; overflow: visible; border-width: 1px !important; pointer-events: auto; transition: max-height .45s cubic-bezier(.2, .9, .25, 1), opacity .3s ease .08s, margin .4s ease, border-width 0s !important; }
    .gm-fpanel[hidden] { display: none !important; }
    .gm-fscrim { display: none !important; }
    .gm-fp-body { max-height: none; overflow: visible; }
}

/* the filters block is the same kind of block as the others on the page: a faint fill over the page, a thin line */
.gm-fpanel { background: rgba(255, 255, 255, .03) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: rgba(255, 255, 255, .13) !important; border-radius: 10px !important; }
.gm-fp-head { background: rgba(255, 255, 255, .035) !important; }
.gm-fp-foot { background: none !important; border-top-color: rgba(255, 255, 255, .1) !important; }
.gm-fpanel .gm-cs-list { background: #0a0f1c !important; }

/* round 11: creating a collection happens inside the Collections panel, in place of the list */
.gm-pane .container.is-creating > .collection-toolbar, .gm-pane .container.is-creating > .gm-shelf-wrap, .gm-pane .container.is-creating > .collection-flash { display: none; }
.col-create { display: none; }
.col-create:not([hidden]) { display: block; opacity: 0; transform: translateY(10px); transition: opacity .25s ease, transform .3s cubic-bezier(.2, .9, .25, 1); }
.col-create.is-open { opacity: 1; transform: none; }
.col-create-title { margin: 0 0 16px; padding-left: 14px; position: relative; font-size: 20px; font-weight: 760; letter-spacing: -.02em; }
.col-create-title::before { content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; border-radius: 2px; background: linear-gradient(180deg, #4aa8ff, #8f9bff); box-shadow: 0 0 12px rgba(74, 168, 255, .6); }
.col-create-form { display: flex; flex-direction: column; gap: 10px; }
.col-create-label { display: flex; align-items: baseline; justify-content: space-between; color: #c3cee0; font-size: 12.5px; font-weight: 600; }
.col-create-label span { color: #6f7c92; font-size: 11.5px; font-weight: 500; }
.col-create-input { height: 46px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; background: rgba(255, 255, 255, .03); color: #f2f6fc; font: 500 14.5px Inter, sans-serif; outline: 0; }
.col-create-input:focus { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .04); }
.col-create-input::placeholder { color: #a3b0c4; }
.col-create-switch { display: flex; align-items: center; gap: 12px; margin-top: 6px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; background: rgba(255, 255, 255, .02); cursor: pointer; }
.col-create-switch input { position: absolute; opacity: 0; pointer-events: none; }
.col-create-switch i { position: relative; flex: none; width: 40px; height: 23px; border-radius: 999px; background: rgba(255, 255, 255, .15); transition: background .22s ease; }
.col-create-switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; transition: transform .28s cubic-bezier(.2, .9, .25, 1); }
.col-create-switch input:checked + i { background: #3a95ee; }
.col-create-switch input:checked + i::after { transform: translateX(17px); }
.col-create-switch span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.col-create-switch strong { font-size: 13.5px; font-weight: 600; }
.col-create-switch small { color: #8d9ab0; font-size: 12px; }
.col-create-actions { display: flex; gap: 10px; margin-top: 8px; }
.col-create-actions button { height: 44px; border-radius: 8px; font: 650 13.5px Inter, sans-serif; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.col-create-cancel { flex: 0 0 auto; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .14); background: transparent; color: #dbe5f5; }
.col-create-cancel:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .26); }
.col-create-submit { flex: 1; border: 0; background: #f2f6fc; color: #05070b; }
.col-create-submit:hover { background: #fff; }

/* the filters are joined to the search bar; "Reset all" is a plain word beside "Done" */
@media (min-width: 651px) {
    .gm-search:has(.gm-fpanel.is-open) .gm-search-box { border-bottom-left-radius: 0 !important; border-bottom-right-radius: 0 !important; border-bottom-color: rgba(255, 255, 255, .04) !important; }
    .gm-fpanel { margin-top: 0 !important; border-top-width: 0 !important; border-top-left-radius: 0 !important; border-top-right-radius: 0 !important; }
    .gm-fpanel.is-open { border-top-width: 0 !important; }
}
.gm-fp-actions { display: inline-flex; align-items: center; gap: 12px; }
.gm-fp-reset { padding: 8px 12px; border: 1px solid transparent !important; border-radius: 6px !important; background: transparent !important; color: #aab6c9 !important; font: 600 13px Inter, sans-serif; cursor: pointer; text-decoration: none !important; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.gm-fp-reset:hover { color: #fff !important; background: rgba(255, 255, 255, .05) !important; border-color: rgba(255, 255, 255, .22) !important; text-decoration: none !important; }

/* the "More" sheet on a phone has the colour of the rail */
@media (max-width: 1100px) { .gm-side { background: #050a18 !important; } }

/* the collections: a filter (all / created by me / co-created), tiles like the games */
.col-scope-default { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; }
.col-scope { grid-column: 1 / -1; display: flex; gap: 0; margin: 0 0 4px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.col-scope-btn { position: relative; flex: 1; height: 40px; padding: 0 8px; border: 0 !important; border-radius: 6px 6px 0 0 !important; background: transparent !important; color: #8d9ab0; font: 650 12.5px Inter, sans-serif; cursor: pointer; transition: color .18s ease, background .18s ease; }
.col-scope-btn:hover { color: #e6edf7; background: rgba(255, 255, 255, .04) !important; }
.col-scope-btn.is-on { color: #fff; }
.col-scope-btn::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #4aa8ff, #8f9bff); box-shadow: 0 0 12px rgba(74, 168, 255, .7); transform: scaleX(0); transition: transform .3s cubic-bezier(.2, .9, .3, 1); }
.col-scope-btn.is-on::after { transform: scaleX(1); }
.gm-col-card { display: grid !important; grid-template-columns: 88px minmax(0, 1fr); gap: 14px !important; padding: 12px !important; border: 0 !important; border-radius: 8px !important; background: rgba(255, 255, 255, .03) !important; transition: background .25s ease !important; }
.gm-col-card:hover { background: rgba(255, 255, 255, .06) !important; transform: none !important; }
.gm-col-cover { flex: none; width: 88px !important; height: 88px !important; border-radius: 6px !important; }
.gm-pane .collections-grid { gap: 10px !important; }
.gm-col-title { font-size: 15px; font-weight: 650; }

/* the collection panel has the colours of the site: the navy of the rail with a soft blue light from the top right */
.gm-drawer-panel { background: radial-gradient(70% 36% at 92% 0%, rgba(74, 168, 255, .14), transparent 70%), radial-gradient(60% 40% at 0% 100%, rgba(143, 155, 255, .09), transparent 70%), #050a18 !important; border-left: 1px solid rgba(255, 255, 255, .14) !important; }
.gm-drawer-body, .gm-drawer-frame, .gm-drawer-loading { background: transparent !important; }
.gm-drawer-loading { background: transparent !important; }
.gm-col-card { background: rgba(255, 255, 255, .03) !important; }
.col-scope-empty { margin: 18px 0; padding: 22px 16px; text-align: center; color: #8d9ab0; font-size: 13.5px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 8px; }
.collection-card-item[hidden], .gm-col-card[hidden] { display: none !important; }
