/* /ea-sports-fc-27 — the EA Sports FC 27 title page.
   Logical properties throughout, so this one file serves both directions. The lineup is the one
   deliberate exception: it is always dir="ltr" and places its slots with physical `left`. */

.fc27 {
    --fc27-bg: #0b0f13;
    --fc27-panel: #10161c;
    --fc27-text: #f2f4f6;
    --fc27-mute: #8e99a6;
    --fc27-soft: #b9c2cc;
    --fc27-line: rgba(255,255,255,.09);
    --fc27-y: #ffdc11;
    --fc27-green: #2f8f55;

    background: var(--fc27-bg);
    color: var(--fc27-text);
    font-family: Montserrat, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.fc27[dir="rtl"] { font-family: Tajawal, Montserrat, sans-serif; }
/* .site-content carries a 10px side margin on phones; every band on this page is full-bleed. */
.site-content.fc27 { margin-inline: 0; }

.fc27 *, .fc27 *::before, .fc27 *::after { box-sizing: border-box; }
/* :where() keeps these resets at one-class weight, so the component rules below win. */
.fc27 :where(h1, h2, h3, p, ol, ul) { margin: 0; }
.fc27 :where(h1, h2, h3) { color: inherit; font-family: inherit; }
.fc27 :where(a), .fc27 :where(a):hover { color: inherit; }
/* custom.css forces Poppins, capitalize and normal letter-spacing on headings and every label with
   !important; only !important gets the page's own type back. Letter-spacing is restored per rule below. */
.fc27 h1, .fc27 h2, .fc27 h3, .fc27 label {
    font-family: inherit !important;
    text-transform: none !important;
}
.fc27 source { display: none; }

.fc27-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

.fc27-sr,
.fc27-radio {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0; border: 0;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
    white-space: nowrap;
}

/* ---------- Focus ---------- */
.fc27 a:focus-visible,
.fc27 summary:focus-visible {
    outline: 2px solid var(--fc27-y);
    outline-offset: 3px;
}

/* ---------- Buttons and text links ---------- */
.fc27-btn {
    display: inline-flex; align-items: center; justify-content: center;
    height: 52px; padding: 0 30px;
    border-radius: 12px;
    background: var(--fc27-y);
    color: #0b0f13 !important;
    font-size: 16px; font-weight: 700;
    text-decoration: none !important;
    box-shadow: none;
    position: relative;
    overflow: hidden;
    /* Own stacking context: the shimmer's z-index -1 then paints over the yellow but under the text. */
    isolation: isolate;
}
/* The site's global a:hover recolours link text; every state is pinned so the label stays dark on yellow. */
.fc27 .fc27-btn:hover,
.fc27 .fc27-btn:focus,
.fc27 .fc27-btn:focus-visible,
.fc27 .fc27-btn:active,
.fc27 .fc27-btn:visited {
    color: #0b0f13 !important;
    text-decoration: none !important;
}
.fc27 .fc27-btn { transition: background-color .2s; }
.fc27 .fc27-btn:hover,
.fc27 .fc27-btn:focus-visible { background: #ffe44d; }

/* Shimmer on the buy button only; the hero CTA has none. */
.fc27-btn--buy::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(100deg, transparent 40%, rgba(255,255,255,.22) 50%, transparent 60%);
    transform: translateX(-120%);
    animation: fc27-shimmer 9s ease-in-out 2s infinite;
}
@keyframes fc27-shimmer {
    0% { transform: translateX(-120%); }
    20% { transform: translateX(120%); }
    100% { transform: translateX(120%); }
}
.fc27-textlink {
    color: var(--fc27-text);
    font-size: 15px; font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,.35);
    padding-bottom: 3px;
    text-decoration: none !important;
}

/* ---------- Hero ---------- */
.fc27-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(55% 50% at 50% 62%, #1b2530 0, rgba(11,15,19,0) 70%), var(--fc27-bg);
}
.fc27-breadcrumb { padding-top: 22px; font-size: 12px; color: var(--fc27-mute); }
.fc27-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.fc27-breadcrumb li + li::before { content: "›"; margin-inline-end: 8px; }
.fc27-breadcrumb a { color: var(--fc27-mute); text-decoration: none; }
.fc27-breadcrumb a:hover { color: var(--fc27-text); }

.fc27-head { text-align: center; padding-top: 56px; }

