/* PC Games landing page (/pcgames). Scoped to .pcg.
   Uses logical properties throughout so it mirrors under dir="rtl";
   pc_games.rtl.css only holds what logical properties cannot express. */

.pcg {
    --pcg-bg: #1f263a;
    --pcg-surface: #222b46;
    --pcg-surface-2: #1b2132;
    --pcg-deep: #0e121e;
    --pcg-border: #303646;
    --pcg-text: #eef0f5;
    --pcg-muted: #a3abbd;
    --pcg-brand: #95ab52;
    --pcg-brand-light: #bcd767;
    --pcg-on-brand: #0e121e;
    --pcg-steam: #1b2838;
    --pcg-epic: #2a2a2a;
    --pcg-focus: #ffdc11;
    --pcg-radius: 10px;
    --pcg-gap: 12px;
    --pcg-per-view: 2.25;

    background-color: var(--pcg-bg);
    color: var(--pcg-text);
    padding-block: 16px 48px;
    overflow-x: clip;
}

@media (min-width: 768px) {
    .pcg { --pcg-gap: 16px; --pcg-per-view: 3.3; }
}
@media (min-width: 1024px) {
    .pcg { --pcg-per-view: 4.3; }
}
@media (min-width: 1200px) {
    .pcg { --pcg-per-view: 5.25; }
}
@media (min-width: 1600px) {
    .pcg { --pcg-per-view: 6.2; }
}

.pcg *,
.pcg *::before,
.pcg *::after { box-sizing: border-box; }

.pcg a { color: inherit; }

.pcg :focus-visible {
    outline: 3px solid var(--pcg-focus);
    outline-offset: 2px;
    border-radius: 4px;
}

.pcg-sr {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

/* ---------- Breadcrumb + head ---------- */

.pcg-breadcrumb ol {
    display: flex; flex-wrap: wrap; gap: 6px;
    list-style: none; margin: 0 0 12px; padding: 0;
    font-size: 13px; color: var(--pcg-muted);
}
.pcg-breadcrumb li + li::before {
    content: "/"; margin-inline-end: 6px; opacity: .6;
}
.pcg-breadcrumb a { color: var(--pcg-muted); text-decoration: underline; text-underline-offset: 2px; }
.pcg-breadcrumb a:hover { color: var(--pcg-text); }
.pcg-breadcrumb [aria-current] { color: var(--pcg-text); }

.pcg-head { margin-block-end: 20px; }
.pcg-head__title {
    font-size: clamp(1.5rem, 1.1rem + 2vw, 2.4rem);
    line-height: 1.15; font-weight: 800;
    color: #fff; margin: 0 0 8px;
    text-transform: none; letter-spacing: 0;
}
.pcg-head__lead { color: var(--pcg-muted); max-width: 70ch; margin: 0 0 16px; font-size: 15px; }

.pcg-usp {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
    gap: 8px;
    list-style: none; margin: 0; padding: 0;
}
.pcg-usp li {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px;
    background: var(--pcg-surface-2);
    border: 1px solid var(--pcg-border);
    border-radius: var(--pcg-radius);
    font-size: 13px; color: var(--pcg-muted);
    min-width: 0;
}
.pcg-usp svg { flex: none; color: var(--pcg-brand-light); }
.pcg-usp strong { display: block; color: var(--pcg-text); font-size: 14px; }

/* ---------- Buttons ---------- */

.pcg-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 44px; padding: 10px 20px;
    border-radius: 8px; border: 2px solid var(--pcg-brand);
    background: var(--pcg-brand); color: var(--pcg-on-brand) !important;
    font-weight: 700; font-size: 15px; text-decoration: none !important;
    transition: background-color .15s, border-color .15s;
    cursor: pointer;
}
.pcg-btn:hover { background: var(--pcg-brand-light); border-color: var(--pcg-brand-light); }
.pcg-btn--ghost { background: transparent; color: var(--pcg-text) !important; border-color: var(--pcg-border); }
.pcg-btn--ghost:hover { background: var(--pcg-surface); border-color: var(--pcg-brand); }

.pcg-iconbtn {
    display: inline-grid; place-items: center;
    width: 40px; height: 40px; padding: 0;
    border-radius: 50%;
    border: 1px solid var(--pcg-border);
    background: var(--pcg-surface-2); color: var(--pcg-text);
    cursor: pointer;
}
.pcg-iconbtn:hover:not(:disabled) { border-color: var(--pcg-brand); color: var(--pcg-brand-light); }
.pcg-iconbtn:disabled { opacity: .35; cursor: default; }

/* ---------- Badges ---------- */

