/* Rankings identity: electric violet, coral and mint on a crisp light canvas. */
.rankings .trail-gateway { background: #e5f8f0; border: 1px solid #b1dcc9; padding: 15px 20px; border-radius: 14px; margin: 0 0 24px; }
.rankings .trail-gateway a { color: #216b53; font-weight: 750; font-size: .9rem; }
body:has(.rankings) {
  background: #f5f6ff;
  color: #202440;
}
body:has(.rankings) main {
  max-width: 1480px;
  margin: auto;
  padding: 26px 36px 60px;
}
body:has(.rankings) .app-header {
  position: relative;
  padding: 16px 30px;
  background: #fff;
  border-color: #e6e6f4;
}
body:has(.rankings) .brand-block h1 {
  font-size: 1.35rem;
  color: #292044;
}
body:has(.rankings) .header-actions nav a.active {
  background: #eee9ff;
  color: #673de6;
  border-color: #c3afff;
}
.rankings {
  --purple: #7045ed;
  --ink: #24223e;
  --muted: #6a6e89;
  --line: #e2e4f2;
  --steam: #078b81;
  --pcgamer: #7045ed;
  --slant: #e74f79;
  color: var(--ink);
}
.rankings [hidden] {
  display: none !important;
}
.rankings :is(a,button,input,select,summary):focus-visible {
  outline: 3px solid #ff8e51;
  outline-offset: 4px;
}
.rankings button, .rankings summary {
  cursor: pointer;
}
.rankings button {
  font: inherit;
}
.rankings a {
  color: #6340cf;
}
.rankings .eyebrow {
  margin: 0 0 12px;
  font-size: .7rem;
  letter-spacing: .12em;
  font-weight: 800;
  color: #746a99;
}
.rank-hero {
  display: grid;
  grid-template-columns: .95fr 1.55fr;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 24px;
}
.rank-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  border-radius: 20px;
  overflow: hidden;
  color: white;
  background: #5e35d6;
  background-image: radial-gradient(ellipse at 100% 0%,#985bff 0,transparent 60%);
}
.rank-intro::after {
  content: '\2726';
  position: absolute;
  right: 14px;
  bottom: 4px;
  font-size: 100px;
  line-height: 1;
  color: #c5ff7a;
  opacity: .14;
  pointer-events: none;
}
.rank-intro .eyebrow {
  color: #d8caff;
  font-size: .64rem;
}
.rank-intro .eyebrow span {
  margin-left: 10px;
  color: #caff8b;
}
.rank-hero h2 {
  margin: 8px 0 16px;
  color: white;
  font-size: clamp(2rem,3.2vw,3.1rem);
  line-height: 1.17;
  letter-spacing: -.045em;
}
.rank-intro>p:not(.eyebrow) {
  color: #e7dfff;
  font-size: .85rem;
  line-height: 1.75;
  max-width: 370px;
  margin: 0;
}
.rank-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
  font-size: .68rem;
  color: #d7caff;
  position: relative;
  z-index: 1;
}
.rank-stats strong {
  font-size: 1.2rem;
  color: #d0ff8d;
  font-variant-numeric: tabular-nums;
}
.rank-feature>.eyebrow {
  margin: 2px 0 9px;
}
.rank-stories {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px;
  height: calc(100% - 24px);
}
.rank-story {
  display: grid;
  grid-template-columns: 112px 1fr;
  color: #fff;
  text-decoration: none;
  border-radius: 13px;
  overflow: hidden;
  background: #233f80;
  transition: transform .2s ease;
}
.rank-story:first-child {
  display: flex;
  flex-direction: column;
  grid-row: span 2;
  background: #29214c;
}
.rank-story:nth-child(2) {
  background: #047e76;
}
.rank-story:nth-child(3) {
  background: #ad3e68;
}
.rank-story:hover {
  transform: translateY(-3px);
}
.rank-story-image {
  min-width: 0;
  position: relative;
  background: #312c53;
  overflow: hidden;
}
.rank-story-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rank-story:first-child .rank-story-image {
  height: 145px;
  flex-shrink: 0;
}
.rank-story-image span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 9px 7px;
  background: linear-gradient(transparent,#12112ac9);
  color: white;
  font-size: .62rem;
}
.rank-story-copy {
  padding: 12px 14px;
}
.rank-story-copy h3 {
  color: white;
  font-size: .91rem;
  line-height: 1.45;
  margin: 0 0 6px;
}
.rank-story:first-child h3 {
  font-size: 1.06rem;
}
.rank-story-copy p {
  color: #f1edff;
  font-size: .73rem;
  line-height: 1.65;
  margin: 0 0 8px;
}
.rank-story-copy small {
  color: #d4ffad;
  font-size: .62rem;
  line-height: 1.5;
}
.rank-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-bottom: 18px;
}
.rank-tabs a {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  text-decoration: none;
  font-weight: 750;
  font-size: .86rem;
  padding: 15px 18px;
  background: #fff;
  color: #696780;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 3px 0 #e6e7f6;
}
.rank-tabs span {
  font: 700 .65rem ui-monospace,monospace;
  padding: 4px 6px;
  background: #f0edfa;
  border-radius: 4px;
  white-space: nowrap;
  margin-left: auto;
}
.rank-tabs a[aria-current] {
  color: #6841db;
  border-color: #b29aef;
  background: #f0eaff;
  box-shadow: 0 3px 0 #b29aef;
}
.rank-tabs a[data-rank-jump=steam250-top200][aria-current] {
  color: #077b74;
  border-color: #73cabc;
  background: #e0f8ef;
  box-shadow: 0 3px 0 #73cabc;
}
.rank-tabs a[data-rank-jump=slant-2020][aria-current] {
  color: #ba3961;
  border-color: #f6a2be;
  background: #fff0f5;
  box-shadow: 0 3px 0 #f6a2be;
}
.rank-browser {
  scroll-margin-top: 20px;
}
.rank-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.rank-control-wide {
  min-width: 0;
}
.rank-controls>.rank-control-wide {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 15px;
}
.rank-controls label {
  display: block;
  font-size: .72rem;
  color: #73738d;
}
.rank-controls input,.rank-controls select {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  font: inherit;
  font-size: .8rem;
  border: 1px solid #dedfee;
  border-radius: 6px;
  background: #f8f8ff;
  color: #393454;
}
.rank-advanced {
  font-size: .73rem;
  color: #716389;
}
.rank-advanced[open] {
  grid-column: 1/-1;
  grid-row: 2;
  padding: 12px 0 2px;
  border-top: 1px solid var(--line);
}
.rank-advanced-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4,1fr);
  gap: 12px;
  margin-top: 12px;
}
.rank-advanced-grid label {
  margin-bottom: 6px;
}
#rank-reset {
  border: 0;
  background: #ede6ff;
  border-radius: 5px;
  padding: 9px;
  font-size: .72rem;
  color: #6845ba;
}
.rank-local-note {
  display: none;
  font-size: .7rem;
  grid-column: 1/-1;
}
.rank-storage-warning {
  display: block;
  color: #a35621;
}
.rank-discovery-bar,.rank-view-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 13px;
}
.rank-threads {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.rank-discovery-bar button,.rank-view-bar button,.rank-pagination button {
  border: 1px solid #dedfee;
  color: #68617d;
  background: white;
  border-radius: 20px;
  padding: 8px 13px;
  font-size: .74rem;
  min-height: 36px;
}
.rank-threads button[aria-pressed=true],.rank-view-bar button[aria-pressed=true] {
  color: #6339cc;
  background: #eee6ff;
  border-color: #c7b4ed;
}
#rank-surprise {
  background: #ff775b;
  color: #291b39;
  border-color: #ff775b;
  font-weight: 800;
  border-radius: 8px;
  white-space: nowrap;
}
#rank-surprise:hover {
  background: #ff9879;
}
#rank-surprise:disabled {
  opacity: .5;
  cursor: default;
}
.rank-view-bar {
  color: #79738d;
  font-size: .73rem;
}
.rank-view-bar button {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: .7rem;
  min-height: 32px;
}
.rank-view-divider {
  color: #b3afc7;
  padding: 0 9px;
}
#rank-thread-note {
  font-size: .7rem;
  color: #79738d;
  margin: 10px 0 0;
}
.rank-panel {
  margin-top: 20px;
}
.rank-panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.rank-panel-heading h2 {
  color: #29213e;
  font-size: 1.45rem;
  margin: 0;
  letter-spacing: -.025em;
}
.rank-panel-heading .eyebrow {
  margin-bottom: 6px;
}
.rank-panel-heading>a {
  font-size: .72rem;
  white-space: nowrap;
}
.rank-panel-note,.rank-slice {
  color: #78778f;
  font-size: .75rem;
  line-height: 1.75;
  margin: 8px 0;
}
.rank-panel-note summary {
  width: fit-content;
}
.rank-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
  margin-top: 16px;
}
.rank-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid #e3e3f1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 0 #e8e7f2;
  transition: transform .18s ease,box-shadow .18s ease;
}
.rank-card:hover {
  border-color: #c1acec;
  box-shadow: 0 7px 22px #47289516;
  transform: translateY(-2px);
}
.rank-cover {
  aspect-ratio: 460/215;
  width: 100%;
  overflow: hidden;
  background: #e4e0f4;
}
.rank-cover>img,.rank-cover-open>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rank-cover-open {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
}
.rank-cover-open>img {
  transition: transform .25s ease;
}
.rank-cover-open:hover>img {
  transform: scale(1.035);
}
.rank-position {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 1;
  pointer-events: none;
  color: white;
  background: #613bd9;
  padding: 5px 9px;
  border-radius: 5px;
  font: 800 1.03rem ui-monospace,monospace;
  box-shadow: 0 3px 0 #322066;
}
.rank-overlap {
  font: 800 .68rem system-ui,sans-serif;
  padding: 6px 9px;
  background: #ff8f6c;
  box-shadow: 0 3px 0 #cb5f45;
  color: #39233d;
}
.rank-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.rank-body h3 {
  margin: 0 0 5px;
  font-size: 1rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.rank-body h3 a {
  color: #29223e;
  text-decoration: none;
}
.rank-body h3 a:hover {
  color: #7340de;
  text-decoration: underline;
}
.rank-maker {
  color: #9290a4;
  font-size: .68rem;
  margin: 0 0 5px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.rank-meta {
  color: #77728e;
  font-size: .7rem;
  margin: 4px 0 10px;
}
.rank-meta span {
  padding: 0 4px;
}
.rank-description {
  color: #514c67;
  font-size: .86rem;
  line-height: 1.8;
  margin: 1px 0 13px;
}
.rank-citations {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: auto 0 10px;
}
.rank-citations a {
  font: 650 .7rem system-ui,sans-serif;
  color: #66439f;
  background: #f0ebfa;
  border-radius: 4px;
  padding: 4px 6px;
  text-decoration: none;
}
.rank-citations a[href*=steam250] {
  color: #167f78;
  background: #e6f7f1;
}
.rank-citations a[href*=slantmagazine] {
  color: #b9436c;
  background: #fff0f5;
}
.rank-facts {
  font-size: .75rem;
}
.rank-facts>summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 32px;
  list-style: none;
  color: #8067af;
}
.rank-facts>summary::-webkit-details-marker {
  display: none;
}
.rank-facts-content {
  font-size: .8rem;
  color: #67617b;
  line-height: 1.8;
}
.rank-facts-content dl>div {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.rank-facts-content dt {
  color: #9690a7;
  font-size: .7rem;
}
.rank-facts-content dd {
  margin: 4px 0 0;
}
.rank-edition-name {
  font-size: .72rem;
}
.rank-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0;
}
.rank-card .feedback-bar {
  display: flex;
  gap: 7px;
  margin: 9px 0 0;
  padding-top: 10px;
  border-top: 1px solid #eeebf4;
}
.rank-card .feedback-bar button {
  flex: 1;
  min-height: 38px;
  font-size: .71rem;
  color: #786b98;
  background: #f6f3fc;
  border: 1px solid #e7e0f4;
  border-radius: 6px;
  padding: 7px 5px;
}
.rank-card [data-feedback=wishlist]::before {
  content: '+ ';
  font-weight: 800;
}
.rank-card [data-feedback].active::before {
  content: '\2713 ';
}
.rank-card .feedback-bar button.active {
  background: #7750dc;
  color: #fff;
  border-color: #7750dc;
}
.rank-pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 30px 0;
}
.rank-pagination button:first-child {
  color: white;
  background: #7448df;
  border-color: #7448df;
  min-width: 170px;
}
#rank-empty {
  padding: 35px;
  text-align: center;
  color: #857495;
}
.rank-source-disclosure {
  padding: 24px 0 18px;
  border-top: 1px solid var(--line);
  margin-top: 25px;
}
.rank-source-disclosure>summary {
  font-weight: 700;
  font-size: .87rem;
}
.rank-sources {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  margin-top: 16px;
}
.rank-source-card {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: .77rem;
}
.rank-source-top {
  display: flex;
  justify-content: space-between;
  font-size: .66rem;
  color: #9a7ac9;
}
.rank-source-card h3 {
  font-size: 1rem;
}
.rank-source-date {
  font-size: .68rem;
  line-height: 1.8;
  color: #8c829f;
}
.rank-method {
  padding: 24px 28px;
  background: #eae5fa;
  border-radius: 12px;
}
.rank-method h2 {
  font-size: 1rem;
  margin-top: 0;
}
.rank-method p {
  color: #7c7193;
  font-size: .74rem;
  line-height: 1.85;
}
.rank-art-fallback {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  background: #e7dfff;
  color: #7a53ab;
}
.rank-art-fallback>span {
  font: italic 2rem Georgia,serif;
}
.rank-art-fallback strong {
  font-size: .9rem;
}
.rank-art-fallback small {
  font-size: .6rem;
  margin-top: 5px;
}
.rankings[data-layout=list] .rank-grid {
  grid-template-columns: 1fr;
  gap: 9px;
}
.rankings[data-layout=list] .rank-card {
  display: grid;
  grid-template-columns: 155px 1fr;
  align-items: start;
}
.rankings[data-layout=list] .rank-cover {
  margin-top: 12px;
}
.rankings[data-layout=list] .rank-body {
  display: grid;
  grid-template-columns: 1.4fr 1.6fr 155px;
  gap: 4px 18px;
}
.rankings[data-layout=list] h3 {
  grid-column: 1;
  grid-row: 1;
}
.rankings[data-layout=list] .rank-maker {
  grid-column: 1;
  grid-row: 2;
}
.rankings[data-layout=list] .rank-meta {
  grid-column: 1;
  grid-row: 3;
}
.rankings[data-layout=list] .rank-description {
  grid-column: 2;
  grid-row: 1/4;
  margin: 0;
  align-self: center;
  font-size: .76rem;
}
.rankings[data-layout=list] .rank-citations {
  grid-column: 3;
  grid-row: 1;
  margin: 0;
}
.rankings[data-layout=list] .rank-facts {
  grid-column: 3;
  grid-row: 2;
}
.rankings[data-layout=list] .feedback-bar {
  grid-column: 3;
  grid-row: 3;
  margin: 0;
  padding-top: 4px;
  border: 0;
}
.rankings[data-layout=list] .rank-position {
  font-size: .7rem;
  top: 17px;
  left: 6px;
}
#rank-dialog {
  width: min(860px,calc(100vw - 28px));
  max-height: 92dvh;
  padding: 0;
  border: 1px solid #d9cbed;
  border-radius: 17px;
  background: #fff;
  color: #30233e;
  box-shadow: 0 25px 100px #24104766;
}
#rank-dialog::backdrop {
  background: #21103fbb;
  backdrop-filter: blur(5px);
}
body:has(#rank-dialog[open]) {
  overflow: hidden;
}
.rank-dialog-top {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 15px;
  background: #f4efff;
  color: #8d6ab6;
  border-bottom: 1px solid #e5d9f8;
  font-size: .72rem;
}
.rank-dialog-top>div {
  display: flex;
  gap: 10px;
  align-items: center;
}
#rank-dialog-close {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 1px solid #dac9f2;
  color: #7f50b5;
  background: white;
  border-radius: 50%;
}
#rank-dialog-next {
  border: 0;
  background: #ff987a;
  color: #432639;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: .72rem;
}
.rank-dialog-card {
  display: grid;
  grid-template-columns: 285px minmax(0,1fr);
}
.rank-dossier-side {
  background: #f2ebff;
  min-width: 0;
}
.rank-dossier-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rank-dossier-history {
  padding: 20px;
}
.rank-dossier-history>p {
  font-size: .66rem;
  color: #a28abb;
  letter-spacing: .08em;
}
.rank-dossier-history>a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #e0d2f1;
  text-decoration: none;
  color: #73519c;
  font-size: .82rem;
}
.rank-dossier-history strong {
  font: 800 1.7rem ui-monospace,monospace;
  color: #8752cd;
}
.rank-dossier-history small {
  display: block;
  font-size: .67rem;
  color: #a08bb8;
  margin-top: 5px;
}
.rank-dialog-card>.rank-body {
  padding: 24px 28px;
}
.rank-dialog-card h2 {
  margin: 0 0 8px;
  font-size: 1.6rem;
  line-height: 1.3;
  color: #372245;
}
.rank-dialog-card .rank-description {
  font-size: .94rem;
  line-height: 1.85;
  color: #64536f;
  background: #faf6ff;
  border-left: 3px solid #bc88ed;
  padding: 13px 16px;
  margin: 12px 0;
}
.rank-dialog-card .rank-maker,.rank-dialog-card .rank-meta {
  font-size: .77rem;
}
.rank-dialog-card .feedback-bar {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.rank-dialog-card .feedback-bar button {
  background: #eee4ff;
  color: #7e52b9;
  border: 1px solid #d4bdee;
  border-radius: 6px;
  padding: 11px 17px;
  font-size: .8rem;
}
.rank-dialog-card .feedback-bar button.active {
  color: white;
  background: #8253cb;
}
.rank-dialog-card .rank-actions a {
  padding: 9px 15px;
  background: #8553ce;
  color: white;
  border-radius: 6px;
  text-decoration: none;
}
.rank-note-source {
  font-size: .67rem;
  color: #a094ae;
  margin: 8px 0;
}
@media(min-width:1600px) {
  .rank-grid {
    grid-template-columns: repeat(5,minmax(0,1fr));
  }
}
@media(max-width:1100px) {
  .rank-hero {
    grid-template-columns: 1fr 1.4fr;
  }
  .rank-stories {
    grid-template-columns: 1fr 1fr;
  }
  .rank-story {
    display: block;
  }
  .rank-story:first-child {
    grid-column: span 2;
    grid-row: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .rank-story:first-child .rank-story-image {
    height: 100%;
  }
  .rank-story:not(:first-child) .rank-story-image {
    display: none;
  }
  .rank-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .rank-tabs a {
    padding: 12px;
    font-size: .75rem;
    gap: 5px;
  }
  .rank-tabs span {
    font-size: .58rem;
  }
}
@media(max-width:700px) {
  body:has(.rankings) main {
    padding: 14px 14px 35px;
  }
  body:has(.rankings) .app-header {
    padding: 12px 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  body:has(.rankings) .brand-block {
    gap: 8px;
  }
  body:has(.rankings) .brand-block h1 {
    font-size: 1.1rem;
  }
  body:has(.rankings) .brand-block .eyebrow {
    font-size: .55rem;
    max-width: 140px;
  }
  body:has(.rankings) .brand-mark {
    width: 30px;
    height: 30px;
  }
  body:has(.rankings) .header-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
  }
  body:has(.rankings) .header-actions nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
    padding-bottom: 3px;
  }
  body:has(.rankings) .header-actions nav a {
    flex-shrink: 0;
    font-size: .7rem;
    padding: 6px 9px;
  }
  body:has(.rankings) .language-switch {
    position: absolute;
    top: 18px;
    right: 15px;
  }
  body:has(.rankings) .language-switch a {
    font-size: .57rem;
    padding: 4px;
  }
  .rank-hero {
    display: block;
    margin-bottom: 14px;
  }
  .rank-intro {
    padding: 22px;
    border-radius: 15px;
  }
  .rank-hero h2 {
    font-size: 2rem;
    margin: 5px 0 10px;
  }
  .rank-intro>.eyebrow {
    font-size: .58rem;
    margin-bottom: 8px;
  }
  .rank-intro>p:not(.eyebrow) {
    font-size: .75rem;
    line-height: 1.65;
  }
  .rank-stats {
    margin-top: 12px;
    gap: 12px;
    font-size: .65rem;
  }
  .rank-stats strong {
    font-size: 1.1rem;
  }
  .rank-feature {
    margin-top: 12px;
  }
  .rank-feature>.eyebrow {
    display: none;
  }
  .rank-stories {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .rank-story,.rank-story:first-child {
    display: grid;
    grid-template-columns: 90px 1fr;
    flex: 0 0 88%;
    scroll-snap-align: start;
  }
  .rank-story:not(:first-child) .rank-story-image {
    display: block;
  }
  .rank-story:first-child .rank-story-image {
    height: 100%;
  }
  .rank-story-copy {
    padding: 10px;
  }
  .rank-story-copy h3,.rank-story:first-child h3 {
    font-size: .81rem;
  }
  .rank-story-copy p {
    font-size: .67rem;
    margin-bottom: 0;
  }
  .rank-story-copy small,.rank-story-image span {
    display: none;
  }
  .rank-tabs {
    overflow-x: auto;
    gap: 7px;
    padding-bottom: 4px;
    margin-bottom: 12px;
  }
  .rank-tabs a {
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    white-space: nowrap;
    font-size: .7rem;
    padding: 10px;
    gap: 4px;
    border-radius: 7px;
  }
  .rank-tabs span {
    margin: 0;
    font-size: .57rem;
    padding: 2px 4px;
  }
  .rank-controls {
    padding: 10px;
    gap: 8px;
  }
  .rank-controls>.rank-control-wide {
    display: block;
  }
  .rank-controls label {
    font-size: .64rem;
    margin-bottom: 5px;
  }
  .rank-controls input,.rank-controls select {
    font-size: .71rem;
    padding: 9px;
  }
  .rank-advanced {
    font-size: .64rem;
    padding-top: 13px;
  }
  .rank-advanced[open] {
    padding-top: 8px;
  }
  .rank-advanced-grid {
    grid-template-columns: 1fr 1fr;
  }
  .rank-advanced-grid>.rank-control-wide {
    grid-column: 1/-1;
  }
  .rank-discovery-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    margin-top: 8px;
  }
  .rank-threads {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }
  .rank-threads button {
    white-space: nowrap;
    font-size: .65rem;
    padding: 6px 10px;
    min-height: 32px;
  }
  #rank-surprise {
    min-height: 40px;
  }
  .rank-view-bar {
    gap: 8px;
    margin-top: 10px;
    font-size: .62rem;
  }
  .rank-view-bar>div:first-child {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
  }
  .rank-view-bar>div:last-child {
    display: flex;
    flex-shrink: 0;
  }
  .rank-view-bar button {
    font-size: .61rem;
    padding: 5px 7px;
  }
  .rank-view-divider {
    padding: 0 2px;
  }
  .rank-panel {
    margin-top: 15px;
  }
  .rank-panel-heading h2 {
    font-size: 1.1rem;
  }
  .rank-panel-heading .eyebrow {
    font-size: .61rem;
  }
  .rank-panel-heading {
    align-items: start;
  }
  .rank-panel-heading>a {
    font-size: .65rem;
  }
  .rank-panel-note,.rank-slice {
    font-size: .68rem;
    line-height: 1.65;
  }
  .rank-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
    margin-top: 10px;
  }
  .rank-body {
    padding: 11px;
  }
  .rank-body h3 {
    font-size: .85rem;
  }
  .rank-maker {
    font-size: .62rem;
  }
  .rank-meta {
    font-size: .64rem;
    margin-bottom: 8px;
  }
  .rank-description {
    font-size: .71rem;
    line-height: 1.7;
    margin-bottom: 10px;
  }
  .rank-citations a {
    font-size: .57rem;
    padding: 3px 4px;
  }
  .rank-position {
    font-size: .78rem;
    top: 6px;
    left: 6px;
    padding: 4px 6px;
  }
  .rank-overlap {
    font-size: .58rem;
  }
  .rank-facts>summary {
    font-size: .66rem;
  }
  .rank-card .feedback-bar {
    gap: 5px;
  }
  .rank-card .feedback-bar button {
    font-size: .63rem;
    min-height: 40px;
  }
  .rank-pagination {
    padding: 20px 0;
  }
  .rank-sources {
    grid-template-columns: 1fr;
  }
  .rank-method {
    padding: 18px;
  }
  .rankings[data-layout=list] .rank-card {
    grid-template-columns: 95px 1fr;
  }
  .rankings[data-layout=list] .rank-body {
    display: flex;
    gap: 4px;
    padding: 10px;
  }
  .rankings[data-layout=list] .rank-maker {
    display: none;
  }
  .rankings[data-layout=list] .rank-description {
    font-size: .71rem;
  }
  .rankings[data-layout=list] .rank-citations {
    margin-top: 7px;
  }
  .rankings[data-layout=list] .rank-facts {
    display: none;
  }
  .rankings[data-layout=list] .feedback-bar {
    width: 100%;
    padding-top: 5px;
  }
  .rankings[data-layout=list] .rank-meta {
    margin: 0;
  }
  .rankings[data-layout=list] .rank-position {
    font-size: .6rem;
  }
  #rank-dialog {
    width: calc(100vw - 20px);
    max-height: 94dvh;
  }
  .rank-dialog-card {
    display: block;
  }
  .rank-dossier-history {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 14px;
  }
  .rank-dossier-history>p {
    width: 100%;
    margin: 0;
    font-size: .6rem;
  }
  .rank-dossier-history>a {
    flex: 1;
    min-width: 85px;
    padding: 0;
    border: 0;
    font-size: .64rem;
    gap: 5px;
  }
  .rank-dossier-history strong {
    font-size: 1.2rem;
  }
  .rank-dossier-history small {
    font-size: .56rem;
  }
  .rank-dialog-card>.rank-body {
    padding: 18px;
  }
  .rank-dialog-card h2 {
    font-size: 1.3rem;
  }
  .rank-dialog-card .rank-description {
    font-size: .85rem;
    padding: 12px;
  }
  .rank-dialog-card .feedback-bar {
    margin-top: 14px;
  }
  #rank-discovery-note {
    font-size: .64rem;
    max-width: 45%;
  }
  .rank-dialog-top>div {
    gap: 7px;
  }
  #rank-dialog-next {
    font-size: .64rem;
    max-width: 150px;
  }
}
@media(max-width:350px) {
  .rank-grid {
    grid-template-columns: 1fr;
  }
  body:has(.rankings) .brand-block .eyebrow {
    max-width: 100px;
    font-size: .5rem;
  }
  .rank-hero h2 {
    font-size: 1.75rem;
  }
  .rank-intro {
    padding: 18px;
  }
}
/* Keep gameplay copy comfortably readable on a two-column phone grid. */
@media(max-width:700px) {
  .rank-description {
    font-size: .81rem;
    line-height: 1.75;
  }
  .rank-citations a {
    font-size: .63rem;
  }
  .rank-card .feedback-bar button {
    font-size: .69rem;
  }
  .rank-meta,.rank-maker {
    color: #68637d;
  }
  .rankings[data-layout=list] .rank-description {
    font-size: .81rem;
  }
}
@media(prefers-reduced-motion:reduce) {
  .rankings * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .rank-card:hover,.rank-story:hover,.rank-cover-open:hover>img {
    transform: none;
  }
}
/* Chart edition: each source keeps its own champion, podium and original ranks. */
.rank-podium-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
  margin-bottom: 22px;
}
.rank-podium-grid .rank-card {
  border-width: 2px;
  border-color: #c3aef2;
}
.rank-podium-grid .rank-card:first-child {
  border-color: #73c6b1;
}
.rank-podium-grid .rank-position {
  top: 12px;
  left: 12px;
  font-size: 1.9rem;
  padding: 6px 11px;
}
.rank-podium-grid .rank-body {
  padding: 17px;
}
.rank-podium-grid h3 {
  font-size: 1.16rem;
}
.rank-podium-grid .rank-description {
  font-size: .89rem;
}
.rankings[data-layout=list] .rank-podium-grid .rank-body {
  padding: 14px;
}
.rankings[data-layout=list] .rank-podium-grid .rank-position {
  font-size: .8rem;
}
.rankings[data-layout=list] .rank-podium-grid h3 {
  font-size: 1rem;
}
.rankings {
  font-family: Inter,"Segoe UI","Microsoft JhengHei","Yu Gothic UI",sans-serif;
}
.rank-hero {
  grid-template-columns: 1fr 1.4fr;
  gap: 22px;
}
.rank-intro {
  padding: 25px 28px;
}
.rank-hero h2 {
  font-size: clamp(1.8rem,2.6vw,2.45rem);
  margin: 6px 0 12px;
}
.rank-stats {
  margin-top: 16px;
}
.rank-stories {
  grid-template-columns: repeat(3,minmax(0,1fr));
  height: calc(100% - 24px);
  gap: 10px;
}
.rank-story,.rank-story:first-child {
  display: flex;
  flex-direction: column;
  grid-column: auto;
  grid-row: auto;
  background: #087d74;
}
.rank-story:nth-child(2) {
  background: #6140cb;
}
.rank-story:nth-child(3) {
  background: #d44475;
}
.rank-story .rank-story-image,.rank-story:first-child .rank-story-image,.rank-story:not(:first-child) .rank-story-image {
  display: block;
  height: 132px;
  flex: 0 0 132px;
}
.rank-story-image span {
  top: 9px;
  left: 9px;
  bottom: auto;
  right: auto;
  padding: 4px 8px;
  background: #d2ff8e;
  color: #283748;
  border-radius: 5px;
  font: 850 1rem ui-monospace,monospace;
}
.rank-story-copy {
  padding: 12px;
}
.rank-story-copy small {
  color: #fff;
  font-size: .68rem;
}
.rank-story-copy h3,.rank-story:first-child h3 {
  font-size: .96rem;
  margin: 7px 0;
  line-height: 1.4;
}
.rank-story-copy p {
  margin: auto 0 0;
  font-size: .66rem;
  color: #e4ffbb;
}
.rank-story-copy b {
  float: right;
}
.rank-quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 15px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.rank-quick>span {
  font-size: .71rem;
  color: #716881;
  margin-right: 8px;
}
.rank-quick button {
  border: 1px solid #ddd4f2;
  border-radius: 5px;
  padding: 6px 11px;
  background: transparent;
  color: #706186;
  font-size: .7rem;
  min-height: 34px;
}
.rank-quick button[aria-pressed=true] {
  background: #6542ca;
  border-color: #6542ca;
  color: white;
}
[data-rank-panel=steam250-top200] .rank-position {
  background: #087f76;
  box-shadow: 0 3px 0 #065f59;
}
[data-rank-panel=slant-2020] .rank-position {
  background: #d74576;
  box-shadow: 0 3px 0 #9f2c54;
}
.rank-matrix,.rank-compare-note {
  display: none;
}
.rankings[data-layout=compare] .rank-compare-note {
  display: block;
  font-size: .8rem;
  color: #6b617e;
  line-height: 1.7;
}
.rankings[data-layout=compare] .rank-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}
.rankings[data-layout=compare] .rank-card {
  display: grid;
  grid-template-columns: 145px 1fr;
  align-items: center;
}
.rankings[data-layout=compare] .rank-body {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 4px 25px;
  padding: 15px 20px;
}
.rankings[data-layout=compare] h3 {
  grid-column: 1;
  grid-row: 1;
}
.rankings[data-layout=compare] .rank-meta {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
}
.rankings[data-layout=compare] .rank-description {
  grid-column: 1;
  grid-row: 3;
  margin: 5px 0 0;
  font-size: .81rem;
}
.rankings[data-layout=compare] .rank-maker,.rankings[data-layout=compare] .rank-citations {
  display: none;
}
.rankings[data-layout=compare] .rank-matrix {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  grid-column: 2;
  grid-row: 1/4;
  align-self: stretch;
  gap: 6px;
}
.rank-matrix>div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 7px;
  background: #f0eaff;
  color: #6745c5;
  padding: 9px 5px;
}
.rank-matrix>div:first-child {
  color: #087e74;
  background: #e4f8f0;
}
.rank-matrix>div:last-child {
  color: #c03c6a;
  background: #fff0f5;
}
.rank-matrix small {
  font-size: .65rem;
  line-height: 1.35;
}
.rank-matrix small span {
  display: block;
  font-size: .58rem;
  margin: 3px 0 5px;
}
.rank-matrix strong {
  font: 800 1.65rem ui-monospace,monospace;
}
.rankings[data-layout=compare] .rank-facts {
  grid-column: 1;
  grid-row: 4;
}
.rankings[data-layout=compare] .feedback-bar {
  grid-column: 2;
  grid-row: 4;
  border: 0;
  padding: 0;
  margin: 0;
}
.rankings[data-layout=compare] .rank-facts>summary {
  justify-content: start;
  gap: 15px;
}
.rankings[data-layout=compare] .rank-position {
  top: 8px;
  left: 8px;
}
@media(max-width:1100px) and (min-width:701px) {
  .rank-hero {
    grid-template-columns: 1fr 1.5fr;
  }
  .rank-intro {
    padding: 22px;
  }
  .rank-hero h2 {
    font-size: 1.8rem;
  }
  .rank-story-copy h3,.rank-story:first-child h3 {
    font-size: .8rem;
  }
  .rank-story-copy small {
    font-size: .6rem;
  }
  .rankings[data-layout=compare] .rank-body {
    grid-template-columns: 1fr 260px;
    gap: 5px 15px;
  }
  .rankings[data-layout=compare] .rank-card {
    grid-template-columns: 110px 1fr;
  }
}
@media(max-width:700px) {
  .rank-hero {
    display: block;
  }
  .rank-intro {
    padding: 20px;
  }
  .rank-hero h2 {
    font-size: 1.8rem;
  }
  .rank-intro>p:not(.eyebrow) {
    font-size: .78rem;
  }
  .rank-stats {
    margin-top: 10px;
    gap: 10px;
  }
  .rank-feature {
    margin-top: 10px;
  }
  .rank-stories {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    overflow: visible;
    gap: 7px;
  }
  .rank-story,.rank-story:first-child {
    display: flex;
    border-radius: 8px;
  }
  .rank-story .rank-story-image,.rank-story:first-child .rank-story-image,.rank-story:not(:first-child) .rank-story-image {
    height: 56px;
    flex-basis: 56px;
  }
  .rank-story-image span {
    display: block;
    top: 4px;
    left: 4px;
    font-size: .62rem;
    padding: 2px 4px;
  }
  .rank-story-copy {
    padding: 7px;
  }
  .rank-story-copy h3,.rank-story:first-child h3 {
    font-size: .65rem;
    margin: 4px 0 0;
  }
  .rank-story-copy small {
    display: block;
    font-size: .55rem;
  }
  .rank-story-copy p {
    display: none;
  }
  .rank-story-copy {
    flex: 1;
  }
  .rank-podium-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }
  .rank-podium-grid .rank-card {
    display: grid;
    grid-template-columns: 110px minmax(0,1fr);
    align-items: start;
  }
  .rank-podium-grid .rank-cover {
    height: 100px;
    aspect-ratio: auto;
    grid-row: 1/3;
  }
  .rank-podium-grid .rank-position {
    font-size: 1.3rem;
    left: 7px;
    top: 7px;
  }
  .rankings:not([data-layout=list]) .rank-podium-grid .rank-body {
    display: contents;
  }
  .rank-podium-grid h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 1rem;
    margin: 12px 10px 5px;
  }
  .rank-podium-grid .rank-meta {
    grid-column: 2;
    grid-row: 2;
    margin: 0 10px 8px;
  }
  .rank-podium-grid .rank-maker {
    display: none;
  }
  .rank-podium-grid .rank-description {
    grid-column: 1/-1;
    font-size: .84rem;
    margin: 12px;
  }
  .rank-podium-grid .rank-citations {
    grid-column: 1/-1;
    margin: 0 12px 6px;
  }
  .rank-podium-grid .rank-facts {
    grid-column: 1/-1;
    margin: 0 12px;
  }
  .rank-podium-grid .feedback-bar {
    grid-column: 1/-1;
    margin: 6px 12px 12px;
  }
  .rank-view-bar {
    flex-wrap: wrap;
    gap: 7px;
  }
  .rank-view-bar>div:last-child {
    margin-left: auto;
  }
  .rank-view-bar button {
    min-height: 35px;
  }
  .rank-quick {
    gap: 5px;
    margin-top: 10px;
    padding-bottom: 9px;
  }
  .rank-quick>span {
    width: 100%;
    font-size: .65rem;
  }
  .rank-quick button {
    font-size: .64rem;
    padding: 5px 9px;
  }
  .rank-panel-note {
    font-size: .73rem;
  }
  .rankings[data-layout=compare] .rank-card {
    display: block;
  }
  .rankings[data-layout=compare] .rank-cover {
    position: absolute;
    width: 82px;
    height: 55px;
    left: 12px;
    top: 12px;
    border-radius: 5px;
  }
  .rankings[data-layout=compare] .rank-position {
    top: 50px;
    left: 15px;
    font-size: .55rem;
    padding: 3px 5px;
  }
  .rankings[data-layout=compare] .rank-body {
    display: block;
    padding: 12px;
  }
  .rankings[data-layout=compare] h3 {
    margin-left: 93px;
    min-height: 40px;
    font-size: .9rem;
  }
  .rankings[data-layout=compare] .rank-meta {
    margin-left: 93px;
    font-size: .65rem;
  }
  .rankings[data-layout=compare] .rank-description {
    margin: 14px 0;
    font-size: .81rem;
  }
  .rankings[data-layout=compare] .rank-matrix {
    gap: 6px;
    margin: 10px 0;
  }
  .rank-matrix strong {
    font-size: 1.5rem;
  }
  .rank-matrix small {
    font-size: .65rem;
  }
  .rank-matrix small span {
    font-size: .6rem;
  }
  .rankings[data-layout=compare] .rank-facts {
    margin: 8px 0;
  }
  .rankings[data-layout=compare] .feedback-bar {
    margin-top: 8px;
  }
}
