/* Let a translated desktop navigation grow beyond the content column. */
header > div:has(> .language-header > nav) {
    width: max-content;
    min-width: min(100%, 80rem);
    max-width: 100%;
}
.language-header { gap: clamp(.4rem, 1vw, 1rem); }
.language-header > nav > a, .language-header > div > a { white-space: nowrap; }
.language-header > :first-child { flex-shrink: 0; }
.language-header > nav { margin-inline: auto; gap: clamp(.5rem, 1vw, 1rem); }
.language-header > nav > a { margin-left: 0; }
.language-menu { position: relative; flex: none; z-index: 5; font: 600 .875rem/1.25 Inter, system-ui, sans-serif; }
.language-menu summary { list-style: none; display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; padding: 0 .75rem; border: 1px solid #494949; border-radius: 2rem; cursor: pointer; color: #f5f5f5; background: #1a1a1a; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary:hover, .language-menu[open] summary { border-color: #ff895d; }
.language-menu summary svg { width: 1.1rem; height: 1.1rem; }
.language-menu nav { position: absolute; right: 0; top: calc(100% + .5rem); min-width: 12rem; max-height: calc(100dvh - 6rem); overflow-y: auto; padding: .35rem; border: 1px solid #494949; border-radius: .85rem; background: #191919; color: white; box-shadow: 0 .5rem 2rem #0008; }
.language-menu a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: .5rem .8rem; border-radius: .55rem; }
.language-menu a:hover, .language-menu a:focus-visible { background: #333; }
.language-menu a[aria-current] { color: #ff9f78; }
.language-menu a[aria-current]::after { content: '✓'; }
.language-menu :focus-visible { outline: 2px solid #ff9f78; outline-offset: 2px; }
body > .language-menu { position: fixed; top: 1rem; right: 1rem; }
.edition-phone { object-fit: contain; width: min(100%, 15rem); height: auto; margin-inline: auto; border-radius: 1.75rem; box-shadow: 0 2rem 5rem #0007; }
.edition-feature { display: flex; gap: clamp(2rem, 7vw, 8rem); align-items: center; justify-content: space-between; max-width: 68rem; margin: auto; padding-inline: 2rem; }
.edition-feature h2 { font-weight: 800; font-size: clamp(2rem, 4.5vw, 4rem); line-height: 1.08; letter-spacing: -.04em; color: white; }
.edition-feature p { margin-top: 1.5rem; font-size: 1.15rem; line-height: 1.6; color: #bdbdbd; max-width: 36rem; }
.edition-feature img { max-width: min(33%, 15rem); max-height: 28rem; object-fit: contain; border-radius: 1rem; }
html:not(:lang(en)) .xr-hero { background: linear-gradient(90deg,#080707 5%,#080707df 45%,#08070755), url('/images/xr/home-loop-wide.webp') center/cover; padding-bottom: 3rem; }
html:not(:lang(en)) h1,html:not(:lang(en)) h2 { overflow-wrap: break-word; hyphens: auto; }
html:lang(ja) body { font-family: Inter, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; line-break: strict; }
html:lang(ja) :is(h1, h2) { letter-spacing: normal; line-height: 1.25; }
@media (max-width: 86rem) {
    .language-header:has(~ #mobile-menu) > nav, .language-header:has(#mobile-menu-btn) > nav { display: none; }
    .language-header #mobile-menu-btn { display: block; margin-left: auto; }
    .language-header:has(#mobile-menu-btn) + #mobile-menu.active { display: block; max-height: calc(100dvh - 5rem); overflow-y: auto; }
}
@media (max-width: 47.99rem) {
    .language-header > #mobile-menu-btn { order: 1; margin-left: 0; }
    .language-header > .language-menu { margin-left: auto; }
    .language-header > a + a[href] { display: none; }
    .edition-feature { flex-direction: column; align-items: flex-start; padding-inline: 1.25rem; }
    .edition-feature img { max-width: min(65%, 14rem); align-self: center; }
    .cookie-content { flex-wrap: wrap; gap: .75rem; }
    .cookie-banner { max-height: 45dvh; overflow: auto; }
    .pt-controls { column-gap: .5rem; }
}
@media (max-width: 22rem) {
    .language-header > :first-child { gap: .375rem; }
    .language-header > :first-child img { width: 2rem; height: 2rem; }
    .language-header > :first-child span { font-size: 1rem; }
    .language-header .language-menu summary { padding-inline: .5rem; }
}
.edition-screen { display: grid; place-items: center; aspect-ratio: 1; padding: 1.25rem; background: #141414; }
.edition-screen img { max-width: 100%; height: 100%; min-height: 0; object-fit: contain; border-radius: .7rem; }
.language-header #mobile-menu-btn { min-width: 44px; min-height: 44px; }
.language-header #mobile-menu-btn i { display: none; }
.language-header #mobile-menu-btn::before {
    content: ''; display: inline-block; width: 1.25rem; height: 2px;
    vertical-align: middle; background: currentColor;
    box-shadow: 0 -6px currentColor, 0 6px currentColor;
}
footer .flex.items-center.gap-6:has(> a) { flex-wrap: wrap; justify-content: center; }
.footer-languages, .footer-languages > div { display: flex; flex-wrap: wrap; align-items: center; }
.footer-languages { gap: 0 1.5rem; margin-bottom: 1rem; font-size: .875rem; scroll-margin-top: 6rem; }
.footer-languages > span { font-weight: 600; color: #f5f5f5; }
.footer-languages > div { column-gap: 1.15rem; }
.footer-languages a { display: inline-flex; align-items: center; min-height: 44px; color: #bdbdbd; white-space: nowrap; }
.footer-languages a:hover { color: white; text-decoration: underline; }
.footer-languages a:focus-visible { outline: 2px solid #ff9f78; outline-offset: 2px; }
.footer-languages a[aria-current] { color: #ff9f78; font-weight: 600; }
.footer-languages a[aria-current]::before { content: '✓' / ''; margin-inline-end: .35rem; }
@media (max-width: 47.99rem) {
    footer .flex.items-center.gap-6:has(> a) { gap: .75rem 1.15rem; }
    .footer-languages { flex-direction: column; align-items: flex-start; }
}

.release-results { width: min(100%, 26rem); padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid #383838; border-radius: 1.25rem; background: #111; box-shadow: 0 1rem 3rem #0006; }
.release-results-title { color: white; font-size: 1.5rem; font-weight: 700; }
.release-results-title small { color: #ff986f; font-size: .875rem; }
.release-results dl { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 1.5rem; }
.release-results dt { color: #bbb; }
.release-results dd { color: white; font-size: 2rem; font-variant-numeric: tabular-nums; }
