/* FC27 Game Hub V7 — desktop shell reset. The left rail is visual-only; all controls live in the right rail. */
.game-hub-v7 {
  --v7-accent: #59d7c5;
  --v7-accent-rgb: 89, 215, 197;
  --v7-panel: #07141f;
  --v7-text: #f5fbfa;
  --v7-muted: #9db7b9;
  display: block;
  min-height: 0;
  overflow: hidden;
  color: var(--v7-text);
  background: var(--v7-panel);
  isolation: isolate;
}
.game-hub-v7 [hidden] { display: none !important; }
.game-hub-v7[data-active-platform="xbox"] { --v7-accent: #77df97; --v7-accent-rgb: 119, 223, 151; }
.game-hub-v7[data-active-platform="playstation"] { --v7-accent: #76b9ff; --v7-accent-rgb: 118, 185, 255; }
.game-hub-v7[data-active-service="EA Play Pro"] { --v7-accent: #ff8f82; --v7-accent-rgb: 255, 143, 130; }

.game-v7-scene { direction: ltr; display: grid; min-height: max(680px, calc(100vh - 122px)); grid-template-columns: 44% 56%; background: var(--v7-panel); }
.game-v7-visual { direction: ltr; position: relative; min-width: 0; overflow: hidden; background: #06121e; }
.game-v7-art, .game-v7-visual-shade, .game-v7-visual-glow { position: absolute; inset: 0; width: 100%; height: 100%; }
.game-v7-art { object-fit: cover; object-position: 24% center; transition: opacity .4s ease, transform .45s ease; }
.game-v7-art-current { opacity: 1; transform: scale(1.015); }
.game-v7-art-preview { opacity: 0; transform: scale(1.035); }
.game-hub-v7[data-v7-hero-preview] .game-v7-art-preview { opacity: 1; transform: scale(1); }
.game-v7-visual-shade { background: linear-gradient(90deg, rgba(2, 10, 19, .06), rgba(2, 10, 19, .12) 58%, rgba(2, 10, 19, .78)), linear-gradient(0deg, rgba(2, 10, 19, .64), transparent 38%, rgba(2, 10, 19, .1)); }
.game-v7-visual-glow { background: radial-gradient(circle at 36% 28%, rgba(var(--v7-accent-rgb), .17), transparent 35%); mix-blend-mode: screen; pointer-events: none; }

.game-v7-interface { direction: rtl; min-width: 0; background: #07141f; border-inline-start: 1px solid rgba(199, 234, 231, .1); }
.game-v7-interface-inner { box-sizing: border-box; display: flex; width: min(100%, 680px); min-height: max(680px, calc(100vh - 122px)); margin-inline: auto; flex-direction: column; padding: 31px 39px 36px; }
.game-v7-topnav { display: flex; align-items: center; justify-content: space-between; color: var(--v7-muted); font-size: .76rem; font-weight: 700; }
.game-v7-topnav a { display: inline-flex; align-items: center; gap: 8px; color: #e4f2f0; text-decoration: none; transition: color .2s ease, transform .2s ease; }
.game-v7-topnav a span { color: var(--v7-accent); font-size: 1.15rem; }
.game-v7-topnav a:hover, .game-v7-topnav a:focus-visible { color: var(--v7-accent); outline: none; transform: translateX(3px); }
.game-v7-topnav > span { color: var(--v7-accent); font-family: Arial, sans-serif; font-size: .68rem; font-weight: 900; letter-spacing: .16em; }
.game-v7-topnav i { margin-inline-start: 7px; color: var(--v7-muted); font-size: .55rem; font-style: normal; letter-spacing: .12em; }

.game-v7-heading { margin-top: 49px; }
.game-v7-overline { display: block; margin-bottom: 8px; color: var(--v7-accent); font-family: Arial, sans-serif; font-size: .68rem; font-weight: 900; letter-spacing: .2em; }
.game-v7-heading h1 { max-width: 100%; margin: 0; color: #fff; font-family: Arial, sans-serif; font-size: clamp(3rem, 4.4vw, 4rem); font-weight: 900; letter-spacing: -.085em; line-height: .98; }
.game-v7-context { min-height: 19px; margin-top: 15px; color: var(--v7-accent); font-size: .75rem; font-weight: 800; }
.game-v7-context::before { content: '•'; margin-inline-end: 7px; color: var(--v7-accent); }
.game-v7-question { margin: 22px 0 0; color: #dceceb; font-size: .98rem; font-weight: 700; }
.game-v7-question::before { content: '✦'; margin-inline-end: 8px; color: var(--v7-accent); }
.game-hub-v7[data-scene-state="platform"] .game-v7-context { display: none; }

.game-v7-platforms, .game-v7-choice-grid { display: grid; gap: 12px; }
.game-v7-carousel-indicators { display: none; }
.game-v7-platforms { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; }
.game-v7-platform { display: grid; min-width: 0; min-height: 151px; align-content: center; justify-items: start; gap: 11px; padding: 17px 16px; border: 1px solid rgba(191, 231, 228, .17); border-radius: 3px; background: linear-gradient(145deg, rgba(13, 42, 51, .9), rgba(5, 22, 31, .86)); color: var(--v7-text); text-align: start; cursor: pointer; transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .23s ease, box-shadow .23s ease, background .23s ease; }
.game-v7-platform:hover, .game-v7-platform:focus-visible { border-color: var(--v7-accent); outline: none; transform: translateY(-5px); box-shadow: 0 17px 28px rgba(0,0,0,.22); }
.game-v7-platform-mark { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: rgba(255,255,255,.05); }
.game-v7-platform-mark img { width: 21px; height: 21px; object-fit: contain; }
.game-v7-platform-mark .featured-game-pc-mark { color: #fff; font: 900 .67rem Arial, sans-serif; }
.game-v7-platform strong { font-size: 1.03rem; font-weight: 850; }
.game-v7-platform small { color: var(--v7-muted); font-size: .68rem; }

.game-v7-machine { display: flex; min-height: 0; flex: 1; flex-direction: column; animation: v7-reveal .28s ease both; }
.game-v7-flow-nav { min-height: 20px; margin-top: 21px; }
.game-v7-back { display: inline-flex; align-items: center; gap: 7px; padding: 3px 0; border: 0; background: transparent; color: #d9eae8; font: inherit; font-size: .77rem; font-weight: 700; cursor: pointer; transition: color .2s ease, transform .2s ease; }
.game-v7-back:hover, .game-v7-back:focus-visible { color: var(--v7-accent); outline: none; transform: translateX(3px); }
.game-v7-back span { color: var(--v7-accent); font-size: 1rem; }
.game-v7-panel { min-height: 0; margin-top: 20px; }
.game-v7-choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.game-v7-choice-grid[data-v7-count="2"], .game-v7-choice-grid[data-v7-layout="services"], .game-v7-choice-grid[data-v7-layout="activation"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.game-v7-choice { position: relative; display: flex; min-width: 0; min-height: 218px; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 19px; border: 1px solid rgba(193, 232, 228, .17); border-radius: 3px; background-color: #0a202b; background-image: linear-gradient(0deg, rgba(2, 11, 19, .95), rgba(2, 11, 19, .16) 72%), var(--v7-card-art, none); background-position: center; background-size: cover; color: #fff; text-align: start; cursor: pointer; overflow: hidden; transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .22s ease, box-shadow .22s ease, filter .22s ease; }
.game-v7-choice::after { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(var(--v7-accent-rgb), .2), transparent 46%); content: ''; opacity: 0; transition: opacity .22s ease; }
.game-v7-choice > * { position: relative; z-index: 1; }
.game-v7-choice:hover, .game-v7-choice:focus-visible, .game-v7-choice[aria-pressed="true"] { border-color: var(--v7-accent); outline: none; transform: translateY(-5px); box-shadow: 0 17px 28px rgba(0,0,0,.24); }
.game-v7-choice:hover::after, .game-v7-choice:focus-visible::after, .game-v7-choice[aria-pressed="true"]::after { opacity: 1; }
.game-v7-choice strong { font-size: 1.2rem; font-weight: 850; }
.game-v7-choice small { margin-top: 7px; color: #d6e8e5; font-size: .78rem; font-weight: 700; }
.game-v7-choice em { max-width: 100%; margin-top: 8px; overflow: hidden; color: #bdd2d1; font-size: .68rem; font-style: normal; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.game-v7-choice-badge { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 1; padding: 4px 7px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(0,0,0,.3); color: #fff; font-size: .6rem; font-weight: 800; }
.game-v7-choice.is-unavailable { opacity: .62; cursor: not-allowed; }
.game-v7-choice.is-unavailable:hover, .game-v7-choice.is-unavailable:focus-visible { border-color: rgba(193, 232, 228, .17); outline: none; transform: none; box-shadow: none; }
.game-v7-choice.is-unavailable::after { opacity: 0; }
.game-v7-availability-badge { border-color: rgba(255, 143, 130, .45); background: rgba(80, 18, 24, .72); color: #ffd8d2; }
.game-v7-choice[data-v7-art="standard"] { --v7-card-art: url('/assets/images/games/ea-sports-fc-27-standard.webp'); }
.game-v7-choice[data-v7-art="ultimate"] { --v7-card-art: url('/assets/images/games/ea-sports-fc-27-ultimate.webp'); }
.game-v7-choice[data-v7-art="ultimate-plus"] { --v7-card-art: url('/assets/images/games/ea-sports-fc-27-ultimate-plus.webp'); }
.game-v7-choice.is-service { min-height: 178px; }
.game-v7-choice.is-steam { --v7-card-art: linear-gradient(145deg, #172b4b, #0a1427); }
.game-v7-choice.is-ea-play-pro { --v7-card-art: linear-gradient(145deg, #79221f, #220c17); border-color: rgba(255, 143, 130, .28); }
.game-v7-choice.is-ea-play-pro small, .game-v7-choice.is-ea-play-pro em { color: #ffd0ca; }
.game-v7-choice.is-activation { min-height: 166px; }
.game-v7-choice.is-service::before { position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(2, 11, 19, .78), transparent 58%); content: ''; pointer-events: none; }
.game-v7-choice.is-service > .game-v7-service-art { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.game-v7-choice.is-service > *:not(.game-v7-service-art) { position: relative; z-index: 2; }
.game-v7-choice.is-service > strong { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.game-v7-library { display: grid; grid-template-columns: minmax(150px, .75fr) 1.25fr; gap: 15px; margin-top: 17px; padding: 12px 14px; border-inline-start: 2px solid #ff8f82; background: rgba(55, 15, 24, .38); }
.game-v7-library h2 { margin: 4px 0 3px; color: #ffe8e4; font-size: .87rem; }
.game-v7-library p { margin: 0; color: #d6b8b5; font-size: .65rem; line-height: 1.45; }
.game-v7-mini-label { color: var(--v7-accent); font-size: .59rem; font-weight: 900; letter-spacing: .15em; }
.game-v7-library .game-v7-mini-label { color: #ff9f94; }
.game-v7-library-items { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.game-v7-library-empty { color: #d6b8b5; font-size: .65rem; }
.game-v7-library-item { display: grid; grid-template-columns: 24px 1fr; gap: 1px 5px; min-width: 112px; padding: 4px 5px; border: 1px solid rgba(255,143,130,.16); }
.game-v7-library-item img { width: 24px; height: 30px; grid-row: span 2; object-fit: cover; }
.game-v7-library-item strong { align-self: end; overflow: hidden; color: #fff1ee; font-size: .56rem; text-overflow: ellipsis; white-space: nowrap; }
.game-v7-library-item small { color: #d6b8b5; font-size: .5rem; }

.game-v7-final { margin-top: 17px; }
.game-v7-final-badge { display: inline-flex; padding: 5px 9px; border: 1px solid rgba(var(--v7-accent-rgb), .28); border-radius: 999px; background: rgba(var(--v7-accent-rgb), .08); color: var(--v7-accent); font-size: .68rem; font-weight: 800; }
.game-v7-final h2 { margin: 14px 0 0; color: #fff; font-family: Arial, sans-serif; font-size: clamp(2.3rem, 4vw, 3.7rem); font-weight: 900; letter-spacing: -.075em; line-height: .92; }
.game-v7-final-config { margin: 11px 0 0; color: #cfe2e0; font-size: .79rem; font-weight: 600; line-height: 1.7; }
.game-v7-subscription-note { margin: 7px 0 0; color: #ffada3; font-size: .7rem; font-weight: 700; }
.game-v7-offer-summary { margin-top: 21px; padding-top: 16px; border-top: 1px solid rgba(199, 234, 231, .17); }
.game-v7-price { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.game-v7-price span { color: var(--v7-muted); font-size: .68rem; font-weight: 700; }
.game-v7-price strong { color: #fff; font-family: Arial, sans-serif; font-size: clamp(2rem, 4vw, 3.15rem); font-weight: 900; letter-spacing: -.07em; line-height: .9; white-space: nowrap; }
.game-v7-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 17px; }
.game-v7-meta > div { min-width: 0; padding-top: 9px; border-top: 1px solid rgba(199, 234, 231, .14); }
.game-v7-meta span { display: block; margin-bottom: 5px; color: var(--v7-muted); font-size: .62rem; font-weight: 700; }
.game-v7-meta strong { display: block; color: #f3fbfa; font-size: .73rem; line-height: 1.55; }
.game-v7-order { display: flex !important; width: 100%; align-items: center; justify-content: space-between; margin-top: 19px; padding: 14px 16px !important; border: 0 !important; border-radius: 3px !important; background: #f4772e !important; color: #180d07 !important; font-size: .93rem !important; font-weight: 900 !important; box-shadow: 0 11px 20px rgba(244,119,46,.17); transition: transform .2s ease, background .2s ease !important; }
.game-v7-order:hover, .game-v7-order:focus-visible { background: #ff8b40 !important; outline: none; transform: translateY(-2px); }
.game-v7-order span { font-size: 1.1rem; }
.game-v7-details { margin-top: 14px; border-top: 1px solid rgba(199, 234, 231, .16); }
.game-v7-details > summary { display: flex; align-items: center; justify-content: space-between; padding: 12px 1px; color: #d8eae8; font-size: .78rem; font-weight: 800; cursor: pointer; list-style: none; }
.game-v7-details > summary::-webkit-details-marker { display: none; }
.game-v7-details > summary span:last-child { color: var(--v7-accent); font-size: 1rem; transition: transform .2s ease; }
.game-v7-details[open] > summary span:last-child { transform: rotate(45deg); }
.game-v7-details-drawer { max-height: 275px; overflow: auto; padding: 1px 15px 5px; border: 1px solid rgba(199, 234, 231, .13); background: rgba(5, 25, 34, .55); animation: v7-reveal .22s ease both; }
.game-v7-details-drawer > section { padding: 12px 0; border-bottom: 1px solid rgba(199, 234, 231, .1); }
.game-v7-details-drawer > section:last-child { border-bottom: 0; }
.game-v7-details-drawer h3 { margin: 0 0 7px; color: var(--v7-accent); font-size: .72rem; }
.game-v7-details-drawer p { margin: 0; color: #d6e8e6; font-size: .69rem; line-height: 1.65; }
.game-v7-details-drawer ul { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.game-v7-details-drawer li { position: relative; padding-inline-start: 12px; color: #d6e8e6; font-size: .68rem; line-height: 1.55; }
.game-v7-details-drawer li::before { position: absolute; top: .55em; inset-inline-start: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--v7-accent); content: ''; }
.game-v7-details-drawer .game-v7-warning { border-bottom: 0; }
.game-v7-details-drawer .game-v7-warning h3, .game-v7-details-drawer .game-v7-warning li { color: #ffb4aa; }
.game-v7-details-drawer .game-v7-warning li::before { background: #ff8f82; }
.game-v7-details-drawer details { margin-top: 8px; }
.game-v7-details-drawer details summary { color: var(--v7-accent); font-size: .65rem; cursor: pointer; }
.game-v7-details-drawer details ul { margin-top: 7px; }
.game-v7-noscript { width: min(680px, calc(56% - 78px)); margin: 20px 0 20px 44%; color: #fff; }

@keyframes v7-reveal { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@media (max-width: 1100px) and (min-width: 760px) {
  .game-v7-interface-inner { padding-inline: 27px; }
  .game-v7-heading { margin-top: 35px; }
  .game-v7-heading h1 { font-size: 2.7rem; }
  .game-v7-choice { padding: 14px; }
  .game-v7-choice strong { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  .game-hub-v7 *, .game-hub-v7 *::before, .game-hub-v7 *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* V7.1 desktop composition polish. The V7 structure and mobile composition stay unchanged. */
@media (min-width: 1101px) {
  .game-v7-interface {
    position: relative;
    overflow: hidden;
    background: #07141f;
  }
  .game-v7-interface::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(circle at 58% 48%, rgba(89, 215, 197, .055), transparent 48%), linear-gradient(180deg, rgba(9, 24, 35, .18), rgba(3, 12, 22, .2));
    content: '';
    pointer-events: none;
    transition: background .36s ease;
  }
  .game-hub-v7[data-active-platform="xbox"] .game-v7-interface::before {
    background: radial-gradient(circle at 58% 47%, rgba(119, 223, 151, .12), transparent 46%), linear-gradient(180deg, rgba(9, 29, 34, .16), rgba(3, 12, 22, .2));
  }
  .game-hub-v7[data-active-platform="playstation"] .game-v7-interface::before {
    background: radial-gradient(circle at 58% 47%, rgba(73, 124, 220, .14), transparent 46%), linear-gradient(180deg, rgba(8, 22, 41, .18), rgba(3, 12, 22, .2));
  }
  .game-hub-v7[data-active-platform="pc"] .game-v7-interface::before {
    background: radial-gradient(circle at 58% 47%, rgba(93, 122, 162, .1), transparent 46%), linear-gradient(180deg, rgba(10, 22, 39, .18), rgba(3, 12, 22, .2));
  }
  .game-hub-v7[data-active-platform="pc"][data-active-service="EA Play Pro"] .game-v7-interface::before {
    background: radial-gradient(circle at 58% 47%, rgba(255, 92, 77, .13), transparent 46%), linear-gradient(180deg, rgba(42, 15, 28, .16), rgba(3, 12, 22, .2));
  }
  .game-v7-interface-inner {
    position: relative;
    z-index: 1;
    width: min(100%, 760px);
    min-height: max(680px, calc(100vh - 122px));
    padding: 31px 32px 34px;
  }
  .game-v7-heading {
    margin-top: clamp(65px, calc(50vh - 295px), 230px);
  }
  .game-hub-v7[data-scene-state="platform"] .game-v7-heading {
    margin-top: clamp(105px, calc(50vh - 265px), 280px);
  }
  .game-hub-v7[data-scene-state="final"] .game-v7-heading {
    margin-top: clamp(15px, calc(50vh - 400px), 135px);
  }
  .game-hub-v7[data-scene-state="services"] .game-v7-heading {
    margin-top: clamp(36px, calc(50vh - 365px), 120px);
  }
  .game-v7-heading h1 {
    font-size: clamp(3.25rem, 4vw, 4rem);
    letter-spacing: -.075em;
  }
  .game-v7-context { margin-top: 11px; }
  .game-v7-question {
    margin-top: 17px;
    font-size: 1rem;
  }
  .game-v7-platforms,
  .game-v7-choice-grid {
    width: min(100%, 660px);
    margin-inline: auto;
    gap: 14px;
  }
  .game-v7-platforms { margin-top: 28px; }
  .game-v7-platform {
    min-height: 160px;
    padding: 20px 18px;
    gap: 12px;
    border-radius: 5px;
    background: linear-gradient(145deg, rgba(15, 48, 57, .92), rgba(5, 22, 31, .9));
  }
  .game-v7-platform:hover,
  .game-v7-platform:focus-visible {
    transform: translateY(-4px) scale(1.012);
    box-shadow: 0 18px 34px rgba(0, 0, 0, .26), 0 0 24px rgba(var(--v7-accent-rgb), .08);
  }
  .game-v7-platform-mark {
    width: 48px;
    height: 48px;
  }
  .game-v7-platform-mark img { width: 30px; height: 30px; }
  .game-v7-platform-mark .featured-game-pc-mark { font-size: .8rem; }
  .game-v7-platform strong { font-size: 1.13rem; }
  .game-v7-platform small { font-size: .72rem; }

  .game-v7-machine { animation: v7-content-in .28s ease both; }
  .game-v7-flow-nav { min-height: 20px; margin-top: 13px; }
  .game-v7-panel {
    margin-top: 11px;
    animation: v7-content-in .28s ease both;
  }
  .game-v7-choice {
    min-height: 252px;
    padding: 20px;
    border-radius: 5px;
  }
  .game-v7-choice:hover,
  .game-v7-choice:focus-visible,
  .game-v7-choice[aria-pressed="true"] {
    transform: translateY(-4px) scale(1.008);
    box-shadow: 0 19px 34px rgba(0, 0, 0, .28), 0 0 24px rgba(var(--v7-accent-rgb), .08);
  }
  .game-v7-choice strong { font-size: 1.28rem; }
  .game-v7-choice small { font-size: .83rem; }
  .game-v7-choice em { font-size: .71rem; }
  .game-v7-choice-badge { top: 16px; inset-inline-end: 16px; }
  .game-v7-choice.is-service,
  .game-v7-choice.is-activation {
    min-height: 208px;
  }
  .game-v7-choice-grid[data-v7-layout="services"] .game-v7-choice,
  .game-v7-choice-grid[data-v7-layout="activation"] .game-v7-choice {
    justify-content: center;
  }
  .game-v7-choice-grid[data-v7-layout="services"] {
    width: min(100%, 500px);
  }
  .game-v7-choice-grid[data-v7-layout="services"] .game-v7-choice {
    min-height: 0;
    aspect-ratio: 2 / 3;
  }
  .game-v7-choice-grid[data-v7-layout="services"] .game-v7-choice strong {
    font-size: 1.02rem;
  }
  .game-v7-library { margin-top: 15px; }

  .game-v7-final {
    width: min(100%, 650px);
    margin-inline: auto;
    margin-top: 7px;
  }
  .game-v7-final-badge { padding: 6px 10px; font-size: .72rem; }
  .game-v7-final h2 {
    margin-top: 10px;
    font-size: clamp(2.8rem, 4vw, 3.9rem);
  }
  .game-v7-final-config { margin-top: 8px; font-size: .8rem; line-height: 1.55; }
  .game-v7-subscription-note { margin-top: 5px; }
  .game-v7-offer-summary {
    margin-top: 13px;
    padding-top: 12px;
  }
  .game-v7-price strong {
    font-size: clamp(3.375rem, 4.5vw, 4.25rem);
    line-height: .86;
  }
  .game-v7-meta { margin-top: 13px; gap: 12px; }
  .game-v7-meta > div { padding-top: 7px; }
  .game-v7-meta span { margin-bottom: 4px; }
  .game-v7-meta strong { font-size: .75rem; line-height: 1.45; }
  .game-v7-order {
    min-height: 56px;
    margin-top: 13px;
    padding: 14px 18px !important;
    font-size: 1rem !important;
  }
  .game-v7-details { margin-top: 5px; }
  .game-v7-details > summary { padding: 7px 1px; }
  .game-v7-details-drawer { max-height: 280px; }
  .game-v7-art { transition-duration: .38s; }
}

/* FC27 storefront polish: shared product-V2 surfaces, with all state and platform styling kept inside the Game Hub. */
.game-hub-v7 .game-v7-question {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(var(--v7-accent-rgb), .3);
  border-radius: 999px;
  background: rgba(9, 14, 20, .68);
  color: #fff;
}
.game-hub-v7 .game-v7-question::before { margin-inline-end: 0; color: var(--v7-accent); }
.game-hub-v7 .game-v7-platforms { margin-top: 18px; }
.game-hub-v7 .game-v7-platform {
  border-color: rgba(255,255,255,.14);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(18, 25, 32, .88), rgba(8, 14, 21, .84));
  box-shadow: 0 12px 26px rgba(0,0,0,.12);
}
.game-hub-v7 .game-v7-platform[aria-selected="true"] {
  border-color: var(--v7-accent);
  background: linear-gradient(145deg, rgba(var(--v7-accent-rgb), .18), rgba(10, 20, 27, .92));
  box-shadow: 0 14px 30px rgba(0,0,0,.24), 0 0 0 1px rgba(var(--v7-accent-rgb), .18);
  transform: translateY(-2px);
}
.game-hub-v7 .game-v7-platform[aria-selected="true"] .game-v7-platform-mark {
  border-color: var(--v7-accent);
  background: rgba(var(--v7-accent-rgb), .14);
}
.game-hub-v7 .game-v7-choice {
  border-color: rgba(255,255,255,.14);
  border-radius: 14px;
  background-image: linear-gradient(0deg, rgba(3, 10, 16, .94), rgba(3, 10, 16, .12) 76%), var(--v7-card-art, none);
}
.game-hub-v7 .game-v7-choice[aria-pressed="true"] {
  border-color: var(--v7-accent);
  box-shadow: 0 16px 30px rgba(0,0,0,.28), 0 0 0 1px rgba(var(--v7-accent-rgb), .16);
}
.game-hub-v7 .game-v7-choice em { overflow: visible; text-overflow: clip; white-space: normal; }
.game-hub-v7 .game-v7-final {
  margin-top: 10px;
  padding: 20px 22px 14px;
  border: 1px solid rgba(var(--v7-accent-rgb), .24);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(16, 25, 31, .9), rgba(7, 14, 21, .88));
  box-shadow: 0 18px 40px rgba(0,0,0,.2);
}
.game-hub-v7 .game-v7-final h2 { margin-top: 10px; font-size: clamp(2rem, 3.4vw, 3.15rem); letter-spacing: -.055em; line-height: .98; }
.game-hub-v7 .game-v7-offer-summary { margin-top: 16px; padding-top: 13px; }
.game-hub-v7 .game-v7-price strong { font-size: clamp(2.1rem, 3.4vw, 2.85rem); letter-spacing: -.055em; }
.game-hub-v7 .game-v7-meta { margin-top: 13px; gap: 9px; }
.game-hub-v7 .game-v7-meta > div { padding: 9px 10px 0; border: 1px solid rgba(255,255,255,.09); border-radius: 10px; background: rgba(255,255,255,.035); }
.game-hub-v7 .game-v7-details { margin-top: 10px; }
.game-hub-v7 .game-v7-details-drawer { border-radius: 10px; scrollbar-color: rgba(var(--v7-accent-rgb), .55) rgba(0,0,0,.2); }
.game-hub-v7 .game-v7-details-drawer > section { padding: 10px 0; }

.game-hub-v7 ~ .order-dialog {
  width: min(calc(100% - 28px), 560px);
  max-height: min(88svh, 680px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 20px;
  background: #14141c;
  color: #fff;
  box-shadow: 0 34px 100px rgba(0,0,0,.55);
}
.game-hub-v7 ~ .order-dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(5px); }
.game-hub-v7 ~ .order-dialog .game-order-summary {
  display: grid;
  gap: 0;
  margin: 14px 0 16px;
  padding: 4px 13px;
  border: 1px solid rgba(var(--v7-accent-rgb), .34);
  border-radius: 13px;
  background: rgba(var(--v7-accent-rgb), .08);
}
.game-hub-v7 ~ .order-dialog .game-order-summary > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.game-hub-v7 ~ .order-dialog .game-order-summary > div:last-child { border-bottom: 0; }
.game-hub-v7 ~ .order-dialog .game-order-summary span { flex: 0 0 auto; color: #b9b9c4; font-size: .78rem; }
.game-hub-v7 ~ .order-dialog .game-order-summary strong { min-width: 0; color: #fff; font-size: .86rem; line-height: 1.45; text-align: left; overflow-wrap: anywhere; }
.game-hub-v7 ~ .order-dialog .game-order-summary [data-game-summary-order-price] { color: #ffb17e; white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
.game-hub-v7 ~ .order-dialog .game-order-summary > div[hidden] { display: none !important; }
.game-hub-v7 ~ .order-dialog .copy-fallback textarea {
  min-height: 150px;
  max-height: 220px;
  overflow: auto;
  direction: rtl;
  unicode-bidi: plaintext;
  text-align: right;
  color: #fff;
  background: #0d0d13;
  border-color: rgba(var(--v7-accent-rgb), .35);
  line-height: 1.75;
  scrollbar-color: rgba(var(--v7-accent-rgb), .55) #111118;
}
.game-hub-v7 ~ .order-dialog .copy-fallback textarea::selection { background: #f4772e; color: #160c05; }

@media (max-width: 759px) {
  .game-hub-v7 .game-v7-question { padding: 7px 11px; font-size: .9rem; }
  .game-hub-v7 .game-v7-platform { border-radius: 12px; background: linear-gradient(145deg, rgba(18, 25, 32, .86), rgba(8, 14, 21, .8)); }
  .game-hub-v7 .game-v7-platform[aria-selected="true"] { transform: translateY(-1px); }
  .game-hub-v7 .game-v7-choice { border-radius: 13px; }
  .game-hub-v7 .game-v7-final { margin-top: 7px; padding: 16px 15px 11px; border-radius: 15px; }
  .game-hub-v7 .game-v7-final h2 { font-size: clamp(1.9rem, 9.5vw, 2.55rem); }
  .game-hub-v7 .game-v7-meta > div { padding: 8px 8px 0; }
  .game-hub-v7 ~ .order-dialog { width: min(calc(100% - 20px), 560px); max-height: min(90svh, 700px); padding: 20px 16px; }
  .game-hub-v7 ~ .order-dialog .game-order-summary { margin-top: 12px; padding-inline: 11px; }
  .game-hub-v7 ~ .order-dialog .game-order-summary > div { gap: 10px; padding-block: 8px; }
  .game-hub-v7 ~ .order-dialog .game-order-summary strong { font-size: .82rem; }
  .game-hub-v7 ~ .order-dialog .copy-fallback textarea { min-height: 132px; max-height: 190px; }
}

@keyframes v7-content-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* V7.2 desktop visual blend: use one continuous hero image for the bleed and compensate its crop to keep the player fixed. */
@media (min-width: 1101px) {
  .game-v7-scene {
    position: relative;
    isolation: isolate;
    overflow: hidden;
  }
  .game-v7-visual {
    z-index: 0;
    overflow: visible;
  }
  .game-v7-art,
  .game-v7-visual-shade,
  .game-v7-visual-glow {
    width: calc(100% + clamp(160px, 14vw, 260px));
    max-width: none;
  }
  .game-v7-art {
    object-position: clamp(34%, calc(54.8% - 1.85vh), 40%) center;
  }
  .game-v7-visual-shade {
    background: linear-gradient(90deg, rgba(2, 10, 19, .06), rgba(2, 10, 19, .14) 45%, rgba(2, 10, 19, .3) 78%, rgba(2, 10, 19, .54)), linear-gradient(0deg, rgba(2, 10, 19, .64), transparent 38%, rgba(2, 10, 19, .1));
  }
  .game-v7-interface {
    z-index: 1;
    border-inline-start: 0;
    background: transparent;
  }
  .game-v7-interface-inner { z-index: 1; }
  .game-v7-interface::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(7, 20, 31, .08), rgba(3, 12, 22, .28) 62%, rgba(3, 12, 22, .64)), linear-gradient(90deg, rgba(7, 20, 31, .2) 0%, rgba(7, 20, 31, .32) 10%, rgba(7, 20, 31, .62) 20%, rgba(7, 20, 31, .94) 32%, #07141f 48%);
    content: '';
    pointer-events: none;
  }
}

/* Final supplied FC27 hero integration: one full-scene background, restrained right-side UI layer. */
@media (min-width: 1101px) {
  .game-v7-scene {
    position: relative;
    display: block;
    min-height: max(680px, calc(100vh - 122px));
    overflow: hidden;
    isolation: isolate;
    background: #06121e;
  }
  .game-v7-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #06121e;
  }
  .game-v7-art,
  .game-v7-visual-shade,
  .game-v7-visual-glow {
    width: 100%;
    max-width: 100%;
  }
  .game-v7-art {
    object-fit: cover;
    object-position: center center;
    transition: opacity .38s ease;
  }
  .game-v7-visual-shade {
    background: linear-gradient(90deg, rgba(2, 10, 19, .02), rgba(2, 10, 19, .06) 54%, rgba(2, 10, 19, .24)), linear-gradient(0deg, rgba(2, 10, 19, .34), transparent 45%, rgba(2, 10, 19, .05));
  }
  .game-v7-visual-glow {
    opacity: .12;
  }
  .game-v7-interface {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: visible;
    background: transparent;
    border-inline-start: 0;
    pointer-events: none;
  }
  .game-v7-interface::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(3, 12, 22, .04) 38%, rgba(3, 12, 22, .24) 62%, rgba(3, 12, 22, .58) 100%), linear-gradient(0deg, rgba(3, 12, 22, .22), transparent 52%);
    content: '';
    pointer-events: none;
  }
  .game-v7-interface-inner {
    position: absolute;
    inset: 0 0 0 auto;
    z-index: 1;
    width: min(100%, 720px);
    height: 100%;
    min-height: max(680px, calc(100vh - 122px));
    margin: 0;
    pointer-events: auto;
  }
}

/* Preserve the supplied hero grading: readability remains localized to the UI side. */
@media (min-width: 1101px) {
  .game-v7-visual-shade {
    background: linear-gradient(90deg, rgba(2, 10, 19, 0), rgba(2, 10, 19, .03) 54%, rgba(2, 10, 19, .12)), linear-gradient(0deg, rgba(2, 10, 19, .18), transparent 45%, rgba(2, 10, 19, .02));
  }
  .game-v7-visual-glow {
    background: none;
    opacity: 0;
    mix-blend-mode: normal;
  }
  .game-v7-interface::before { background: transparent !important; }
}

/* Mobile Game Hub composition. Kept phone-only so the approved desktop scene is untouched. */
@media (max-width: 759px) {
  .game-hub-v7 {
    --v7-mobile-bar-space: calc(82px + env(safe-area-inset-bottom));
    overflow: clip;
    background: #06121e;
  }

  .game-v7-scene {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    min-height: 0;
    overflow: hidden;
    isolation: isolate;
    background: #06121e;
  }

  .game-v7-scene::after {
    display: none;
  }

  .game-v7-visual {
    position: relative;
    grid-area: 1 / 1;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: calc(100vw * 1672 / 941);
    min-height: 0;
    overflow: hidden;
    background: #06121e;
  }

  .game-v7-art {
    object-position: top center;
    transition: opacity .38s ease;
  }

  .game-v7-visual-shade {
    background: linear-gradient(180deg, rgba(2, 10, 19, .08) 0%, rgba(2, 10, 19, .17) 24%, rgba(2, 10, 19, .58) 57%, rgba(2, 10, 19, .91) 100%), linear-gradient(90deg, rgba(2, 10, 19, .02), rgba(2, 10, 19, .3));
  }

  .game-v7-visual-glow {
    background: none;
    opacity: 0;
    mix-blend-mode: normal;
  }

  .game-v7-interface {
    position: relative;
    grid-area: 1 / 1;
    z-index: 2;
    min-height: 0;
    overflow: visible;
    border-inline-start: 0;
    background: transparent;
  }

  .storefront-body:has(.game-hub-v7) .site-footer {
    margin-top: 0;
  }

  .game-v7-interface::before {
    display: none;
  }

  .game-v7-interface::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(3, 12, 22, 0), rgba(3, 12, 22, .1) 34%, rgba(3, 12, 22, .48) 100%), linear-gradient(180deg, transparent 0%, transparent 22%, rgba(3, 12, 22, .16) 38%, rgba(3, 12, 22, .48) 64%, rgba(3, 12, 22, .78) 100%);
    content: '';
    pointer-events: none;
  }

  .game-v7-interface-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 16px 14px 24px 30px;
  }

  .game-v7-machine {
    flex: 0 0 auto;
  }

  .game-hub-v7[data-v7-sticky-visible="true"] .game-v7-interface-inner {
    padding-bottom: calc(24px + var(--v7-mobile-bar-space));
  }

  .game-v7-topnav {
    min-height: 44px;
    gap: 6px;
    font-size: .72rem;
  }

  .game-v7-topnav a {
    min-height: 44px;
    gap: 6px;
  }

  .game-v7-topnav > span {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    color: rgba(145, 245, 226, .92);
    font-size: .57rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .game-v7-topnav i {
    display: inline;
    margin-inline-start: 4px;
    font-size: .46rem;
    letter-spacing: .06em;
  }

  .game-v7-heading,
  .game-hub-v7[data-scene-state="platform"] .game-v7-heading,
  .game-hub-v7[data-scene-state="final"] .game-v7-heading {
    margin-top: 14px;
  }

  .game-hub-v7[data-scene-state="platform"] .game-v7-heading {
    margin-top: clamp(56px, 8vh, 78px);
  }

  .game-hub-v7[data-scene-state="services"] .game-v7-heading,
  .game-hub-v7[data-scene-state="activation"] .game-v7-heading {
    margin-top: clamp(34px, 5vh, 52px);
  }

  .game-v7-overline {
    margin-bottom: 6px;
    font-size: .61rem;
    letter-spacing: .16em;
  }

  .game-v7-heading h1 {
    font-size: clamp(34px, 9.4vw, 38px);
    letter-spacing: -.07em;
    line-height: .98;
  }

  .game-v7-context {
    min-height: 18px;
    margin-top: 6px;
    font-size: .76rem;
  }

  .game-v7-question {
    margin-top: 10px;
    font-size: .96rem;
  }

  .game-v7-platforms,
  .game-v7-choice-grid {
    width: 100%;
    gap: 10px;
    margin-inline: 0;
  }

  .game-v7-platforms {
    grid-template-columns: 1fr;
    margin-top: 12px;
  }

  .game-v7-platform {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    grid-template-areas: 'mark name hint';
    align-items: center;
    min-height: 72px;
    gap: 10px;
    padding: 11px 13px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(12, 39, 51, .9), rgba(4, 19, 30, .88));
  }

  .game-v7-platform:hover,
  .game-v7-platform:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, .25), 0 0 20px rgba(var(--v7-accent-rgb), .08);
  }

  .game-v7-platform-mark {
    grid-area: mark;
    width: 44px;
    height: 44px;
  }

  .game-v7-platform-mark img { width: 28px; height: 28px; }
  .game-v7-platform-mark .featured-game-pc-mark { font-size: .76rem; }
  .game-v7-platform strong { grid-area: name; font-size: 1.05rem; }
  .game-v7-platform small { grid-area: hint; font-size: .66rem; text-align: end; }

  .game-v7-machine {
    flex: none;
    min-height: 0;
    animation: v7-content-in .28s ease both;
  }

  .game-v7-flow-nav {
    min-height: 44px;
    margin-top: 2px;
  }

  .game-v7-back {
    min-height: 40px;
    padding: 5px 0;
    font-size: .82rem;
    line-height: 1;
  }

  .game-v7-panel {
    margin-top: 2px;
    animation: v7-content-in .28s ease both;
  }

  .game-v7-choice-grid {
    --v7-edition-card-width: clamp(290px, calc(100vw - 70px), 320px);
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    overflow-x: auto;
    padding: 2px max(12px, calc((100% - var(--v7-edition-card-width)) / 2)) 8px;
    scroll-padding-inline: max(12px, calc((100% - var(--v7-edition-card-width)) / 2));
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .game-v7-choice-grid::-webkit-scrollbar { display: none; }

  .game-v7-carousel-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 12px;
    margin: 3px 0 2px;
  }

  .game-v7-carousel-indicator {
    width: 20px;
    height: 3px;
    border-radius: 999px;
    background: rgba(214, 232, 229, .25);
    transition: width .2s ease, background-color .2s ease;
  }

  .game-v7-carousel-indicator.is-active {
    width: 27px;
    background: var(--v7-accent);
  }

  .game-v7-choice.is-v7-peek > * {
    visibility: hidden;
    opacity: 0;
  }

  .game-v7-choice.is-v7-peek::after {
    opacity: 0;
  }

  .game-v7-choice.is-service.is-v7-peek > .game-v7-service-art {
    visibility: visible;
    opacity: 1;
  }

  .game-v7-choice-grid[data-v7-layout="services"],
  .game-v7-choice-grid[data-v7-layout="activation"] {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    padding: 2px 0 6px;
  }

  .game-v7-choice {
    flex: 0 0 var(--v7-edition-card-width);
    min-height: 92px;
    aspect-ratio: auto;
    padding: 17px;
    border-radius: 8px;
    scroll-snap-align: center;
    background-image: linear-gradient(0deg, rgba(2, 11, 19, .88), rgba(2, 11, 19, .08) 70%), var(--v7-card-art, none);
  }

  .game-v7-choice:hover,
  .game-v7-choice:focus-visible,
  .game-v7-choice[aria-pressed="true"] {
    transform: translateY(-2px);
    box-shadow: 0 14px 27px rgba(0, 0, 0, .25), 0 0 20px rgba(var(--v7-accent-rgb), .08);
  }

  .game-v7-choice.is-mobile-edition-cover[aria-pressed="true"] {
    transform: translateY(-2px) scale(1.01);
    border-color: rgba(var(--v7-accent-rgb), .72);
    box-shadow: 0 14px 27px rgba(0, 0, 0, .28);
  }

  .game-v7-choice strong { font-size: 1.13rem; }
  .game-v7-choice small { margin-top: 6px; font-size: .8rem; }
  .game-v7-choice em { margin-top: 6px; font-size: .7rem; }
  .game-v7-choice-badge { top: 13px; inset-inline-end: 13px; }

  .game-v7-choice.is-mobile-edition-cover {
    min-height: 0;
    aspect-ratio: 2 / 3;
  }

  .game-v7-choice.is-mobile-edition-cover[data-v7-art="standard"] { --v7-card-art: url('/assets/images/games/ea-sports-fc-27-standard-mobile.webp'); }
  .game-v7-choice.is-mobile-edition-cover[data-v7-art="ultimate"] { --v7-card-art: url('/assets/images/games/ea-sports-fc-27-ultimate-mobile.webp'); }
  .game-v7-choice.is-mobile-edition-cover[data-v7-art="ultimate-plus"] { --v7-card-art: url('/assets/images/games/ea-sports-fc-27-ultimate-plus-mobile.webp'); }

  .game-v7-choice-grid[data-v7-layout="services"] .game-v7-choice,
  .game-v7-choice-grid[data-v7-layout="activation"] .game-v7-choice {
    width: 100%;
    min-height: 92px;
    padding: 15px 16px;
    justify-content: center;
  }

  .game-v7-choice-grid[data-v7-layout="services"] .game-v7-choice strong,
  .game-v7-choice-grid[data-v7-layout="activation"] .game-v7-choice strong {
    font-size: 1.08rem;
  }

  .game-v7-choice-grid[data-v7-layout="services"] .game-v7-choice small,
  .game-v7-choice-grid[data-v7-layout="activation"] .game-v7-choice small {
    margin-top: 3px;
  }

  .game-v7-choice-grid[data-v7-layout="services"] .game-v7-choice em,
  .game-v7-choice-grid[data-v7-layout="activation"] .game-v7-choice em {
    margin-top: 4px;
  }

  .game-v7-choice-grid[data-v7-layout="services"] {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2px max(12px, calc((100% - var(--v7-edition-card-width)) / 2)) 8px;
    scroll-padding-inline: max(12px, calc((100% - var(--v7-edition-card-width)) / 2));
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .game-v7-choice-grid[data-v7-layout="services"]::-webkit-scrollbar { display: none; }

  .game-v7-choice-grid[data-v7-layout="services"] .game-v7-choice {
    width: auto;
    flex: 0 0 var(--v7-edition-card-width);
    min-height: 0;
    aspect-ratio: 2 / 3;
    justify-content: flex-end;
  }

  .game-v7-library {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 10px;
    padding: 11px 12px;
  }

  .game-v7-library-items { gap: 5px; }

  .game-v7-final {
    width: 100%;
    margin: 5px 0 0;
  }

  .game-v7-final-badge {
    padding: 6px 10px;
    font-size: .7rem;
  }

  .game-v7-final h2 {
    margin-top: 8px;
    font-size: clamp(2rem, 10vw, 2.7rem);
    line-height: .96;
  }

  .game-v7-choice .is-price,
  .game-v7-price strong,
  .game-mobile-order-bar strong,
  [data-game-summary-price] {
    direction: ltr;
    unicode-bidi: isolate;
  }

  .game-v7-final-config {
    margin-top: 7px;
    font-size: .78rem;
    line-height: 1.55;
  }

  .game-v7-subscription-note {
    margin-top: 6px;
    font-size: .72rem;
  }

  .game-v7-offer-summary {
    margin-top: 12px;
    padding-top: 11px;
  }

  .game-v7-price {
    align-items: end;
  }

  .game-v7-price span { font-size: .7rem; }

  .game-v7-price strong {
    font-size: clamp(2.8rem, 14vw, 3.6rem);
    letter-spacing: -.07em;
  }

  .game-v7-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px 12px;
    margin-top: 12px;
  }

  .game-v7-meta > div { padding-top: 8px; }
  .game-v7-meta span { margin-bottom: 4px; font-size: .64rem; }
  .game-v7-meta strong { font-size: .75rem; line-height: 1.45; }

  .game-v7-order {
    min-height: 54px;
    margin-top: 12px;
    padding: 13px 16px !important;
    font-size: .98rem !important;
  }

  .game-v7-details {
    margin-top: 4px;
    padding-bottom: 0;
  }

  .game-v7-details > summary {
    min-height: 44px;
    padding: 9px 1px;
    font-size: .8rem;
  }

  .game-v7-details-drawer {
    max-height: none;
    overflow: visible;
    padding: 1px 13px 5px;
    background: rgba(5, 25, 34, .64);
  }

  .game-v7-details-drawer > section { padding: 11px 0; }
  .game-v7-details-drawer h3 { font-size: .74rem; }
  .game-v7-details-drawer p,
  .game-v7-details-drawer li { font-size: .72rem; line-height: 1.6; }

  .game-v7-noscript {
    width: auto;
    margin: 16px 14px;
  }

  .game-mobile-order-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, .15);
    background: rgba(13, 13, 18, .96);
    box-shadow: 0 -14px 36px rgba(0, 0, 0, .28);
    backdrop-filter: blur(14px);
    transform: translateY(110%);
    visibility: hidden;
    opacity: 0;
    transition: transform .25s ease, visibility .25s ease, opacity .25s ease;
    padding: 10px 14px max(10px, env(safe-area-inset-bottom));
  }

  .game-mobile-order-bar.is-visible {
    transform: none;
    visibility: visible;
    opacity: 1;
  }

  .game-mobile-order-bar strong { font-size: 1.08rem; }
  .game-mobile-order-bar .button { min-width: 132px; min-height: 48px; }

  .order-dialog {
    box-sizing: border-box;
    width: min(calc(100vw - 24px), 560px);
    max-height: min(88svh, 680px);
    overflow: auto;
  }
}

@media (max-width: 379px) {
  .game-v7-interface-inner { padding-inline: 12px 26px; }
  .game-v7-topnav > span { font-size: .5rem; }
  .game-v7-topnav i { font-size: .4rem; }
  .game-v7-platform { grid-template-columns: 44px minmax(0, 1fr); }
  .game-v7-platform small { display: none; }
}

/* PC inner selection cards: keep service covers unchanged and use the edition/offer cover system below them. */
.game-hub-v7[data-active-platform="pc"][data-active-service="EA Play Pro"] .game-v7-choice.is-pc-inner-cover {
  --v7-card-art: url('/assets/images/games/ea-play-pro.png');
}

@media (min-width: 760px) {
  .game-hub-v7[data-active-platform="pc"][data-scene-state="editions"] .game-v7-choice-grid {
    grid-template-columns: repeat(2, minmax(0, clamp(160px, 14vw, 208px)));
    justify-content: center;
    gap: 14px;
  }

  .game-hub-v7[data-active-platform="pc"][data-scene-state="editions"] .game-v7-choice.is-pc-inner-cover {
    min-height: 0;
    aspect-ratio: 5 / 6;
    padding: 18px;
  }
}

/* V7.3 storefront polish: keep the Game Hub stateful flow, but bring its surfaces and order handoff in line with product V2. */
.game-hub-v7 .game-v7-question {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin-bottom: 0;
  padding: 8px 12px;
  border: 1px solid rgba(var(--v7-accent-rgb), .3);
  border-radius: 999px;
  background: rgba(10, 16, 22, .62);
  color: #fff;
}
.game-hub-v7 .game-v7-question::before { margin-inline-end: 0; color: var(--v7-accent); }
.game-hub-v7 .game-v7-platforms { margin-top: 18px; }
.game-hub-v7 .game-v7-platform {
  border-color: rgba(255,255,255,.14);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(18, 25, 32, .88), rgba(8, 14, 21, .84));
  box-shadow: 0 12px 26px rgba(0,0,0,.12);
}
.game-hub-v7 .game-v7-platform[aria-selected="true"] {
  border-color: var(--v7-accent);
  background: linear-gradient(145deg, rgba(var(--v7-accent-rgb), .18), rgba(10, 20, 27, .92));
  box-shadow: 0 14px 30px rgba(0,0,0,.24), 0 0 0 1px rgba(var(--v7-accent-rgb), .18);
  transform: translateY(-2px);
}
.game-hub-v7 .game-v7-platform[aria-selected="true"] .game-v7-platform-mark {
  border-color: var(--v7-accent);
  background: rgba(var(--v7-accent-rgb), .14);
}
.game-hub-v7 .game-v7-choice {
  border-color: rgba(255,255,255,.14);
  border-radius: 14px;
  background-image: linear-gradient(0deg, rgba(3, 10, 16, .94), rgba(3, 10, 16, .12) 76%), var(--v7-card-art, none);
}
.game-hub-v7 .game-v7-choice[aria-pressed="true"] {
  border-color: var(--v7-accent);
  box-shadow: 0 16px 30px rgba(0,0,0,.28), 0 0 0 1px rgba(var(--v7-accent-rgb), .16);
}
.game-hub-v7 .game-v7-choice em { overflow: visible; text-overflow: clip; white-space: normal; }
.game-hub-v7 .game-v7-final {
  margin-top: 10px;
  padding: 20px 22px 14px;
  border: 1px solid rgba(var(--v7-accent-rgb), .24);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(16, 25, 31, .9), rgba(7, 14, 21, .88));
  box-shadow: 0 18px 40px rgba(0,0,0,.2);
}
.game-hub-v7 .game-v7-final h2 { margin-top: 10px; font-size: clamp(2rem, 3.4vw, 3.15rem); letter-spacing: -.055em; line-height: .98; }
.game-hub-v7 .game-v7-offer-summary { margin-top: 16px; padding-top: 13px; }
.game-hub-v7 .game-v7-price strong { font-size: clamp(2.1rem, 3.4vw, 2.85rem); letter-spacing: -.055em; }
.game-hub-v7 .game-v7-meta { margin-top: 13px; gap: 9px; }
.game-hub-v7 .game-v7-meta > div { padding: 9px 10px 0; border: 1px solid rgba(255,255,255,.09); border-radius: 10px; background: rgba(255,255,255,.035); }
.game-hub-v7 .game-v7-details { margin-top: 10px; }
.game-hub-v7 .game-v7-details-drawer { border-radius: 10px; scrollbar-color: rgba(var(--v7-accent-rgb), .55) rgba(0,0,0,.2); }
.game-hub-v7 .game-v7-details-drawer > section { padding: 10px 0; }

.game-hub-v7 ~ .order-dialog {
  width: min(calc(100% - 28px), 560px);
  max-height: min(88svh, 680px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 20px;
  background: #14141c;
  color: #fff;
  box-shadow: 0 34px 100px rgba(0,0,0,.55);
}
.game-hub-v7 ~ .order-dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(5px); }
.game-hub-v7 ~ .order-dialog .game-order-summary {
  display: grid;
  gap: 0;
  margin: 14px 0 16px;
  padding: 4px 13px;
  border: 1px solid rgba(var(--v7-accent-rgb), .34);
  border-radius: 13px;
  background: rgba(var(--v7-accent-rgb), .08);
}
.game-hub-v7 ~ .order-dialog .game-order-summary > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.game-hub-v7 ~ .order-dialog .game-order-summary > div:last-child { border-bottom: 0; }
.game-hub-v7 ~ .order-dialog .game-order-summary span { flex: 0 0 auto; color: #b9b9c4; font-size: .78rem; }
.game-hub-v7 ~ .order-dialog .game-order-summary strong { min-width: 0; color: #fff; font-size: .86rem; line-height: 1.45; text-align: left; overflow-wrap: anywhere; }
.game-hub-v7 ~ .order-dialog .game-order-summary [data-game-summary-order-price] { color: #ffb17e; white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
.game-hub-v7 ~ .order-dialog .copy-fallback textarea {
  min-height: 150px;
  max-height: 220px;
  overflow: auto;
  direction: rtl;
  unicode-bidi: plaintext;
  text-align: right;
  color: #fff;
  background: #0d0d13;
  border-color: rgba(var(--v7-accent-rgb), .35);
  line-height: 1.75;
  scrollbar-color: rgba(var(--v7-accent-rgb), .55) #111118;
}
.game-hub-v7 ~ .order-dialog .copy-fallback textarea::selection { background: #f4772e; color: #160c05; }

@media (max-width: 759px) {
  .game-hub-v7 .game-v7-question { padding: 7px 11px; font-size: .9rem; }
  .game-hub-v7 .game-v7-platform { border-radius: 12px; background: linear-gradient(145deg, rgba(18, 25, 32, .86), rgba(8, 14, 21, .8)); }
  .game-hub-v7 .game-v7-platform[aria-selected="true"] { transform: translateY(-1px); }
  .game-hub-v7 .game-v7-choice { border-radius: 13px; }
  .game-hub-v7 .game-v7-final { margin-top: 7px; padding: 16px 15px 11px; border-radius: 15px; }
  .game-hub-v7 .game-v7-final h2 { font-size: clamp(1.9rem, 9.5vw, 2.55rem); }
  .game-hub-v7 .game-v7-meta > div { padding: 8px 8px 0; }
  .game-hub-v7 ~ .order-dialog { width: min(calc(100% - 20px), 560px); max-height: min(90svh, 700px); padding: 20px 16px; }
  .game-hub-v7 ~ .order-dialog .game-order-summary { margin-top: 12px; padding-inline: 11px; }
  .game-hub-v7 ~ .order-dialog .game-order-summary > div { gap: 10px; padding-block: 8px; }
  .game-hub-v7 ~ .order-dialog .game-order-summary strong { font-size: .82rem; }
  .game-hub-v7 ~ .order-dialog .copy-fallback textarea { min-height: 132px; max-height: 190px; }
}

@media (max-width: 759px) {
  .game-v7-choice.is-pc-inner-cover {
    min-height: 0;
    aspect-ratio: 2 / 3;
  }

  .game-v7-choice.is-pc-inner-cover[data-v7-art="standard"] {
    --v7-card-art: url('/assets/images/games/ea-sports-fc-27-standard-mobile.webp');
  }

  .game-v7-choice.is-pc-inner-cover[data-v7-art="ultimate"] {
    --v7-card-art: url('/assets/images/games/ea-sports-fc-27-ultimate-mobile.webp');
  }
}

/* Desktop edition-card scale and interaction-stage balance. Mobile remains unchanged. */
@media (min-width: 1101px) {
  .game-v7-interface-inner {
    inset: 0 clamp(78px, 7.5vw, 150px) 0 auto;
    width: min(100%, 820px);
  }

  .game-v7-choice-grid[data-v7-count="3"]:not([data-v7-layout]) {
    width: min(100%, 760px);
    gap: 18px;
  }

  .game-v7-choice-grid[data-v7-count="2"]:not([data-v7-layout]) {
    width: min(100%, 538px);
    grid-template-columns: repeat(2, minmax(220px, 260px));
    justify-content: center;
    gap: 18px;
  }

  .game-hub-v7[data-active-platform="pc"][data-scene-state="editions"] .game-v7-choice-grid {
    width: min(100%, 538px);
    grid-template-columns: repeat(2, minmax(220px, 260px));
    justify-content: center;
    gap: 18px;
  }

  .game-v7-choice-grid[data-v7-count="3"]:not([data-v7-layout]) .game-v7-choice.is-edition,
  .game-v7-choice-grid[data-v7-count="2"]:not([data-v7-layout]) .game-v7-choice.is-edition {
    min-height: 0;
    aspect-ratio: 5 / 6;
    background-position: center top;
  }
}
