/* A game's page: the hero over its own blurred artwork, labelled facts and one panel for the price and the actions. */
.gr-app #gr-game-about { position:relative; isolation:isolate; overflow:hidden; gap:24px; padding:20px; border-color:var(--slate-610); border-radius:14px; background:var(--slate-790); box-shadow:0 24px 60px rgba(0,0,0,.35); }
.gr-app #gr-game-about::before { display:none; }
.gr-app .detail-hero-backdrop { position:absolute; z-index:-1; inset:0; overflow:hidden; pointer-events:none; }
.gr-app .detail-hero-backdrop img { width:100%; height:100%; object-fit:cover; filter:blur(48px) saturate(1.5); opacity:.6; transform:scale(1.2); }
.gr-app .detail-hero-backdrop::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg,color-mix(in srgb,var(--slate-850) 70%,transparent) 0%,color-mix(in srgb,var(--slate-850) 40%,transparent) 55%,color-mix(in srgb,var(--slate-850) 60%,transparent) 100%); }
.gr-app #gr-game-about .detail-hero-media .game-media-screen { border-radius:10px; box-shadow:0 18px 50px rgba(0,0,0,.45); }
.gr-app #gr-game-about .detail-hero-media .game-media-thumb { border-radius:8px; }

.gr-app #gr-game-about .detail-copy { padding-top:4px; }
.gr-app #gr-game-about .detail-breadcrumbs { color:var(--slate-280); }
.gr-app #gr-game-about .badges { margin-top:12px; }
.gr-app #gr-game-about .detail-copy h1 { margin:12px 0 14px; font-size:clamp(30px,2.6vw,44px); line-height:1.08; letter-spacing:-.025em; text-wrap:balance; overflow-wrap:anywhere; }
.gr-app #gr-game-about .detail-copy > p { margin:16px 0 4px; color:var(--slate-120); font-size:15px; line-height:1.6; -webkit-line-clamp:6; }
.gr-app #gr-game-about .gr-content-language { display:block; margin-top:6px; color:var(--slate-340); font-size:12px; }

.gr-app #gr-game-about .detail-hero-facts { display:flex; flex-wrap:wrap; gap:8px; margin:18px 0; padding:0; font-size:inherit; }
.gr-app #gr-game-about .detail-hero-fact { flex:1 1 auto; min-width:0; padding:10px 12px; border:1px solid var(--line); border-radius:10px; background:color-mix(in srgb,var(--slate-850) 55%,transparent); }
.gr-app #gr-game-about .detail-hero-fact dt { color:var(--slate-280); font-size:11px; font-weight:600; letter-spacing:.06em; line-height:1.3; text-transform:uppercase; }
.gr-app #gr-game-about .detail-hero-fact dd { margin:4px 0 0; color:var(--text); font-size:15px; font-weight:650; line-height:1.3; font-variant-numeric:tabular-nums; white-space:nowrap; }
.gr-app #gr-game-about .detail-hero-fact.is-observation dd { white-space:normal; }
.gr-app #gr-game-about .detail-hero-fact.is-positive dd { color:var(--cyan-210); }
.gr-app #gr-game-about .detail-hero-fact.is-mixed dd { color:var(--amber-140); }
.gr-app #gr-game-about .detail-hero-fact.is-negative dd { color:var(--red-270); }
.gr-app #gr-game-about .detail-hero-fact.is-observation dd { color:var(--amber-120); font-size:13px; }