/* Desktop: the breadcrumb sits on the status line, at the start edge of the wrap. */
@media (min-width: 701px) {
    .fc27-hero .fc27-wrap { position: relative; }
    .fc27-breadcrumb {
        position: absolute;
        inset-inline-start: 32px;
        /* 30px, not 28: centres the 12px breadcrumb text on the 13px status text. */
        top: 30px;
        padding: 0;
        margin: 0;
    }
    /* Tajawal sits lower in its line box; 28px centres the Arabic breadcrumb on the status text. */
    .fc27[dir="rtl"] .fc27-breadcrumb { top: 28px; }
    /* The centred status line keeps a lane clear of the breadcrumb on both sides (breadcrumb width
       + 16px: EN 152px, AR 193px). Narrow desktops wrap the status instead of overlapping. */
    .fc27-status {
        max-width: calc(100% - 2 * 168px);
        flex-wrap: wrap;
        justify-content: center;
    }
    .fc27[dir="rtl"] .fc27-status { max-width: calc(100% - 2 * 210px); }
    .fc27-head { padding-top: 28px; }
}
.fc27-status {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 13px; font-weight: 700;
    color: var(--fc27-mute);
}
.fc27-status b { color: var(--fc27-text); font-weight: 700; }
.fc27-status__dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
.fc27-status__dot--pre { background: var(--fc27-y); }
.fc27-status__dot--out { background: var(--fc27-green); }
.fc27-cd {
    font-variant-numeric: tabular-nums;
    color: var(--fc27-text);
    border-inline-start: 1px solid var(--fc27-line);
    padding-inline-start: 12px;
}

/* Big release countdown. flex + fit-content rather than inline-flex, so it takes its own line
   under the inline-flex status row and still centres through the auto margins. */
.fc27-count {
    display: flex;
    width: fit-content;
    margin: 18px auto 0;
    gap: 10px;
}
.fc27-count[hidden] { display: none; }
.fc27-count__box {
    min-width: 68px;
    padding: 10px 8px 8px;
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--fc27-line);
    text-align: center;
}
.fc27-count__num {
    display: block;
    font-size: 30px; font-weight: 700; line-height: 1;
    font-variant-numeric: tabular-nums;
    color: var(--fc27-text);
}
.fc27-count__num.is-tick { animation: fc27-tick 250ms ease-out; }
@keyframes fc27-tick {
    from { opacity: .4; transform: translateY(4px); }
    to { opacity: 1; transform: none; }
}
.fc27-count__label { display: block; margin-top: 6px; font-size: 11px; font-weight: 700; color: var(--fc27-mute); }

.fc27-title {
    margin-top: 18px;
    font-size: 84px; line-height: 1.02; font-weight: 700;
    letter-spacing: -.035em !important;
}
.fc27[dir="rtl"] .fc27-title { font-size: 72px; line-height: 1.15; letter-spacing: 0 !important; }
.fc27-lede {
    max-width: 620px;
    margin: 20px auto 0;
    font-size: 18px; line-height: 1.55;
    color: var(--fc27-soft);
}
.fc27-ctas { margin-top: 30px; display: flex; justify-content: center; align-items: center; gap: 26px; }

