/* Category editions: one ranked collection, one primary grade. */
html body.lists-page { padding-top: var(--header-h, 72px) !important; }
html body.lists-page main.toplists-main { padding-top: 0 !important; }
html body.lists-page .toplists-hero.gg-phead-host { width: calc(100% - 48px); max-width: 1052px; margin: 0 auto !important; display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 28px 0 24px !important; }
html body.lists-page .toplists-hero .gg-phead { padding: 0; margin: 0; width: auto; min-width: 0; }
html body.lists-page .toplists-hero .gg-phead h1 { font: 650 clamp(38px, 4.5vw, 62px)/1.02 var(--gg-font-serif); letter-spacing: -.035em; }
html body.lists-page .toplists-hero .gg-phead p { margin-top: 12px; font: 400 14px/1.5 var(--gg-font-case); }
html body.lists-page .toplists-hero .gg-ey { margin-bottom: 12px; font-size: 9px; letter-spacing: .12em; }
html body.lists-page .toplists-hero .page-controls.page-controls { position: static; top: auto; margin: 0; padding: 0; background: transparent !important; border: 0 !important; flex: none; }
html body.lists-page .toplists-hero .page-controls::before { display: none; }
html body.lists-page .toplists-hero .controls-inner { gap: 8px; }
html body.lists-page .toplists-hero .controls-left, html body.lists-page .toplists-hero .controls-right { display: contents; }
html body.lists-page .toplists-hero .page-controls .btn { background: transparent !important; border: 0; border-bottom: 1px solid var(--gg-room-line-2); border-radius: 0; padding: 10px 6px; font: 600 11px/1.3 var(--gg-font-case) !important; min-height: 44px; color: var(--gg-room-tx-2); }
html body.lists-page .toplists-hero .page-controls .btn:hover { color: var(--gg-room-tx); border-bottom-color: var(--gg-room-tx-2); }
html body.lists-page .toplists-hero .page-controls .btn svg { display: none; }
html body.lists-page .toplists-tabs-shell { display: block; width: calc(100% - 48px); max-width: 1052px; box-sizing: border-box; border: 0; border-radius: 0; background: transparent; box-shadow: none; padding: 0; margin: 0 auto 18px; border-bottom: 1px solid var(--gg-room-line-2); }
html body.lists-page .toplists-tabs-copy { display: none; }
html body.lists-page .toplists-tabs-controls { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
html body.lists-page .toplists-tabs-shell .tabs { gap: 24px; flex-wrap: nowrap; }
html body.lists-page .toplists-tabs-shell .tab-btn { border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; padding: 12px 0; font-size: 13px !important; }
html body.lists-page .toplists-tabs-shell .tab-btn.active { color: var(--gg-room-tx); background: transparent; border-bottom-color: var(--gg-accent-light); box-shadow: none; }
html body.lists-page .toplists-tabs-shell .list-menu-trigger { min-height: 44px; border: 0; background: transparent; padding: 8px 0 8px 12px; border-radius: 0; }
html body.lists-page .category-chart-wrap { width: calc(100% - 48px); max-width: 1052px; margin: 0 auto 48px; padding: 0; }
html body.lists-page .category-chart { padding: 22px 30px 18px; }
.category-chart-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 17px; border-bottom: 3px double var(--gg-ink); }
.category-folio { margin: 0 0 7px; font: 650 9px/1.4 var(--gg-font-case); text-transform: uppercase; letter-spacing: .14em; color: var(--gg-ink-2); }
.category-chart-head h2 { margin: 0; font: italic 600 25px/1.15 var(--gg-font-serif); color: var(--gg-ink); overflow-wrap: anywhere; }
.category-chart-key { margin: 0; flex: none; text-align: right; font: 600 11px/1.4 var(--gg-font-case); color: var(--gg-ink); }
.category-chart-key span { display: block; font-size: 9px; font-weight: 400; color: var(--gg-ink-2); margin-top: 4px; }
.category-columns { display: grid; grid-template-columns: 40px 1fr 100px; gap: 20px; padding: 12px 32px 12px 0; font: 600 9px/1 var(--gg-font-case); text-transform: uppercase; letter-spacing: .08em; color: var(--gg-ink-2); }
.category-columns > :last-child { text-align: right; white-space: nowrap; }
.category-ranking { margin: 0; padding: 0; list-style: none; }
.category-entry { border-top: 1px solid var(--gg-rule); }
.category-row { display: grid; grid-template-columns: 40px 108px minmax(0, 1fr) 100px 12px; align-items: center; gap: 20px; padding: 14px 0; cursor: pointer; list-style: none; }
.category-row::-webkit-details-marker { display: none; }
.category-row:focus-visible { outline: 2px solid var(--gg-press-accent); outline-offset: 4px; }
.category-row:hover .category-game strong { color: var(--gg-press-accent); }
.category-rank { font: italic 500 25px/1 var(--gg-font-serif); color: var(--gg-ink-2); font-variant-numeric: tabular-nums; }
.category-art { display: block; aspect-ratio: 460 / 215; background: var(--gg-paper-2); overflow: hidden; }
.category-art img { width: 100%; height: 100%; object-fit: contain; display: block; }
.category-art .gg-noart { display: grid; height: 100%; place-items: center; padding: 4px; box-sizing: border-box; font: 600 10px/1.2 var(--gg-font-case); color: var(--gg-ink-2); text-align: center; }
/* The top three are a wide image box; 10px type in a 440px box read as an
   empty frame, so a game with no art looked broken rather than named. */
