/* Game sheets only. Shared navigation, archives, hubs and game cards stay intact. */
.mev2-game-page { --mev2-game-gutter: 24px; container-type: inline-size; width: 100%; padding: 0 24px 52px; background: var(--mev2-canvas); color: var(--mev2-text); font-family: var(--mev2-font); }
.mev2-game-page *, .mev2-game-page *::before, .mev2-game-page *::after { box-sizing: border-box; }
.mev2-game-page [hidden] { display: none !important; }
.mev2-game-page :is(h1,h2,h3,p,a,span,strong,dt,dd,button) { font-family: var(--mev2-font) !important; }
.mev2-game-page :is(h1,h2,h3,strong) { color: var(--mev2-text); }
.mev2-game-page a { color: inherit; text-decoration: none; }
.mev2-game-page a:hover, .mev2-game-page a:focus-visible { color: var(--mev2-accent); }
.mev2-game-page :is(a,button):focus-visible { outline: 2px solid var(--mev2-accent); outline-offset: 4px; }
.mev2-game-page button { appearance: none; -webkit-appearance: none; cursor: pointer; }
.mev2-game-shell { width: min(1360px, 100%); margin: 0 auto; }
.mev2-game-page .mev2-game-hero { position: relative; isolation: isolate; border: 0; border-radius: 0 !important; background: transparent; margin-bottom: 22px; }
.mev2-game-hero__visual { position: absolute; z-index: -1; inset: 0 auto 0 50%; width: calc(100cqw + 2 * var(--mev2-game-gutter)); max-width: none; height: 100%; transform: translateX(-50%); overflow: hidden; pointer-events: none; background: #0d0e12; }
.mev2-game-hero__visual img { position: absolute; display: block; max-width: none; max-height: none; margin: 0; border: 0; border-radius: 0; }
.mev2-game-hero__visual .mev2-game-hero__backdrop { z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; filter: blur(10px) brightness(.6); transform: scale(1.06); }
.mev2-game-hero__visual .mev2-game-hero__artwork { z-index: 1; top: 0; right: 6%; width: auto; height: 100%; object-fit: contain; filter: brightness(.9); -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); }
.mev2-game-hero__scanlines, .mev2-game-hero__veil { position: absolute; inset: 0; }
.mev2-game-hero__scanlines { z-index: 2; background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0,0,0,.2) 3px 4px); opacity: .4; }
.mev2-game-hero__veil { z-index: 3; background: linear-gradient(0deg, var(--mev2-canvas), transparent 20px), linear-gradient(0deg, rgba(0,0,0,.95), transparent 34%), linear-gradient(90deg, rgba(0,0,0,.7), rgba(0,0,0,.48) 48%, rgba(0,0,0,.12) 80%), linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.2)); }
.has-no-artwork .mev2-game-hero__visual > img, .has-no-artwork .mev2-game-hero__scanlines { display: none; }
.mev2-game-hero__body { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 30px; align-items: end; min-height: 310px; padding: 20px 0; }
.has-no-cover .mev2-game-hero__body { grid-template-columns: minmax(0,1fr); min-height: 280px; }
.has-no-cover.has-no-artwork .mev2-game-hero__body { min-height: 0; padding-top: 28px; padding-bottom: 20px; }
.mev2-game-hero__boxart { display: flex; align-items: flex-end; justify-content: flex-start; min-width: 0; max-width: 190px; }
.mev2-game-hero__boxart img { display: block; width: auto; height: auto; max-width: 100%; max-height: 276px; object-fit: contain; border-radius: var(--mev2-radius-xs); filter: drop-shadow(0 8px 16px rgba(0,0,0,.24)); }
.mev2-game-hero__content { min-width: 0; padding-bottom: 4px; }
.mev2-game-page .mev2-game-back { display: inline-block; margin-bottom: 14px; color: rgba(255,255,255,.72); font-size: 13px; }
.mev2-game-page .mev2-game-back:hover, .mev2-game-page .mev2-game-back:focus-visible { color: var(--mev2-accent); }
.mev2-game-page .mev2-game-hero h1 { margin: 0 0 12px !important; color: #fff !important; font-size: clamp(30px,3.5vw,44px) !important; font-weight: 850; line-height: 1.06; letter-spacing: -.04em; overflow-wrap: anywhere; }
.mev2-game-hero__meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; color: rgba(255,255,255,.85); font-size: 15px; }
.mev2-game-hero__meta > * + *::before { content: '·'; margin-right: 14px; opacity: .5; }
.mev2-game-taxonomies { display: flex; gap: 7px; flex-wrap: wrap; min-width: 0; }
.mev2-game-taxonomies:empty { display: none; }
.mev2-game-hero .mev2-game-taxonomies { margin-top: 16px; }
.mev2-game-taxonomies > :is(a,span) { display: inline-flex; align-items: center; padding: 7px 12px; border: 1px solid var(--mev2-border); border-radius: var(--mev2-radius-pill); background: var(--mev2-surface-alt); color: var(--mev2-text-secondary); font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; max-width: 100%; }
.mev2-game-taxonomies > a:hover { border-color: var(--mev2-accent-border); color: var(--mev2-accent); }
.mev2-game-block { margin: 0 0 30px; min-width: 0; }
.mev2-game-page h2 { margin: 0 0 16px; font-size: clamp(20px,2vw,25px); font-weight: 800; line-height: 1.25; letter-spacing: -.025em; }
.mev2-game-page h2::after { content: ''; display: block; width: 30px; height: 2px; margin-top: 8px; background: var(--mev2-accent); }
.mev2-game-page h3 { margin: 0 0 8px; font-size: 14px; font-weight: 750; line-height: 1.4; }
.mev2-game-summary { padding: 0; border: 0; background: transparent; }
.mev2-game-summary__text { max-width: 1000px; font-size: clamp(16px,1.25vw,18px); line-height: 1.65; color: var(--mev2-text-secondary); }
.mev2-game-summary__text + .mev2-game-summary__text { margin-top: 12px; }
.mev2-game-summary__text p { margin: 0 0 10px; color: inherit; }
.mev2-game-summary__text p:last-child { margin-bottom: 0; }
.mev2-game-profile { display: flex; flex-wrap: wrap; gap: 18px 0; margin: 22px 0 0; padding-bottom: 8px; }
.mev2-game-profile > div { min-width: 145px; padding: 0 28px; border-left: 1px solid var(--mev2-border); }
.mev2-game-profile > div:first-child { padding-left: 0; border-left: 0; }
.mev2-game-profile dt { color: var(--mev2-muted); font-size: 12px; line-height: 1.4; }
.mev2-game-profile dd { margin: 5px 0 0; color: var(--mev2-text); font-size: 17px; font-weight: 750; }
.mev2-game-section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.mev2-game-section-heading h2 { margin-bottom: 0; }
.mev2-game-page .mev2-game-text-button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 7px 12px; background: transparent; border: 1px solid var(--mev2-border); border-radius: var(--mev2-radius-pill); color: var(--mev2-text-secondary); font-size: 12px; line-height: 1.4; text-decoration: none; }
.mev2-game-page .mev2-game-text-button:hover { color: var(--mev2-accent); border-color: var(--mev2-accent-border); }
.mev2-game-media { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,180px),1fr)); gap: 10px; }
.mev2-game-media__item { display: block; min-width: 0; overflow: hidden; background: var(--mev2-surface-alt); border: 1px solid var(--mev2-border); border-radius: var(--mev2-radius-sm); cursor: zoom-in; }
.mev2-game-media__item { aspect-ratio: var(--mev2-screen-ratio); }
.mev2-game-media.is-mosaic { grid-template-columns: repeat(var(--mev2-gallery-cols),minmax(0,1fr)); grid-auto-rows: var(--mev2-gallery-row-height); }
.mev2-game-media.is-mosaic .mev2-game-media__item { aspect-ratio: auto; }
.mev2-game-media.is-mosaic .mev2-game-media__item:first-child { grid-column: span 2; grid-row: span 2; }
.mev2-game-media.is-justified { display: flex; flex-wrap: wrap; }
.mev2-game-media.is-justified .mev2-game-media__item { flex: 0 0 var(--mev2-tile-width); }
.mev2-game-media.is-single { max-width: 640px; }
.mev2-game-media__item img { display: block; width: 100%; height: 100%; object-fit: contain; }
.has-gallery-js .mev2-game-media:not(.is-expanded) .mev2-game-media__item:nth-child(n+8) { display: none; }
.mev2-game-related-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.mev2-game-related-item { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 16px; border: 1px solid var(--mev2-border); border-radius: var(--mev2-radius-sm); background: var(--mev2-surface); }
.mev2-game-related-item:hover { border-color: var(--mev2-accent-border); }
.mev2-game-series-cover { display: flex; align-items: center; justify-content: center; width: 100%; height: clamp(140px,13vw,190px); }
.mev2-game-series-cover img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--mev2-radius-xs); }
.mev2-game-related-item > span { min-width: 0; }
.mev2-game-related-item > span:last-child { margin-top: auto; }
.mev2-game-related-item strong { display: block; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.mev2-game-related-item small { display: block; margin-top: 4px; color: var(--mev2-muted); font-size: 12px; }
.mev2-game-related-item.has-no-cover { justify-content: center; }
.mev2-game-related-item.has-no-cover > span:last-child { margin-top: 0; }
.mev2-game-page .mev2-game-discovery-grid { gap: 16px; }
.mev2-game-page .mev2-game-discovery-card { min-width: 0; }
.mev2-game-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(270px,300px); align-items: start; gap: 32px; margin-bottom: 30px; }
.mev2-game-main, .mev2-game-aside { min-width: 0; }
.mev2-game-aside { display: grid; align-items: start; gap: 20px; }
.mev2-game-prose, .mev2-game-fit { color: var(--mev2-text-secondary); font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
.mev2-game-prose :is(p,ul,ol,blockquote) { margin: 0 0 14px; color: inherit; }
.mev2-game-prose > :last-child { margin-bottom: 0; }
.mev2-game-prose a { text-decoration: underline; text-underline-offset: 3px; }
.mev2-game-fit { display: grid; gap: 22px; }
.mev2-game-fit ul { margin: 0; padding-left: 18px; }
.mev2-game-fit li + li { margin-top: 6px; }
.mev2-game-panel { min-width: 0; padding: 20px; border: 1px solid var(--mev2-border); border-radius: var(--mev2-radius-sm); background: var(--mev2-surface); }
.mev2-game-panel h2 { font-size: 20px; }
.mev2-game-panel .mev2-game-prose { font-size: 13px; }
.mev2-game-play-solution { padding: 13px 0; border-top: 1px solid var(--mev2-border); margin-top: 12px; }
.mev2-game-play-solution:last-child { padding-bottom: 0; }
.mev2-game-play-solution small { display: block; color: var(--mev2-muted); margin: 4px 0; }
.mev2-game-play-solution p { margin: 7px 0; font-size: 13px; line-height: 1.5; color: var(--mev2-text-secondary); }
.mev2-game-play-solution a { display: block; padding: 8px 0 0; font-size: 13px; color: var(--mev2-accent); }
.mev2-game-affiliate-note { margin: 12px 0 0; font-size: 11px; color: var(--mev2-muted); line-height: 1.5; }
.mev2-game-info dl { margin: 0; }
.mev2-game-info dl > div { display: grid; grid-template-columns: minmax(80px,.8fr) minmax(0,1.2fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--mev2-border); font-size: 12px; line-height: 1.5; }
.mev2-game-info dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.mev2-game-info dt { color: var(--mev2-muted); }
.mev2-game-info dd { margin: 0; color: var(--mev2-text); overflow-wrap: anywhere; }
.mev2-game-page .mev2-game-layout--details-only, .mev2-game-page .mev2-game-layout--no-aside { grid-template-columns: minmax(0,1fr); }
.mev2-game-layout--details-only .mev2-game-aside { grid-template-columns: repeat(auto-fit,minmax(min(100%,330px),1fr)); }
.mev2-game-layout--details-only .mev2-game-info dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 26px; }
.mev2-game-universe { position: relative; isolation: isolate; padding: 4px 0; }
.mev2-game-universe-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.mev2-game-context-card { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 16px; border: 1px solid var(--mev2-border); border-radius: var(--mev2-radius-sm); background: var(--mev2-surface); }
.mev2-game-context-card:hover { border-color: var(--mev2-accent-border); }
.mev2-game-context-card > img { width: 32px; height: 32px; object-fit: contain; flex: 0 0 32px; }
.mev2-game-context-card > span { min-width: 0; }
.mev2-game-context-card small { display: block; color: var(--mev2-muted); font-size: 11px; line-height: 1.4; }
.mev2-game-context-card strong { display: block; font-size: 14px; line-height: 1.4; margin: 4px 0; overflow-wrap: anywhere; }
.mev2-game-context-card > .mev2-game-context-chevron { margin-left: auto; color: var(--mev2-muted); font-size: 20px; }
.mev2-game-context-count { color: var(--mev2-muted); font-size: 11px; }
@media (min-width: 901px) {
    .mev2-game-universe::before { content: ''; position: absolute; z-index: -1; inset: -35px 8px -20px auto; width: min(34%,280px); background: url('../images/ectore-officiel-detoure.png') center / contain no-repeat; opacity: .055; pointer-events: none; }
}
.mev2-lightbox:not([open]) { display: none; }
.mev2-game-page .mev2-lightbox[open] { display: grid; place-items: center; position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none; margin: 0; padding: 64px 70px; border: 0; border-radius: 0; background: rgba(0,0,0,.96); color: #fff; z-index: 20000; }
.mev2-lightbox::backdrop { background: rgba(0,0,0,.9); }
.mev2-lightbox figure { display: grid; justify-items: center; gap: 12px; margin: 0; max-width: 100%; max-height: 100%; }
.mev2-lightbox figure img { display: block; max-width: min(1200px,100%); max-height: calc(100dvh - 170px); object-fit: contain; }
.mev2-lightbox figcaption { font-size: 13px; color: rgba(255,255,255,.75); }
.mev2-lightbox button { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.24); border-radius: var(--mev2-radius-pill); background: #24252d; color: #fff; font-size: 28px; }
.mev2-lightbox__close { right: 18px; top: 16px; }
.mev2-lightbox__prev { left: 14px; top: 50%; }
.mev2-lightbox__next { right: 14px; top: 50%; }
.mev2-lightbox-open { overflow: hidden; }
@media (max-width: 1180px) { .mev2-game-related-grid, .mev2-game-universe-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .mev2-game-layout { gap: 22px; grid-template-columns: minmax(0,1fr) 270px; } }
@media (max-width: 900px) { .mev2-game-page { --mev2-game-gutter: 14px; padding: 0 14px 40px; } .mev2-game-layout { grid-template-columns: minmax(0,1fr); } .mev2-game-aside { grid-template-columns: repeat(auto-fit,minmax(min(100%,300px),1fr)); } .mev2-game-hero__body { grid-template-columns: 150px minmax(0,1fr); gap: 24px; min-height: 300px; } .mev2-game-hero__boxart { max-width: 150px; } .mev2-game-hero__boxart img { max-height: 230px; } }
@media (max-width: 680px) {
    .mev2-game-page { --mev2-game-gutter: 10px; padding: 0 10px 32px; }
    .mev2-game-hero__body { grid-template-columns: 100px minmax(0,1fr); gap: 16px; min-height: 280px; padding: 26px 0 20px; }
    .mev2-game-hero__visual .mev2-game-hero__artwork { right: 0; opacity: .75; }
    .mev2-game-hero__veil { background: linear-gradient(0deg, var(--mev2-canvas), transparent 20px), linear-gradient(0deg, rgba(0,0,0,.98), transparent 75%), linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.5) 65%, rgba(0,0,0,.25)); }
    .mev2-game-hero__boxart { max-width: 100px; } .mev2-game-hero__boxart img { max-height: 190px; }
    .mev2-game-page .mev2-game-hero h1 { font-size: clamp(25px,6vw,32px) !important; }
    .mev2-game-hero__meta { font-size: 13px; gap: 6px 10px; } .mev2-game-hero__meta > * + *::before { margin-right: 10px; }
    .mev2-game-hero .mev2-game-taxonomies { margin-top: 12px; }
    .mev2-game-taxonomies > :is(a,span) { padding: 6px 10px; font-size: 11px; }
    .mev2-game-profile { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 0; } .mev2-game-profile > div { min-width: 0; padding: 0 16px; } .mev2-game-profile > div:nth-child(odd) { padding-left: 0; border-left: 0; }
    .mev2-game-media { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
    .has-gallery-js .mev2-game-media:not(.is-expanded) .mev2-game-media__item:nth-child(n+6) { display: none; }
    .mev2-game-related-grid { gap: 8px; } .mev2-game-related-item { gap: 12px; padding: 12px; } .mev2-game-series-cover { height: 160px; }
    .mev2-game-page .mev2-game-discovery-grid { gap: 12px; }
    .mev2-game-panel { padding: 16px; } .mev2-game-universe-grid { gap: 8px; } .mev2-game-context-card { padding: 12px; gap: 8px; } .mev2-game-context-card > img { display: none; }
    .mev2-game-layout--details-only .mev2-game-info dl { grid-template-columns: minmax(0,1fr); }
    .mev2-game-page .mev2-lightbox[open] { padding: 64px 48px; } .mev2-lightbox__prev { left: 2px; } .mev2-lightbox__next { right: 2px; }
}
@media (max-width: 380px) { .mev2-game-hero__body { grid-template-columns: 82px minmax(0,1fr); gap: 12px; } .mev2-game-universe-grid { grid-template-columns: minmax(0,1fr); } .mev2-game-series-cover { height: 135px; } }
@media (prefers-reduced-motion: reduce) { .mev2-game-page * { scroll-behavior: auto !important; } }
/* Affinity is supplied only on eligible discovery cards; no artwork overlay. */
.mev2-game-page .mev2-game-discovery-card .mev2-game-card__body--affinity {
  flex-direction:row;align-items:center;gap:10px;
}
.mev2-game-page .mev2-game-discovery-card .mev2-game-card__details {
  display:flex;flex:1 1 0;flex-direction:column;gap:4px;min-width:0;
}
.mev2-game-page .mev2-game-discovery-card .mev2-game-card__details .mev2-game-card__meta {
  white-space:normal;overflow-wrap:anywhere;
}
.mev2-game-page .mev2-game-discovery-card .mev2-game-affinity {
  position:relative;display:inline-grid;place-items:center;flex:0 0 48px;width:48px;height:48px;
  color:var(--mev2-text);font-variant-numeric:tabular-nums;
}
.mev2-game-page .mev2-game-discovery-card .mev2-game-affinity svg {
  display:block;width:48px;height:48px;fill:none;stroke-width:3px;
}
.mev2-game-page .mev2-game-affinity__track {stroke:var(--mev2-border)}
.mev2-game-page .mev2-game-affinity__ring {stroke:#ff1684;stroke-linecap:round}
.mev2-game-page .mev2-game-affinity__value {
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:1px;
  font-size:13px;font-weight:750;line-height:1;
}
.mev2-game-page .mev2-game-affinity__value small {font-size:9px;font-weight:650;line-height:1}

/* Cards without a gauge also keep readable, wrapping metadata on mobile. */
@media (max-width: 680px) {
  .mev2-game-page .mev2-game-discovery-card .mev2-game-card__meta {
    white-space:normal;overflow-wrap:anywhere;
  }
}