/* The lineup: five cases on a pitch floor, the PS5 edition in front. */
.fc27-lineup {
    position: relative;
    height: 540px;
    margin-top: 64px;
    perspective: 1600px;
    direction: ltr;
}
.fc27-floor {
    position: absolute;
    inset-inline: -20%;
    bottom: 0;
    height: 260px;
    background: linear-gradient(180deg, rgba(20,40,28,0), #0d1a13 60%, #0b0f13);
    transform: perspective(600px) rotateX(55deg);
    transform-origin: 50% 100%;
    -webkit-mask: linear-gradient(180deg, transparent, #000 35%, #000 70%, transparent);
    mask: linear-gradient(180deg, transparent, #000 35%, #000 70%, transparent);
}
/* The mow stripes, on their own layer so they can drift. One 180px period wider than the floor,
   moved exactly one period, so the loop is seamless. */
.fc27-floor::before {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: calc(100% + 180px);
    background: repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 90px, rgba(255,255,255,0) 90px 180px);
    animation: fc27-stripes 11s linear infinite;
}
@keyframes fc27-stripes {
    from { transform: translateX(0); }
    to { transform: translateX(-180px); }
}

/* Floodlight: two soft glows drifting behind the hero content. */
.fc27-hero::before {
    content: "";
    position: absolute;
    inset: -20%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(40% 50% at 30% 30%, rgba(140,180,255,.10), transparent 70%),
        radial-gradient(35% 45% at 70% 40%, rgba(255,220,17,.05), transparent 70%);
    animation: fc27-flood 18s ease-in-out infinite alternate;
}
.fc27-hero > .fc27-wrap,
.fc27-hero > .fc27-lineup { position: relative; z-index: 1; }
@keyframes fc27-flood {
    from { transform: translateX(-8%); }
    to { transform: translateX(8%); }
}

/* Two glows behind the covers, blue (::before) and green (::after), breathing in opposite phase so
   the light drifts between the two. Both z-index 0 in the lineup's stacking context: above the
   floor (z-index -1, below), below every slot (z 3–5). */
.fc27-lineup::before,
.fc27-lineup::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 900px; height: 520px;
    margin-left: -450px;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}
.fc27-lineup::before {
    background: radial-gradient(closest-side, rgba(120,170,255,.34), rgba(120,170,255,0) 72%);
    animation: fc27-glow 6s ease-in-out infinite alternate;
}
.fc27-lineup::after {
    background: radial-gradient(closest-side, rgba(70,200,140,.26), rgba(70,200,140,0) 72%);
    animation: fc27-glow-2 6s ease-in-out infinite alternate;
}
.fc27-floor { z-index: -1; }
@keyframes fc27-glow {
    from { opacity: 1; transform: translateX(-24px) scale(1.08); }
    to { opacity: .35; transform: translateX(24px) scale(.94); }
}
@keyframes fc27-glow-2 {
    from { opacity: .3; transform: translateX(24px) scale(.94); }
    to { opacity: 1; transform: translateX(-24px) scale(1.08); }
}

.fc27-arc {
    position: absolute;
    left: 50%;
    bottom: 150px;
    width: 860px; height: 96px;
    margin-left: -430px;
    border: 1px solid rgba(255,255,255,.10);
    border-bottom-color: transparent;
    border-radius: 50%;
}
.fc27-slot {
    position: absolute;
    bottom: 92px;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center;
    color: var(--fc27-text);
    text-decoration: none !important;
}
.fc27-slot--ps5 { left: 50%; z-index: 5; }
/* The PS5 case has no 3D at all - flat, so it rasterises crisply. Side cases keep a static tilt. */
.fc27-slot--ps5 .fc27-case { width: 290px; }
.fc27-slot--ps4 { left: calc(50% - 350px); z-index: 4; }
.fc27-slot--ps4 .fc27-case { width: 212px; transform: rotateY(14deg); }
.fc27-slot--sw2 { left: calc(50% + 350px); z-index: 4; }
.fc27-slot--sw2 .fc27-case { width: 166px; transform: rotateY(-14deg); }
.fc27-slot--xbx { left: calc(50% - 560px); z-index: 3; }
.fc27-slot--xbx .fc27-case { width: 176px; transform: rotateY(22deg); filter: brightness(.8); }
.fc27-slot--sw1 { left: calc(50% + 560px); z-index: 3; }
.fc27-slot--sw1 .fc27-case { width: 136px; transform: rotateY(-22deg); filter: brightness(.8); }

/* Idle float on the individual `translate` property, so it composes with each side case's rotateY. */
.fc27-lineup .fc27-case { animation: fc27-float 6s ease-in-out infinite alternate; }
.fc27-slot--xbx .fc27-case { animation-delay: 0s; }
.fc27-slot--ps4 .fc27-case { animation-delay: 1.2s; }
.fc27-slot--sw2 .fc27-case { animation-delay: 1.8s; }
.fc27-slot--sw1 .fc27-case { animation-delay: 2.4s; }
.fc27-lineup .fc27-slot--ps5 .fc27-case { animation-delay: .6s; }
@keyframes fc27-float {
    from { translate: 0 0; }
    to { translate: 0 -6px; }
}

/* Case: fixed aspect box, blurred cover copy behind, the real art contained on top. */
.fc27-case {
    position: relative;
    display: block;
    min-height: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #141a21;
    box-shadow: 0 40px 50px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.06);
    -webkit-box-reflect: below 3px linear-gradient(transparent 72%, rgba(255,255,255,.07));
}
.fc27-case--tall { aspect-ratio: 135 / 170; }
.fc27-case--narrow { aspect-ratio: 105 / 170; }
.fc27-case__blur,
.fc27-case__art,
.fc27-case__art img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%; height: 100%;
    min-height: 0;
    max-width: none;
}
.fc27-case__blur {
    object-fit: cover;
    filter: blur(18px);
    transform: scale(1.15);
}
.fc27-case__art { z-index: 1; }
.fc27-case__art img { object-fit: contain; image-rendering: auto; filter: none; }