.pcg-badge {
    display: inline-block;
    padding: 3px 7px; border-radius: 5px;
    font-size: 12px; font-weight: 800; line-height: 1.2;
}
.pcg-badge--discount { background: var(--pcg-brand-light); color: var(--pcg-on-brand); }
.pcg-badge--new { background: #fff; color: var(--pcg-on-brand); }
.pcg-badge--pre { background: #ffdc11; color: var(--pcg-on-brand); }
.pcg-badge--instant { background: rgba(188, 215, 103, .15); color: var(--pcg-brand-light); border: 1px solid rgba(188, 215, 103, .4); }

.pcg-drm {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 7px; border-radius: 5px;
    font-size: 11px; font-weight: 700; line-height: 1.2;
    background: rgba(14, 18, 30, .85); color: #fff;
    border: 1px solid rgba(255, 255, 255, .15);
}
.pcg .pcg-drm img { display: block; width: auto; height: 14px; max-width: 72px; object-fit: contain; }
.pcg-drm--steam { background: rgba(27, 40, 56, .92); }
.pcg-drm--epic { background: rgba(42, 42, 42, .92); }

/* ---------- Price ---------- */

.pcg-price {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px;
    margin: 0;
}
.pcg-price__now { font-weight: 800; font-size: 15px; color: #fff; }
.pcg-price__was { font-size: 12px; color: var(--pcg-muted); }
.pcg-price--lg .pcg-price__now { font-size: 22px; }
.pcg-price--lg .pcg-price__was { font-size: 14px; }

/* ---------- Hero ---------- */

.pcg-hero { position: relative; margin-block: 8px 24px; }

.pcg-hero__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    border-radius: 14px;
}
.pcg-hero__track::-webkit-scrollbar { display: none; }

.pcg-hero__slide {
    position: relative;
    flex: 0 0 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex; flex-direction: column;
    background: var(--pcg-surface-2);
    overflow: hidden;
    min-width: 0;
}

.pcg-hero__backdrop { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--pcg-deep); }
.pcg-hero__backdrop img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pcg-hero__backdrop--blur img { filter: blur(14px) brightness(.66); transform: scale(1.15); }

.pcg-hero__body { position: relative; display: flex; gap: 20px; padding: 16px; }
.pcg-hero__cover { display: none; }

.pcg-hero__text { min-width: 0; flex: 1; }
.pcg-hero__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-block-end: 8px; }
.pcg-hero__title {
    font-size: clamp(1.25rem, 1rem + 1.4vw, 2rem);
    line-height: 1.15; font-weight: 800;
    margin: 0 0 4px; text-transform: none; letter-spacing: 0;
}
.pcg-hero__title a { color: #fff; text-decoration: none; }
.pcg-hero__title a:hover { text-decoration: underline; }
.pcg-hero__publisher { color: var(--pcg-muted); font-size: 13px; margin: 0 0 8px; }
.pcg-hero__desc {
    color: #d5d9e3; font-size: 14px; margin: 0 0 12px; max-width: 60ch;
    overflow: hidden;
}
.pcg-hero__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.pcg-hero__region { margin: 10px 0 0; font-size: 12px; color: var(--pcg-muted); }

.pcg-hero__controls {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    margin-block-start: 10px;
}
.pcg-hero__dots { display: flex; gap: 4px; }
.pcg-dot {
    width: 28px; height: 28px; padding: 0;
    border: 0; background: transparent; cursor: pointer;
    display: grid; place-items: center;
}
.pcg-dot::before {
    content: ""; width: 10px; height: 10px; border-radius: 50%;
    background: var(--pcg-border); transition: width .2s, background-color .2s;
}
.pcg-dot[aria-current="true"]::before { width: 22px; border-radius: 5px; background: var(--pcg-brand-light); }
.pcg-hero__pause .pcg-ico-play { display: none; }
.pcg-hero__pause[aria-pressed="true"] .pcg-ico-play { display: block; }
.pcg-hero__pause[aria-pressed="true"] .pcg-ico-pause { display: none; }

@media (min-width: 768px) {
    .pcg-hero__slide { min-height: 380px; display: block; }
    .pcg-hero__backdrop { position: absolute; inset: 0; aspect-ratio: auto; }
    .pcg-hero__backdrop::after {
        content: ""; position: absolute; inset: 0;
        background:
            linear-gradient(to top, rgba(14, 18, 30, .95) 0%, rgba(14, 18, 30, .35) 60%, rgba(14, 18, 30, .1) 100%);
    }
    .pcg-hero__body { align-items: flex-end; min-height: 380px; padding: 28px; gap: 28px; }
    .pcg-hero__cover {
        display: block; flex: none; width: 180px;
        border-radius: var(--pcg-radius); overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
        aspect-ratio: 3 / 4; background: var(--pcg-deep);
    }
    /* The chain is a.pcg-hero__cover > picture > img. Sizing only the img leaves the <picture>
       at auto height, so `height: 100%` on the img resolves against nothing, the img renders at
       natural size and the cover's overflow slices the bottom off the box art. Every level needs
       the height and a min-height of 0, or the grid item refuses to shrink to it. */
    .pcg-hero__cover { display: grid; place-items: center; min-height: 0; }
    .pcg-hero__cover picture {
        display: grid; place-items: center;
        width: 100%; height: 100%; min-height: 0; min-width: 0;
    }
    .pcg-hero__cover img {
        display: block;
        max-width: 100%; max-height: 100%;
        width: auto; height: auto;
        object-fit: contain;
        /* The img is a grid item inside the <picture>, and a grid item's default
           `min-height: auto` refuses to shrink below its content - so max-height was ignored,
           the art rendered at natural size and the cover's overflow cut the bottom off. */
        min-height: 0; min-width: 0;
    }
}
@media (min-width: 1200px) {
    .pcg-hero__slide, .pcg-hero__body { min-height: 440px; }
    .pcg-hero__cover { width: 220px; }
}

/* ---------- Filters ---------- */

.pcg-filters {
    display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px;
    padding: 14px;
    margin-block: 0 24px;
    background: var(--pcg-surface-2);
    border: 1px solid var(--pcg-border);
    border-radius: var(--pcg-radius);
}
.pcg-field { display: flex; flex-direction: column; gap: 4px; flex: 1 1 150px; min-width: 0; }
.pcg-field label { font-size: 12px; font-weight: 700; color: var(--pcg-muted); margin: 0; }
.pcg-field select {
    width: 100%; min-height: 44px;
    padding-block: 8px; padding-inline: 10px;
    background: var(--pcg-deep); color: var(--pcg-text);
    border: 1px solid var(--pcg-border); border-radius: 8px;
    font-size: 14px;
}
.pcg-check { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.pcg-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--pcg-brand); }
.pcg-check label { margin: 0; font-size: 14px; color: var(--pcg-text); cursor: pointer; }
.pcg-reset {
    min-height: 44px; padding-inline: 12px;
    background: transparent; color: var(--pcg-brand-light);
    border: 0; text-decoration: underline; text-underline-offset: 3px;
    font-size: 14px; cursor: pointer;
}
.pcg-filters__status { flex-basis: 100%; margin: 0; font-size: 13px; color: var(--pcg-muted); }

@media (min-width: 1024px) {
    .pcg-field { flex: 0 1 200px; }
    .pcg-filters__status { flex-basis: auto; margin-inline-start: auto; align-self: center; }
}

/* ---------- Rails ---------- */

.pcg-rail { margin-block-end: 32px; }
.pcg-rail[hidden] { display: none; }

