/* Shared presentation supplements; layout comes from game-template.html. */
.game-template:not([data-game-id=salt]) .hero-backdrop:before{background-image:var(--game-hero);background-position:center 35%}
.game-template .game-intro{--game-title-size:clamp(45px,11cqw,90px);--game-title-scale:1}
.game-template .game-intro.is-cyrillic-title{--game-title-scale:.92}
.game-template .game-intro h1{font-size:calc(var(--game-title-size) * var(--game-title-scale))}
.game-template:not([data-game-id=salt]) .game-intro h1{overflow-wrap:anywhere;white-space:normal;max-width:100%;text-wrap:balance}
.game-template .game-intro.is-long-title{--game-title-size:clamp(34px,4.4vw,60px)}
.game-template .game-intro.is-long-title h1{line-height:1.08}
.game-template .hero-utility .trailer-button,.game-template .hero-utility .game-meta{font-weight:650}
.game-template .hero-utility .hero-genre{font-weight:700}
.game-template .hero-newer-game{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none;min-height:32px;margin-left:auto;padding:6px 10px;border:1px solid var(--brand-line);border-radius:var(--radius-control);background:var(--brand-soft);color:var(--brand-ink);font-size:12px;font-weight:650;line-height:1.35;white-space:nowrap;text-decoration:none;transition:background .15s,color .15s,border-color .15s}
.game-template .hero-newer-game>.icon{width:16px;height:16px}
.game-template .hero-newer-game:hover{background:var(--brand);border-color:var(--brand);color:#fff}
.game-template .hero-newer-game:focus-visible{outline:2px solid var(--brand-focus);outline-offset:3px}
.game-template .tabs .tab-icon{width:22px;height:22px}
/* Match the native series media tabs, including their responsive spacing. */
.game-template[data-page="release"] #release-content .tabs{gap:31px}
.game-template[data-page="release"] #release-content .tabs button .tab-icon{width:22px;height:22px;color:inherit;stroke-width:1.7}
@media(max-width:1320px){.game-template[data-page="release"] #release-content .tabs{gap:22px}}
@media(min-width:901px) and (max-width:1000px){.game-template[data-page="release"] #release-content .tabs{gap:16px}}
@media(max-width:540px){.game-template[data-page="release"] #release-content .tabs{gap:26px}}
.game-template .version-verification-pending,.game-template .release-check-pending{color:#82909c;font-size:11px;font-weight:400}
.game-template .version-verification-pending{white-space:normal}
.game-template .availability.is-pending{color:#71808c}
.game-template .availability.is-pending i{background:#a4aeb6}
.game-template .availability .availability-shield{width:17px;height:17px;flex:none;stroke-width:1.8;color:currentColor}
/* Keep the size group dividers subtle. */
.game-template .release-card .size-facts{border-color:#e4eaf0}
.game-template .release-card .size-facts>div+div{border-left-color:#e4eaf0}
.game-template .release-card .size-facts dd{color:#48616f;font-weight:600}
.game-template .top-game-link{display:contents;color:inherit}
.game-template .game-content-empty{font-size:14px;line-height:1.65;color:#657587;padding:18px 0}
.game-template .game-video-unavailable{display:flex;align-items:center;justify-content:center;min-height:220px;padding:24px;color:#728392;background:#edf1f4}
.game-template .screenshot[style]{background-size:cover;background-position:center}
.game-template:not([data-game-id=salt]) .screenshot::before{display:none}
/* Game and series galleries share the same caption treatment. */
.game-template .screenshot-caption{position:absolute;inset:auto 0 0;padding:24px 12px 10px;text-align:left;color:#fff;font-size:11px;font-weight:500;line-height:1.35;background:linear-gradient(transparent,#14222fcc);z-index:1;pointer-events:none}
.game-template .gallery-image[style]{background-size:cover;background-position:center;aspect-ratio:16/9}
.game-template .related-game-art[style]{background-size:cover;background-position:center}
.game-loading{width:calc(100% - 48px);max-width:1400px;margin:80px auto;font-size:16px;color:#657587}
@media(max-width:900px){.game-template .game-intro{--game-title-size:clamp(58px,7vw,70px)}}
@media(max-width:700px){.game-template .game-intro{--game-title-size:clamp(50px,9vw,64px)}}
@media(max-width:540px){.game-template .game-intro{--game-title-size:40px}.game-template .game-intro.is-long-title{--game-title-size:clamp(28px,8vw,35px)}.game-template:not([data-game-id=salt]) .game-description{max-width:100%}.game-template .game-video-unavailable{min-height:170px}}

/* Длинные версии и имена файлов остаются в своей колонке. */
.game-template .build-line code{min-width:0;white-space:normal;overflow-wrap:anywhere}
.game-template .build-line[hidden]{display:none}
.game-template .build-line [data-copy]{flex-shrink:0}
.game-template .file-row code{min-width:0;white-space:normal;overflow-wrap:anywhere}
.game-template .file-row .file-size{flex-shrink:0}

/* Announced games reuse the same card, gallery and sections, with no download UI. */
.game-template .upcoming-status{display:inline-flex;margin:23px 0 12px;padding:5px 9px;background:#fff0f2;color:#b51e3c;font-size:12px;font-weight:600;border-radius:var(--radius-detail)}
.game-template .upcoming-card .upcoming-date{margin:0;font-size:clamp(24px,2vw,32px);line-height:1.2;letter-spacing:-.04em}
.game-template .upcoming-note{margin:16px 0 22px;color:#617684;font-size:14px;line-height:1.65}
.game-template .upcoming-facts{display:grid;gap:16px;padding:20px 0;margin:0 0 20px;border-block:1px solid #e0e8ed}
.game-template .upcoming-facts>div{display:grid;gap:5px}
.game-template .upcoming-facts dt{color:#748593;font-size:12px}
.game-template .upcoming-facts dd{margin:0;color:#294354;font-size:14px;font-weight:600;line-height:1.5}
.game-template .upcoming-official{display:flex;justify-content:center;padding:13px 14px;border:1px solid #d0dde5;border-radius:var(--radius-control);color:#294354;background:#f5f8fa;text-decoration:none;font-weight:600;font-size:14px}
.game-template .upcoming-official:hover{border-color:#e80d30;color:#d40c2a;background:#fff5f6}
.game-template .upcoming-availability{margin:13px 0 0;color:#748593;font-size:12px;line-height:1.65}
.game-template .upcoming-media-note{margin:0 0 14px;color:#718391;font-size:12px;line-height:1.5}
.game-template .upcoming-requirements{padding:18px 20px;background:#f5f8fa;border:1px solid #e0e8ed;border-radius:var(--radius-control);color:#617684;font-size:14px;line-height:1.7}
/* Long genre lists must not widen the page on narrow phones. */
@media(max-width:540px){
  .game-template .screenshot-caption{font-size:10px}
  .game-template .tabs .tab-icon{width:20px;height:20px}
  .game-template .hero-utility .game-meta{max-width:100%;flex-wrap:wrap;row-gap:6px}
  .game-template .hero-utility .hero-genre{max-width:100%;white-space:normal;overflow-wrap:anywhere}
  .game-template .release-facts .release-languages{white-space:normal;overflow-wrap:anywhere}
}
