/* DEJA ME landing page (v6): the key art up top, the game's type, its battlefield behind everything. No dependencies. */
@font-face { font-family: "Nunito Game"; font-style: normal; font-weight: 600 1000; font-display: swap; src: url(fonts/nunito-latin.woff2?v=20fc9b6fc6) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito Game"; font-style: normal; font-weight: 600 1000; font-display: swap; src: url(fonts/nunito-latin-ext.woff2?v=511ce96737) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }
:root {
  color-scheme: dark;
  --bg: #050413;
  --panel: rgba(10, 9, 30, .72);
  --ink: #f3f4f8;
  --ink-2: #c3c8dc;
  --muted: #8e94aa;
  --line: rgba(150, 175, 255, .16);
  --cyan: #66f2ff;
  --gold: #ffd64d;
  --violet: #b58cff;
  --magenta: #ff4dbf;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --sans: "Avenir Next", "Nunito Game", ui-sans-serif, system-ui, sans-serif;
  --game: ui-rounded, "SF Pro Rounded", "Nunito Game", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; background: #050413 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='45' height='78'%3E%3Cpath d='M22.5 0v13L0 26v26l22.5 13v13M22.500 13 45 26v26L22.5 65' fill='none' stroke='%236680ff' stroke-opacity='.14'/%3E%3C/svg%3E"); }
#hexfield { position: fixed; inset: 0; width: 100%; height: 100lvh; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .5s; }
#hexfield.on { opacity: 1; }
body { margin: 0; background: transparent; color: var(--ink); font: 500 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--bg); border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }

/* nav: clear over the key art, solid once the page moves */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top); border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.nav.is-solid { background: rgba(5, 4, 19, .88); border-color: var(--line); }
@supports (backdrop-filter: blur(1px)) { .nav.is-solid { background: rgba(5, 4, 19, .66); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); } }
.nav-in { display: flex; align-items: center; gap: 22px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font: italic 900 17px/1 var(--game); letter-spacing: .03em; margin-right: auto; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; gap: 26px; font: 800 13px/1 var(--game); letter-spacing: .1em; text-transform: uppercase; color: #dfe3f2; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
.nav-links a { position: relative; padding: 8px 0; transition: color .15s; }
.nav-links a::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--cyan), var(--magenta)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .25s var(--ease); }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.pill { font: 900 12px/1 var(--game); letter-spacing: .1em; text-transform: uppercase; padding: 10px 14px; border-radius: 99px; color: #05131d; background: linear-gradient(90deg, #66f2ff, #b58cff 55%, #ff7ccf); }
@media (max-width: 760px) { .nav-links { display: none; } }

/* type */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 900 13.5px/1.2 var(--game); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
h2 { font: italic 900 clamp(31px, 5.2vw, 66px)/1 var(--game); letter-spacing: -.012em; text-transform: uppercase; text-wrap: balance; }
h2 em { font-style: inherit; color: transparent; background: linear-gradient(92deg, #66f2ff 0%, #908cff 48%, #ff4dbf 100%); -webkit-background-clip: text; background-clip: text; padding-right: .08em; }
h3 { font: 800 20px/1.25 var(--game); }
.lead { font-size: clamp(18px, 1.9vw, 21px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.head { max-width: 760px; margin-bottom: clamp(30px, 4.5vw, 52px); }
.head .lead { margin-top: 20px; }
.center { text-align: center; }

/* buttons */
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px; border-radius: 16px; background: var(--ink); color: #000; font-family: var(--game); font-weight: 800; transition: transform .15s; }
.store:hover { transform: translateY(-1px); }
.store svg { width: 24px; height: 24px; }
.store small { display: block; font-size: 11px; font-weight: 600; line-height: 1.1; opacity: .75; }
.store strong { display: block; font-size: 19px; font-weight: 900; line-height: 1.15; letter-spacing: -.01em; }
.store-badge { display: inline-flex; height: 56px; border-radius: 12px; transition: transform .15s; }
.store-badge img { display: block; height: 56px; width: auto; }
.store-badge:hover { transform: translateY(-1px); }
.play { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 26px 0 22px; border-radius: 16px; font: 900 17px/1 var(--game); letter-spacing: .05em; text-transform: uppercase; color: #05131d; background: linear-gradient(90deg, #66f2ff, #5999ff); box-shadow: 0 0 28px rgba(102, 242, 255, .42); transition: transform .15s, box-shadow .15s; }
.play svg { width: 15px; height: 15px; }
.play:hover { transform: translateY(-1px); box-shadow: 0 0 40px rgba(102, 242, 255, .66); }
.play:active { transform: scale(.97); }

/* hero: the key art fills the top, the title lands under it */
.hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: max(620px, 100svh); padding-bottom: clamp(26px, 5svh, 54px); overflow: clip; }
.key { position: absolute; inset: clamp(-56px, -3.6vw, 0px) 0 auto; height: min(74svh, 62vw + 60px); min-height: 360px; z-index: -1; -webkit-mask-image: linear-gradient(#000 52%, transparent 98%); mask-image: linear-gradient(#000 52%, transparent 98%); }
.key img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform: translate3d(0, var(--shift, 0px), 0) scale(var(--zoom, 1)); transform-origin: 50% 40%; animation: arrive 2.8s var(--ease) backwards; }
.key::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(5, 4, 19, .5), transparent 22%), radial-gradient(120% 70% at 50% 100%, rgba(5, 4, 19, .7), transparent 62%); }
@keyframes arrive { from { scale: 1.12; } }
.hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-lead { max-width: 640px; margin-top: 18px; font-weight: 600; font-size: clamp(16.5px, 1.6vw, 19.5px); line-height: 1.5; color: #e6e9f6; text-wrap: pretty; text-shadow: 0 1px 14px rgba(5, 4, 19, .9); animation: rise .7s var(--ease) 1.1s both; }
.hero .cta { justify-content: center; margin-top: 24px; animation: rise .7s var(--ease) 1.25s both; }
.hud { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 20px; font: 900 13px/1.2 var(--game); letter-spacing: .12em; text-transform: uppercase; color: #e9ebf5; animation: rise .7s var(--ease) 1.4s both; }
.hud li + li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 22px 2px -4px; rotate: 45deg; background: currentColor; opacity: .5; }
.hud .gold { color: var(--gold); } .hud .pink { color: #ff7ccf; }

/* the logo, after the game's TitleArt: rounded black italic, cyan to pink, with its echoes behind */
.logo { font: italic 900 clamp(76px, 12.5vw, 168px)/1 var(--game); letter-spacing: -.01em; white-space: nowrap; margin: 0 0 10px; color: var(--cyan); filter: drop-shadow(0 10px 30px rgba(5, 4, 19, .7)); }
.js .logo:not(.built) { visibility: hidden; }
.logo .sp { display: inline-block; width: .27em; }
.logo .l { --top: color-mix(in srgb, var(--c), #fff 60%); --bot: color-mix(in srgb, var(--c), #591a99 35%); --dk: color-mix(in srgb, var(--c), #000 60%); display: inline-grid; position: relative; animation: land .62s cubic-bezier(.3, 1.5, .5, 1) calc(.2s + var(--i) * .07s) both; }
.logo i { grid-area: 1 / 1; font-style: inherit; display: block; padding: .12em .16em .16em; margin: -.12em -.16em -.16em; }
.logo i::before { content: attr(data-c); }
.logo .e1, .logo .e2 { animation: out .6s ease-out 1.05s both, sway 1.4s ease-in-out calc(1.65s + var(--n) * .18s) infinite alternate; }
.logo .e1 { color: var(--cyan); --a: .12; --reach: .39em; animation-delay: 1.05s, calc(2.05s + var(--n) * .18s); }
.logo .e2 { color: var(--magenta); --a: .22; --reach: .2em; }
.logo .g { color: transparent; text-shadow: 0 0 .24em var(--c), 0 0 .08em var(--c); animation: breathe 1.8s ease-in-out calc(var(--n) * .25s) infinite alternate; }
.logo .x::before { color: transparent; text-shadow: .013em .053em 0 var(--dk), .023em .106em 0 #140530; }
.logo .f::before { color: transparent; background: linear-gradient(180deg, #fff 8%, var(--top) 22%, var(--c) 58%, var(--bot) 92%); -webkit-background-clip: text; background-clip: text; padding: .12em .16em .16em; margin: -.12em -.16em -.16em; }
.logo .s { color: #fff; opacity: 0; animation: shine 4.5s linear calc(1.6s + var(--n) * .09s) infinite; }
@keyframes land { from { opacity: 0; transform: translateY(-60px) rotate(-14deg) scale(1.9); } to { opacity: 1; transform: none; } }
@keyframes out { from { opacity: 0; transform: none; } to { opacity: var(--a); transform: translateX(calc(var(--reach) * -.6)); } }
@keyframes sway { from { opacity: var(--a); transform: translateX(calc(var(--reach) * -.6)); } to { opacity: calc(var(--a) * .55); transform: translate(calc(var(--reach) * -1.5), -.02em); } }
@keyframes breathe { from { opacity: .5; } to { opacity: .95; } }
@keyframes shine { 0%, 84% { opacity: 0; } 87% { opacity: .55; } 95%, 100% { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.72); } to { opacity: 1; transform: none; } }

/* the battle's banner: a line of light above and under the words */
.banner { position: relative; padding: 11px 26px 12px; font: 900 clamp(19px, 2.5vw, 31px)/1.16 var(--game); letter-spacing: .02em; text-transform: uppercase; color: #d9c4ff; text-wrap: balance; text-shadow: 0 0 22px rgba(181, 140, 255, .7), 0 1px 10px rgba(5, 4, 19, .9); animation: pop .5s cubic-bezier(.3, 1.45, .5, 1) .9s both; }
.banner::before, .banner::after { content: ""; position: absolute; inset-inline: 0; height: 1.5px; background: linear-gradient(90deg, transparent, var(--violet) 22%, var(--violet) 78%, transparent); }
.banner::before { top: 0; } .banner::after { bottom: 0; }

@media (max-width: 700px) {
  .key { height: 50svh; top: 0; }
  .key img { object-position: 46% 50%; }
  .logo { font-size: min(18.4vw, 120px); }
  .hero .cta { flex-direction: column; width: 100%; }
  .hero .cta > a { width: min(320px, 100%); justify-content: center; }
  .hud { gap: 6px 14px; font-size: 12px; }
  .hud li + li::before { margin-right: 14px; }
}

/* devices */
.iphone, .ipad { position: relative; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 30px 80px -24px rgba(0, 0, 0, .9); container-type: inline-size; }
.iphone { aspect-ratio: 1320 / 2868; border-radius: min(58px, 15%) / min(58px, 6.9%); }
.ipad { aspect-ratio: 2064 / 2752; border-radius: min(30px, 3.4%) / min(30px, 2.5%); }
.iphone .screen, .ipad .screen { position: absolute; overflow: hidden; background: #0a0b10; }
.iphone .screen { inset: 2.2cqw; border-radius: 12.4cqw; }
.ipad .screen { inset: 1.5cqw; border-radius: 2.6cqw; }
.screen img, .screen video { width: 100%; height: 100%; object-fit: cover; }
.screen video { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
.screen video.is-on { opacity: 1; }

/* the reel: one phone playing the game, the numbers either side of it */
.reel { position: relative; padding-block: clamp(40px, 7vw, 96px) clamp(30px, 5vw, 60px); }
.reel-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(20px, 5vw, 72px); }
.stage { position: relative; width: clamp(250px, 27vw, 340px); }
.stage .iphone { width: 100%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 0 90px -10px rgba(102, 242, 255, .35), 0 40px 90px -24px rgba(0, 0, 0, .95); }
.ring { position: absolute; left: 50%; top: 50%; width: 190%; aspect-ratio: 1; translate: -50% -50%; overflow: visible; pointer-events: none; fill: none; }
.ring .r1 { stroke: rgba(102, 242, 255, .36); stroke-width: .4; stroke-dasharray: 1.4 3.2; transform-origin: 100px 100px; animation: turn 70s linear infinite; }
.ring .r2 { stroke: rgba(181, 140, 255, .44); stroke-width: .45; transform-origin: 100px 100px; animation: turn 110s linear infinite reverse; }
.ring .r3 { stroke: rgba(255, 77, 191, .32); stroke-width: .35; stroke-dasharray: 22 10 4 10; transform-origin: 100px 100px; animation: turn 46s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.facts { display: grid; gap: clamp(28px, 5vw, 64px); position: relative; z-index: 1; }
.facts.left { text-align: right; } .facts.right { text-align: left; }
.facts b { display: block; font: italic 900 clamp(54px, 8vw, 112px)/.95 var(--game); letter-spacing: -.02em; color: var(--c); text-shadow: 0 0 34px color-mix(in srgb, var(--c), transparent 55%); font-variant-numeric: tabular-nums; }
.facts span { display: block; margin-top: 8px; font: 800 clamp(12.5px, 1.2vw, 15px)/1.2 var(--game); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
@media (max-width: 760px) {
  .reel-in { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
  .stage { grid-column: 1 / -1; grid-row: 1; justify-self: center; width: min(300px, 74%); }
  .facts.left, .facts.right { text-align: center; gap: 26px; }
  .facts span { letter-spacing: .08em; font-size: 12px; }
  .ring { width: 150%; }
}

/* sections */
.block { position: relative; padding-top: clamp(84px, 12vw, 160px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.split.flip { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
.split .lead { margin-top: 20px; }
.media { position: relative; isolation: isolate; }
.media::before { content: ""; position: absolute; inset: 8% -6%; z-index: -1; background: radial-gradient(closest-side, rgba(144, 140, 255, .34), transparent); filter: blur(30px); }
.media .ipad { width: min(100%, 480px); margin-inline: auto; rotate: 1.6deg; }
.media.narrow .iphone { width: min(100%, 320px); margin-inline: auto; rotate: -2deg; }
.steps { margin-top: 30px; display: grid; gap: 0; counter-reset: s; }
.steps li { position: relative; padding: 18px 0 18px 58px; border-top: 1px solid var(--line); counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 16px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; font: italic 900 18px/1 var(--game); color: var(--cyan); background: rgba(102, 242, 255, .1); box-shadow: inset 0 0 0 1px rgba(102, 242, 255, .3); }
.steps li:nth-child(2)::before { color: var(--violet); background: rgba(181, 140, 255, .1); box-shadow: inset 0 0 0 1px rgba(181, 140, 255, .34); }
.steps li:nth-child(3)::before { color: #ff7ccf; background: rgba(255, 77, 191, .1); box-shadow: inset 0 0 0 1px rgba(255, 77, 191, .34); }
.steps p { margin-top: 4px; color: var(--ink-2); font-size: 16.5px; }
@media (max-width: 860px) {
  .split, .split.flip { grid-template-columns: minmax(0, 1fr); }
  .split.flip .media { order: 2; }
  .media .ipad { width: min(100%, 420px); }
  .media.narrow .iphone { width: min(72%, 290px); }
}

/* rows of screens */
.rowhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: clamp(64px, 9vw, 110px); margin-bottom: 26px; }
.rowhead.flat { margin-top: clamp(56px, 8vw, 96px); }
.rowhead p:not(.eyebrow) { margin-top: 8px; color: var(--ink-2); max-width: 560px; }
#screens .rowhead { margin-top: 0; }
.big { font: italic 900 clamp(24px, 3vw, 36px)/1.08 var(--game); text-transform: uppercase; letter-spacing: -.005em; }
.arrows { display: flex; gap: 10px; flex: none; }
.arrows button { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .15s, opacity .15s; }
.arrows button:hover { background: rgba(255, 255, 255, .15); }
.arrows button:disabled { opacity: .3; cursor: default; }
.arrows svg { width: 16px; height: 16px; }
.row { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 14px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 30px; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.row::-webkit-scrollbar { display: none; }
.card { flex: none; width: clamp(220px, 23vw, 268px); scroll-snap-align: start; }
.card .iphone { transition: transform .5s var(--ease), box-shadow .5s; }
.card:hover .iphone { transform: translateY(-8px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c), transparent 40%), 0 0 60px -8px color-mix(in srgb, var(--c), transparent 55%), 0 30px 70px -24px #000; }
.cap { padding: 18px 4px 0; }
.cap h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.tag { font: 900 11px/1 var(--game); letter-spacing: .12em; text-transform: uppercase; padding: 5px 8px 4px; border-radius: 7px; color: var(--c, var(--cyan)); background: color-mix(in srgb, var(--c, var(--cyan)), transparent 88%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c, var(--cyan)), transparent 62%); }
.cap p { margin-top: 6px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.notes > div { padding: 24px 24px 26px; border-radius: 20px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.notes h3 { color: var(--gold); } .notes > div:nth-child(2) h3 { color: var(--cyan); } .notes > div:nth-child(3) h3 { color: #ff7ccf; }
.notes p { margin-top: 6px; color: var(--ink-2); font-size: 16px; }
@media (max-width: 760px) { .notes { grid-template-columns: 1fr; } .arrows { display: none; } }

/* bosses */
.bosses { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.bosses li { position: relative; padding: 14px 14px 22px; border-radius: 22px; text-align: center; background: linear-gradient(color-mix(in srgb, var(--c), transparent 86%), rgba(10, 9, 30, .74) 62%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c), transparent 68%); transition: transform .45s var(--ease), box-shadow .45s; }
.bosses li:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c), transparent 30%), 0 20px 60px -20px color-mix(in srgb, var(--c), transparent 40%); }
.bosses i { display: block; aspect-ratio: 360 / 334; background: url(v7/bosses.webp) calc(var(--n) * 20%) 0 / 600% 100% no-repeat; filter: drop-shadow(0 0 18px color-mix(in srgb, var(--c), transparent 45%)); animation: hover 5s ease-in-out calc(var(--n) * -.8s) infinite alternate; }
@keyframes hover { from { transform: translateY(-4px) rotate(-2deg); } to { transform: translateY(5px) rotate(2deg); } }
.bosses b { display: block; margin-top: 10px; font: italic 900 17px/1.15 var(--game); text-transform: uppercase; color: color-mix(in srgb, var(--c), #fff 30%); }
.bosses span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
@media (max-width: 1020px) { .bosses { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .bosses { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* the roster: pick an echo, see what it carries */
.roster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 18px; }
.rdetail { --c: #59f2ff; position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); align-items: center; gap: 12px; padding: 26px; border-radius: 28px; overflow: hidden; background: radial-gradient(90% 80% at 28% 40%, color-mix(in srgb, var(--c), transparent 80%), transparent 70%), var(--panel); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c), transparent 62%); transition: box-shadow .4s; }
.rart { position: relative; aspect-ratio: 1; }
.rart::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--c), transparent 55%); animation: turn 40s linear infinite; }
.rart i { position: absolute; inset: 8%; background: url(v7/echoes.webp) calc(var(--x, 0) * 33.3333%) calc(var(--y, 0) * 33.3333%) / 400% 400% no-repeat; filter: drop-shadow(0 0 24px color-mix(in srgb, var(--c), transparent 40%)); animation: hover 4s ease-in-out infinite alternate; }
.rart i.swap { animation: swap .45s var(--ease), hover 4s ease-in-out .45s infinite alternate; }
@keyframes swap { from { opacity: 0; transform: translateX(-40px) scale(.8); } }
.rtext h3 { margin-top: 12px; font: italic 900 clamp(30px, 3.4vw, 44px)/1 var(--game); text-transform: uppercase; color: color-mix(in srgb, var(--c), #fff 25%); }
.rtext > p { margin-top: 10px; color: var(--ink-2); font-size: 16.5px; line-height: 1.45; min-height: 4.35em; }
.rtext ul { margin-top: 14px; display: grid; gap: 8px; }
.rtext li { display: flex; align-items: center; gap: 10px; font: 800 14.5px/1.2 var(--game); color: #e9ebf5; }
.rtext li::before { content: ""; flex: none; width: 9px; height: 9px; rotate: 45deg; border-radius: 2px; background: var(--c); box-shadow: 0 0 10px var(--c); }
.rgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.rgrid button { position: relative; aspect-ratio: 1 / .92; border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s, background-color .3s; }
.rgrid button i { position: absolute; inset: 9% 14% 22%; background: url(v7/echoes.webp) calc(var(--x) * 33.3333%) calc(var(--y) * 33.3333%) / 400% 400% no-repeat; transition: transform .3s var(--ease); }
.rgrid button span { position: absolute; inset: auto 0 9%; text-align: center; font: 900 11px/1 var(--game); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.rgrid button:hover { transform: translateY(-3px); }
.rgrid button:hover i { transform: scale(1.08); }
.rgrid button[aria-pressed="true"] { background: color-mix(in srgb, var(--c), transparent 86%); box-shadow: inset 0 0 0 1.5px var(--c), 0 0 30px -6px color-mix(in srgb, var(--c), transparent 40%); }
.rgrid button[aria-pressed="true"] span { color: var(--c); }
@media (max-width: 900px) { .roster { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .rdetail { grid-template-columns: minmax(0, .62fr) minmax(0, 1fr); padding: 18px 16px; }
  .rtext > p { font-size: 15px; min-height: 5.8em; }
  .rtext li { font-size: 13px; }
  .rgrid { gap: 8px; } .rgrid button span { font-size: 9.5px; letter-spacing: .06em; }
}

/* endless lines of pilots and Cores */
.mq { overflow: hidden; padding-block: 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.mq + .mq { margin-top: 6px; }
.mq ul { display: flex; gap: 14px; width: max-content; animation: mq var(--d, 90s) linear infinite; animation-play-state: paused; }
.mq.run ul { animation-play-state: running; }
.mq.rev ul { animation-direction: reverse; }
.mq:hover ul { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(calc(-50% - 7px)); } }
.mq li { flex: none; width: 150px; padding: 8px 8px 14px; border-radius: 20px; text-align: center; background: #070511; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c), transparent 72%); }
.mq li i { display: block; aspect-ratio: 1; border-radius: 14px; background: url(v7/pilots.webp) calc(var(--x) * 11.1111%) calc(var(--y) * 25%) / 1000% 500% no-repeat; }
.mq li b { display: block; margin-top: 4px; font: italic 900 14.5px/1.1 var(--game); text-transform: uppercase; color: color-mix(in srgb, var(--c), #fff 30%); white-space: nowrap; }
.mq li small { display: block; margin-top: 4px; font: 700 12px/1.1 var(--game); color: var(--muted); white-space: nowrap; }
.mq.round li { width: 136px; }
.mq.round li i { background-image: url(v7/cores.webp); background-size: 700% 400%; background-position: calc(var(--x) * 16.6667%) calc(var(--y) * 33.3333%); border-radius: 50%; }
@media (max-width: 560px) { .mq li { width: 124px; } .mq.round li { width: 116px; } }

/* questions */
.faq { max-width: 820px; margin: 36px auto 0; display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s; }
.faq details[open] { box-shadow: inset 0 0 0 1px rgba(102, 242, 255, .4); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 22px; cursor: pointer; list-style: none; font: 800 18px/1.3 var(--game); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 11px; height: 11px; border-right: 2.5px solid var(--cyan); border-bottom: 2.5px solid var(--cyan); rotate: 45deg; translate: 0 -3px; transition: rotate .25s var(--ease), translate .25s; }
.faq details[open] summary::after { rotate: 225deg; translate: 0 3px; }
.faq p { padding: 0 22px 20px; color: var(--ink-2); }
.faq a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

/* final: the whole cast behind the last button */
.final { position: relative; isolation: isolate; margin-top: clamp(90px, 12vw, 160px); padding: clamp(120px, 20vw, 260px) 0 clamp(70px, 9vw, 120px); text-align: center; overflow: clip; }
.cast { position: absolute; inset: 0; z-index: -1; -webkit-mask-image: linear-gradient(transparent, #000 34%); mask-image: linear-gradient(transparent, #000 34%); }
.cast img { width: 100%; height: 100%; object-fit: cover; }
.cast::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 56% at 50% 62%, rgba(5, 4, 19, .82), rgba(5, 4, 19, .25) 70%), linear-gradient(transparent 70%, rgba(5, 4, 19, .9)); }
.final-in { display: flex; flex-direction: column; align-items: center; }
.final-icon { width: 112px; height: 112px; filter: drop-shadow(0 0 30px rgba(102, 242, 255, .55)) drop-shadow(0 12px 24px rgba(0, 0, 0, .6)); }
.final h2 { margin-top: 26px; font-size: clamp(42px, 7vw, 92px); text-shadow: 0 4px 30px rgba(5, 4, 19, .8); }
.final .cta { justify-content: center; margin-top: 30px; }
.fine { max-width: 30em; margin-top: 18px; text-wrap: balance; font-size: 14.5px; color: var(--ink-2); text-shadow: 0 1px 10px #050413; }

.foot { background: #050413; border-top: 1px solid var(--line); padding: 26px 0 calc(26px + env(safe-area-inset-bottom)); font-size: 14.5px; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.foot a { color: var(--ink-2); } .foot a:hover { color: #fff; }
.foot nav { display: flex; gap: 22px; }

/* sections rise once as they arrive */
.js .up { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .up.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .js .up { opacity: 1; transform: none; }
  .mq { overflow-x: auto; }
  .mq ul { animation: none; }
}
@media (max-width: 700px) {
  .cast::after { background: radial-gradient(90% 46% at 50% 60%, rgba(5, 4, 19, .9), rgba(5, 4, 19, .45) 75%), linear-gradient(transparent 70%, rgba(5, 4, 19, .9)); }
}