.pcg-rail__head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
    margin-block-end: 12px;
}
.pcg-rail__title {
    font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem);
    font-weight: 800; margin: 0; color: #fff;
    text-transform: none; letter-spacing: 0;
}
.pcg-rail__sub { margin: 2px 0 0; font-size: 13px; color: var(--pcg-muted); }
.pcg-rail__nav { display: none; gap: 8px; flex: none; }
@media (min-width: 768px) and (hover: hover) {
    .pcg-rail__nav { display: flex; }
}

.pcg-rail__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--pcg-per-view) - 1) * var(--pcg-gap)) / var(--pcg-per-view));
    gap: var(--pcg-gap);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scroll-padding-inline: 0;
    padding-block-end: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--pcg-border) transparent;
}
.pcg-rail__track > .pcg-card { scroll-snap-align: start; }

.pcg-grid {
    /* auto-fill (not auto-fit) so filtered-down results keep card size.
       Column floor: never fewer than 2 (phones), never more than 6 (wide screens). */
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(max(min(180px, calc((100% - var(--pcg-gap)) / 2)), calc((100% - 5 * var(--pcg-gap)) / 6)), 1fr));
    gap: 20px var(--pcg-gap);
}

.pcg-rail__more { text-align: center; margin: 24px 0 0; }

/* ---------- Card ---------- */

.pcg-card {
    position: relative;
    display: flex; flex-direction: column;
    min-width: 0;
}
.pcg-card[hidden] { display: none; }

.pcg-card__art {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: var(--pcg-radius);
    overflow: hidden;
    background: var(--pcg-deep);
    transition: transform .18s ease, box-shadow .18s ease;
}
.pcg-card__art > picture, .pcg-card__art > picture img {
    display: block; width: 100%; height: 100%;
}
.pcg-card__art > picture img { object-fit: cover; }

/* Landscape-only art: letterbox it over a blurred copy so every card keeps 3:4. */
.pcg-card__art--wide::before {
    content: ""; position: absolute; inset: -10%;
    background: var(--pcg-art) center / cover no-repeat;
    filter: blur(14px) brightness(.5);
}
.pcg-card__art--wide > picture { position: relative; }
.pcg-card__art--wide > picture img { object-fit: contain; }

.pcg-card:hover .pcg-card__art,
.pcg-card:focus-within .pcg-card__art {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .45), 0 0 0 2px var(--pcg-brand);
}
@media (prefers-reduced-motion: reduce) {
    .pcg-card__art, .pcg-dot::before { transition: none; }
    .pcg-card:hover .pcg-card__art, .pcg-card:focus-within .pcg-card__art { transform: none; }
    .pcg-hero__track, .pcg-rail__track { scroll-behavior: auto; }
}

.pcg-card__badges {
    position: absolute; inset-block-start: 8px; inset-inline-start: 8px;
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
}
.pcg-card__art > .pcg-drm {
    position: absolute; inset-block-end: 8px; inset-inline-start: 8px;
}

.pcg-card__body { padding-block-start: 8px; display: flex; flex-direction: column; gap: 3px; flex: 1; }

