/* Multiplayer Central: Steam-store inspired look (dark blue-grey, light blue links, green prices). */

:root {
  --bg: #1b2838;
  --bg-deep: #171a21;
  --panel: #16202d;
  --panel-2: #1e2a38;
  --panel-3: #2a475e;
  --line: #2a3f53;
  --text: #c6d4df;
  --text-dim: #8f98a0;
  --white: #ffffff;
  --link: #66c0f4;
  --link-hover: #ffffff;
  --green: #a4d007;
  --green-text: #beee11;
  --green-bg: #4c6b22;
  --price-bg: #344654;
  --pos: #66c0f4;
  --mixed: #b9a074;
  --neg: #c35c2c;
  --coop: #67c1f5;
  --pvp: #ff7b7b;
  --local: #8bc53f;
  --online: #f2c14e;
  --wrap: 1100px;
  --font: 'Motiva Sans', Arial, Helvetica, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  background: var(--bg);
  background-image: radial-gradient(ellipse 120% 60% at 50% 0%, #2a475e 0%, rgba(27, 40, 56, 0) 70%);
  background-repeat: no-repeat;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--link); color: #000; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

h1, h2, h3 { color: var(--white); font-weight: 400; line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

/* ---------- header ---------- */

.site-header { background: var(--bg-deep); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--white); }
.logo:hover { color: var(--white); }
.logo span { font-size: 19px; letter-spacing: .02em; text-transform: uppercase; font-weight: 300; }
.logo b { font-weight: 700; margin-left: 6px; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.nav { display: flex; gap: 22px; }
.nav a { color: #dcdedf; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; padding: 24px 0 20px; border-bottom: 3px solid transparent; }
.nav a:hover { color: var(--white); }
.nav a[aria-current="page"] { color: var(--link); border-bottom-color: var(--link); }

/* ---------- store nav bar ---------- */

.store-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 18px 0 22px;
  background: linear-gradient(90deg, rgba(62, 103, 150, .92) 12%, rgba(58, 120, 177, .9) 50%, rgba(15, 33, 110, .9) 100%);
  border-radius: 3px;
  box-shadow: 0 0 3px rgba(0, 0, 0, .4);
  padding: 0 4px 0 0;
}
.store-links { display: flex; overflow-x: auto; scrollbar-width: none; }
.store-links::-webkit-scrollbar { display: none; }
.store-links a { color: #e5e5e5; padding: 11px 14px; font-size: 13px; white-space: nowrap; }
.store-links a:hover { background: linear-gradient(90deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); color: var(--white); }
.store-links a[aria-current="page"] { color: var(--white); background: rgba(255, 255, 255, .1); }
.store-search { display: flex; align-items: center; background: #316282; border-radius: 3px; border: 1px solid rgba(0,0,0,.3); flex: 0 0 240px; }
.store-search input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--white); font: inherit; padding: 6px 10px; outline: none; }
.store-search input::placeholder { color: #0e1c25; font-style: italic; }
.store-search button { background: linear-gradient(135deg, #67c1f5 0%, #417a9b 100%); border: 0; width: 30px; height: 26px; margin: 2px; border-radius: 3px; cursor: pointer; color: #fff; display: grid; place-items: center; }
.store-search svg { width: 15px; height: 15px; }

/* ---------- sections ---------- */

.page-intro { margin: 4px 0 18px; }
.page-intro h1 { font-size: 26px; margin-bottom: 4px; }
.page-intro p { color: var(--text-dim); margin: 0; }
section { margin-bottom: 34px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 10px; }
.sec-head h2 { font-size: 14px; text-transform: uppercase; letter-spacing: .03em; margin: 0; color: var(--white); }
.sec-more { font-size: 12px; color: var(--white); border: 1px solid rgba(255,255,255,.4); padding: 2px 10px; border-radius: 2px; }
.sec-more:hover { background: rgba(255,255,255,.15); }

/* ---------- featured carousel ---------- */

.carousel { position: relative; box-shadow: 0 0 7px rgba(0,0,0,.5); }
.slide { display: grid; grid-template-columns: 1.6fr 1fr; min-height: 338px; background: rgba(0,0,0,.2); }
.slide[hidden] { display: none; }
.slide-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 600 / 338; }
.slide-info { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; background: linear-gradient(135deg, #0f1922 0%, #1d3448 100%); color: var(--text); }
.slide-info:hover { color: var(--text); background: linear-gradient(135deg, #12202c 0%, #24405a 100%); }
.slide-title { font-size: 24px; color: var(--white); line-height: 1.15; }
.slide-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.slide-shots img { width: 100%; opacity: .75; }
.slide-info:hover .slide-shots img { opacity: 1; }
.slide-desc { color: var(--text-dim); font-size: 13px; }
.slide-why { color: var(--white); font-size: 15px; }
.slide-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 70px; border: 0; cursor: pointer; color: #fff; font-size: 34px; line-height: 1; background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(0,0,0,.15)); }
.arrow:hover { background: linear-gradient(90deg, rgba(171,218,244,.3), rgba(171,218,244,.1)); }
.arrow.prev { left: -44px; }
.arrow.next { right: -44px; }
.dots { display: flex; justify-content: center; gap: 4px; padding: 12px 0 0; }
.dot { width: 15px; height: 9px; border: 0; border-radius: 2px; background: rgba(255,255,255,.2); cursor: pointer; padding: 0; }
.dot.is-active { background: rgba(255,255,255,.6); }

/* ---------- browse tiles ---------- */

.ways { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ways a {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
  min-height: 130px; padding: 12px 14px; border-radius: 3px; overflow: hidden;
  background-color: var(--panel-3); background-size: cover; background-position: center;
  color: var(--white);
}
.ways a::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,26,33,.1) 0%, rgba(23,26,33,.92) 85%); }
.ways a:hover::before { background: linear-gradient(180deg, rgba(42,71,94,.2) 0%, rgba(42,71,94,.95) 85%); }
.ways span { position: relative; }
.way-label { font-size: 18px; }
.way-note { font-size: 12px; color: var(--text); }
.way-count { font-size: 12px; color: var(--link); }

/* ---------- search layout ---------- */

.search-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 16px; align-items: start; }
.results-bar { display: flex; gap: 10px; align-items: center; justify-content: space-between; background: rgba(0,0,0,.2); padding: 8px; border-radius: 3px; margin-bottom: 6px; flex-wrap: wrap; }
.bar-search { flex: 1 1 240px; }
.bar-search input, .filters select, .bar-sort select {
  width: 100%; font: inherit; color: var(--white); background: #222b35; border: 1px solid #000; border-radius: 3px;
  padding: 7px 10px; box-shadow: inset 1px 1px 0 rgba(0,0,0,.4);
}
.bar-search input::placeholder { color: #6b7684; }
.bar-sort { display: flex; align-items: center; gap: 8px; color: var(--text-dim); white-space: nowrap; }
.bar-sort select { width: auto; }
.count { color: var(--text-dim); font-size: 12px; margin: 6px 0; }

.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.row-link {
  display: grid; grid-template-columns: 184px minmax(0, 1fr) 110px 150px 128px; gap: 12px; align-items: center;
  background: rgba(0,0,0,.2); color: var(--text); padding: 4px; border-radius: 2px;
}
.row-link:hover { background: linear-gradient(90deg, rgba(42,71,94,.9), rgba(42,71,94,.5)); color: var(--text); }
.row-link:hover .row-title { color: var(--white); }
.row-img { width: 184px; height: 86px; object-fit: cover; background: var(--panel); }
.row-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.row-title { color: #c7d5e0; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-sub { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.row-date { color: var(--text-dim); font-size: 12px; }
.row-rev { font-size: 12px; }
.ranked .row-link { grid-template-columns: 34px 184px minmax(0, 1fr) 110px 150px 128px; }
.row-rank { font-size: 20px; color: var(--white); text-align: center; }
.more { display: flex; justify-content: center; margin-top: 14px; }
.empty { padding: 30px; text-align: center; background: rgba(0,0,0,.2); color: var(--text-dim); }

.os { display: inline-flex; gap: 5px; color: var(--text-dim); }
.os svg { width: 14px; height: 14px; }
.players { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #b8c5d1; white-space: nowrap; }
.players svg { width: 14px; height: 14px; color: #67c1f5; }
.fnote { margin: 8px 0 0; font-size: 12px; color: var(--text-dim); line-height: 1.4; }

.badges { display: flex; flex-wrap: wrap; gap: 4px; }
.badge { font-size: 11px; padding: 1px 7px; border-radius: 2px; line-height: 1.6; background: rgba(255,255,255,.08); color: var(--text); }
.b-coop { background: rgba(103,193,245,.16); color: var(--coop); }
.b-pvp { background: rgba(255,123,123,.15); color: var(--pvp); }
.b-local { background: rgba(139,197,63,.16); color: var(--local); }
.b-online { background: rgba(242,193,78,.14); color: var(--online); }
.b-lan, .b-plain { background: rgba(255,255,255,.08); color: var(--text); }

.rev { display: flex; flex-direction: column; line-height: 1.3; }
.rev-n { color: var(--text-dim); font-size: 11px; }
.r-pos { color: var(--pos); }
.r-mixed { color: var(--mixed); }
.r-neg { color: var(--neg); }
.r-none { color: var(--text-dim); }

.price-block { display: flex; align-items: stretch; justify-content: flex-end; min-height: 34px; }
.price-block .final { display: flex; align-items: center; color: var(--white); font-size: 13px; padding: 0 8px; background: rgba(0,0,0,.2); border-radius: 2px; }
.price-block.on-sale .pct { display: flex; align-items: center; background: var(--green-bg); color: var(--green-text); font-size: 18px; padding: 0 6px; border-radius: 2px 0 0 2px; }
.price-block.on-sale .prices { display: flex; flex-direction: column; justify-content: center; align-items: flex-end; background: var(--price-bg); padding: 2px 8px; border-radius: 0 2px 2px 0; line-height: 1.2; }
.price-block.on-sale .was { color: #738895; font-size: 11px; text-decoration: line-through; }
.price-block.on-sale .final { background: none; padding: 0; color: var(--green-text); font-size: 13px; }

/* ---------- filters sidebar ---------- */

.filters { display: grid; gap: 8px; }
.filters form { display: grid; gap: 8px; }
.fblock { background: rgba(0,0,0,.2); padding: 10px 12px 12px; border-radius: 3px; }
.fblock h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--white); margin: 0 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.opt { display: flex; align-items: center; gap: 8px; padding: 4px 4px; border-radius: 2px; cursor: pointer; color: var(--text); font-size: 13px; }
.opt:hover { background: rgba(103,193,245,.1); color: var(--white); }
.opt input { accent-color: var(--link); width: 15px; height: 15px; margin: 0; flex: none; }
.link-btn { font: inherit; color: var(--link); background: none; border: 0; cursor: pointer; padding: 6px 4px; text-align: left; }
.link-btn:hover { color: var(--white); }

.btn-blue, .btn-green {
  display: inline-block; font: inherit; font-size: 15px; cursor: pointer; border: 0; border-radius: 2px; padding: 9px 16px; color: var(--white);
}
.btn-blue { background: linear-gradient(90deg, #47bfff 0%, #1a44c2 100%); }
.btn-blue:hover { background: linear-gradient(90deg, #47bfff 30%, #1a44c2 100%); color: #fff; }
.btn-green { background: linear-gradient(to right, #75b022 5%, #588a1b 95%); color: #d2efa9; text-shadow: 1px 1px 0 rgba(0,0,0,.3); }
.btn-green:hover { background: linear-gradient(to right, #8ed629 5%, #6aa621 95%); color: var(--white); }

.home-lists .pills, .pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pills a { display: inline-block; padding: 6px 12px; background: rgba(103,193,245,.2); color: var(--link); border-radius: 2px; font-size: 13px; }
.pills a:hover { background: var(--link); color: #fff; }

/* ---------- game page ---------- */

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 6px; font-size: 12px; color: var(--text-dim); }
.crumbs li + li::before { content: '>'; margin-right: 4px; color: var(--text-dim); }
.crumbs a { color: var(--text-dim); }
.crumbs a:hover { color: var(--white); }
.app-name { font-size: 26px; margin-bottom: 14px; }

.highlight { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 14px; background: rgba(0,0,0,.2); padding: 14px; margin-bottom: 18px; }
.hl-main { width: 100%; aspect-ratio: 600 / 338; object-fit: cover; background: var(--panel); }
.hl-thumbs { display: flex; gap: 4px; margin-top: 6px; overflow-x: auto; }
.thumb { padding: 0; border: 2px solid transparent; background: none; cursor: pointer; flex: 0 0 auto; }
.thumb img { width: 116px; height: 65px; object-fit: cover; opacity: .7; }
.thumb.is-active { border-color: var(--white); }
.thumb.is-active img, .thumb:hover img { opacity: 1; }
.hl-capsule { width: 100%; }
.hl-desc { color: var(--text); font-size: 13px; margin: 10px 0; }
.hl-facts { margin: 0; display: grid; gap: 4px; font-size: 12px; }
.hl-facts div { display: grid; grid-template-columns: 96px 1fr; gap: 8px; align-items: start; }
.hl-facts dt { color: #556772; text-transform: uppercase; font-size: 10px; letter-spacing: .03em; padding-top: 2px; }
.hl-facts dd { margin: 0; color: var(--text); }
.hl-facts .rev { flex-direction: row; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.hl-tags-label { color: #556772; text-transform: uppercase; font-size: 10px; margin: 10px 0 4px; }
.tags { display: flex; flex-wrap: wrap; gap: 3px; margin: 0; }
.tag { font-size: 11px; padding: 1px 7px; background: rgba(103,193,245,.2); color: var(--link); border-radius: 2px; }
.tag:hover { background: var(--link); color: #fff; }

.app-body { display: grid; grid-template-columns: minmax(0, 1fr) 308px; gap: 18px; align-items: start; }
.purchase {
  position: relative; padding: 16px; margin-bottom: 26px; border-radius: 4px;
  background: linear-gradient(-60deg, rgba(226,244,255,.3) 5%, rgba(84,107,115,.3) 95%);
}
.purchase h2 { font-size: 21px; margin: 0; }
.purchase-action { position: absolute; right: 16px; bottom: -16px; display: flex; align-items: stretch; background: #000; padding: 2px; border-radius: 2px; gap: 2px; }
.purchase-action .price-block .final { background: #000; font-size: 13px; }
.purchase-action .btn-green { display: flex; align-items: center; }
.block { margin-bottom: 26px; }
.block .sec-head { border-bottom: 1px solid; border-image: linear-gradient(90deg, #3b6e8c 0%, rgba(0,0,0,0) 100%) 1; padding-bottom: 4px; }
.summary { font-size: 14px; }

.matrix { width: 100%; max-width: 520px; border-collapse: separate; border-spacing: 4px; margin: 0 -4px; table-layout: fixed; }
.matrix th { text-align: left; font-weight: 400; color: var(--text); font-size: 13px; }
.matrix thead th { color: var(--white); font-size: 12px; text-transform: uppercase; letter-spacing: .03em; }
.h-coop { color: var(--coop) !important; }
.h-pvp { color: var(--pvp) !important; }
.matrix td { height: 40px; text-align: center; background: rgba(0,0,0,.25); color: #4b5b69; border-radius: 2px; }
.matrix td.yes.coop { background: rgba(103,193,245,.25); }
.matrix td.yes.pvp { background: rgba(255,123,123,.22); }
.tick { display: inline-block; width: 9px; height: 17px; border: solid var(--white); border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-1px, -2px); }

.faq details { background: rgba(0,0,0,.2); margin-bottom: 4px; padding: 10px 12px; border-radius: 2px; }
.faq summary { color: var(--white); cursor: pointer; }
.faq details p { margin: 8px 0 0; color: var(--text); }

.capsules { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.capsule a { display: flex; flex-direction: column; gap: 6px; background: rgba(0,0,0,.2); padding-bottom: 6px; color: var(--text); height: 100%; }
.capsule a:hover { background: var(--panel-3); color: var(--white); }
.capsule img { width: 100%; aspect-ratio: 460 / 215; object-fit: cover; }
.cap-title { padding: 0 8px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.capsule .price-block { padding: 0 6px; justify-content: flex-start; min-height: 26px; }

.side-box { background: rgba(0,0,0,.2); padding: 10px 12px; margin-bottom: 10px; border-radius: 2px; }
.side-box h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--text-dim); margin: 0 0 8px; }
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.features li { display: flex; align-items: center; gap: 10px; background: rgba(103,193,245,.08); padding: 6px 8px; color: var(--link); font-size: 13px; border-radius: 2px; }
.f-icon { width: 18px; height: 18px; border-radius: 3px; flex: none; background: var(--coop); }
.f-pvp .f-icon { background: var(--pvp); }
.f-local .f-icon { background: var(--local); }
.f-online .f-icon { background: var(--online); }
.f-plain .f-icon { background: #8f98a0; }
.deck { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--white); font-size: 14px; }
.deck-dot { width: 14px; height: 14px; border-radius: 50%; background: #8f98a0; }
.deck-ok .deck-dot { background: #59bf40; }
.deck-mid .deck-dot { background: #ffc82c; }
.deck-no .deck-dot { background: #c35c2c; }
.side-facts { margin: 0; display: grid; gap: 4px; font-size: 13px; }
.side-facts div { display: flex; justify-content: space-between; gap: 10px; }
.side-facts dt { color: var(--text-dim); }
.side-facts dd { margin: 0; text-align: right; color: var(--text); }
.side-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 3px; font-size: 13px; }
.checked { font-size: 11px; color: #556772; }

/* ---------- lists ---------- */

.lede { color: var(--text); font-size: 15px; max-width: 70ch; }
.list-meta { color: var(--text-dim); font-size: 12px; margin-bottom: 14px; }
.list-tiles { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.list-tiles a {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 120px; padding: 12px 14px;
  background-color: var(--panel-3); background-size: cover; background-position: center; border-radius: 3px; overflow: hidden; color: var(--white);
}
.list-tiles a::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,26,33,.15), rgba(23,26,33,.92) 80%); }
.list-tiles a:hover::before { background: linear-gradient(180deg, rgba(42,71,94,.2), rgba(42,71,94,.95) 80%); }
.list-tiles span { position: relative; }
.tile-title { font-size: 17px; }
.tile-count { font-size: 12px; color: var(--link); }

.prose { max-width: 760px; }
.prose h2 { font-size: 16px; text-transform: uppercase; letter-spacing: .03em; margin-top: 1.6em; }
.prose p { font-size: 15px; }

/* ---------- footer ---------- */

.site-footer { margin-top: 60px; background: var(--bg-deep); padding: 26px 0 40px; color: var(--text-dim); font-size: 12px; }
.footer-row { display: flex; gap: 20px; align-items: flex-start; border-top: 1px solid #363c44; padding-top: 18px; flex-wrap: wrap; }
.footer-row p { flex: 1 1 300px; margin: 0; max-width: 70ch; }
.logo-small span { font-size: 14px; }
.logo-small .logo-mark { width: 24px; height: 24px; }
.footer-nav { display: flex; gap: 16px; margin-top: 14px; }
.footer-nav a { color: var(--text); }
.footer-nav a:hover { color: var(--white); }

/* ---------- responsive ---------- */

@media (max-width: 1190px) {
  .arrow.prev { left: 4px; }
  .arrow.next { right: 4px; }
}
@media (max-width: 960px) {
  .search-layout { grid-template-columns: 1fr; }
  .filters { order: -1; }
  .filters form { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .row-link { grid-template-columns: 150px minmax(0, 1fr) 120px; }
  .ranked .row-link { grid-template-columns: 28px 150px minmax(0, 1fr) 120px; }
  .row-img { width: 150px; height: 70px; }
  .row-date, .row-rev { display: none; }
  .app-body { grid-template-columns: 1fr; }
  .capsules { grid-template-columns: repeat(2, 1fr); }
  .ways { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .slide { grid-template-columns: 1fr; }
  .slide-shots { display: none; }
  .highlight { grid-template-columns: 1fr; }
  .hl-capsule { display: none; }
  .store-nav { flex-direction: column; align-items: stretch; padding: 0; }
  .store-search { flex-basis: auto; margin: 0 6px 6px; }
  .nav { gap: 14px; }
  .nav a { font-size: 13px; }
  .logo span { font-size: 15px; }
}
@media (max-width: 520px) {
  .row-link { grid-template-columns: 110px minmax(0, 1fr); }
  .ranked .row-link { grid-template-columns: 24px 110px minmax(0, 1fr); }
  .row-img { width: 110px; height: 52px; }
  .row-link .price-block { grid-column: 2 / -1; justify-content: flex-start; min-height: 26px; }
  .ranked .row-link .price-block { grid-column: 3 / -1; }
  .row-sub .badges .badge:nth-child(n+3) { display: none; }
  .purchase-action { position: static; margin-top: 12px; display: inline-flex; }
  .purchase { padding-bottom: 16px; }
  .ways { grid-template-columns: 1fr 1fr; }
  .ways a { min-height: 100px; }
  .logo b { display: block; margin-left: 0; }
  .logo span { line-height: 1.05; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* ---------- platforms ---------- */
.plats { display: inline-flex; gap: 3px; }
.plat { font-size: 10px; font-weight: 700; letter-spacing: .02em; line-height: 1; padding: 3px 5px; border-radius: 2px; color: #dfe9f1; background: #3d4f60; white-space: nowrap; }
.plat-ps { background: #2e5fae; }
.plat-xbox { background: #2f7a33; }
.plat-switch { background: #b8333a; }
.plat-pc { background: #3d4f60; }

.plat-tabs { display: flex; gap: 2px; margin-bottom: 6px; overflow-x: auto; scrollbar-width: none; }
.plat-tabs::-webkit-scrollbar { display: none; }
.plat-tab { position: relative; flex: 0 0 auto; cursor: pointer; }
.plat-tab input { position: absolute; opacity: 0; pointer-events: none; }
.plat-tab > span { display: block; padding: 9px 14px; font-size: 13px; color: var(--text); background: rgba(0,0,0,.2); border-radius: 3px 3px 0 0; border-bottom: 2px solid transparent; }
.plat-tab:hover > span { color: var(--white); background: rgba(103,193,245,.12); }
.plat-tab input:checked + span { color: var(--white); background: var(--panel-3); border-bottom-color: var(--link); }
.plat-tab input:focus-visible + span { outline: 2px solid var(--link); outline-offset: -2px; }
.plat-n { color: var(--text-dim); font-size: 11px; margin-left: 3px; }

.price-block .final.see { color: var(--text-dim); font-size: 12px; }

/* "Get this game" box with one row per store */
.purchase .stores { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 4px; }
.store { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; background: rgba(0,0,0,.25); padding: 6px 6px 6px 10px; border-radius: 3px; }
.store-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.store-name .plat { font-size: 11px; padding: 4px 7px; }
.store-sub { font-size: 12px; color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store .price-block .final { background: #000; }
.store .btn-green, .btn-store { display: flex; align-items: center; justify-content: center; min-width: 150px; min-height: 34px; padding: 0 14px; border-radius: 2px; font-size: 14px; text-decoration: none; }
.btn-store { background: linear-gradient(to right, #47bfff 5%, #1a44c2 60%); color: #fff; }
.btn-store:hover { background: linear-gradient(to right, #66ccff 5%, #2654d6 60%); color: #fff; }
.store-note { margin: 8px 0 0; font-size: 12px; color: var(--text-dim); }
@media (max-width: 720px) {
  .store { grid-template-columns: 1fr auto; }
  .store .btn-green, .store .btn-store { grid-column: 1 / -1; min-width: 0; }
}

/* A–Z game index */
.az { display: flex; flex-wrap: wrap; gap: 4px; margin: 14px 0 18px; }
.az a, .az span { min-width: 34px; text-align: center; padding: 6px 8px; border-radius: 2px; background: rgba(0,0,0,.25); font-size: 14px; }
.az span { background: var(--panel-3); color: var(--white); }
.az-list { list-style: none; margin: 0; padding: 0; columns: 3 260px; column-gap: 24px; }
.az-list li { break-inside: avoid; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.az-list .plats { flex: 0 0 auto; }