/* Sheen sweeping across the cover. Physical `left`: the buy section can be RTL, where
   inset-inline-start would start the band off the far side and it would never cross. */
.fc27-case::before {
    content: "";
    position: absolute;
    inset-block: 0;
    left: -150%;
    width: 250%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.10) 50%, transparent 60%);
    animation: fc27-sheen 12s ease-in-out infinite;
}
.fc27-slot--xbx .fc27-case::before { animation-delay: 0s; }
.fc27-slot--ps4 .fc27-case::before { animation-delay: .4s; }
.fc27-slot--ps5 .fc27-case::before { animation-delay: .8s; }
.fc27-slot--sw2 .fc27-case::before { animation-delay: 1.2s; }
.fc27-slot--sw1 .fc27-case::before { animation-delay: 1.6s; }
@keyframes fc27-sheen {
    0% { transform: translateX(0); }
    20% { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

/* Hover lift on the individual `scale` property, so it composes with the rotateY tilts and the
   float animation. Nothing around it moves: scale does not affect layout. */
.fc27-case {
    transition: scale .45s cubic-bezier(.2,.7,.1,1), box-shadow .45s;
}
.fc27-slot:hover,
.fc27-slot:focus-visible { z-index: 10; }
.fc27-slot:hover .fc27-case,
.fc27-slot:focus-visible .fc27-case {
    scale: 1.04;
    box-shadow: 0 50px 60px -28px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.10);
}
.fc27-buy__shot:hover .fc27-case { scale: 1.02; }

.fc27-cap { margin-top: 56px; text-align: center; }
.fc27-cap b { display: block; font-size: 14px; font-weight: 700; }
.fc27-cap span { display: block; margin-top: 4px; font-size: 12px; color: var(--fc27-mute); }

/* ---------- Buy ---------- */
.fc27-buy {
    border-top: 1px solid var(--fc27-line);
    background: var(--fc27-panel);
    padding: 72px 0 80px;
}
.fc27-buy .fc27-wrap { position: relative; }
.fc27-buy h2 { font-size: 40px; font-weight: 700; letter-spacing: -.02em !important; }
.fc27[dir="rtl"] .fc27-buy h2 { letter-spacing: 0 !important; }

.fc27-buy__grid {
    margin-top: 34px;
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 64px;
    align-items: start;
}
.fc27-buy__grid > * { min-width: 0; }

.fc27-buy__shots { display: grid; }
.fc27-buy__shot {
    display: flex;
    align-items: center; justify-content: center;
    height: 460px;
    background: radial-gradient(70% 60% at 50% 45%, #1d2733, #10161c 70%);
    border: 1px solid var(--fc27-line);
    border-radius: 18px;
}
.fc27-buy__shot .fc27-case { width: 250px; -webkit-box-reflect: unset; }

.fc27-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.fc27-tab {
    display: inline-flex; align-items: center;
    height: 44px; padding: 0 18px; margin: 0;
    border-radius: 10px;
    border: 1px solid var(--fc27-line);
    background: rgba(255,255,255,.02);
    color: var(--fc27-text);
    font-size: 14px; font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

/* Tabs on row 1, every panel stacked in row 2, so the row is as tall as the tallest panel and
   nothing below moves when the edition changes. */
.fc27-buy__info { display: grid; grid-template-columns: minmax(0, 1fr); }
.fc27-tabs { grid-area: 1 / 1; }
.fc27-buy__panel { grid-area: 2 / 1; min-width: 0; }
.fc27-buy__shot { grid-area: 1 / 1; }

/* Crossfade. Hidden states stay out of the tab order and the accessibility tree via visibility,
   as display: none did; visibility flips only after the fade-out. */
.fc27-buy__shot,
.fc27-buy__panel {
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 300ms, transform 300ms, visibility 0s 300ms;
}
.fc27-buy__name { margin-top: 28px; font-size: 22px; font-weight: 700; }
.fc27-buy__meta { margin-top: 6px; font-size: 14px; color: var(--fc27-mute); }

.fc27-price {
    margin-top: 26px;
    padding-top: 26px;
    border-top: 1px solid var(--fc27-line);
}
.fc27-price__big {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px;
    font-size: 34px; font-weight: 700; letter-spacing: -.02em;
}
.fc27[dir="rtl"] .fc27-price__big { letter-spacing: 0; }
.fc27-price__big .g2e-price--was { font-size: 16px; letter-spacing: 0; }
.fc27-price__sub { margin-top: 15px; font-size: 15px; line-height: 1.5; color: var(--fc27-soft); max-width: 460px; }

.fc27-btn--buy { margin-top: 24px; height: 56px; padding: 0 40px; }

.fc27-reassure {
    margin-top: 30px;
    padding: 0;
    list-style: none;
    display: flex; flex-wrap: wrap; gap: 28px;
    font-size: 13px;
    color: var(--fc27-mute);
}
.fc27-reassure li::before {
    content: "";
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--fc27-green);
    margin-inline-end: 8px;
    vertical-align: middle;
}

/* Only the checked edition's shot and panel show; its tab takes the selected style. */
#fc27-ed-ps5:checked ~ .fc27-buy__grid .fc27-buy__shot--ps5,
#fc27-ed-ps4:checked ~ .fc27-buy__grid .fc27-buy__shot--ps4,
#fc27-ed-sw2:checked ~ .fc27-buy__grid .fc27-buy__shot--sw2,
#fc27-ed-sw1:checked ~ .fc27-buy__grid .fc27-buy__shot--sw1,
#fc27-ed-xbx:checked ~ .fc27-buy__grid .fc27-buy__shot--xbx,
#fc27-ed-ps5:checked ~ .fc27-buy__grid .fc27-buy__panel--ps5,
#fc27-ed-ps4:checked ~ .fc27-buy__grid .fc27-buy__panel--ps4,
#fc27-ed-sw2:checked ~ .fc27-buy__grid .fc27-buy__panel--sw2,
#fc27-ed-sw1:checked ~ .fc27-buy__grid .fc27-buy__panel--sw1,
#fc27-ed-xbx:checked ~ .fc27-buy__grid .fc27-buy__panel--xbx {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: opacity 300ms, transform 300ms, visibility 0s;
}

#fc27-ed-ps5:checked ~ .fc27-buy__grid .fc27-tab--ps5,
#fc27-ed-ps4:checked ~ .fc27-buy__grid .fc27-tab--ps4,
#fc27-ed-sw2:checked ~ .fc27-buy__grid .fc27-tab--sw2,
#fc27-ed-sw1:checked ~ .fc27-buy__grid .fc27-tab--sw1,
#fc27-ed-xbx:checked ~ .fc27-buy__grid .fc27-tab--xbx {
    border-color: var(--fc27-text);
    background: rgba(255,255,255,.06);
}