@media (min-width: 769px) {
  .category-entry:is(.is-first, .is-runner) .category-art .gg-noart { padding: 20px; font: 700 clamp(14px, 1.5vw, 20px)/1.25 var(--gg-font-case); color: var(--gg-ink); overflow-wrap: anywhere; }
}
.category-game { min-width: 0; }
.category-game strong { display: block; font: 650 22px/1.18 var(--gg-font-serif); color: var(--gg-ink); overflow-wrap: anywhere; }
.category-game small { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 7px; font: 400 10px/1.4 var(--gg-font-case); color: var(--gg-ink-2); }
.category-tie { font-style: italic; }
.category-first { display: block; font: 650 9px/1.5 var(--gg-font-case); text-transform: uppercase; letter-spacing: .1em; color: var(--gg-press-accent); margin-bottom: 8px; }
.category-entry.is-first .category-row { grid-template-columns: 40px minmax(180px, 270px) minmax(0, 1fr) 100px 12px; padding: 22px 0 26px; }
.category-entry.is-first .category-game strong { font-size: clamp(26px, 2.5vw, 37px); line-height: 1.1; }
.category-entry.is-first .category-rank { color: var(--gg-ink); font-size: 42px; }
.category-grade { min-width: 0; }
html body.lists-page .category-grade .gg-pscore { font-size: 29px; line-height: 1; min-inline-size: 0; width: 100%; justify-items: end; gap: 9px; }
html body.lists-page .category-entry.is-first .category-grade .gg-pscore { font-size: 40px; }
html body.lists-page .category-grade .gg-pscore .pb { width: 100%; height: 2px; border-radius: 0; }
html body.lists-page .category-grade .gg-pscore .pb i { border-radius: 0; }
.category-expand { color: var(--gg-ink-2); font: 400 19px/1 var(--gg-font-case); transition: transform .15s; }
details[open] > .category-row .category-expand { transform: rotate(45deg); }
.category-detail { margin: 0 32px 18px 60px; padding: 16px 0 0; border-top: 1px dashed var(--gg-rule); display: flex; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; }
.category-other { display: flex; flex-wrap: wrap; gap: 10px 20px; font: 400 12px/1.5 var(--gg-font-case); color: var(--gg-ink-2); }
.category-other b { color: var(--gg-ink); margin-left: 5px; font-variant-numeric: tabular-nums; }
.category-detail-label { width: 100%; font-size: 9px; text-transform: uppercase; letter-spacing: .09em; }
.category-links { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; font: 600 11px/1.5 var(--gg-font-case); }
.category-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gg-press-accent); text-underline-offset: 4px; }
.category-chart-foot { display: flex; justify-content: space-between; gap: 12px; padding-top: 15px; border-top: 3px double var(--gg-ink); color: var(--gg-ink-2); font: 400 10px/1.6 var(--gg-font-case); }
.category-chart-foot span { text-align: right; }
@media (max-width: 900px) {
 html body.lists-page .toplists-hero.gg-phead-host { align-items: start; flex-direction: column; gap: 14px; padding: 24px 0 14px !important; }
 .category-entry.is-first .category-row { grid-template-columns: 30px minmax(140px, 210px) minmax(0, 1fr) 72px 10px; gap: 16px; }
}
@media (max-width: 680px) {
 html body.lists-page .toplists-hero.gg-phead-host, html body.lists-page .toplists-tabs-shell, html body.lists-page .category-chart-wrap { width: calc(100% - 32px); }
 html body.lists-page .toplists-hero .gg-phead h1 { font-size: 42px; }
 html body.lists-page .toplists-hero .gg-phead p { font-size: 12px; margin-top: 8px; }
 html body.lists-page .toplists-hero .page-controls { width: 100%; }
 html body.lists-page .toplists-hero .page-controls .btn { flex: 0 1 auto !important; padding: 8px 0; font-size: 11px !important; border-bottom: 0; }
 html body.lists-page .toplists-hero .controls-inner { justify-content: flex-start; gap: 22px; }
 html body.lists-page .toplists-hero .gg-ey { font-size: 8px; margin-bottom: 8px; }
 html body.lists-page .toplists-tabs-shell { margin-bottom: 14px; }
 html body.lists-page .toplists-tabs-controls { flex-wrap: wrap; gap: 0; }
 html body.lists-page .toplists-tabs-shell .tabs { flex: 1 1 100%; justify-content: space-between; gap: 8px; }
 html body.lists-page .toplists-tabs-shell .tab-btn { font-size: 12px !important; padding: 10px 0; }
 html body.lists-page .toplists-tabs-shell .list-menu { width: auto; margin-left: auto; }
 html body.lists-page .toplists-tabs-shell .list-menu-trigger { min-height: 36px; font-size: 10px; padding: 6px 0; }
 html body.lists-page .category-chart { padding: 18px 16px 14px; }
 .category-chart-head { gap: 12px; padding-bottom: 14px; }
 .category-chart-head h2 { font-size: 23px; }
 .category-folio { font-size: 8px; }
 .category-chart-key { font-size: 9px; }
 .category-columns { grid-template-columns: 24px 1fr 70px; gap: 8px; padding-right: 16px; font-size: 8px; }
 .category-row { grid-template-columns: 24px 64px minmax(0, 1fr) 43px 8px; gap: 8px; padding: 14px 0; }
 .category-rank { font-size: 22px; }
 .category-game strong { font-size: 17px; }
 .category-game small { font-size: 9px; gap: 3px; margin-top: 5px; }
 html body.lists-page .category-grade .gg-pscore { font-size: 24px; }
 .category-entry.is-first .category-row { grid-template-columns: 24px minmax(0, 1fr) 58px 8px; gap: 12px 10px; padding: 16px 0 20px; }
 .category-entry.is-first .category-rank { grid-column: 1; grid-row: 1; align-self: start; font-size: 29px; }
 .category-entry.is-first .category-art { grid-column: 2; grid-row: 1; width: 100%; }
 .category-entry.is-first .category-game { grid-column: 2 / -1; grid-row: 2; }
 .category-entry.is-first .category-game strong { font-size: 27px; }
 .category-entry.is-first .category-grade { grid-column: 3; grid-row: 1; align-self: center; }
 .category-entry.is-first .category-expand { grid-column: 4; grid-row: 1; }
 html body.lists-page .category-entry.is-first .category-grade .gg-pscore { font-size: 36px; }
 .category-first { font-size: 8px; margin-bottom: 5px; }
 .category-detail { margin-left: 0; margin-right: 0; }
 .category-chart-foot { font-size: 9px; }
 .category-chart-foot span { display: none; }
}
@media (max-width: 360px) {
 .category-row { grid-template-columns: 20px 50px minmax(0, 1fr) 35px 8px; gap: 6px; }
 .category-game strong { font-size: 15px; }
 .category-entry.is-first .category-row { grid-template-columns: 20px minmax(0, 1fr) 48px 8px; gap: 12px 8px; }
}
@media (prefers-reduced-motion: reduce) { .category-expand { transition: none; } }