.pcg-card__title {
    font-size: 14px; line-height: 1.3; font-weight: 700;
    margin: 0; text-transform: none; letter-spacing: 0;
    overflow: hidden;
    min-height: 2.6em;
    max-height: 2.65em;
    max-height: calc(2 * 1lh);
    line-clamp: 2;
    overflow-wrap: anywhere;
}
.pcg-card__title a { color: #fff; text-decoration: none; }
/* Whole card is one link target, one tab stop. */
.pcg-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcg-card__title a:focus-visible { outline: none; }
.pcg-card__title a:focus-visible::after { outline: 3px solid var(--pcg-focus); outline-offset: 2px; border-radius: var(--pcg-radius); }

.pcg-card__publisher {
    margin: 0; font-size: 12px; color: var(--pcg-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pcg-card__region {
    display: flex; align-items: center; gap: 5px;
    margin: 0; font-size: 12px; color: var(--pcg-brand-light);
    position: relative; z-index: 2; /* above the stretched link so the tooltip shows */
    width: fit-content; max-width: 100%;
}
.pcg-card__region svg { flex: none; }
.pcg-card .pcg-price { margin-block-start: auto; padding-block-start: 4px; }

/* ---------- Empty state + about ---------- */

.pcg-empty {
    text-align: center; padding: 32px 16px; margin-block-end: 32px;
    border: 1px dashed var(--pcg-border); border-radius: var(--pcg-radius);
    color: var(--pcg-muted);
}
.pcg-empty[hidden] { display: none; }

/* The card image box and the blurred art fill used to live here, scoped to .pcg - which is why
   they behaved differently from page to page. They are in list_product_themes.css now, unscoped,
   so every theme on every page gets the same box. */

/* ---------- A hero backdrop that is portrait art ----------
   A product with no landscape key art falls back to its packshot, which is the wrong shape for a
   16:9 band. Blurred hard enough and scaled past the edges it reads as a colour wash rather than
   as a mistake - which is what the slides that do have landscape art get for free. */

.pcg-hero__backdrop--blur img {
    filter: blur(5px) saturate(1.2) brightness(.6);
    transform: scale(1.6);
}

/* ---------- Card title boxes: descender room ----------
   Applies to all four landing pages - they all load this sheet, and it comes after custom.css,
   where the offending rule lives.

   custom.css clamps .slide_product_title to two lines at line-height 1.6 but reserves
   min-height: 60px, which is taller than the two lines it allows. The result is a sliver of a
   third line showing under the clamp and the second line's descenders (g, y, p, ج, ق) cut off by
   the overflow box. Themes 0, 1 and 3 all use this title. Scoped to .pcg so the rest of the
   storefront keeps the height it was built around. */

.pcg .theme_default a.slide_product_title,
.pcg .theme_1 a.slide_product_title,
.pcg .theme_3 .slide_product_title,
.pcg a.slide_product_title {
    line-height: 1.34;
    min-height: calc(1.34em * 2);
    max-height: calc(1.34em * 2);
    padding-block-end: 0;
}

/* ---------- Theme 8's backdrop, on this page only ----------
   The shared sheet bleeds the blurred key art 12% past every edge, so the top of it reached up
   behind the section heading; and at blur(48px) the art was still legible enough to read as a
   mistake rather than as a wash. Pushed below the heading and blurred past recognition. The
   PlayStation and Switch theme 8 bands set their own treatment and are untouched. */

/* ---------- The hero backdrop on /pcgames ----------
   Sharp, badly-cropped key art behind the slide copy - the ARC Raiders slide had the subject's
   head cut off by the top edge. Blurred to a wash and framed 35% down, which keeps the subject
   rather than the sky. Scoped off the other three pages, which carry .pcg as well. */

.pcg:not(.ps5):not(.ps4):not(.nsw) .pcg-hero__backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    filter: blur(20px) saturate(1.15) brightness(.62);
    transform: scale(1.25);
}

/* .pcg alone would also match /playstation-5, /playstation-4 and /nintendo-switch, which carry
   it alongside their own page class - hence the :not()s. This is the /pcgames band only. */
.pcg:not(.ps5):not(.ps4):not(.nsw) .theme_8_backdrop { inset: 18% -12% -12%; }

.pcg:not(.ps5):not(.ps4):not(.nsw) .theme_8_backdrop img {
    filter: blur(20px) saturate(1.2) brightness(.5);
    transform: scale(1.35);
}

.pcg-about {
    margin-block-start: 16px;
    padding: 20px;
    background: var(--pcg-surface-2);
    border: 1px solid var(--pcg-border);
    border-radius: var(--pcg-radius);
    color: #d5d9e3; font-size: 15px; line-height: 1.65;
}
.pcg-about h2 { font-size: 1.3rem; color: #fff; margin: 0 0 12px; text-transform: none; letter-spacing: 0; }
.pcg-about h3 { font-size: 1.05rem; color: #fff; margin: 16px 0 8px; text-transform: none; letter-spacing: 0; }
.pcg-about p { margin: 0 0 12px; max-width: 80ch; }
.pcg-about ul { margin: 0; padding-inline-start: 20px; }
.pcg-about strong { color: #fff; }

/* =====================================================================
   Mobile hero
   The cover art used to be display:none below 768px, which left only the
   blurred backdrop on phones. Mobile now gets the same treatment as desktop -
   blurred art behind, sharp cover in front - stacked instead of side by side.
   Desktop rules are untouched; everything here is inside a max-width query.
   ===================================================================== */

@media (max-width: 767.98px) {
    .pcg-hero__slide { display: block; }

    .pcg-hero__backdrop {
        position: absolute; inset: 0; aspect-ratio: auto; z-index: 0;
    }
    .pcg-hero__backdrop img {
        width: 100%; height: 100%; object-fit: cover;
        filter: blur(16px) brightness(.45); transform: scale(1.18);
    }
    .pcg-hero__backdrop::after {
        content: ""; position: absolute; inset: 0;
        background: linear-gradient(to top, rgba(14, 18, 30, .94) 10%, rgba(14, 18, 30, .55) 100%);
    }

    .pcg-hero__body {
        position: relative; z-index: 1;
        flex-direction: column; align-items: center; text-align: center;
        gap: 14px; padding: 18px 16px 20px;
    }

    .pcg-hero__cover {
        display: block; flex: none;
        width: min(54vw, 196px); aspect-ratio: 3 / 4;
        border-radius: var(--pcg-radius); overflow: hidden;
        background: var(--pcg-deep);
        box-shadow: 0 14px 34px rgba(0, 0, 0, .6);
    }
    /* Same chain as the desktop rule above: box stays 3:4, every level gets the height and a
       min-height of 0, art contained so nothing is clipped. */
    .pcg-hero__cover { display: grid; place-items: center; min-height: 0; }
    .pcg-hero__cover picture {
        display: grid; place-items: center;
        width: 100%; height: 100%; min-height: 0; min-width: 0;
    }
    .pcg-hero__cover img {
        display: block;
        max-width: 100%; max-height: 100%;
        width: auto; height: auto;
        object-fit: contain;
        /* Same grid-item min-height trap as the desktop rule above. */
        min-height: 0; min-width: 0;
    }

    .pcg-hero__badges, .pcg-hero__buy { justify-content: center; }
    .pcg-hero__desc {
        max-height: 3.2em; max-height: calc(2 * 1lh); line-clamp: 2; overflow: hidden;
    }
}

/* A hero slide whose art is a cut-out render rather than a poster: no framed box, no
   drop shadow, no 3:4 crop. Nothing on /pcgames asks for this - every slide there is a
   poster - so the modifier only takes effect where a page opts in. */

.pcg-hero__cover--plain,
.pcg-hero__cover--plain picture,
.pcg-hero__cover--plain img {
    aspect-ratio: auto;
    height: auto;
    object-fit: contain;
}

.pcg-hero__cover--plain {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

/* =====================================================================
   Filters: dark-theme checkboxes
   ===================================================================== */

.pcg-check input[type="checkbox"] {
    appearance: none; -webkit-appearance: none;
    width: 22px; height: 22px; flex: none;
    border: 1.5px solid var(--pcg-border); border-radius: 6px;
    background: var(--pcg-deep);
    display: grid; place-content: center;
    cursor: pointer; transition: background-color .12s, border-color .12s;
}
.pcg-check input[type="checkbox"]::before {
    content: ""; width: 12px; height: 12px; transform: scale(0);
    transition: transform .12s ease-in-out;
    background: var(--pcg-on-brand);
    clip-path: polygon(14% 44%, 0 60%, 39% 100%, 100% 22%, 84% 7%, 39% 68%);
}
.pcg-check input[type="checkbox"]:checked {
    background: var(--pcg-brand-light); border-color: var(--pcg-brand-light);
}
.pcg-check input[type="checkbox"]:checked::before { transform: scale(1); }
.pcg-check input[type="checkbox"]:hover:not(:checked) { border-color: var(--pcg-brand); }
.pcg-check input[type="checkbox"]:focus-visible { outline: 3px solid var(--pcg-focus); outline-offset: 2px; }

/* =====================================================================
   Section bands: each merchandising section is a ListProducts theme with its
   own palette; these rules only give them room to breathe and a separator.
   ===================================================================== */

.pcg-band { margin-block: 0 26px; }
.pcg-band > .row { margin-inline: 0; }
.pcg .pcg-hr {
    border: 0; height: 1px; margin-block: 26px;
    background: linear-gradient(to right, transparent, var(--pcg-border), transparent);
}

.pcg-notes {
    display: grid; gap: 8px; list-style: none; margin: 0 0 22px; padding: 0;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.pcg-notes li {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 10px 12px; font-size: 13px; color: var(--pcg-muted);
    background: var(--pcg-surface-2); border: 1px solid var(--pcg-border);
    border-radius: var(--pcg-radius);
}
.pcg-notes svg { flex: none; margin-block-start: 2px; color: var(--pcg-brand-light); }

.pcg-note {
    margin: 0 0 26px; padding: 12px 14px;
    font-size: 13px; line-height: 1.6; color: var(--pcg-muted);
    border-inline-start: 3px solid var(--pcg-brand);
    border-radius: 0 var(--pcg-radius) var(--pcg-radius) 0;
    background: var(--pcg-surface-2);
}

/* =====================================================================
   Catalogue block (the page's own filterable grid)
   ===================================================================== */

.pcg-catalogue { margin-block-end: 32px; }
.pcg-catalogue .pcg-filters { margin-block: 12px 18px; }
.pcg-catalogue__more { text-align: center; margin: 22px 0 0; }

/* =====================================================================
   Closing block
   ===================================================================== */

.pcg-about__grid {
    display: grid; gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.pcg-about__item {
    padding: 14px; border-radius: var(--pcg-radius);
    background: rgba(255, 255, 255, .03); border: 1px solid var(--pcg-border);
}
.pcg-about__item h3 { margin: 0 0 6px; font-size: 1rem; color: #fff; text-transform: none; letter-spacing: 0; }
.pcg-about__item p { margin: 0; font-size: 14px; }

/* =====================================================================
   Theme 7 - "Ranked" (ListProducts). Colours come from the component's
   parameters; this file only carries the layout.
   ===================================================================== */

.theme_7 { margin-inline: 0; }
.theme_7_container {
    background: var(--container-bg); border-radius: 14px;
    padding: 16px 14px 10px; overflow: hidden;
}
.theme_7_head { margin-block-end: 12px; }
.theme_7_head h2 {
    margin: 0; font-size: clamp(1.15rem, 1rem + .8vw, 1.6rem); font-weight: 800;
    color: var(--products-text); text-transform: none; letter-spacing: 0;
}
.theme_7_head p { margin: 4px 0 0; font-size: 13px; color: var(--brand); }

.theme_7_promo {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
    padding: 8px 12px; margin-block-end: 12px; border-radius: 10px;
    background: var(--promo-bg); color: var(--promo-text); font-size: 13px; font-weight: 700;
}
.theme_7_promo_extra { font-weight: 500; }
.theme_7_promo_btn {
    margin-inline-start: auto; padding: 6px 14px; border-radius: 999px;
    background: var(--rank-btn-bg); color: var(--rank-btn-text) !important;
    font-weight: 700; text-decoration: none !important;
}

.theme_7_list { overflow: hidden; }
/* Swiper sizes its own slides (and wins the cascade from swiper-bundle.css), so the slide width
   for this theme is forced. Everything else here is ordinary. */
.theme_7 .theme_7_card {
    width: 220px !important; max-width: 74vw; height: auto;
    background: var(--products-bg); border-radius: 12px; overflow: hidden;
}
@media (max-width: 575.98px) { .theme_7 .theme_7_card { width: 156px !important; } }
@media (min-width: 576px) and (max-width: 991.98px) { .theme_7 .theme_7_card { width: 190px !important; } }

.theme_7_art {
    position: relative; display: block; aspect-ratio: 3 / 4;
    background: var(--img-bg); overflow: hidden;
}
.theme_7_art picture, .theme_7_art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.theme_7_rank {
    position: absolute; inset-block-end: -14px; inset-inline-start: 2px; z-index: 2;
    font-size: 72px; font-weight: 900; line-height: 1;
    color: rgba(255, 255, 255, .34); text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
    pointer-events: none;
}
@media (max-width: 575.98px) { .theme_7_rank { font-size: 54px; inset-block-end: -10px; } }
.theme_7_off {
    position: absolute; inset-block-start: 8px; inset-inline-end: 8px; z-index: 2;
    padding: 3px 7px; border-radius: 5px;
    background: var(--offprice); color: #10131c; font-size: 12px; font-weight: 800;
}

.theme_7_body { padding: 10px 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.theme_7_title {
    margin: 0; font-size: 14px; line-height: 1.3; font-weight: 700;
    text-transform: none; letter-spacing: 0;
    overflow: hidden; max-height: 2.65em; max-height: calc(2 * 1lh); line-clamp: 2;
}
.theme_7_title a { color: var(--products-text); text-decoration: none; }
.theme_7_brand { font-size: 12px; color: var(--brand); }
.theme_7_price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 4px 0 0; }
.theme_7_now { font-size: 15px; font-weight: 800; color: var(--price); }
.theme_7_was { font-size: 12px; color: var(--brand); }


/* =====================================================================
   Mobile review pass (390px class phones). Everything below the two
   display:none rules sits inside max-width: 575.98px - desktop is untouched.
   ===================================================================== */

/* Only used by the phone layout of theme 7. Two classes deep: `.theme_7_art img` would
   otherwise show the fill on desktop. */
.theme_7_art .theme_7_fill,
.theme_7_body .theme_7_brand--empty { display: none; }

@media (max-width: 575.98px) {
    /* The distance from the screen edge to the h1: the site-content margin plus the page
       container's padding. Every section lines up on it. */
    .site-content.pcg { --g2e-gutter: 26px; }
    /* /pcgames has no container padding of its own, so its h1 sits closer to the edge. */
    .site-content.pcg:not(.ps5):not(.ps4):not(.nsw) { --g2e-gutter: 10px; }

    /* ---------- 4a. One left edge ----------
       Every section band runs the full width of the screen with its colour. A band with a
       background of its own pads its content at least 16px in from the band's edge (on the
       console pages that is the h1's 26px; on /pcgames, where the h1 sits at 10px, it is 16px),
       so no text or card sits against the colour's edge. Plain sections line up with the h1. */
    .site-content.pcg .theme_1.row,
    .site-content.pcg .theme_default_container.row,
    .site-content.pcg .theme_3,
    .site-content.pcg .theme_6_promo,
    .site-content.pcg .theme_7 .theme_7_container,
    .site-content.pcg .theme_8,
    .site-content.pcg .theme_9,
    .site-content.pcg .theme_10,
    .site-content.pcg .pcg-about,
    .site-content.pcg .ps5-fc-band {
        margin-inline: calc(-1 * var(--g2e-gutter)) !important;
        padding-inline: max(16px, var(--g2e-gutter)) !important;
        border-radius: 0 !important;
    }
    /* A band inside a band: the wrapper bleeds, the section inside it does not bleed again. */
    .site-content.pcg .ps5-fc-band { padding-inline: 0 !important; }
    .site-content.pcg .ps5-fc-band > .theme_3 { margin-inline: 0 !important; }

    .site-content.pcg .theme_4.boxes_container,
    .site-content.pcg .theme_1.row > .col-12,
    .site-content.pcg .theme_default_container.row > .col-12,
    .site-content.pcg .theme_7.row,
    .site-content.pcg .theme_7 > .col-12,
    .site-content.pcg .theme_1 .card--clean,
    .site-content.pcg .theme_3 .hero,
    .site-content.pcg .theme_10_inner { padding-inline: 0 !important; margin-inline: 0 !important; }

    /* Rails start on the h1's edge and run off the other side, so the next card peeks. */
    .site-content.pcg .theme_1 .swiper,
    .site-content.pcg .theme_default_container .swiper,
    .site-content.pcg .theme_default_container .card__content.swiper_slider,
    .site-content.pcg .theme_3 .swiper,
    .site-content.pcg .theme_4 .swiper {
        width: auto !important;
        max-width: none !important;
        margin-inline-end: calc(-1 * max(16px, var(--g2e-gutter))) !important;
        margin-inline-start: 0 !important;
        padding-inline: 0 !important;
    }
    /* Theme 4 is a plain section (no band padding), so it bleeds by the gutter itself. */
    .site-content.pcg .theme_4 .swiper { margin-inline-end: calc(-1 * var(--g2e-gutter)) !important; }

    /* ---------- 4c. Cards: one width, one image box, one height ---------- */
    .site-content.pcg .theme_1 .swiper-wrapper > .swiper-slide.card,
    .site-content.pcg .theme_default .swiper-wrapper > .swiper-slide.card,
    .site-content.pcg .theme_3 .swiper-wrapper > .swiper-slide.card,
    .site-content.pcg .theme_4 .swiper-wrapper > .gallery__item.swiper-slide {
        width: 64vw !important;
        height: auto !important;
    }
    .site-content.pcg .theme_1 .swiper-wrapper,
    .site-content.pcg .theme_default .swiper-wrapper,
    .site-content.pcg .theme_3 .swiper-wrapper,
    .site-content.pcg .theme_4 .swiper-wrapper { align-items: stretch; }
    .site-content.pcg .theme_4 .gallery__item-inner { height: 100%; }

    .site-content.pcg .theme_1 .swiper-slide .image_container,
    .site-content.pcg .theme_default .swiper-slide .image_container,
    .site-content.pcg .theme_3 .swiper-slide .image_container,
    .site-content.pcg .theme_4 .swiper-slide .gallery__thumb {
        height: auto !important;
        aspect-ratio: 3 / 4;
        width: 100%;
    }

    /* ---------- 4b. Hero: price and button as one centred group ---------- */
    .site-content.pcg .pcg-hero__buy {
        display: flex; flex-wrap: nowrap; align-items: center;
        justify-content: center; gap: 16px; width: 100%;
    }
    /* Content centred in the slide's height, so a short slide has no empty band under its
       button. The slide keeps its height; the body fills it. */
    .site-content.pcg .pcg-hero__body {
        display: flex; flex-direction: column; justify-content: center; min-height: 100%;
    }
    /* PS4 and Switch give the text block a scrim that is offset to the reading edge (-18px,
       18px/24px padding); on a centred phone slide that pushed the centred price and button
       24px off centre. Symmetric here. */
    .site-content.pcg.ps4 .pcg-hero__text,
    .site-content.pcg.nsw .pcg-hero__text { margin-inline: 0; padding-inline: 18px; }
    .site-content.pcg .pcg-hero__buy .pcg-price {
        margin: 0; min-width: 0; text-align: start; justify-content: flex-start;
    }
    /* "From" sits small above the number, not beside it. */
    .site-content.pcg .pcg-hero__buy .pcg-price:has(.ps5-hero__from) {
        display: flex; flex-direction: column; align-items: flex-start; gap: 0;
    }
    .site-content.pcg .pcg-hero__buy .ps5-hero__from { font-size: 11px; line-height: 1.2; }
    .site-content.pcg .pcg-hero__buy .pcg-btn {
        flex: 0 0 auto; width: auto; min-width: 0; padding: 12px 22px;
    }
    .site-content.pcg .pcg-hero__desc {
        font-size: 13px;
        display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
        overflow: hidden; line-height: 1.34; max-height: calc(1.34em * 2); padding-block-end: 0;
    }

    /* The PS5 console render, larger. */
    .site-content.pcg.ps5 .ps5-hero__console .pcg-hero__cover,
    .site-content.pcg.ps5 .ps5-hero__console .pcg-hero__cover picture {
        aspect-ratio: auto; width: 100%; height: auto;
    }
    .site-content.pcg.ps5 .ps5-hero__console .pcg-hero__cover img {
        aspect-ratio: auto; width: auto; height: 200px; max-height: 200px; max-width: 100%;
    }

    /* PS4 and Switch: the cover floats on the slide's own blurred backdrop - no dark panel. */
    .site-content.pcg.ps4 .pcg-hero__cover:not(.pcg-hero__cover--plain),
    .site-content.pcg.nsw .pcg-hero__cover:not(.pcg-hero__cover--plain) {
        background: transparent; border: 0; box-shadow: none; border-radius: 0; overflow: visible;
        aspect-ratio: auto; width: calc(100% - 32px); max-width: calc(100% - 32px); height: auto;
        margin-inline: auto; justify-self: center; align-self: center;
    }
    .site-content.pcg.ps4 .pcg-hero__cover:not(.pcg-hero__cover--plain) picture,
    .site-content.pcg.nsw .pcg-hero__cover:not(.pcg-hero__cover--plain) picture {
        width: auto; height: auto; aspect-ratio: auto;
    }
    .site-content.pcg.ps4 .pcg-hero__cover:not(.pcg-hero__cover--plain) img,
    .site-content.pcg.nsw .pcg-hero__cover:not(.pcg-hero__cover--plain) img {
        width: auto; height: auto; max-width: 100%; max-height: 230px; aspect-ratio: auto;
        border-radius: 6px; box-shadow: 0 14px 34px rgba(0, 0, 0, .55);
    }

    /* ---------- Comparison (theme 9): a table, no sideways scroll ----------
       The model row sticks while the spec rows scroll under it. Each spec is a full-width label
       row, then its three values side by side under their models. */
    /* overflow: hidden on any ancestor makes it the scroll container a sticky element sticks to,
       so the model row would never stick. clip trims the same overflow without that. */
    .site-content.pcg .theme_9 { overflow: clip; }
    .site-content.pcg > .container { overflow-x: clip; overflow-y: visible; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_grid {
        display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
        column-gap: 8px; row-gap: 0; overflow: visible; scroll-snap-type: none;
    }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_card,
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_specs,
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_spec { display: contents; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_top {
        display: block; grid-row: 1; position: sticky; top: 0; z-index: 2;
        padding: 8px 0 10px; text-align: center;
        background: var(--hero-start, #0b1320);
        border-block-end: 1px solid rgba(255, 255, 255, .12);
    }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_media { background: transparent; border-radius: 0; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_media img,
    .site-content.pcg .theme_9--static .theme_9_media img {
        height: 56px; width: 100%; padding: 0; object-fit: contain;
    }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_title,
    .site-content.pcg .theme_9--static .theme_9_title {
        margin: 6px 0 0; font-size: 12px; line-height: 1.25; min-height: 0;
    }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_grid > .theme_9_card:nth-child(1) > *,
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_grid > .theme_9_card:nth-child(1) dd { grid-column: 1; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_grid > .theme_9_card:nth-child(2) > *,
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_grid > .theme_9_card:nth-child(2) dd { grid-column: 2; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_grid > .theme_9_card:nth-child(3) > *,
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_grid > .theme_9_card:nth-child(3) dd { grid-column: 3; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_grid > .theme_9_card:not(:first-child) dt { display: none; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_grid > .theme_9_card:first-child dt {
        grid-column: 1 / -1; margin: 0; padding: 12px 0 4px;
        font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
        opacity: .7; border-block-start: 1px solid rgba(255, 255, 255, .08);
    }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_spec dd,
    .site-content.pcg .theme_9--static .theme_9_spec dd {
        margin: 0; padding: 0 0 4px; font-size: 12px; line-height: 1.35;
        overflow-wrap: anywhere; text-align: center;
    }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_spec:nth-child(1) dt { grid-row: 2; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_spec:nth-child(1) dd { grid-row: 3; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_spec:nth-child(2) dt { grid-row: 4; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_spec:nth-child(2) dd { grid-row: 5; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_spec:nth-child(3) dt { grid-row: 6; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_spec:nth-child(3) dd { grid-row: 7; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_spec:nth-child(4) dt { grid-row: 8; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_spec:nth-child(4) dd { grid-row: 9; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_spec:nth-child(5) dt { grid-row: 10; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_spec:nth-child(5) dd { grid-row: 11; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_spec:nth-child(6) dt { grid-row: 12; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_spec:nth-child(6) dd { grid-row: 13; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_spec:nth-child(7) dt { grid-row: 14; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_spec:nth-child(7) dd { grid-row: 15; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_spec:nth-child(8) dt { grid-row: 16; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_spec:nth-child(8) dd { grid-row: 17; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_spec:nth-child(9) dt { grid-row: 18; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_spec:nth-child(9) dd { grid-row: 19; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_spec:nth-child(10) dt { grid-row: 20; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_spec:nth-child(10) dd { grid-row: 21; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_spec:nth-child(11) dt { grid-row: 22; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_spec:nth-child(11) dd { grid-row: 23; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_spec:nth-child(12) dt { grid-row: 24; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_spec:nth-child(12) dd { grid-row: 25; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_spec:nth-child(13) dt { grid-row: 26; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_spec:nth-child(13) dd { grid-row: 27; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_spec:nth-child(14) dt { grid-row: 28; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_spec:nth-child(14) dd { grid-row: 29; }
    .site-content.pcg .theme_9:not(.theme_9--static) .theme_9_foot { grid-row: 30; padding-block-start: 12px; }

    /* ---------- Written-out comparison (theme 9, static columns): the phone table ----------
       The column cards are the desktop table; on a phone the view renders .theme_9_m instead:
       a sticky model row, then each differing spec as a label line over three left-aligned
       values split by thin dividers, the first five showing and the rest behind "Show all
       specs"; identical rows collapse into one "Same on all three" line. */
    .site-content.pcg .theme_9--static .theme_9_grid { display: none; }
    .site-content.pcg .theme_9--static .theme_9_m { display: block; }

    .site-content.pcg .theme_9_m_head {
        position: sticky; top: 0; z-index: 2;
        display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
        background: var(--hero-start, #0b1320);
        border-block-end: 1px solid #22324f;
    }
    .site-content.pcg .theme_9_m_col {
        display: flex; flex-direction: column; align-items: center; gap: 6px;
        padding: 10px 4px 12px; min-width: 0; text-align: center;
    }
    .site-content.pcg .theme_9_m_col + .theme_9_m_col { border-inline-start: 1px solid #22324f; }
    .site-content.pcg .theme_9_m_img {
        display: grid; place-items: center; width: 100%; height: 44px;
    }
    .site-content.pcg .theme_9_m_img img {
        display: block; width: 100%; height: 44px; object-fit: contain;
    }
    .site-content.pcg .theme_9_m_name {
        font-size: 13px; font-weight: 700; line-height: 1.25; color: var(--hero-title, #fff);
    }
    .site-content.pcg .theme_9_m_name a { color: inherit; text-decoration: none; }

    .site-content.pcg .theme_9_m_row {
        padding: 12px 0 10px; border-block-end: 1px solid #22324f;
    }
    .site-content.pcg .theme_9_m_row.is-extra { display: none; }
    .site-content.pcg .theme_9.cmp-open .theme_9_m_row.is-extra { display: block; }
    .site-content.pcg .theme_9_m_label {
        margin-block-end: 6px;
        font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
        color: var(--brand, #93a6c4);
    }
    .site-content.pcg .theme_9_m_vals {
        display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
    }
    .site-content.pcg .theme_9_m_val {
        min-width: 0; padding-inline: 0 8px; text-align: start;
        font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--card-text, #eaf2fb);
        overflow-wrap: anywhere;
    }
    .site-content.pcg .theme_9_m_val + .theme_9_m_val { border-inline-start: 1px solid #22324f; padding-inline-start: 8px; }
    .site-content.pcg .theme_9_m_sameval {
        font-size: 13px; font-weight: 500; line-height: 1.45; color: var(--hero-text, #c9d6e8);
    }
    .site-content.pcg .theme_9_m_more {
        display: block; width: 100%; margin-block-start: 16px; padding: 12px 16px;
        border: 1px solid #3a8dff; border-radius: 12px; background: transparent;
        color: #7cc4ff; font-size: 15px; font-weight: 700; cursor: pointer;
    }
    .site-content.pcg .theme_9.cmp-open .theme_9_m_more span { display: inline-block; transform: rotate(180deg); }

    /* ---------- Top 10 on PC (theme 7): a horizontal rail ----------
       A native scroll-snap row (Ranked.cshtml keeps Swiper off it on phones). Each item is a
       big outlined number standing behind a 130px cover, then the price, then the title - price
       first, because it is always one line, so every price sits at the same height. */
    .site-content.pcg .theme_7 .theme_7_list {
        overflow: visible; touch-action: auto;
        margin-inline-start: 0;
        margin-inline-end: calc(-1 * max(16px, var(--g2e-gutter)));
    }
    .site-content.pcg .theme_7 .swiper-wrapper {
        display: flex !important; gap: 10px; transform: none !important; height: auto !important;
        overflow-x: auto; overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory; scrollbar-width: none;
        padding-inline-end: max(16px, var(--g2e-gutter));
    }
    .site-content.pcg .theme_7 .swiper-wrapper::-webkit-scrollbar { display: none; }
    .site-content.pcg .theme_7 .theme_7_card {
        position: relative; flex: 0 0 auto;
        width: 170px !important; max-width: none; height: auto; margin: 0 !important;
        padding-inline-start: 40px; scroll-snap-align: start;
        background: transparent; border-radius: 0; overflow: visible;
    }
    .site-content.pcg .theme_7 .theme_7_rank_m {
        display: flex; align-items: flex-end;
        position: absolute; inset-inline-start: 0; inset-block-start: 0; z-index: 0;
        /* As tall as the cover, so the number's foot is the cover's foot. */
        height: calc(130px * 4 / 3);
        font-size: 96px; font-weight: 900; line-height: .8; letter-spacing: -6px;
        color: transparent; -webkit-text-stroke: 2px #5b6f93;
        pointer-events: none;
    }
    .site-content.pcg .theme_7 .theme_7_art .theme_7_rank { display: none; }
    .site-content.pcg .theme_7 .theme_7_art {
        position: relative; z-index: 1; display: block;
        width: 130px; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .5);
    }
    .site-content.pcg .theme_7 .theme_7_art .theme_7_fill {
        display: block; position: absolute; inset: 0; width: 100%; height: 100%;
        object-fit: cover; filter: blur(18px) brightness(.6); transform: scale(1.2);
    }
    .site-content.pcg .theme_7 .theme_7_art picture {
        position: absolute; inset: 0; z-index: 1;
        display: grid; place-items: center; width: 100%; height: 100%; min-height: 0;
    }
    .site-content.pcg .theme_7 .theme_7_art picture img {
        width: auto; height: auto; max-width: 100%; max-height: 100%; min-height: 0; min-width: 0;
        object-fit: contain;
    }
    .site-content.pcg .theme_7 .theme_7_off { z-index: 2; }
    .site-content.pcg .theme_7 .theme_7_body {
        display: flex; flex-direction: column; gap: 0; padding: 0;
    }
    .site-content.pcg .theme_7 .theme_7_price {
        order: -1; margin: 10px 0 0; font-size: 15px; font-weight: 800;
    }
    .site-content.pcg .theme_7 .theme_7_price .theme_7_now { font-size: 15px; font-weight: 800; }
    .site-content.pcg .theme_7 .theme_7_title {
        margin: 4px 0 0; font-size: 13px; font-weight: 600; line-height: 1.3;
        display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
        overflow: hidden; max-height: calc(1.3em * 2); min-height: 0; padding-block-end: 0;
    }
    .site-content.pcg .theme_7 .theme_7_title a { color: #c9d4e8; }
    .site-content.pcg .theme_7 .theme_7_brand { display: none; }
}

/* The phone-only pieces stay hidden at every other width. */
.theme_7_rank_m { display: none; }
.theme_9_m { display: none; }