#fc27-ed-ps5:focus-visible ~ .fc27-buy__grid .fc27-tab--ps5,
#fc27-ed-ps4:focus-visible ~ .fc27-buy__grid .fc27-tab--ps4,
#fc27-ed-sw2:focus-visible ~ .fc27-buy__grid .fc27-tab--sw2,
#fc27-ed-sw1:focus-visible ~ .fc27-buy__grid .fc27-tab--sw1,
#fc27-ed-xbx:focus-visible ~ .fc27-buy__grid .fc27-tab--xbx {
    outline: 2px solid var(--fc27-y);
    outline-offset: 3px;
}

/* ---------- Sections S1–S8 ---------- */
.fc27-section {
    padding: 96px 0;
    border-top: 1px solid var(--fc27-line);
    background: var(--fc27-bg);
}
.fc27-diff, .fc27-editions, .fc27-more { background: var(--fc27-panel); }

.fc27-section h2 { font-size: 40px; font-weight: 700; letter-spacing: -.02em !important; line-height: 1.15; margin: 0; }
.fc27[dir="rtl"] .fc27-section h2 { letter-spacing: 0 !important; }
.fc27-intro { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--fc27-soft); max-width: 620px; }

.fc27-badge {
    display: inline-block;
    font-size: 12px; font-weight: 700;
    color: var(--fc27-y);
    border: 1px solid rgba(255,220,17,.35);
    border-radius: 999px;
    padding: 4px 10px;
    margin-bottom: 14px;
}