/* The opening three are features in the collection, not repeated highlights. */
.category-ranking { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.category-entry { grid-column: 1 / -1; min-width: 0; }
.category-entry.is-first .category-row { grid-template-columns: 40px minmax(0, 1.25fr) minmax(0, 1fr) 78px 12px; gap: 20px; padding: 24px 0 30px; }
.category-entry.is-first .category-game strong { font-size: clamp(30px, 3.4vw, 46px); }
.category-entry.is-first .category-rank { font-size: 46px; align-self: start; }
html body.lists-page .category-entry.is-first .category-grade .gg-pscore { font-size: 48px; }
.category-entry.is-runner { grid-column: auto; padding-bottom: 12px; }
.category-entry.is-runner .category-row { grid-template-columns: 28px minmax(0, 1fr) 52px 10px; gap: 12px; align-items: start; padding: 20px 0 12px; }
.category-entry.is-runner .category-rank { grid-column: 1; grid-row: 1; font-size: 30px; }
.category-entry.is-runner .category-art { grid-column: 2 / -1; grid-row: 1; }
.category-entry.is-runner .category-game { grid-column: 2; grid-row: 2; }
.category-entry.is-runner .category-game strong { font-size: 24px; }
.category-entry.is-runner .category-grade { grid-column: 3; grid-row: 2; }
.category-entry.is-runner .category-expand { grid-column: 4; grid-row: 2; margin-top: 8px; }
.category-entry.is-runner .category-detail { margin: 0 0 8px 40px; }
.category-entry.is-runner .category-links { gap: 6px 14px; }
@media (max-width: 900px) and (min-width: 681px) {
 .category-entry.is-first .category-row { grid-template-columns: 30px minmax(0, 1fr) minmax(0, 1fr) 60px 10px; gap: 14px; }
 .category-entry.is-first .category-game strong { font-size: 30px; }
}
@media (max-width: 680px) {
 .category-ranking { column-gap: 18px; }
 .category-entry.is-first .category-row { grid-template-columns: 28px minmax(0, 1fr) 56px 8px; gap: 14px 8px; padding: 18px 0 24px; }
 .category-entry.is-first .category-art { grid-column: 1 / -1; grid-row: 1; }
 .category-entry.is-first .category-rank { grid-column: 1; grid-row: 2; font-size: 30px; margin-top: 20px; }
 .category-entry.is-first .category-game { grid-column: 2; grid-row: 2; }
 .category-entry.is-first .category-game strong { font-size: 28px; }
 .category-entry.is-first .category-grade { grid-column: 3; grid-row: 2; align-self: center; }
 .category-entry.is-first .category-expand { grid-column: 4; grid-row: 2; }
 html body.lists-page .category-entry.is-first .category-grade .gg-pscore { font-size: 36px; }
 .category-first { font-size: 7px; letter-spacing: .06em; }
 .category-entry.is-runner .category-row { grid-template-columns: 20px minmax(0, 1fr) 35px; gap: 8px 6px; padding: 16px 0 8px; }
 .category-entry.is-runner .category-art { grid-column: 1 / -1; grid-row: 1; }
 .category-entry.is-runner .category-rank { grid-column: 1; grid-row: 2; font-size: 20px; }
 .category-entry.is-runner .category-game { grid-column: 2 / -1; grid-row: 2; }
 .category-entry.is-runner .category-game strong { font-size: 18px; }
 .category-entry.is-runner .category-game small { font-size: 8px; }
 .category-entry.is-runner .category-grade { grid-column: 3; grid-row: 3; }
 .category-entry.is-runner .category-expand { grid-column: 1; grid-row: 3; font-size: 18px; margin-top: 0; }
 .category-entry.is-runner .category-detail { margin: 0 0 8px; }
 .category-entry.is-runner .category-other { gap: 8px; font-size: 10px; }
 .category-entry.is-runner .category-links { flex-direction: column; align-items: start; gap: 0; }
}

html body.lists-page .toplists-hero .gg-phead h1 { font-size: clamp(38px, 4.5vw, 62px) !important; }
.category-entry.is-runner > details { display: grid; grid-template-rows: 1fr auto; height: 100%; }
.category-entry.is-runner .category-row { grid-template-rows: auto 1fr; }
@media (max-width: 680px) {
 html body.lists-page .toplists-hero .gg-phead h1 { font-size: 42px !important; }
 .category-entry.is-runner .category-row { grid-template-rows: auto 1fr auto; }
}

/* Rank typography follows the hierarchy of the collection. */
.category-rank { display: flex; flex-direction: column; align-items: center; gap: 4px; font-style: normal; font-weight: 600; font-size: 26px; line-height: .95; }
.category-rank-prefix { font: italic 500 9px/1 var(--gg-font-serif); color: var(--gg-ink-2); }
.category-entry.is-first .category-rank { font-size: 58px; letter-spacing: -.06em; gap: 8px; padding-top: 4px; }
.category-entry.is-first .category-rank-prefix { font-size: 13px; letter-spacing: 0; }
.category-entry.is-runner .category-rank { font-size: 36px; gap: 6px; }
.category-entry.is-runner .category-rank-prefix { font-size: 10px; }
.category-entry:not(.is-first):not(.is-runner) .category-rank-prefix { display: none; }
.category-entry:not(.is-first):not(.is-runner) .category-rank { align-items: flex-start; font-size: 25px; color: var(--gg-ink-2); }
.category-entry.is-first .category-game strong { font-weight: 600; letter-spacing: -.035em; }
.category-entry.is-runner .category-game strong { font-weight: 600; letter-spacing: -.02em; }
.category-entry:not(.is-first):not(.is-runner) .category-game strong { font-weight: 600; }
.category-entry:not(.is-first):not(.is-runner) .category-row { transition: background-color .18s ease; }
.category-entry:not(.is-first):not(.is-runner) .category-row:hover { background: color-mix(in srgb, var(--gg-press-accent) 4%, transparent); }
.category-art { box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.category-entry.is-first .category-art { box-shadow: 0 3px 8px rgba(0,0,0,.19); }
.category-entry.is-runner { position: relative; }
.category-entry.is-runner .category-art { box-shadow: 0 2px 5px rgba(0,0,0,.16); }
@media (max-width: 680px) {
 .category-entry.is-first .category-rank { font-size: 40px; gap: 5px; margin-top: 4px; }
 .category-entry.is-first .category-rank-prefix { font-size: 10px; }
 .category-entry.is-runner .category-rank { font-size: 26px; gap: 4px; }
 .category-entry.is-runner .category-rank-prefix { font-size: 8px; }
 .category-entry:not(.is-first):not(.is-runner) .category-rank { font-size: 23px; }
 .category-entry.is-first .category-row { grid-template-columns: 30px minmax(0, 1fr) 56px 8px; }
 .category-entry.is-runner .category-row { grid-template-columns: 22px minmax(0, 1fr) 35px; }
}
@media (prefers-reduced-motion: reduce) { .category-entry:not(.is-first):not(.is-runner) .category-row { transition: none; } }

.category-entry.is-runner:nth-child(2)::after { content: ""; position: absolute; width: 1px; right: -14px; top: 20px; bottom: 24px; background: var(--gg-rule); }
.category-entry.is-first .category-art, .category-entry.is-runner .category-art { outline: 1px solid color-mix(in srgb, var(--gg-ink) 12%, transparent); outline-offset: -1px; }
.category-entry.is-first .category-rank { color: var(--gg-press-accent); }
.category-entry.is-first .category-rank-prefix { color: var(--gg-press-accent); }
@media (max-width: 680px) { .category-entry.is-runner:nth-child(2)::after { right: -9px; top: 16px; bottom: 18px; } }

/* A favourite gets the owner's voice as well as its grade. */
.category-excerpt { display: grid; gap: 9px; min-width: 0; cursor: auto; }
.category-excerpt-label { font: 600 9px/1.4 var(--gg-font-case); letter-spacing: .08em; text-transform: uppercase; color: var(--gg-ink-2); }
.category-excerpt q { font: italic 450 18px/1.5 var(--gg-font-serif); color: var(--gg-ink); overflow-wrap: anywhere; quotes: "\201c" "\201d"; }
.category-excerpt a { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font: 600 11px/1.4 var(--gg-font-case); color: var(--gg-press-accent); text-underline-offset: 4px; }
.category-excerpt a:focus-visible { outline: 2px solid var(--gg-press-accent); outline-offset: 3px; }
@media (min-width: 681px) {
 .category-entry.is-first .category-row:has(.category-excerpt) { row-gap: 16px; }
 .category-row:has(.category-excerpt) .category-rank { grid-column: 1; grid-row: 1 / 3; }
 .category-row:has(.category-excerpt) .category-art { grid-column: 2; grid-row: 1 / 3; align-self: start; }
 .category-row:has(.category-excerpt) .category-game { grid-column: 3; grid-row: 1; align-self: start; }
 .category-row:has(.category-excerpt) .category-grade { grid-column: 4; grid-row: 1; }
 .category-row:has(.category-excerpt) .category-expand { grid-column: 5; grid-row: 1; }
 .category-excerpt { grid-column: 3 / -1; grid-row: 2; }
}
@media (max-width: 680px) {
 .category-excerpt { grid-column: 1 / -1; grid-row: 3; margin: 4px 0 0 38px; padding-top: 14px; border-top: 1px solid var(--gg-rule); }
 .category-excerpt q { font-size: 16px; line-height: 1.5; }
 .category-excerpt-label { font-size: 8px; }
}

.category-chart-head h2 { font-size: 35px; letter-spacing: -.025em; }
html body.public-list-page.lists-page > main > .gg-phead { width: calc(100% - 48px); max-width: 1052px; padding: 24px 0; margin: 0 auto; }
html body.public-list-page.lists-page > main > .gg-phead h1 { font-family: var(--gg-font-serif); font-weight: 600; letter-spacing: -.035em; }
@media (max-width: 680px) {
 .category-chart-head h2 { font-size: 29px; }
 .category-folio { line-height: 1.6; }
 .category-chart-head > div { min-width: 0; }
 html body.public-list-page.lists-page > main > .gg-phead { width: calc(100% - 32px); }
}

html body.public-list-page.lists-page { padding-top: 0 !important; }

/* Phones: Nos. 2-3 stay side by side, with the grade on the rank's line. In a
   ~160px card it used to drop to its own row under the title, beside a stray
   "+", which read as belonging to nothing. */
@media (max-width: 680px) {
 .category-entry.is-runner .category-row { grid-template-columns: auto minmax(0, 1fr) auto 10px; grid-template-rows: auto auto 1fr; gap: 10px 6px; }
 .category-entry.is-runner .category-art { grid-column: 1 / -1; grid-row: 1; }
 .category-entry.is-runner .category-rank { grid-column: 1; grid-row: 2; flex-direction: row; align-items: baseline; gap: 3px; align-self: center; }
 .category-entry.is-runner .category-grade { grid-column: 3; grid-row: 2; align-self: center; }
 .category-entry.is-runner .category-expand { grid-column: 4; grid-row: 2; align-self: center; margin: 0; font-size: 16px; }
 .category-entry.is-runner .category-game { grid-column: 1 / -1; grid-row: 3; }
}


/* The soundtrack link is the last item of the meta line: "2017 · Switch · 62 h  ♪ Music",
   the note glyph doing the separator's job, so a wrapped line never starts with a stray dot.
   It used to float on its own mid-row as "Find OST". Its hit area is padded out
   to 44px without changing the line's height. */
.category-game small .category-ost { position: relative; display: inline-flex; align-items: center; gap: 4px; margin-left: 10px; white-space: nowrap; color: var(--gg-press-accent); font-weight: 650; text-decoration: none; }
.category-game small:has(.category-ost) { column-gap: 0; }
.category-game small .category-ost::after { content: ""; position: absolute; inset: -14px -8px; }
.category-game small .category-ost:hover { text-decoration: underline; text-underline-offset: 3px; }
.category-game small .category-ost:focus-visible { outline: 2px solid var(--gg-press-accent); outline-offset: 2px; border-radius: 2px; }

/* Rows 4-10: the cover is a full-height strip that dissolves into the paper
   (the calendar's .cal-fade-cover stops), instead of a small letterboxed
   thumbnail. Height is stated, so portrait-only art cannot stretch the row. */
.category-entry:not(.is-first):not(.is-runner) .category-row { grid-template-columns: 40px 196px minmax(0, 1fr) 100px 12px; column-gap: 0; padding: 10px 0; }
.category-entry:not(.is-first):not(.is-runner) .category-rank { margin-right: 16px; }
.category-entry:not(.is-first):not(.is-runner) .category-grade { margin-left: 20px; }
.category-entry:not(.is-first):not(.is-runner) .category-expand { margin-left: 20px; }
.category-entry:not(.is-first):not(.is-runner) .category-art { height: 92px; aspect-ratio: auto; background: none; box-shadow: none; outline: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 38%, rgba(0,0,0,.97) 50%, rgba(0,0,0,.88) 60%, rgba(0,0,0,.72) 70%, rgba(0,0,0,.5) 80%, rgba(0,0,0,.24) 90%, transparent 100%);
          mask-image: linear-gradient(90deg, #000 0%, #000 38%, rgba(0,0,0,.97) 50%, rgba(0,0,0,.88) 60%, rgba(0,0,0,.72) 70%, rgba(0,0,0,.5) 80%, rgba(0,0,0,.24) 90%, transparent 100%); }
.category-entry:not(.is-first):not(.is-runner) .category-art .gg-noart { background: var(--gg-paper-2); }
.category-entry:not(.is-first):not(.is-runner) .category-game { padding-left: 4px; }
/* A cover, not a letterbox, everywhere on the chart. */
.category-art img { object-fit: cover; }
@media (max-width: 680px) {
 .category-entry:not(.is-first):not(.is-runner) .category-row { grid-template-columns: 30px 112px minmax(0, 1fr) 43px 8px; column-gap: 0; padding: 8px 0; }
 .category-entry:not(.is-first):not(.is-runner) .category-rank { margin-right: 6px; }
 .category-entry:not(.is-first):not(.is-runner) .category-art { height: 64px; }
 .category-entry:not(.is-first):not(.is-runner) .category-grade { margin-left: 8px; }
 .category-entry:not(.is-first):not(.is-runner) .category-expand { margin-left: 6px; }
 .category-entry:not(.is-first):not(.is-runner) .category-game { padding-left: 2px; }
}
@media (max-width: 360px) {
 .category-entry:not(.is-first):not(.is-runner) .category-row { grid-template-columns: 26px 76px minmax(0, 1fr) 40px 8px; }
 .category-entry:not(.is-first):not(.is-runner) .category-art { height: 48px; }
}