.gr-app #gr-game-about .detail-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px 14px; margin-top:auto; padding:14px; border:1px solid var(--line); border-radius:12px; background:color-mix(in srgb,var(--slate-850) 70%,transparent); }
.gr-app #gr-game-about .detail-price { display:flex; align-items:center; gap:10px; min-height:0; margin:0; }
.gr-app #gr-game-about .detail-price-discount { padding:5px 8px; border-radius:6px; background:var(--lime-760); color:var(--lime-50); font-size:15px; font-weight:800; line-height:1; }
.gr-app #gr-game-about .detail-price s { color:var(--slate-340); font-size:13px; }
.gr-app #gr-game-about .detail-price strong { color:var(--text); font-size:22px; font-weight:750; line-height:1; font-variant-numeric:tabular-nums; }
.gr-app #gr-game-about .detail-price .price-muted { color:var(--slate-280); font-size:13px; }
.gr-app #gr-game-about .detail-action-buttons { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-left:auto; }
.gr-app #gr-game-about .detail-action-buttons .game-quick-actions { width:auto; margin:0; }
.gr-app #gr-game-about .detail-action-buttons :is(.primary-button,.gr-button) { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding-inline:18px; border-radius:10px; font-size:14px; }
.gr-app #gr-game-about .gr-steam-demo-detail { margin-top:12px; }

.gr-app :is(#gr-game-details,#gr-game-prices,#gr-game-requirements,#gr-game-guides,#gr-game-reviews,#gr-similar-games,#gr-game-events,#gr-game-comments,#gr-game-mods) { scroll-margin-top:var(--gr-header-height,56px); }

/* «Основные сведения»: ratings across the top, prices and requirements beside the facts of the store. */
.gr-app #gr-game-details { padding:20px; border-radius:14px; }
.gr-app #gr-game-details .game-detail-metrics { margin-bottom:18px; }
.gr-app .gr-overview-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(260px,320px); gap:18px; align-items:start; }
.gr-app .gr-overview-grid.is-single { grid-template-columns:minmax(0,1fr); }
.gr-app .gr-overview-main { display:grid; gap:18px; min-width:0; }
.gr-app .gr-overview-side { display:grid; gap:12px; min-width:0; }
.gr-app .gr-overview-grid.is-single .gr-overview-side { grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); align-items:start; }
.gr-app .gr-overview-panel { min-width:0; padding:18px; border:1px solid var(--slate-580); border-radius:12px; background:var(--slate-760); }
.gr-app .gr-overview-panel-head { display:flex; flex-wrap:wrap; align-items:flex-start; justify-content:space-between; gap:12px 20px; margin-bottom:14px; }
.gr-app .gr-overview-panel-head h3 { margin:0; color:var(--text); font-size:17px; line-height:1.3; }
.gr-app .gr-overview-panel-head p { max-width:62ch; margin:6px 0 0; color:var(--muted-bright); font-size:13px; line-height:1.5; }
.gr-app .gr-overview-note { display:flex; flex-wrap:wrap; gap:4px 16px; margin:12px 0 0; color:var(--muted); font-size:12px; line-height:1.5; }
.gr-app .gr-overview-note a { color:var(--accent); }