/* S1 numbers */
.fc27-stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 40px; }
.fc27-stat { padding: 8px 28px; border-inline-start: 1px solid var(--fc27-line); }
.fc27-stat:first-child { border-inline-start: none; padding-inline-start: 0; }
.fc27-stat__num {
    font-size: 56px; font-weight: 700; letter-spacing: -.03em; line-height: 1.05;
    direction: ltr; unicode-bidi: isolate;
}
/* Count-up: the real number stays in the DOM (.fc27-stat__real); the running value is drawn by an
   aria-hidden twin on top, and the real text is only hidden visually while .is-counting is set. */
.fc27-stat__num { position: relative; }
.fc27-stat__anim { position: absolute; inset: 0; pointer-events: none; }
.fc27-stat__num.is-counting .fc27-stat__real { visibility: hidden; }
.fc27-stat__label { margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--fc27-text); }
.fc27-stat__was { margin-top: 6px; font-size: 12px; color: var(--fc27-mute); }
.fc27-stats__note { margin-top: 32px; font-size: 14px; line-height: 1.6; color: var(--fc27-soft); max-width: 720px; }

/* S2 what's new */
.fc27-feature {
    margin-top: 64px;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
    align-items: center;
}
.fc27-intro + .fc27-feature { margin-top: 48px; }
.fc27-feature > * { min-width: 0; }
.fc27-feature--flip { grid-template-columns: 1fr 1.15fr; }
.fc27-feature--flip .fc27-feature__media { order: 2; }
.fc27-feature__media {
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--fc27-line);
    background: #141a21;
}
.fc27-feature__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms; }
.fc27-feature h3 { font-size: 30px; font-weight: 700; letter-spacing: -.02em !important; line-height: 1.15; margin: 0; }
.fc27[dir="rtl"] .fc27-feature h3 { letter-spacing: 0 !important; }
.fc27-feature__body > p { margin-top: 14px; font-size: 16px; line-height: 1.65; color: var(--fc27-soft); max-width: 520px; }
.fc27-feature__body > p.fc27-note {
    margin-top: 16px;
    font-size: 13px; line-height: 1.55;
    color: var(--fc27-mute);
    border-inline-start: 3px solid var(--fc27-y);
    padding-inline-start: 12px;
}

/* S3 FC 26 -> FC 27 */
.fc27-diff__table { margin-top: 40px; }
.fc27-diff__list { padding: 0; list-style: none; }
.fc27-diff__row {
    display: grid;
    grid-template-columns: 200px 1fr 32px 1.3fr;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--fc27-line);
    align-items: baseline;
}
.fc27-diff__row--head { padding: 0 0 12px; font-size: 12px; font-weight: 700; }
.fc27-diff__row--head .fc27-diff__old { color: var(--fc27-mute); font-size: 12px; }
.fc27-diff__row--head .fc27-diff__new { color: var(--fc27-y); font-size: 12px; }
.fc27-diff__label { font-size: 13px; font-weight: 700; color: var(--fc27-mute); }
.fc27-diff__old { font-size: 15px; line-height: 1.5; color: var(--fc27-mute); }
.fc27-diff__arrow { color: var(--fc27-mute); text-align: center; }
.fc27-diff__new { font-size: 15px; line-height: 1.5; color: var(--fc27-text); }
.fc27-diff__tag {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0; border: 0;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
    white-space: nowrap;
}

/* S4 which version */
.fc27-platforms__scroll { margin-top: 36px; overflow-x: auto; }
.fc27-platforms__table { width: 100%; min-width: 620px; border-collapse: collapse; }
/* The site uppercases th; the platform names and feature labels are written as they should read. */
.fc27-platforms th { text-transform: none !important; letter-spacing: normal; }
.fc27-platforms__table thead th {
    font-size: 13px; font-weight: 700;
    color: var(--fc27-text);
    padding: 14px 12px;
    border-bottom: 1px solid var(--fc27-line);
    text-align: center;
}
.fc27-platforms__table thead td { border-bottom: 1px solid var(--fc27-line); }
.fc27-platforms__table tbody th {
    font-size: 14px; font-weight: 700;
    color: var(--fc27-soft);
    text-align: start;
    padding: 16px 12px 16px 0;
    padding-inline: 0 12px;
    min-width: 200px;
    border-bottom: 1px solid var(--fc27-line);
}
.fc27-platforms__table td {
    text-align: center;
    padding: 16px 12px;
    border-bottom: 1px solid var(--fc27-line);
    font-size: 13px;
    color: var(--fc27-soft);
}
.fc27-yes { display: inline-block; vertical-align: middle; overflow: visible; }
.fc27-yes__to { margin-inline-start: 6px; vertical-align: middle; }
.fc27-no { color: var(--fc27-mute); }
.fc27-platforms__note { font-size: 14px; line-height: 1.6; color: var(--fc27-soft); margin-top: 10px; }
.fc27-platforms__scroll + .fc27-platforms__note { margin-top: 20px; }

