/* Редакционная тема GamesPrices: общая палитра и первый экран главной. */
:root {
  --bg: #0c0d0f;
  --surface: #15171b;
  --surface-2: #1d2025;
  --border: #2b2e34;
  --text: #f5f4f3;
  --text-muted: #a7abb5;
  --accent: #e3313d;
  --accent-2: #f2555f;
  --container: 1440px;
  --radius: 8px;
  --radius-sm: 5px;
}
.site-header { background: rgba(12,13,15,.97); }
.site-header__inner { min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
.logo__word span { color: #f04450; }
.main-nav a, .nav-tools > summary { color: #c6c8ce; }
.btn-primary { background: #d72e3a; color: #fff; }
.btn-primary:hover { background: #eb3b47; box-shadow: 0 6px 18px rgba(215,46,58,.25); }
.game-card, .news-card { background: #15171b; border-color: #292b31; }
.game-card__discount { background: #d72e3a; color: #fff; }
.game-card__price { color: #f5f4f3; }
.game-card--fresh { border-color: #3a3033; }
.site-footer { background: #101114; }
.container.section, .section.container { padding-left: 20px; padding-right: 20px; }
.catalog-filters__summary { cursor: pointer; font-weight: 700; font-size: 15px; list-style: none; }
.catalog-filters__summary::-webkit-details-marker { display: none; }
.catalog-filters__summary span { float: right; transition: transform .18s ease; }
.catalog-filters[open] .catalog-filters__summary { margin-bottom: 16px; }
.catalog-filters[open] .catalog-filters__summary span { transform: rotate(180deg); }
.game-hero__cover.gallery-trigger { aspect-ratio: 1920 / 620; background: var(--surface); }
.game-hero__cover img { width: 100%; height: 100%; object-fit: cover; }
.best-price-card__compare { display: inline-block; margin: 14px 0 0 12px; color: var(--text); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
#store-prices { scroll-margin-top: 85px; }

/* Компактная полоса поиска оставляет редакционную историю в первом экране. */
.page-home .hero { padding: 18px 0 16px; text-align: left; background: #0c0d0f; }
.page-home .hero > .container { display: grid; grid-template-columns: minmax(180px, 250px) minmax(250px, 1fr) auto; gap: 8px 26px; align-items: center; }
.page-home .hero h1 { font-size: 15px; line-height: 1.35; margin: 0; font-weight: 700; }
.page-home .hero h1 span { color: #f2555f; }
.page-home .hero .lead { grid-column: 1; grid-row: 2; font-size: 11px; line-height: 1.4; margin: 0; }
.page-home .hero-search { grid-column: 2; grid-row: 1 / span 2; width: 100%; max-width: none; margin: 0; }
.page-home .hero-search input { background: #181a1f; border-radius: 4px; padding: 12px 15px 12px 46px; }
.page-home .hero-shortcuts { grid-column: 3; grid-row: 1 / span 2; display: flex; max-width: 360px; justify-content: flex-end; gap: 5px; margin: 0; }
.page-home .hero-shortcuts a { padding: 6px 9px; background: #17191d; font-size: 11px; border-radius: 4px; }
.page-home .hero-shortcuts .hero-shortcuts__primary { color: #ff7b83; border-color: #73323a; background: #301a1e; }
.page-home .stats-strip { grid-column: 1 / -1; display: flex; justify-content: flex-start; gap: 20px; margin: 8px 0 0; }
.page-home .stats-strip__item, .page-home .stats-strip__item--live { display: flex; align-items: baseline; gap: 5px; min-width: 0; padding: 0; background: none; border: 0; box-shadow: none; }
.page-home .stats-strip__item::before, .page-home .stats-strip__icon, .page-home .stats-strip__pulse { display: none; }
.page-home .stats-strip__value, .page-home .stats-strip__value--text { font-size: 12px; color: #f5f4f3; }
.page-home .stats-strip__label { font-size: 11px; margin: 0; }
.page-home .freshness-badge { display: none; }

.editorial { display: grid; grid-template-columns: minmax(0, 3fr) minmax(250px, 1.15fr); gap: 3px; }
.editorial-lead, .editorial-side__item { position: relative; overflow: hidden; background: #1a1b1e; }
.editorial-lead { min-height: 420px; display: flex; align-items: flex-end; }
.editorial-lead__image, .editorial-side__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.editorial-lead__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,8,10,.94) 0%, rgba(7,8,10,.76) 36%, rgba(7,8,10,.1) 85%), linear-gradient(0deg,rgba(7,8,10,.55),transparent 55%); }
.editorial-lead__content { position: relative; max-width: 720px; padding: clamp(24px, 3.2vw, 48px); z-index: 1; }
.editorial-label { display: inline-block; padding: 4px 7px; color: #fff; background: #9e2730; font-size: 10px; line-height: 1; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.editorial-lead h2 { margin: 14px 0; font-family: Impact, 'Arial Narrow', sans-serif; font-size: clamp(32px, 3.8vw, 59px); font-weight: 800; line-height: 1.05; letter-spacing: .01em; text-transform: uppercase; text-wrap: balance; overflow-wrap: anywhere; }
.editorial-lead h2 a:hover { color: #ff6872; }
.editorial-lead__content p { max-width: 510px; color: #e0dfe0; font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.editorial-button { display: inline-flex; gap: 14px; align-items: center; background: #d72e3a; color: white; padding: 11px 16px; font-size: 13px; font-weight: 700; border-radius: 3px; }
.editorial-button:hover { background: #f04450; }
.editorial-side { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 3px; }
.editorial-side__item { min-height: 138px; display: flex; align-items: center; }
.editorial-side__item img { transition: transform .25s ease; }
.editorial-side__item:hover img { transform: scale(1.035); }
.editorial-side__shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(9,10,12,.95) 0%,rgba(9,10,12,.72) 58%,rgba(9,10,12,.24)); }
.editorial-side__content { z-index: 1; position: relative; display: flex; align-items: flex-start; flex-direction: column; gap: 6px; padding: 14px 16px; width: 100%; }
.editorial-label--muted { color: #c9cbd0; background: #383b40; }
.editorial-side__content strong { font-size: 15px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.editorial-side__content small { color: #c0c2c8; font-size: 11px; }
.editorial-empty { grid-column: 1 / -1; padding: 42px; background: #17181b; }
.editorial-empty h2 { margin-top: 16px; }
.page-home .section { padding-top: 30px; padding-bottom: 30px; }
.page-home .section.container { padding-left: 20px; padding-right: 20px; }
.page-home .section-head h2 { font-family: Georgia, serif; font-size: clamp(23px, 2vw, 30px); }
.page-home .game-grid { grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; }
.page-home .game-card { border-radius: 4px; }
.page-home .game-card__body { padding: 11px; }
.page-home .game-card__title { line-height: 1.3; }
.page-home .game-card__discount { border-radius: 2px; }

@media (max-width: 1050px) {
  .page-home .hero > .container { grid-template-columns: 1fr minmax(250px, 2fr); }
  .page-home .hero-shortcuts { grid-column: 1 / -1; grid-row: 3; max-width: none; justify-content: flex-start; }
  .page-home .stats-strip { grid-row: 4; flex-wrap: wrap; }
  .page-home .game-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .catalog-radar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .catalog-radar > div { padding: 11px; }
  .catalog-radar strong { font-size: 18px; }
  .game-hero { display: flex; flex-direction: column; gap: 20px; padding: 20px 0; }
  .game-hero > div:first-child { display: contents; }
  .game-hero__cover { order: 1; }
  .game-hero > div:nth-child(2) { order: 2; width: 100%; }
  .game-hero .game-grid { order: 3; width: 100%; }
  .game-hero .lightbox { order: 4; }
  .page-home .hero { padding: 16px 0; }
  .page-home .hero > .container { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
  .page-home .hero h1 { font-size: 20px; }
  .page-home .hero .lead { font-size: 12px; }
  .page-home .hero-shortcuts { justify-content: flex-start; }
  .page-home .stats-strip { gap: 8px 15px; }
  .editorial { grid-template-columns: 1fr; gap: 4px; }
  .editorial-lead { min-height: 360px; }
  .editorial-lead__content { padding: 24px; }
  .editorial-lead h2 { font-size: clamp(30px, 8vw, 44px); }
  .editorial-side { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; }
  .editorial-side__item { min-height: 150px; align-items: flex-end; }
  .editorial-side__shade { background: linear-gradient(0deg,rgba(9,10,12,.96),rgba(9,10,12,.15)); }
  .editorial-side__content { padding: 10px; gap: 5px; }
  .editorial-side__content strong { font-size: 12px; -webkit-line-clamp: 4; }
  .editorial-side__content small { font-size: 10px; }
  .page-home .game-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .page-home .game-grid--recent { justify-content: start; }
}
@media (max-width: 420px) {
  .editorial-side { grid-template-columns: 1fr; }
  .editorial-side__item { min-height: 98px; }
  .editorial-side__content strong { -webkit-line-clamp: 2; }
}
.review-body figure { margin: 28px 0; }
.review-body figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
.review-body h2 { margin-top: 36px; }
.review-body ul { padding-left: 1.4em; line-height: 1.75; }
.review-body p a { color: #ff7b83; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.review-body p a:hover, .review-body p a:focus-visible { color: #ffafb4; }
.review-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 30px 0 0; padding: 20px; border: 1px solid #554047; border-radius: 12px; background: #19171b; }
.review-cta strong, .review-cta span { display: block; }
.review-cta span { color: var(--text-muted); font-size: 14px; line-height: 1.5; margin-top: 4px; }
.review-cta .btn { flex-shrink: 0; }
.price-alert-form summary::after { content: ''; width: 8px; height: 8px; margin-left: auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .18s; }
.price-alert-form details[open] summary::after { transform: rotate(225deg); }
@media (max-width: 600px) { .review-cta { align-items: stretch; flex-direction: column; } .review-cta .btn { text-align: center; } }
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.reviews-grid .news-card { min-width: 0; overflow: hidden; }
.reviews-grid .news-card__cover { aspect-ratio: 16 / 9; overflow: hidden; }
.reviews-grid .news-card__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.articles-carousel .news-card { flex-basis: calc((100% - 36px) / 3); min-width: 0; overflow: hidden; }
.articles-carousel .news-card__cover { aspect-ratio: 16 / 9; overflow: hidden; }
.articles-carousel .news-card__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) { .articles-carousel .news-card { flex-basis: 78vw; } }
@media (min-width: 721px) and (max-width: 1050px) { .main-nav { gap: 7px; } .main-nav > a, .nav-tools { font-size: 12px; } .header-search { width: 130px; min-width: 0; } .site-header__inner { gap: 9px; } }
@media (min-width: 721px) and (max-width: 820px) { .main-nav > a[href="/about"] { display: none; } .header-search { width: 100px; } }
@media (max-width: 900px) { .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .reviews-grid { grid-template-columns: 1fr; } }