.gr-app .gr-fact-list { display:grid; margin:0; padding:4px 16px; border:1px solid var(--slate-580); border-radius:12px; background:var(--slate-760); }
.gr-app .gr-fact-list > div { display:flex; align-items:baseline; justify-content:space-between; gap:16px; padding:11px 0; border-bottom:1px solid var(--slate-610); }
.gr-app .gr-fact-list > div:last-child { border-bottom:0; }
.gr-app .gr-fact-list dt { flex:none; color:var(--muted); font-size:13px; }
.gr-app .gr-fact-list dd { min-width:0; margin:0; color:var(--text); font-size:13px; font-weight:600; text-align:right; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.gr-app .gr-fact-list dd a { color:var(--accent); }
.gr-app .gr-fact-list .is-metacritic dd a { display:inline-block; min-width:34px; padding:3px 7px; border-radius:6px; background:var(--lime-760); color:var(--lime-50); text-align:center; }
.gr-app .gr-overview-side .game-detail-more-side { gap:12px; }

/* Regional prices: one row per store, cheapest first, the converted price as a bar. */
.gr-app .gr-price-best-summary { display:grid; gap:2px; margin:0; padding:10px 14px; border:1px solid color-mix(in srgb,var(--lime-760) 70%,transparent); border-radius:10px; background:color-mix(in srgb,var(--lime-760) 22%,transparent); text-align:right; }
.gr-app .gr-price-best-summary small { color:var(--lime-50); font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.gr-app .gr-price-best-summary strong { color:var(--text); font-size:15px; }
.gr-app .gr-price-best-summary span { color:var(--slate-120); font-size:13px; font-variant-numeric:tabular-nums; }
.gr-app .gr-price-scroll { overflow-x:auto; margin:0 -4px; padding:0 4px; }
.gr-app .gr-price-table { width:100%; border-collapse:collapse; font-size:14px; font-variant-numeric:tabular-nums; }
.gr-app .gr-price-table th, .gr-app .gr-price-table td { padding:10px 12px; border-bottom:1px solid var(--slate-610); text-align:left; vertical-align:middle; }
.gr-app .gr-price-table thead th { padding-top:0; color:var(--muted); font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; white-space:nowrap; }
.gr-app .gr-price-table tbody tr:last-child :is(th,td) { border-bottom:0; }
.gr-app .gr-price-table tbody tr:hover :is(th,td) { background:color-mix(in srgb,var(--slate-610) 35%,transparent); }
.gr-app .gr-price-table tbody th { font-weight:600; white-space:nowrap; }
.gr-app .gr-price-region { display:inline-flex; align-items:center; gap:10px; color:var(--text); }
.gr-app .gr-price-code { display:inline-grid; place-items:center; width:30px; height:22px; border:1px solid var(--slate-580); border-radius:5px; background:var(--slate-850); color:var(--slate-160); font-size:10px; font-weight:800; letter-spacing:.04em; text-decoration:none; }
.gr-app .gr-price-badge { margin-left:8px; padding:3px 7px; border-radius:999px; background:var(--lime-760); color:var(--lime-50); font-size:10px; font-style:normal; font-weight:800; letter-spacing:.04em; text-transform:uppercase; vertical-align:middle; }
.gr-app .gr-price-local { white-space:nowrap; }
.gr-app .gr-price-local strong { color:var(--text); font-weight:700; }
.gr-app .gr-price-currency { margin-left:6px; color:var(--muted); font-size:11px; font-weight:700; letter-spacing:.04em; }
.gr-app .gr-price-local s { margin-left:8px; color:var(--slate-340); font-size:12px; }
.gr-app .gr-price-off { margin-left:8px; padding:2px 6px; border-radius:5px; background:var(--lime-760); color:var(--lime-50); font-size:12px; font-weight:800; }
.gr-app .gr-price-converted { min-width:150px; color:var(--slate-120); white-space:nowrap; }
.gr-app .gr-price-bar { display:block; height:4px; margin-top:6px; border-radius:999px; background:var(--slate-610); }
.gr-app .gr-price-bar::before { content:''; display:block; width:var(--share,0%); height:100%; border-radius:inherit; background:var(--accent); }
.gr-app .gr-price-table tr.is-cheapest .gr-price-bar::before { background:var(--lime-50); }
.gr-app .gr-price-table tr.is-cheapest :is(th,td) { background:color-mix(in srgb,var(--lime-760) 14%,transparent); }
.gr-app .gr-price-diff { font-size:13px; font-weight:650; white-space:nowrap; }
.gr-app .gr-price-diff.is-cheaper { color:var(--lime-50); }
.gr-app .gr-price-diff.is-pricier { color:var(--amber-140); }
.gr-app .gr-price-diff.is-same, .gr-app .gr-price-missing { color:var(--muted); font-size:13px; }
.gr-app .gr-price-table tr:is(.is-unavailable,.is-free) .gr-price-region { color:var(--slate-280); }

/* System requirements: minimum and recommended side by side. */
.gr-app .gr-requirements-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); gap:14px; }
.gr-app .gr-requirements-group { min-width:0; padding:14px; border:1px solid var(--slate-610); border-radius:10px; background:var(--slate-790); }
.gr-app .gr-requirements-group.is-recommended { border-color:color-mix(in srgb,var(--accent) 45%,var(--slate-610)); }
.gr-app .gr-requirements-group h4 { margin:0 0 10px; color:var(--text); font-size:13px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.gr-app .gr-requirements-group dl { display:grid; gap:8px; margin:0; }
.gr-app .gr-requirements-group dl > div { display:grid; grid-template-columns:minmax(92px,34%) minmax(0,1fr); gap:10px; font-size:13px; line-height:1.45; }
.gr-app .gr-requirements-group dl > div.is-note { grid-template-columns:minmax(0,1fr); }
.gr-app .gr-requirements-group dt { color:var(--muted); }
.gr-app .gr-requirements-group dd { margin:0; color:var(--slate-80); overflow-wrap:anywhere; }
.gr-app .gr-requirements-more { margin-top:12px; border-top:1px solid var(--slate-610); }
.gr-app .gr-requirements-more summary { padding:12px 0 10px; color:var(--accent); font-size:13px; font-weight:650; cursor:pointer; }

/* Editorial guides: a compact row of cards whose title is the link. */
.gr-app #gr-game-guides { padding:20px; border-radius:14px; }
.gr-app #gr-game-guides .relationship-card { padding:16px; border-radius:12px; background:var(--slate-760); transition:border-color .15s ease; }
.gr-app #gr-game-guides .relationship-card:hover { border-color:var(--slate-340); }
.gr-app #gr-game-guides .relationship-card h3 { margin:0 0 8px; font-size:15px; line-height:1.35; }
.gr-app #gr-game-guides .relationship-card > p { margin:0 0 12px; font-size:13px; line-height:1.55; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; }
.gr-app #gr-game-guides .relationship-card .primary-button { align-self:flex-start; min-height:0; margin-top:auto; padding:0; border:0; background:none; box-shadow:none; color:var(--accent); font-size:13px; font-weight:650; }
.gr-app #gr-game-guides .relationship-card .primary-button:hover { text-decoration:underline; }

@media (max-width:980px) {
  .gr-app #gr-game-about { gap:18px; }
  .gr-app #gr-game-about .detail-actions { margin-top:18px; }
  .gr-app .gr-overview-grid { grid-template-columns:minmax(0,1fr); }
  .gr-app .gr-overview-side { grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); align-items:start; }
}
@media (max-width:760px) {
  .gr-app :is(#gr-game-details,#gr-game-prices,#gr-game-requirements,#gr-game-guides,#gr-game-reviews,#gr-similar-games,#gr-game-events,#gr-game-comments,#gr-game-mods) { scroll-margin-top:56px; }
}
@media (max-width:600px) {
  .gr-app #gr-game-about { padding:12px; border-radius:12px; }
  .gr-app #gr-game-about .detail-actions { padding:12px; }
  .gr-app #gr-game-about .detail-action-buttons { width:100%; margin-left:0; }
  .gr-app #gr-game-about .detail-action-buttons > *, .gr-app #gr-game-about .detail-action-buttons .gr-button { flex:1 1 0; }
  .gr-app :is(#gr-game-details,#gr-game-guides) { padding:12px; border-radius:12px; }
  .gr-app .gr-overview-panel { padding:14px; }
  .gr-app .gr-price-best-summary { width:100%; text-align:left; }
  .gr-app .gr-price-table th, .gr-app .gr-price-table td { padding:9px 8px; }
  .gr-app .gr-price-table :is(.gr-price-difference,thead th:last-child) { display:none; }
  .gr-app .gr-price-converted { min-width:0; }
  .gr-app .gr-price-badge { display:none; }
  .gr-app .gr-requirements-group dl > div { grid-template-columns:minmax(0,1fr); gap:2px; }
}