/* S5 editions */
.fc27-editions__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.fc27-edition {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--fc27-line);
    border-radius: 16px;
    padding: 28px;
}
.fc27-edition h3 { font-size: 22px; font-weight: 700; margin: 0; }
.fc27-edition p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--fc27-soft); }

/* S6 steps */
.fc27-steps__list {
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 36px;
}
.fc27-step__num {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--fc27-y);
    color: var(--fc27-y);
    font-size: 14px; font-weight: 700;
}
.fc27-step__title { margin-top: 16px; font-size: 17px; font-weight: 700; }
.fc27-step__text { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--fc27-soft); }

/* S7 more */
.fc27-more__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 32px;
}
.fc27-tile {
    display: block;
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px solid var(--fc27-line);
    background: rgba(255,255,255,.03);
    color: var(--fc27-text);
    text-decoration: none !important;
}
.fc27-tile:hover,
.fc27-tile:focus-visible { border-color: rgba(255,255,255,.28); }
.fc27-tile__label { display: block; font-size: 15px; font-weight: 700; }
.fc27-tile__sub { display: block; margin-top: 4px; font-size: 12px; line-height: 1.5; color: var(--fc27-mute); }

/* S8 FAQ */
.fc27-faq__list { margin-top: 28px; max-width: 820px; }
.fc27-faq details { border-bottom: 1px solid var(--fc27-line); }
.fc27-faq summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 0;
    font-size: 17px; font-weight: 700;
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px;
}
.fc27-faq summary::-webkit-details-marker { display: none; }
.fc27-faq summary::after {
    content: "+";
    flex: 0 0 auto;
    color: var(--fc27-mute);
    font-size: 20px; font-weight: 400;
    line-height: 1;
    transition: transform .2s;
}
.fc27-faq details[open] summary::after { transform: rotate(45deg); }
.fc27-faq details p { padding: 0 0 20px; font-size: 15px; line-height: 1.65; color: var(--fc27-soft); max-width: 720px; }

/* ---------- Scroll reveal ----------
   Only once the script has added .fc27-js: without JS, or with reduced motion, nothing is hidden. */
.fc27-js .fc27-section h2,
.fc27-js .fc27-intro,
.fc27-js .fc27-stat,
.fc27-js .fc27-feature__media,
.fc27-js .fc27-feature__body,
.fc27-js .fc27-diff__row,
.fc27-js .fc27-platforms__scroll,
.fc27-js .fc27-edition,
.fc27-js .fc27-step,
.fc27-js .fc27-tile,
.fc27-js .fc27-faq details {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 600ms cubic-bezier(.2,.7,.1,1), transform 600ms cubic-bezier(.2,.7,.1,1);
}
.fc27-js .fc27-section h2.is-in,
.fc27-js .fc27-faq details.is-in,
.fc27-js .is-in {
    opacity: 1;
    transform: none;
}

/* Feature images settle from a slight zoom as they reveal, and lift a touch on hover. */
.fc27-js .fc27-feature__media img { transform: scale(1.06); transition: transform 1.2s cubic-bezier(.2,.7,.1,1); }
.fc27-js .fc27-feature__media.is-in img { transform: scale(1); }
.fc27-feature:hover .fc27-feature__media img { transform: scale(1.03); transition: transform 600ms; }

