/*
Theme Name: VR Game Chart
Theme URI: https://vrgamechart.com
Author: SEO Locale
Description: Ranked VR game chart with moderation-free player reviews. Publish best-of articles; the theme detects the games in them, lets players review each one inline, and ranks every game on a chart.
Version: 2.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: vrgc
*/

:root {
	--navy: #14213d;
	--navy-2: #0c1630;
	--blue: #0a66ff;
	--blue-2: #1aa3ff;
	--bg: #f4f6fb;
	--card: #fff;
	--line: #e2e8f2;
	--text: #16213a;
	--muted: #5e6b84;
	--gold: #ffb020;
	--up: #0e9f55;
	--down: #e5484d;
	--r: 14px;
	--shadow: 0 1px 2px rgba(20, 33, 61, .05), 0 8px 24px rgba(20, 33, 61, .06);
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--display: "Outfit", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; color: var(--navy); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 2px; border-radius: 4px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(760px, 100% - 40px); }

/* Buttons + chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-weight: 600; cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--primary { background: linear-gradient(180deg, var(--blue-2), var(--blue)); border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(10, 102, 255, .28); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .28); color: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: #eaf1ff; color: #0b4fc4; font-size: 12px; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.chip:hover { background: #d8e6ff; text-decoration: none; }
.chip small { opacity: .6; font-weight: 500; }
.chips--lg .chip { padding: 8px 14px; font-size: 14px; background: #fff; border: 1px solid var(--line); color: var(--navy); }
.chips--lg .chip:hover { border-color: var(--blue); color: var(--blue); }
.chips--lg .chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font: 700 22px/1 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo .mark { width: 42px; height: auto; flex: none; }
.logo b { color: var(--blue); font-weight: 800; }
.custom-logo { max-height: 44px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 24px; flex: 1; }
.site-nav nav { flex: 1; }
.site-nav .menu { display: flex; gap: 4px; }
.site-nav .menu a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--navy); font-weight: 600; font-size: 15px; }
.site-nav .menu a:hover, .site-nav .current-menu-item > a { background: #eef3fc; text-decoration: none; }
.header-search input { width: 220px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }
.header-search input:focus { background: #fff; border-color: var(--blue); outline: 0; }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; padding: 11px 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; }
.nav-toggle span + span { margin-top: 5px; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(900px 420px at 85% -10%, rgba(26, 163, 255, .35), transparent 60%), radial-gradient(700px 400px at 0% 110%, rgba(10, 102, 255, .28), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-2)); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center; padding: 72px 0 80px; }
.eyebrow { display: inline-block; margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.hero .eyebrow { color: #7cc4ff; }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -.03em; max-width: 15ch; }
.hero__sub { margin: 18px 0 28px; max-width: 52ch; font-size: 18px; color: #c3cee4; }
.hero__search { display: flex; max-width: 520px; background: #fff; border-radius: 12px; padding: 5px; box-shadow: 0 12px 32px rgba(0, 0, 0, .25); }
.hero__search input[type=search] { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 14px; color: var(--text); outline: 0; }
.hero__search button { border: 0; border-radius: 9px; padding: 0 20px; background: var(--navy); color: #fff; font-weight: 600; cursor: pointer; }
.hero__search--light { box-shadow: none; border: 1px solid var(--line); margin-top: 20px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 26px; }
.hero__stats { display: flex; gap: 24px; color: #a9b7d3; font-size: 14px; }
.hero__stats b { display: block; font: 700 22px/1.2 var(--display); color: #fff; }

.podium { display: grid; gap: 12px; }
.podium__item a { display: grid; grid-template-columns: 28px 56px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--r); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); color: #fff; backdrop-filter: blur(6px); transition: transform .15s, background .15s; }
.podium__item a:hover { text-decoration: none; background: rgba(255, 255, 255, .12); transform: translateX(-4px); }
.podium__item:first-child a { background: rgba(255, 255, 255, .13); border-color: rgba(124, 196, 255, .5); }
.podium__rank { font: 800 24px/1 var(--display); color: #7cc4ff; text-align: center; }
.podium__title { font: 600 16px/1.3 var(--display); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* Sections */
.section { padding: 56px 0; }
.section--tight { padding: 32px 0 64px; }
.section--alt { background: #fff; border-block: 1px solid var(--line); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section__head h2 { font-size: clamp(22px, 3vw, 28px); }
.section__note { color: var(--muted); font-size: 14px; }
.more { font-weight: 600; white-space: nowrap; }
.empty { padding: 28px; text-align: center; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: var(--r); }

.page-head { background: #fff; border-bottom: 1px solid var(--line); padding: 40px 0 32px; }
.page-head h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.02em; }
.page-head__sub { margin: 10px 0 0; color: var(--muted); max-width: 70ch; }
.page-head--center { text-align: center; padding: 80px 0; border: 0; background: transparent; }
.page-head--center .hero__search { margin: 24px auto; }

/* Covers */
.cover { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 12px; background: #dfe6f3; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover--sq { aspect-ratio: 1; width: 56px; border-radius: 10px; }
.cover--ph { display: grid; place-items: center; background: linear-gradient(135deg, hsl(var(--h) 85% 56%), hsl(calc(var(--h) + 40) 70% 30%)); }
.cover--ph span { font: 800 clamp(14px, 28cqw, 44px)/1 var(--display); color: rgba(255, 255, 255, .92); letter-spacing: .02em; }
.cover--sq.cover--ph span { font-size: 18px; }
.cover--feature { margin-bottom: 28px; }

/* Score + stars */
.score { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 8px; border-radius: 12px; font: 800 19px/1 var(--display); color: #fff; background: linear-gradient(180deg, var(--blue-2), var(--blue)); }
.score--mid { background: linear-gradient(180deg, #5b7cfa, #3d55d6); }
.score--lo { background: #7c879d; }
.score--na { background: #e9edf5; color: #9aa5ba; }
.score--xl { min-width: 84px; height: 84px; border-radius: 20px; font-size: 38px; box-shadow: 0 10px 28px rgba(10, 102, 255, .4); }
.score--xl.score--na { box-shadow: none; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .5); }

.stars { position: relative; display: inline-block; font-size: 15px; line-height: 1; letter-spacing: 2px; white-space: nowrap; font-family: Arial, sans-serif; }
.stars::before { content: "★★★★★"; color: #d6dceb; }
.stars__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; }
.stars__fill::before { content: "★★★★★"; color: var(--gold); }
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; white-space: nowrap; }
.rating__num { font-weight: 700; color: var(--navy); }
.rating__count, .rating--none { color: var(--muted); font-size: 13px; }

.move { font-size: 11px; font-weight: 700; white-space: nowrap; }
.move--up { color: var(--up); }
.move--down { color: var(--down); }
.move--same { color: #a7b1c5; }

/* Chart */
.chart { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.row { display: grid; grid-template-columns: 56px 56px minmax(0, 1fr) 170px 56px; align-items: center; gap: 16px; padding: 12px 18px 12px 8px; border-top: 1px solid var(--line); transition: background .12s; }
.row:first-child { border-top: 0; }
.row:hover { background: #f8faff; }
.row__rank { display: grid; justify-items: center; gap: 2px; }
.row__num { font: 800 22px/1 var(--display); color: #9aa5ba; }
.row--top .row__num { color: var(--blue); font-size: 26px; }
.row__title { font-size: 17px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row__title a { color: var(--navy); }
.row__title a:hover { color: var(--blue); text-decoration: none; }
.row__cats { margin-top: 5px; flex-wrap: nowrap; overflow: hidden; }
.row__rating { justify-self: end; }
.row__score { justify-self: end; }

.filters { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.filters__cats { flex: 1; }
.filters__sort label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
select { padding: 9px 34px 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235e6b84' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; -webkit-appearance: none; font-weight: 600; color: var(--navy); cursor: pointer; }
.method { margin: 28px 0 0; font-size: 13px; color: var(--muted); max-width: 80ch; }

.pagination, .comments-pagination { margin-top: 28px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-weight: 600; }
.page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
a.page-numbers:hover { border-color: var(--blue); text-decoration: none; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; max-width: none; padding: 0; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(20, 33, 61, .06), 0 16px 36px rgba(20, 33, 61, .12); }
.card__media { position: relative; display: block; container-type: inline-size; }
.card__media .cover { border-radius: 0; }
.card__score { position: absolute; right: 10px; bottom: 10px; min-width: 40px; height: 40px; font-size: 17px; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.card__score.score--na { display: none; }
.card__body { padding: 14px 16px 16px; }
.card__title { font-size: 17px; font-weight: 700; }
.card__title a { color: var(--navy); }
.card__title a:hover { color: var(--blue); text-decoration: none; }
.card__sub { margin: 4px 0 8px; font-size: 13px; color: var(--muted); }
.card__excerpt { margin: 0; font-size: 14px; color: var(--muted); }

.quote { padding: 20px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); }
.quote__text { margin: 12px 0; color: var(--text); overflow-wrap: anywhere; }
.quote__meta { margin: 0; font-size: 13px; color: var(--muted); }
.quote__meta span { font-weight: 600; color: var(--navy); }

/* Game page */
.game-hero { color: #fff; background: radial-gradient(800px 380px at 90% 0%, rgba(26, 163, 255, .3), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-2)); }
.game-hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 44px; align-items: center; padding: 44px 0; }
.game-hero__media { container-type: inline-size; }
.game-hero__media .cover { border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.crumbs { margin: 0 0 12px; font-size: 13px; color: #9db0d3; }
.crumbs a { color: #7cc4ff; }
.crumbs span { margin: 0 4px; opacity: .5; }
.game-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 46px); font-weight: 800; letter-spacing: -.02em; }
.game-hero__scores { display: flex; align-items: center; gap: 18px; margin: 22px 0; }
.game-hero__rank { margin: 0 0 4px; color: #c3cee4; }
.game-hero__rank b { font: 800 22px/1 var(--display); color: #fff; }
.game-hero__rating:hover { text-decoration: none; }
.game-hero .rating__num { color: #fff; }
.game-hero .rating__count, .game-hero .rating--none { color: #9db0d3; }
.game-hero .stars::before { color: rgba(255, 255, 255, .22); }
.game-hero .chip { background: rgba(255, 255, 255, .1); color: #dbe7ff; }
.game-hero .chip:hover { background: rgba(255, 255, 255, .2); }
.game-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.game-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.game-body__side { display: grid; gap: 18px; position: sticky; top: 88px; }
.trailer { margin-bottom: 28px; border-radius: var(--r); overflow: hidden; }
.trailer iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; }

.panel { padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.panel h2 { font-size: 16px; margin-bottom: 14px; }
.panel--cta p { color: var(--muted); font-size: 14px; }
.mini li + li { margin-top: 10px; }
.mini a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; color: var(--navy); font-weight: 600; font-size: 14px; line-height: 1.3; }
.mini .cover--sq { width: 44px; }
.mini .score { min-width: 34px; height: 34px; font-size: 14px; border-radius: 9px; }

.entry-content { font-size: 17px; overflow-wrap: break-word; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 26px; margin-top: 1.6em; }
.entry-content h3 { font-size: 20px; margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content img { border-radius: 12px; }
.entry-content blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--blue); color: var(--muted); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.alignwide, .alignfull { max-width: 100%; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* Reviews */
.reviews { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line); }
.reviews > h2 { font-size: 26px; margin-bottom: 20px; }
.summary { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; align-items: center; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 22px; }
.summary__avg { display: grid; justify-items: center; gap: 6px; }
.summary__avg b { font: 800 52px/1 var(--display); color: var(--navy); }
.summary__avg span:last-child { font-size: 13px; color: var(--muted); }
.summary__bars li { display: grid; grid-template-columns: 28px minmax(0, 1fr) 32px; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.summary__bars li + li { margin-top: 6px; }
.bar { height: 8px; border-radius: 99px; background: #e9edf5; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--blue-2), var(--blue)); }

.review-list { display: grid; gap: 14px; }
.review__in { padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; }
.review__who { flex: 1; min-width: 0; display: grid; }
.review__name { color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.review__date { font-size: 13px; color: var(--muted); }
.review__body { overflow-wrap: anywhere; }
.review__pending { margin: 10px 0 0; font-size: 13px; color: var(--muted); font-style: italic; }

.panel--form { margin-top: 26px; padding: 24px; }
.comment-reply-title { font-size: 22px; margin-bottom: 14px; }
.comment-form p { margin: 0 0 16px; }
.comment-form label, .rate legend { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; color: var(--navy); padding: 0; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.comment-form input:focus, .comment-form textarea:focus { outline: 0; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(10, 102, 255, .15); }
.comment-form textarea { resize: vertical; min-height: 130px; }
.comment-form .comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; }
.comment-form .comment-form-cookies-consent label { margin: 0; font-weight: 400; color: var(--muted); }
.comment-form .logged-in-as, .comment-form .comment-notes { font-size: 14px; color: var(--muted); }
.form-hint { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; font-size: 13px; color: var(--muted); }
.req, .required { color: var(--down); }
.notice { padding: 10px 14px; border-radius: 10px; background: #fff4e0; color: #7a4b00; font-size: 14px; }
.vrgc-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.rate { border: 0; margin: 0 0 16px; padding: 0; }
.rate__stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; }
.rate__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate__stars label { margin: 0; padding: 0 3px; font-size: 34px; line-height: 1; color: #d6dceb; cursor: pointer; transition: color .1s, transform .1s; font-family: Arial, sans-serif; }
.rate__stars label:hover { transform: scale(1.12); }
.rate__stars input:checked ~ label, .rate__stars label:hover, .rate__stars label:hover ~ label { color: var(--gold); }
.rate__stars input:focus-visible + label { outline: 3px solid var(--blue-2); border-radius: 6px; }

/* Rate box (inside articles) */
.ratebox { margin: 14px 0 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); scroll-margin-top: 90px; }
.ratebox[open] { border-color: #b9d2ff; }
.ratebox summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 14px; cursor: pointer; list-style: none; }
.ratebox summary::-webkit-details-marker { display: none; }
.ratebox__meta { display: grid; gap: 2px; min-width: 0; }
.ratebox__name { font: 700 16px/1.3 var(--display); color: var(--navy); }
.ratebox__name small { margin-left: 6px; font: 600 12px/1 var(--font); color: var(--blue); white-space: nowrap; }
.ratebox__btn { padding: 9px 16px; font-size: 14px; }
.ratebox[open] .ratebox__btn { background: #eef3fc; color: var(--navy); box-shadow: none; }
.ratebox__body { padding: 4px 16px 16px; border-top: 1px solid var(--line); }
.ratebox__body .rate { margin-top: 14px; }
.ratebox__note { margin: 14px 0; padding: 12px 14px; border-radius: 10px; background: var(--bg); font-size: 15px; }
.ratebox__note--ok { background: #e6f7ee; color: #0b6b3a; font-weight: 600; }
.ratebox__all { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; }
.review-form--inline textarea { min-height: 96px; }
.review-form__who { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }

.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0 0; color: #c3cee4; font-size: 15px; }
.article-meta b { color: #fff; }
.more-lists { margin-top: 44px; }
.more-lists h2 { font-size: 24px; margin-bottom: 16px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mini--ranked a { grid-template-columns: 22px minmax(0, 1fr) auto; }
.mini__n { font: 800 16px/1 var(--display); color: var(--blue); text-align: center; }
.panel__hint { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.row__mentions { font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; align-self: center; }
@media (max-width: 620px) {
	.ratebox summary { grid-template-columns: auto minmax(0, 1fr); }
	.ratebox__btn { grid-column: 1 / -1; }
	.review-form__who { grid-template-columns: 1fr; }
	.grid--2 { grid-template-columns: 1fr; }
}

/* Game page content */
.game-summary { font-size: 18px; }
.game-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 24px 0 0; }
.game-facts div { padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-align: center; }
.game-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.game-facts dd { margin: 4px 0 0; font: 800 22px/1.2 var(--display); color: var(--navy); }
.said-list { display: grid; gap: 14px; }
.said { margin: 0; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 0 var(--r) var(--r) 0; }
.said p { margin: 0 0 10px; }
.said cite { font-style: normal; font-size: 14px; color: var(--muted); }
.said cite a { font-weight: 600; }
.peers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.peers a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--navy); font-weight: 600; font-size: 15px; line-height: 1.3; }
.peers a:hover { border-color: var(--blue); text-decoration: none; }
.peers .cover--sq { width: 44px; }
.peers .score { min-width: 36px; height: 36px; font-size: 15px; border-radius: 10px; }
@media (max-width: 620px) {
	.game-facts { grid-template-columns: 1fr 1fr; }
	.peers { grid-template-columns: 1fr; }
}

/* Ads */
.ad { margin: 24px auto; text-align: center; max-width: 100%; overflow: hidden; }
.ad__label { display: block; margin-bottom: 6px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #9aa5ba; }
.ad__in { display: flex; justify-content: center; }
.ad__in > * { max-width: 100%; }
.ad img { max-width: 100%; height: auto; border-radius: 10px; margin-inline: auto; }
.ad--header, .ad--footer { width: min(1180px, 100% - 40px); }
.ad--header { margin: 16px auto 0; }
.ad--footer { margin: 0 auto 40px; }
.ad--chart_top { margin: 0 0 20px; }
.ad--sidebar { margin: 0; }
.ad--content { margin: 28px 0; padding: 14px 0; border-block: 1px solid var(--line); }
.ad--before_reviews { margin: 40px 0 0; }
.row--ad { display: block; padding: 14px 18px; background: #fafbfe; }
.row--ad:hover { background: #fafbfe; }
.row--ad .ad { margin: 0; }
.with-rail { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.rail { position: sticky; top: 88px; }
.ad-pop { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(12, 22, 48, .72); backdrop-filter: blur(4px); }
.ad-pop[hidden] { display: none; }
.ad-pop__box { position: relative; max-width: min(640px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 22px 22px 20px; background: #fff; border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); text-align: center; }
.ad-pop__close { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #eef2f9; color: var(--navy); font-size: 22px; line-height: 1; cursor: pointer; }
.ad-pop__close:hover { background: #dfe6f3; }
.has-pop { overflow: hidden; }
@media (max-width: 1000px) {
	.with-rail { grid-template-columns: 1fr; }
	.rail { position: static; }
}

/* Footer */
.site-footer { background: var(--navy-2); color: #a9b7d3; margin-top: 0; }
.site-footer__in { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding: 56px 0 40px; }
.site-footer .logo { color: #fff; }
.site-footer__brand p { margin-top: 14px; max-width: 34ch; font-size: 14px; }
.site-footer h2 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { color: #c3cee4; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 18px 0 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }

/* Responsive */
@media (max-width: 1000px) {
	.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.game-body { grid-template-columns: 1fr; }
	.game-body__side { position: static; }
	.header-search input { width: 160px; }
}
@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px 20px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
	.site-nav.is-open { display: flex; }
	.site-nav .menu { flex-direction: column; }
	.header-search input { width: 100%; }
	.hero__in, .game-hero__in { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 56px; }
	.game-hero__in { padding: 28px 0 36px; }
	.grid, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__in { grid-template-columns: 1fr 1fr; }
	.filters { flex-direction: column; align-items: stretch; }
	.filters__cats { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
}
@media (max-width: 620px) {
	.section { padding: 40px 0; }
	.row { grid-template-columns: 34px 48px minmax(0, 1fr) 46px; gap: 10px; padding: 10px 12px 10px 4px; }
	.row__rating { display: none; }
	.row .cover--sq { width: 48px; }
	.row__num { font-size: 18px; }
	.row--top .row__num { font-size: 21px; }
	.row__title { font-size: 15px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
	.row__cats .chip:nth-child(n+2) { display: none; }
	.grid, .grid--3 { grid-template-columns: 1fr 1fr; gap: 12px; }
	.grid--3 { grid-template-columns: 1fr; }
	.card__body { padding: 10px 12px 12px; }
	.card__title { font-size: 15px; }
	.summary { grid-template-columns: 1fr; }
	.site-footer__in { grid-template-columns: 1fr; gap: 28px; }
	.form-hint { flex-direction: column; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