/* ---------- Mobile ---------- */
@media (max-width: 700px) {
    .fc27-wrap { padding: 0 20px; }

    .fc27-breadcrumb { padding-top: 14px; }
    .fc27-head { padding-top: 16px; }
    .fc27-lineup::before,
    .fc27-lineup::after { width: 420px; height: 300px; margin-left: -210px; }
    .fc27-status { flex-wrap: wrap; justify-content: center; font-size: 12px; }
    .fc27-title { font-size: 40px; letter-spacing: -.03em !important; }
    .fc27[dir="rtl"] .fc27-title { font-size: 34px; }
    .fc27-lede { font-size: 14px; line-height: 1.5; margin-top: 14px; }
    .fc27-intro,
    .fc27-stats__note,
    .fc27-platforms__note,
    .fc27-price__sub { font-size: 14px; line-height: 1.55; }
    /* The PS5 case is taller than the lineup's space above its caption; the gap keeps it off the link. */
    .fc27-ctas { flex-direction: column; gap: 16px; padding-bottom: 24px; position: relative; z-index: 6; margin-top: 20px; }
    .fc27-ctas .fc27-btn { width: 100%; }

    .fc27-lineup { height: 330px; margin-top: 26px; }
    .fc27-slot { bottom: 70px; }
    .fc27-cap { margin-top: 40px; }
    .fc27-cap b { font-size: 12px; }
    .fc27-cap span { font-size: 11px; }
    .fc27-slot--ps5 .fc27-case { width: 164px; }
    .fc27-slot--ps4 { left: calc(50% - 138px); }
    .fc27-slot--ps4 .fc27-case { width: 112px; }
    .fc27-slot--sw2 { left: calc(50% + 138px); }
    .fc27-slot--sw2 .fc27-case { width: 88px; }
    .fc27-slot--xbx, .fc27-slot--sw1 { display: none; }
    /* 128px, not 108: the Arabic captions are 48px tall (Tajawal's line box) and 108 crossed them. */
    .fc27-arc { bottom: 128px; width: 360px; height: 60px; margin-left: -180px; }

    .fc27-count__box { min-width: 62px; }
    .fc27-count__num { font-size: 24px; }

    .fc27-buy { padding: 44px 0 56px; }
    .fc27-buy h2 { font-size: 28px; }
    .fc27-buy__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .fc27-buy__shot { height: 250px; }
    .fc27-buy__shot .fc27-case { width: 150px; }
    .fc27-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-inline: -20px;
        padding-inline: 20px;
        padding-block: 4px;
        scrollbar-width: none;
    }
    .fc27-tabs::-webkit-scrollbar { display: none; }
    .fc27-tab { flex: 0 0 auto; }
    .fc27-btn--buy { width: 100%; }

    .fc27-section { padding: 56px 0; }
    .fc27-section h2 { font-size: 28px; }

    .fc27-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
    .fc27-stat { padding: 0 16px; }
    .fc27-stat:nth-child(3) { border-inline-start: none; padding-inline-start: 0; }
    .fc27-stat__num { font-size: 36px; }

    .fc27-feature,
    .fc27-feature--flip { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 48px; }
    .fc27-feature--flip .fc27-feature__media { order: 0; }
    .fc27-feature h3 { font-size: 22px; }
    .fc27-feature__body > p { font-size: 14.5px; line-height: 1.6; }

    .fc27-diff__row { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 18px 0; }
    .fc27-diff__row--head, .fc27-diff__arrow { display: none; }
    .fc27-diff__old { font-size: 13px; }
    .fc27-diff__tag { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; clip-path: none; }

    .fc27-platforms__table tbody th,
    .fc27-platforms__table thead td {
        position: sticky;
        inset-inline-start: 0;
        z-index: 1;
        background: var(--fc27-bg);
    }
    /* The first cell of every row, header row included: one fixed 150px column. */
    .fc27-platforms__table tr > :first-child {
        position: sticky;
        inset-inline-start: 0;
        z-index: 1;
        background: var(--fc27-bg);
        width: 150px; min-width: 150px; max-width: 150px;
        font-size: 12px; font-weight: 700;
        white-space: normal;
    }

    .fc27-editions__grid { grid-template-columns: minmax(0, 1fr); }

    .fc27-steps__list { grid-template-columns: minmax(0, 1fr); }
    .fc27-step { display: grid; grid-template-columns: 36px 1fr; gap: 16px; }
    .fc27-step__title { margin-top: 6px; }

    .fc27-more__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .fc27-tile { padding: 16px; }

    /* Room for the floating chat and back-to-top buttons. */
    .fc27-faq { padding-bottom: 110px; }
}

@media (prefers-reduced-motion: reduce) {
    .fc27-slot--ps5 .fc27-case { animation: none; }
    .fc27-faq summary::after { transition: none; }

    /* Every animation and transition on the page off; the script adds no reveal classes either. */
    .fc27 *,
    .fc27 *::before,
    .fc27 *::after,
    .fc27-hero::before {
        animation: none !important;
        transition: none !important;
    }
    .fc27-js .fc27-feature__media img,
    .fc27-feature:hover .fc27-feature__media img { transform: none; }
    .fc27-lineup::before { opacity: .8; }
    .fc27-lineup::after { opacity: .5; }
}
