/* Loop Loop Express · looploopexpress.com
   Spacing scale: 4 8 12 16 24 32 (and multiples of 32 for section rhythm). */
@font-face { font-family: 'Storybook Ink'; src: url(../a/fonts/Alegreya-italic-400_700-latin.woff2) format('woff2'); font-style: italic; font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Alegreya Sans'; src: url(../a/fonts/AlegreyaSans-normal-400-latin.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Alegreya Sans'; src: url(../a/fonts/AlegreyaSans-normal-500-latin.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Commissioner'; src: url(../a/fonts/Commissioner-normal-400_700-latin.woff2) format('woff2'); font-weight: 400 700; font-display: swap; }

:root {
  --ink: #090d22; --ink-2: #0f1534; --ink-3: #18204a;
  --paper: #f5ecd9; --paper-2: #e9dcc0; --text: #eee6d6; --text-2: #b9b3c9; --text-3: #8a86a3;
  --gold: #f3c46a; --gold-2: #e6a03c; --gold-deep: #b9741f; --rose: #e98a8a; --lantern: #ffcf7a;
  --rim: rgba(243, 196, 106, .28); --glass: rgba(20, 26, 60, .46); --hair: rgba(255, 255, 255, .09);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --title: 'Storybook Ink', 'Alegreya', Georgia, serif;
  --body: 'Alegreya Sans', 'Commissioner', system-ui, sans-serif;
  --ui: 'Commissioner', system-ui, sans-serif;
  --wrap: min(1160px, calc(100vw - 48px));
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; background: var(--ink); color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font: 400 19px/1.55 var(--body); color: var(--text); background: var(--ink); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 999px; }
.wrap { width: var(--wrap); margin-inline: auto; position: relative; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3, .t { font-family: var(--title); font-style: italic; font-weight: 700; letter-spacing: -.005em; line-height: 1.04; color: var(--paper); text-wrap: balance; }
h2 { font-size: clamp(40px, 5.6vw, 76px); }
h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; }
.kicker { font: 600 12px/1 var(--ui); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: var(--s3); }
.kicker::before { content: ''; width: 24px; height: 1px; background: currentColor; opacity: .6; }
.lede { font-size: clamp(19px, 1.7vw, 23px); color: var(--text-2); max-width: 34em; text-wrap: pretty; }
p + p { margin-top: var(--s4); }
em.gold { font-style: normal; color: var(--gold); }

/* ---------- pills (icon + label on the exact middle) ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); height: 48px; padding: 0 var(--s5); border-radius: 999px; font: 600 15px/1 var(--ui); letter-spacing: .01em; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s; -webkit-tap-highlight-color: transparent; }
.pill > * { flex: none; }
.pill svg, .pill img { width: auto; height: 20px; }
.pill span { display: block; line-height: 1; margin-right: -.1em; } /* optical centre: no trailing side bearing */
.pill.gold { color: #2a1704; background: linear-gradient(180deg, #ffe0a0 0%, var(--gold) 42%, var(--gold-2) 100%); box-shadow: 0 1px 0 rgba(255,255,255,.55) inset, 0 -2px 0 rgba(120,60,0,.25) inset, 0 10px 28px -10px rgba(243,170,70,.75); }
.pill.gold svg { fill: #2a1704; }
.pill.gold:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.55) inset, 0 -2px 0 rgba(120,60,0,.25) inset, 0 16px 36px -10px rgba(243,170,70,.9); }
.pill.glass { color: var(--paper); background: var(--glass); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pill.glass svg { fill: var(--paper); }
.pill.glass:hover { border-color: var(--rim); background: rgba(30, 36, 80, .6); }
.pill.big { height: 56px; padding: 0 var(--s6); font-size: 16px; }
.pill.big svg, .pill.big img { width: auto; height: 22px; }
.pill.small { height: 36px; padding: 0 var(--s4); font-size: 13px; }
.pill.small svg, .pill.small img { width: auto; height: 16px; }
.pill:active { transform: translateY(0) scale(.98); }

/* ---------- top bar ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: var(--s4) var(--s5); padding-top: max(var(--s4), env(safe-area-inset-top)); transition: background .4s, backdrop-filter .4s, transform .4s var(--ease); }
.top.solid { background: linear-gradient(180deg, rgba(9,13,34,.86), rgba(9,13,34,.62)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--hair); }
.brand { display: inline-flex; align-items: center; gap: var(--s2); font: italic 700 20px/1 var(--title); color: var(--paper); }
.brand img { width: 28px; height: 28px; }
.top nav { display: flex; align-items: center; gap: var(--s2); }
.count { gap: var(--s2); }
.count img { width: 22px; height: 22px; transition: filter .4s; }
.count b { font: 600 13px/1 var(--ui); font-variant-numeric: tabular-nums; }
.count.all img { filter: drop-shadow(0 0 8px var(--lantern)); }
.snd .on { display: none; } .snd[aria-pressed="true"] .on { display: block; } .snd[aria-pressed="true"] .off { display: none; }
.snd[aria-pressed="true"] { border-color: var(--rim); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.hero .bg { position: absolute; inset: 0; z-index: -3; }
.hero .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; filter: brightness(.42) saturate(.8) hue-rotate(-8deg); transform: scale(1.06); transition: filter 2.6s var(--ease), transform 9s var(--ease); }
.hero.lit .bg img { filter: brightness(.96) saturate(1.06); transform: scale(1); }
.hero .glow { position: absolute; z-index: -2; width: 90vmax; height: 90vmax; left: calc(var(--lx, 70%) - 45vmax); top: calc(var(--ly, 30%) - 45vmax); background: radial-gradient(circle, rgba(255,190,90,.42) 0%, rgba(255,150,60,.14) 22%, transparent 52%); opacity: 0; transition: opacity 2.4s var(--ease); pointer-events: none; mix-blend-mode: screen; }
.hero.lit .glow { opacity: 1; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9,13,34,.55) 0%, rgba(9,13,34,0) 22%, rgba(9,13,34,0) 52%, rgba(9,13,34,.78) 82%, var(--ink) 100%), radial-gradient(120% 80% at 30% 55%, rgba(9,13,34,.55), transparent 60%); pointer-events: none; }
.hero canvas.intro { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero .lamp { position: absolute; z-index: 2; left: var(--lx, 70%); top: var(--ly, 30%); width: clamp(64px, 7vw, 96px); translate: -50% -50%; pointer-events: none; }
.hero .lamp img { width: 100%; filter: drop-shadow(0 10px 18px rgba(0,0,0,.5)); }
.hero .lamp .lit { position: absolute; inset: 0; opacity: 0; transition: opacity 1s; filter: drop-shadow(0 0 22px rgba(255,190,90,.95)) drop-shadow(0 0 60px rgba(255,160,60,.6)); }
.hero.lit .lamp .lit { opacity: 1; }
.hero .copy { position: relative; z-index: 3; width: var(--wrap); padding: 120px 0 96px; display: grid; justify-items: start; gap: var(--s5); }
.hero .logo { width: min(620px, 86vw); opacity: 0; transform: translateY(16px) scale(.98); filter: drop-shadow(0 14px 30px rgba(0,0,0,.55)); transition: opacity 1.4s var(--ease) .2s, transform 1.6s var(--ease) .2s; }
.hero .tag { font: italic 600 clamp(24px, 2.6vw, 34px)/1.2 var(--title); color: var(--paper); text-shadow: 0 2px 20px rgba(0,0,0,.6); max-width: 22em; }
.hero .tag, .hero .cta, .hero .meta { opacity: 0; transform: translateY(12px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.hero.ready .logo { opacity: 1; transform: none; }
.hero.ready .tag { opacity: 1; transform: none; transition-delay: .5s; }
.hero.ready .cta { opacity: 1; transform: none; transition-delay: .75s; }
.hero.ready .meta { opacity: 1; transform: none; transition-delay: 1s; }
.cta { display: flex; flex-wrap: wrap; gap: var(--s3); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); font: 500 14px/1.4 var(--ui); color: var(--text-2); }
.meta b { color: var(--paper); font-weight: 600; }
.meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: .7; }
.scroll-cue { position: absolute; z-index: 3; bottom: max(24px, env(safe-area-inset-bottom)); left: 50%; translate: -50% 0; display: grid; justify-items: center; gap: var(--s2); font: 600 11px/1 var(--ui); letter-spacing: .24em; text-transform: uppercase; color: var(--text-3); opacity: 0; transition: opacity 1s 1.6s; }
.hero.ready .scroll-cue { opacity: 1; }
.scroll-cue i { width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- the route (plane flies down the page) ---------- */
.routebox { position: absolute; left: 0; top: 0; width: 100%; height: 0; overflow: hidden; pointer-events: none; z-index: 6; }
.route { position: absolute; left: 0; top: 0; width: 100%; z-index: 6; pointer-events: none; overflow: visible; }
.route path.trail { fill: none; stroke: url(#trailGold); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.route path.halo { fill: none; stroke: rgba(255,196,110,.16); stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.route path.ghost { fill: none; stroke: rgba(243,196,106,.16); stroke-width: 1.5; stroke-dasharray: 2 10; stroke-linecap: round; }
.flyer { position: absolute; left: 0; top: 0; z-index: 7; width: 56px; height: 56px; margin: -28px 0 0 -28px; pointer-events: none; will-change: transform; filter: drop-shadow(0 10px 10px rgba(0,0,0,.45)); }
.flyer img { width: 100%; height: 100%; }
.waylamp { position: absolute; z-index: 5; width: 60px; height: 60px; margin: -30px 0 0 -30px; pointer-events: none; }
.waylamp img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .8s; }
.waylamp .on { opacity: 0; filter: drop-shadow(0 0 14px rgba(255,200,110,.95)) drop-shadow(0 0 38px rgba(255,160,60,.55)); }
.waylamp::before { content: ''; position: absolute; inset: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(255,200,110,.32), transparent 62%); opacity: 0; transition: opacity 1.4s; }
.waylamp::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; border: 1.5px solid var(--lantern); opacity: 0; }
.waylamp.lit .on, .waylamp.lit::before { opacity: 1; }
.waylamp.lit .off { opacity: 0; }
.waylamp.lit::after { animation: ripple 1.4s var(--ease) 1; }
@keyframes ripple { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(3.2); } }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: clamp(96px, 14vw, 192px) 0; }
.sec-head { display: grid; gap: var(--s4); margin-bottom: clamp(32px, 5vw, 64px); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; } .reveal.d2 { transition-delay: .24s; } .reveal.d3 { transition-delay: .36s; }

/* story */
.story .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.letter { position: relative; justify-self: center; width: min(420px, 100%); aspect-ratio: 560 / 720; padding: 13% 12% 10%; background: url(../a/img/letter-paper.webp) center / cover; color: #3b2a1a; transform: rotate(2.2deg); border-radius: 2px; box-shadow: 0 40px 60px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.05); font: 400 clamp(17px, 1.6vw, 20px)/1.75 'Hand', cursive; }
@font-face { font-family: 'Hand'; src: url(../a/fonts/HomemadeApple.woff2) format('woff2'); font-display: swap; }
.letter p + p { margin-top: .6em; }
.letter .sign { text-align: right; margin-top: 1em; }
.letter .seal { position: absolute; width: 84px; right: -18px; bottom: 9%; transform: rotate(-10deg); filter: drop-shadow(0 6px 8px rgba(0,0,0,.35)); }
.letter .post { position: absolute; top: -22px; right: -26px; width: 96px; transform: rotate(8deg); }
.letter-mini { display: block; }

/* fly / try */
.fly .wrap { display: grid; gap: clamp(32px, 4vw, 48px); }
.beats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.beat { display: grid; grid-template-columns: 56px 1fr; gap: var(--s4); align-items: start; }
.beat img { width: 56px; height: 56px; }
.beat h3 { margin-bottom: var(--s1); }
.beat p { color: var(--text-2); font-size: 17px; }


/* wonders */
.wonders .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.clip { position: relative; display: grid; gap: var(--s3); }
.clip .frame { position: relative; aspect-ratio: 9 / 8; border-radius: 22px; overflow: hidden; background: #111735; box-shadow: 0 0 0 1px var(--hair), 0 30px 60px -30px rgba(0,0,0,.9); }
.clip video { width: 100%; height: 100%; object-fit: cover; }
.clip .frame::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); pointer-events: none; }
.clip b { font: italic 700 22px/1.1 var(--title); color: var(--paper); }
.clip span { font: 500 13px/1 var(--ui); color: var(--text-3); letter-spacing: .04em; }
.clip figcaption i { display: block; margin-top: var(--s2); font: italic 400 16px/1.3 var(--title); color: var(--gold); opacity: .85; }
.clip:nth-child(even) { transform: translateY(48px); }
.drift { position: absolute; pointer-events: none; opacity: .9; filter: drop-shadow(0 10px 18px rgba(0,0,0,.4)); }

/* worlds: two belts of real flights, drifting in opposite directions */
.worlds { padding-bottom: clamp(64px, 9vw, 128px); overflow: hidden; }
.worlds .sec-head { max-width: 760px; margin-inline: auto; }
.reel { display: grid; gap: clamp(12px, 1.4vw, 20px); }
.reel .row { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reel .belt { display: flex; gap: clamp(12px, 1.4vw, 20px); width: max-content; will-change: transform; }
.shot { position: relative; flex: none; width: clamp(300px, 34vw, 520px); margin: 0; }
.shot .lb { display: block; width: 100%; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: #0d1230; cursor: zoom-in; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 24px 50px -28px #000; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.shot .lb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.2s var(--ease), filter .5s; filter: saturate(.96); }
.shot:hover .lb { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--rim), 0 30px 60px -28px #000; }
.shot:hover .lb img { transform: scale(1.03); filter: saturate(1.05); }
.shot figcaption { position: absolute; left: var(--s3); bottom: var(--s3); display: flex; align-items: center; gap: var(--s3); height: 44px; padding: 0 var(--s4) 0 var(--s2); border-radius: 999px; background: rgba(9, 13, 34, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.1); pointer-events: none; }
.shot figcaption .st { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px rgba(243,196,106,.55); }
.shot figcaption span { display: flex; align-items: baseline; gap: var(--s2); line-height: 1; white-space: nowrap; }
.shot figcaption b { font: 600 14px/1 var(--ui); color: var(--paper); }
.shot figcaption i { font: italic 400 15px/1 var(--title); color: var(--text-2); }
.lightbox { width: min(1280px, 94vw); max-height: 94svh; padding: 0; border: 0; border-radius: 24px; background: #0b0f28; color: var(--text); box-shadow: 0 0 0 1px var(--rim), 0 60px 140px -40px #000; overflow: hidden; }
.lightbox::backdrop { background: rgba(5, 7, 20, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.lightbox .cap { display: grid; justify-items: center; gap: var(--s1); padding: var(--s5) var(--s5) 0; text-align: center; }
.lightbox .cap b { font: italic 600 28px/1.1 var(--title); color: var(--paper); }
.lightbox .cap span { font: 600 12px/1.3 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.lightbox .cap i { font-style: normal; color: var(--text-2); font-size: 16px; }
.lightbox .nav { display: flex; justify-content: center; gap: var(--s3); padding: var(--s4) var(--s5) var(--s5); }

/* five real flights: poster, then the game itself in a frame */
.toy { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 9; background: #0d1230; box-shadow: 0 0 0 1px var(--rim), 0 50px 90px -40px rgba(0,0,0,.9); }
.toy .poster { position: absolute; inset: 0; transition: opacity .6s var(--ease), visibility .6s; }
.toy .poster > img { width: 100%; height: 100%; object-fit: cover; }
.toy .veil { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: var(--s4); padding: var(--s5); text-align: center; background: radial-gradient(70% 70% at 50% 50%, rgba(9,13,34,.78), rgba(9,13,34,.35)); }
.toy .veil h3 { font-size: clamp(28px, 3.4vw, 46px); }
.toy .veil p { color: var(--text-2); max-width: 30em; }
.toy .veil .pill { margin-top: var(--s2); }
.toy .veil .turn { display: none; font: 500 13px/1.4 var(--ui); color: var(--text-3); }
.toy iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #0b0d1e; opacity: 0; transition: opacity .5s; }
.toy.on iframe { opacity: 1; }
.toy.on .poster { opacity: 0; visibility: hidden; }
.toy .close { position: absolute; top: var(--s3); right: var(--s3); z-index: 3; display: none; }
.toy.full { position: fixed; inset: 0; z-index: 100; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.toy.full .close { display: inline-flex; top: max(8px, env(safe-area-inset-top)); right: max(8px, env(safe-area-inset-right)); }
html.playing, html.playing body { overflow: hidden; }
.toy-after { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: var(--s4); margin-top: var(--s5); text-align: center; opacity: 0; transform: translateY(8px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.toy-after.in { opacity: 1; transform: none; }
.toy-after p { color: var(--text-2); }
.toy-after b { color: var(--paper); font-weight: 600; }
.toy-keys { margin-top: var(--s4); font: 500 13px/1.4 var(--ui); color: var(--text-3); text-align: center; }
@media (pointer: coarse) and (orientation: portrait) {
  .toy .veil .turn { display: block; }
  .toy.full::after { content: "Turn your phone sideways to fly."; position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 32px; text-align: center; font: italic 600 26px/1.2 var(--title); color: var(--paper); background: rgba(9,13,34,.94); }
}
@media (max-width: 640px) {
  .toy { aspect-ratio: 4 / 5; border-radius: 22px; }
  .toy .veil { gap: var(--s3); }
  .shot { width: 78vw; }
  .shot figcaption { height: 40px; }
  .shot figcaption i { display: none; }
}

/* trailer */
.trailer .screen { position: relative; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--rim), 0 60px 120px -50px rgba(0,0,0,1); }
.trailer .screen img, .trailer .screen video { width: 100%; height: 100%; object-fit: cover; }
.trailer .play { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: var(--s4); background: radial-gradient(60% 60% at 50% 50%, rgba(9,13,34,.2), rgba(9,13,34,.65)); transition: background .4s; }
.trailer .play:hover { background: radial-gradient(60% 60% at 50% 50%, rgba(9,13,34,.05), rgba(9,13,34,.55)); }
.trailer .ring { width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; background: rgba(9,13,34,.4); box-shadow: 0 0 0 1.5px var(--gold), 0 0 40px rgba(243,196,106,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .4s var(--ease); }
.trailer .play:hover .ring { transform: scale(1.06); }
.trailer .ring svg { width: 34px; height: 34px; fill: var(--gold); margin-left: 6px; }
.trailer .play span { font: 600 13px/1 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--paper); }
.trailer .play > span:not(.ring) { margin-right: -.2em; } /* trailing letter-space would push the label left of the ring */

/* keepers + secrets */

/* race */
.race .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.board { border-radius: 24px; padding: var(--s5); background: linear-gradient(180deg, rgba(30,38,90,.55), rgba(15,21,52,.7)); box-shadow: 0 0 0 1px var(--hair), 0 40px 80px -40px #000; display: grid; gap: var(--s2); }
.board .row { display: grid; grid-template-columns: 32px 40px 1fr auto; align-items: center; gap: var(--s3); height: 52px; padding: 0 var(--s4); border-radius: 14px; background: rgba(255,255,255,.03); font: 500 15px/1 var(--ui); }
.board .row.you { background: rgba(243,196,106,.1); box-shadow: inset 0 0 0 1px var(--rim); }
.board .row i { font-style: normal; color: var(--text-3); font-variant-numeric: tabular-nums; text-align: center; }
.board .row img { width: 36px; height: 36px; }
.board .row b { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--paper); }
.board .row small { font: 500 12px/1 var(--ui); color: var(--text-3); margin-left: var(--s2); }
.board .head { display: flex; justify-content: space-between; align-items: center; padding: 0 var(--s2) var(--s2); font: 600 12px/1 var(--ui); letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); }
.ticks { display: grid; gap: var(--s3); margin-top: var(--s5); }
.ticks li { list-style: none; display: grid; grid-template-columns: 24px 1fr; gap: var(--s3); align-items: center; color: var(--text-2); }
.ticks img { width: 24px; height: 24px; }

/* sequel */
@keyframes swim { from { transform: translate(0, 0) rotate(-2deg); } to { transform: translate(-60px, 28px) rotate(1deg); } }

/* editions */
.editions .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto 1fr auto auto; column-gap: var(--s5); row-gap: 0; align-items: stretch; padding-top: var(--s4); }
/* every card shares the same rows (subgrid), so titles, prices, lists and buttons line up across all three */
.ed { position: relative; grid-row: span 6; display: grid; grid-template-rows: subgrid; row-gap: var(--s5); justify-items: center; text-align: center; padding: var(--s6) var(--s6) var(--s6); border-radius: 28px; background: linear-gradient(180deg, rgba(28,36,84,.6), rgba(14,19,48,.8)); box-shadow: 0 0 0 1px var(--hair), 0 40px 80px -40px #000; }
.ed .badge { position: absolute; top: 0; left: 50%; translate: -50% -50%; }
.ed .badge:empty { display: none; }
.ed .badge .pill { height: 30px; padding: 0 var(--s4); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.ed .badge .pill span { margin-right: -.16em; position: relative; top: -1px; } /* caps only: lift to the middle line, drop the trailing letter-space */
.ed header { display: grid; gap: var(--s2); justify-items: center; padding-top: var(--s2); }
.ed h3 { font-size: 32px; line-height: 1.05; }
.ed .sub { font: 500 14px/1.4 var(--ui); color: var(--text-3); }
.ed .cost { display: grid; gap: var(--s2); justify-items: center; width: 100%; padding: var(--s5) 0; border-block: 1px solid var(--hair); }
.ed .price { display: flex; align-items: center; justify-content: center; gap: var(--s3); }
.ed .price b { font: 700 44px/1 var(--ui); color: var(--paper); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.ed .price small { font: 600 11px/1.3 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); text-align: left; max-width: 7em; }
.ed .alt { font: 500 14px/1.4 var(--ui); color: var(--text-2); }
.ed ul { display: grid; gap: var(--s3); align-content: start; justify-self: stretch; text-align: left; padding: 0; }
.ed li { list-style: none; display: grid; grid-template-columns: 20px 1fr; gap: var(--s3); align-items: center; font-size: 16px; color: var(--text-2); line-height: 1.4; }
.ed li img { width: 20px; height: 20px; object-fit: contain; }
.ed .extra { display: flex; gap: var(--s3); justify-content: center; align-items: center; min-height: 48px; }
.ed > .pill { justify-self: stretch; }
.ed.star { background: radial-gradient(90% 60% at 50% 0%, rgba(243,196,106,.16), transparent 70%), linear-gradient(180deg, #232a64, #121842); box-shadow: 0 0 0 1px rgba(243,196,106,.45), 0 50px 100px -40px rgba(0,0,0,1), 0 0 80px -30px rgba(243,196,106,.4); }
/* black opal: near-black glass with a slow play of colour in the rim */
.ed.opal { background: radial-gradient(120% 70% at 50% 0%, rgba(124, 92, 255, .14), transparent 60%), radial-gradient(80% 50% at 100% 100%, rgba(40, 200, 190, .08), transparent 70%), linear-gradient(180deg, #121222, #07070f); box-shadow: 0 0 0 1px rgba(190, 180, 255, .22), 0 50px 100px -40px #000, 0 0 70px -34px rgba(120, 110, 255, .55); }
.ed.opal h3 { background: linear-gradient(100deg, #f3eefe 0%, #cbbcff 35%, #9fe7e0 60%, #f6d3ff 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pill.obsidian { position: relative; color: #efeaff; background: linear-gradient(180deg, #2a2838 0%, #12111c 55%, #08070e 100%); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 -2px 0 rgba(0,0,0,.6) inset, 0 10px 28px -10px rgba(110, 90, 255, .6); overflow: hidden; isolation: isolate; }
.pill.obsidian::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(110deg, transparent 20%, rgba(120, 240, 220, .22) 38%, rgba(170, 130, 255, .3) 50%, rgba(255, 150, 220, .22) 62%, transparent 80%); background-size: 250% 100%; animation: opal 7s ease-in-out infinite; mix-blend-mode: screen; }
.pill.obsidian svg { fill: #efeaff; }
.pill.obsidian:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 -2px 0 rgba(0,0,0,.6) inset, 0 16px 36px -10px rgba(130, 110, 255, .8); }
@keyframes opal { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0% 0; } }
@media (prefers-reduced-motion: reduce) { .pill.obsidian::before { animation: none; background-position: 50% 0; } }
.sec-head.center { text-align: center; justify-items: center; }
.free { margin-top: var(--s5); text-align: center; color: var(--text-2); font: 500 15px/1.5 var(--ui); }

/* final call */
.dawn { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(160px, 18vw, 256px) 0 clamp(280px, 30vw, 420px); background: var(--ink); }
.dawn .sky { position: absolute; inset: 0; z-index: -2; }
.dawn .sky img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; filter: brightness(.5) saturate(.75); transition: filter 3.2s var(--ease); }
.dawn.all .sky img { filter: brightness(1) saturate(1.05); }
.dawn::before { content: ''; position: absolute; inset: 0 0 auto; height: 40%; z-index: -1; background: linear-gradient(180deg, var(--ink), rgba(9,13,34,0)); pointer-events: none; }
.dawn h2, .dawn .when { text-shadow: 0 2px 24px rgba(9,13,34,.6); }
.dawn .stars { position: absolute; inset: 0; z-index: -1; opacity: .7; mix-blend-mode: screen; }
.dawn .sun { position: absolute; z-index: -1; left: 50%; bottom: -30vmin; width: 110vmin; height: 70vmin; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,214,150,.55), rgba(255,170,100,0)); mix-blend-mode: screen; opacity: 0; transition: opacity 3s, transform 3s var(--ease); transform: translateY(14%); }
.dawn.all .sun { opacity: 1; transform: none; }
.dawn .wrap { display: grid; justify-items: center; gap: var(--s5); }
.dawn h2 { max-width: 13em; }
.dawn .stores { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); }
.dawn .when { font: 600 13px/1 var(--ui); letter-spacing: .22em; text-transform: uppercase; color: var(--paper); opacity: .9; }

footer { background: #07091a; padding: var(--s6) 0 max(var(--s6), env(safe-area-inset-bottom)); font: 500 14px/1.5 var(--ui); color: var(--text-3); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s4); }
footer nav { display: flex; flex-wrap: wrap; gap: var(--s2); }
footer nav a { display: inline-flex; align-items: center; height: 36px; padding: 0 var(--s3); border-radius: 999px; transition: color .2s, background .2s; }
footer nav a:hover { color: var(--paper); background: rgba(255,255,255,.05); }
footer .hidden-lamp { width: 22px; height: 22px; opacity: .18; transition: opacity .4s, filter .4s; cursor: pointer; }
footer .hidden-lamp:hover { opacity: .7; filter: drop-shadow(0 0 8px var(--lantern)); }
footer .clue { flex-basis: 100%; order: 3; margin: 0; font: italic 400 15px/1.5 var(--title); color: var(--text-3); text-align: center; opacity: .8; }

/* secret letter modal */
dialog.secret { margin: auto; border: 0; background: transparent; max-width: min(460px, 92vw); overflow: visible; }
dialog.secret::backdrop { background: rgba(5,7,20,.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog.secret .letter { transform: rotate(-1.5deg); animation: unfold .9s var(--ease); }
@keyframes unfold { from { transform: rotate(-1.5deg) translateY(30px) scale(.94); opacity: 0; } }
dialog.secret .close { position: absolute; top: -56px; right: 0; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .story .wrap, .race .wrap { grid-template-columns: 1fr; }
  .beats { grid-template-columns: 1fr; gap: var(--s4); }
  .wonders .grid { grid-template-columns: repeat(2, 1fr); gap: var(--s4); }
  .editions .grid { grid-template-columns: 1fr; grid-template-rows: none; max-width: 480px; margin-inline: auto; row-gap: var(--s6); }
  .ed { grid-row: auto; grid-template-rows: none; }
  .ed.star { order: -1; }
  .letter { margin-top: var(--s5); }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  :root { --wrap: calc(100vw - 40px); }
  .top { padding: var(--s3) var(--s4); padding-top: max(var(--s3), env(safe-area-inset-top)); }
  .sec .wrap, .dawn .wrap { width: auto; margin-left: 20px; margin-right: 52px; }
  .dawn .wrap { margin-right: 20px; }
  .top .brand span, .top .wish span, .snd span { display: none; }
  .top .wish { width: 40px; padding: 0; }
  .top .pill.small { height: 40px; }
  .snd { width: 40px; padding: 0; }
  .hero .copy { padding: 96px 0 112px; gap: var(--s4); align-content: end; min-height: 100svh; }
  .hero .bg img { object-position: 72% 50%; }
  .cta { width: 100%; } .cta .pill { flex: 1 1 100%; }
  .clip:nth-child(even) { transform: none; }
  .letter .post { right: -6px; width: 80px; }
  .letter .seal { right: -6px; }
  .flyer { width: 34px; height: 34px; margin: -17px 0 0 -17px; }
  .waylamp { width: 34px; height: 34px; margin: -17px 0 0 -17px; }
  .waylamp::before { inset: -36px; }
  .route path.halo { stroke-width: 8; }
  .ed { padding: var(--s5); }
  .dawn .stores .pill { flex: 1 1 100%; }
  .board .row { grid-template-columns: 24px 32px 1fr auto; padding: 0 var(--s3); }
  .board .row small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.count b span, .count b { display: inline; white-space: nowrap; }

/* ---------- legal pages (/privacy, /terms, /delete) ---------- */
.legal-page { background: radial-gradient(120% 60% at 50% 0%, #1a2350 0%, var(--ink) 60%) fixed; }
.legal-page .top { position: sticky; }
.legal-page .top nav .pill.cur { border-color: var(--rim); color: var(--gold); }
main.legal { width: min(760px, calc(100vw - 40px)); margin: 0 auto; padding: var(--s6) 0 96px; font-size: 18px; line-height: 1.65; color: var(--text); }
main.legal h1 { font-size: clamp(40px, 6vw, 60px); margin: var(--s5) 0 var(--s2); }
main.legal .updated { margin: 0 0 var(--s6); font: 500 14px/1.4 var(--ui); color: var(--text-3); }
main.legal .lead { font-size: 20px; color: var(--paper); }
main.legal h2 { margin: 48px 0 var(--s3); font: 600 12px/1.4 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
main.legal h3 { font-size: 24px; margin: var(--s5) 0 var(--s2); }
main.legal p, main.legal li { margin: 0 0 var(--s3); color: var(--text-2); }
main.legal strong { color: var(--paper); font-weight: 500; }
main.legal a:not(.pill) { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(243,196,106,.4); text-underline-offset: 3px; }
main.legal ul, main.legal ol { padding-left: var(--s5); margin: 0 0 var(--s4); }
main.legal .table { overflow-x: auto; margin: var(--s2) 0 var(--s4); border-radius: 16px; box-shadow: 0 0 0 1px var(--hair); background: rgba(20,26,60,.35); }
main.legal table { width: 100%; border-collapse: collapse; font: 400 15px/1.5 var(--body); }
main.legal th, main.legal td { padding: var(--s3) var(--s4); text-align: left; vertical-align: top; border-bottom: 1px solid var(--hair); color: var(--text-2); }
main.legal tr:last-child td { border-bottom: 0; }
main.legal th { font: 600 11px/1.4 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
main.legal .steps { counter-reset: step; list-style: none; padding: 0; }
main.legal .steps li { counter-increment: step; position: relative; padding: var(--s4) var(--s4) var(--s4) 64px; margin-bottom: var(--s3); border-radius: 16px; box-shadow: 0 0 0 1px var(--hair); background: rgba(20,26,60,.35); }
main.legal .steps li::before { content: counter(step); position: absolute; left: var(--s4); top: var(--s4); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; box-shadow: 0 0 0 1px var(--gold); color: var(--gold); font: 600 14px/1 var(--ui); }
main.legal .back { margin-top: 64px; }
@media (max-width: 640px) {
  .legal-page .top .brand span { display: none; }
  .legal-page .top nav .pill { padding: 0 var(--s3); }
}
@media (max-width: 640px) { .top .pill.snd svg { width: 20px; height: 20px; } .hero .lamp { width: 56px; } }

/* ---------- phones, landscape phones and tablets (mobile pass, Dec 4) ---------- */
/* hero meta: dots sit between items only, never at the start of a wrapped line */
.hero .meta { column-gap: 0; margin-left: calc(-1 * var(--s4)); clip-path: inset(-8px -8px -8px var(--s4)); }
.hero .meta > * { position: relative; margin-left: var(--s4); }
.hero .meta > span::before { content: ''; position: absolute; left: calc(var(--s2) * -1 - 2px); top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--gold); opacity: .7; }
.hero .meta > b + span::before { left: calc(var(--s2) * -1 - 2px); }
/* tablets and landscape phones: no side gutter for the trail, so it runs one quiet rail on the right, as on phones */
@media (min-width: 641px) and (max-width: 1099px) {
  .sec .wrap { width: auto; margin-left: 60px; margin-right: 60px; }
  .flyer { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .waylamp { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
  .waylamp::before { inset: -40px; }
  .dawn .stores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 560px); }
}
/* landscape phones: the hero and the two screens fit in one view */
@media (orientation: landscape) and (max-height: 520px) {
  .hero .copy { padding: 72px 0 32px; gap: var(--s3); min-height: 100svh; align-content: center; }
  .hero .logo { width: auto; height: 30svh; max-width: 60vw; }
  .hero .tag { font-size: 22px; }
  .hero .scroll-cue { display: none; }
  .toy { aspect-ratio: auto; height: max(240px, calc(100svh - 104px)); }
}
@media (max-width: 640px) {
  .top .snd { width: 40px; padding: 0; }
  .kicker { line-height: 1.5; }
  .sec-head.center .kicker { justify-content: center; text-align: center; }
  .sec-head.center .kicker::before { display: none; }
  .hero .meta > b { flex-basis: calc(100% - var(--s4)); }
  .hero .meta { row-gap: var(--s1); }
  .board .head { gap: var(--s3); font-size: 11px; letter-spacing: .12em; white-space: nowrap; }
  footer .wrap, footer nav { justify-content: center; text-align: center; }
}
@media (max-width: 960px) { .ed .extra:empty { display: none; } }
/* phones: the trail rail switches sides section by section; content leaves the lane on whichever side it runs */
@media (max-width: 640px) {
  .sec:has(+ .way[data-x^=".1"]) .wrap { margin-left: 52px; margin-right: 20px; }
}
/* new logo (Dec 4, taller 2:1 lettering): same visual weight as before */
.hero .logo { width: min(540px, 78vw); height: auto; }
@media (orientation: landscape) and (max-height: 520px) { .hero .logo { width: auto; height: 32svh; } }

/* ---- edition cards: a hand of five worlds, each in its own colour (Alex chose the hand, 12-04) ---- */
.ed .previews > img:nth-child(1) { --i: 0; } .ed .previews > img:nth-child(2) { --i: 1; } .ed .previews > img:nth-child(3) { --i: 2; } .ed .previews > img:nth-child(4) { --i: 3; } .ed .previews > img:nth-child(5) { --i: 4; } .ed .previews > img:nth-child(6) { --i: 5; } .ed .previews > img:nth-child(7) { --i: 6; }
.ed .previews { position: relative; display: block; width: 100%; height: 214px; min-height: 0; padding: 0; margin: 0; }
.ed .previews > img { --d: calc(var(--i) - 2); position: absolute; left: 50%; top: 50%; margin: 0; width: 146px; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; transform-origin: 50% 330%; box-shadow: 0 0 0 1.5px var(--c), 0 18px 26px -14px #000; z-index: calc(10 + var(--i)); transform: translate(-50%, -34%) rotate(calc(var(--d) * 10deg)); translate: 0 0; scale: 1; cursor: default; transition: transform .6s cubic-bezier(.2,.8,.2,1), translate .45s cubic-bezier(.2,.9,.25,1.25), scale .45s cubic-bezier(.2,.9,.25,1.25), filter .4s, box-shadow .4s; }
.ed:hover .previews > img { transform: translate(-50%, -36%) rotate(calc(var(--d) * 12deg)); }
/* the base game: five worlds in front like the other editions, four more fanned behind them (twenty in all) */
.ed .previews > img.back { transform: translate(-50%, calc(-34% - 40px)) rotate(calc(var(--d) * 12deg)); width: 124px; }
.ed:hover .previews > img.back { transform: translate(-50%, calc(-36% - 46px)) rotate(calc(var(--d) * 14deg)); }
/* hover one world: it lifts towards you in its own light, the others settle back (translate/scale compose with the fan's transform) */
.ed .previews > img:hover { scale: 1.06; }
/* Starlight: the edition's exclusive planes fly over its race tracks, each on its own gentle drift */
.ed .previews .fleet { position: absolute; inset: 0; z-index: 40; pointer-events: none; }
.ed .previews .fleet img { pointer-events: auto; }
.ed .previews .fleet img { position: absolute; left: 50%; top: 50%; width: 46px; height: auto; filter: saturate(1.45) contrast(1.08) brightness(1.08) drop-shadow(0 8px 10px rgba(0,0,0,.55)); transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--r));  }
.ed .previews .fleet img:nth-child(1) { --x: -100.8px; --y: -72.7px; --r: -26deg; --t: -0.0s; width: 38px; }
.ed .previews .fleet img:nth-child(2) { --x: 0.0px; --y: -96.0px; --r: 0deg; --t: -0.5s; width: 44px; }
.ed .previews .fleet img:nth-child(3) { --x: 100.8px; --y: -72.7px; --r: 26deg; --t: -1.0s; width: 38px; }
@media (max-width: 640px) { .ed .previews { transform: scale(.84); margin: -14px 0; } }
/* round 3 (Dec 4): phones centre the hero; editions keep the desktop order; dawn shows the minaret and its colour */
@media (max-width: 640px) {
  .hero .copy { justify-items: center; text-align: center; }
  .hero .tag { text-wrap: balance; }
  .hero .meta { justify-content: center; margin-left: 0; clip-path: none; column-gap: var(--s4); }
  .hero .meta > * { margin-left: 0; }
  .hero .meta > b { flex-basis: 100%; }
  .hero .meta > b + span::before { display: none; }
  .dawn { padding-bottom: 480px; }
  .dawn .sky { inset: auto 0 0 0; height: 78%; -webkit-mask: linear-gradient(180deg, transparent, #000 28%); mask: linear-gradient(180deg, transparent, #000 28%); }
  .dawn .sky img { object-position: 25% 100%; filter: brightness(.72) saturate(.9); }
  .dawn.all .sky img { filter: brightness(1.06) saturate(1.12); }
}
@media (max-width: 960px) { .ed.star { order: 0; } }

/* ---- premium editions: what each one adds sits just behind its fan, overlapped by the worlds (Alex 12-04) ---- */
.ed .previews .behind { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.ed .previews .behind .dl { pointer-events: auto; }
.ed .previews .behind > * { position: absolute; left: 50%; top: 50%; }
/* a crown of three delights behind the fan (Alex 12-05): one on each shoulder and one at the crest, each
   tucked about 40 % behind the worlds, sharing one arc, none touching another. Planes fly beneath the hand. */
.ed .previews .dl { margin: 0; translate: -50% -100%; filter: drop-shadow(0 10px 14px rgba(0,0,0,.55)); animation: bob 6s ease-in-out infinite alternate; }
.ed .previews .dl.l { width: 118px; left: calc(50% - 112px); top: calc(50% + 22px); }
.ed .previews .dl.c { width: 124px; left: 50%; top: calc(50% - 22px); animation-duration: 7.5s; }
.ed .previews .dl.r { width: 118px; left: calc(50% + 112px); top: calc(50% + 22px); scale: -1 1; animation-duration: 6.8s; animation-direction: alternate-reverse; }
@keyframes bob { from { transform: translateY(0) rotate(-1.5deg); } to { transform: translateY(-5px) rotate(1.5deg); } }
@media (prefers-reduced-motion: reduce) { .ed .previews .behind * { animation: none !important; } }
/* the five legendary planes of the sequel, one per world (LOOP-101), flying over its levels */
.ed .previews .fleet.legend img:nth-child(1) { --x: -121.9px; --y: -61.1px; --r: -32deg; --t: -0.0s; width: 34px; }
.ed .previews .fleet.legend img:nth-child(2) { --x: -63.4px; --y: -87.1px; --r: -16deg; --t: -0.5s; width: 38px; }
.ed .previews .fleet.legend img:nth-child(3) { --x: 0.0px; --y: -96.0px; --r: 0deg; --t: -1.0s; width: 44px; }
.ed .previews .fleet.legend img:nth-child(4) { --x: 63.4px; --y: -87.1px; --r: 16deg; --t: -1.5s; width: 38px; }
.ed .previews .fleet.legend img:nth-child(5) { --x: 121.9px; --y: -61.1px; --r: 32deg; --t: -2.0s; width: 34px; }
.ed.opal .previews .dl.r { width: 104px; top: calc(50% + 24px); left: calc(50% + 118px); }
.ed.opal .previews .dl.l { width: 116px; top: calc(50% + 4px); left: calc(50% - 122px); }
.ed.opal .previews .dl.c { width: 100px; top: calc(50% - 20px); left: 50%; }
/* the planes fly an arc over the crown */
/* one light falls on the whole group, so worlds, creatures and planes read as one illustration */
.ed .previews .behind::before { content: ""; position: absolute; left: 50%; top: 50%; width: 360px; height: 220px; translate: -50% -62%; border-radius: 50%; background: radial-gradient(closest-side, var(--glow, rgba(243,196,106,.16)), transparent); }
.ed.opal .previews { --glow: rgba(170,130,255,.16); }
/* the planes ride one circle; a dotted trail of light runs along it and sparkles twinkle between them (Alex 12-05) */
.ed .previews .flightpath { position: absolute; left: 50%; top: 50%; width: 400px; max-width: none; height: 300px; translate: -50% -50%; z-index: 39; pointer-events: none; overflow: visible; color: #f6d68a; }
.ed.opal .previews .flightpath { color: #d9c2ff; }
.ed .previews .flightpath stop { stop-color: currentColor; }
.ed .previews .flightpath .dots { fill: none; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 0 8; animation: trail 2.4s linear infinite; filter: drop-shadow(0 0 3px currentColor); opacity: .8; }
@keyframes trail { to { stroke-dashoffset: -16; } }
.ed .previews .flightpath .spark { fill: #fff; filter: drop-shadow(0 0 4px currentColor); }
.ed .previews .flightpath .spark path { transform-box: fill-box; transform-origin: center; animation: twinkle 2.6s ease-in-out calc(var(--k) * -.45s) infinite; }
@keyframes twinkle { 0%, 100% { scale: .3; opacity: .2; rotate: 0deg; } 50% { scale: 1; opacity: 1; rotate: 45deg; } }
@media (prefers-reduced-motion: reduce) { .ed .previews .flightpath * { animation: none !important; } }
/* hovering a delight or a plane: it catches the light, a warm glow blooms round it and it brightens (Alex 12-05, no overlay) */
.ed .previews .dl, .ed .previews .fleet img { transition: filter .45s ease, scale .45s cubic-bezier(.2,.8,.2,1); }
.ed .previews .dl:hover { filter: brightness(1.08) saturate(1.06) drop-shadow(0 0 4px var(--lit, rgba(255,222,150,.5))) drop-shadow(0 0 14px var(--lit, rgba(255,200,110,.3))); scale: 1.03; }
.ed .previews .dl.r:hover { scale: -1.03 1.03; }
.ed .previews .fleet img:hover { filter: saturate(1.5) contrast(1.08) brightness(1.14) drop-shadow(0 0 3px var(--lit, rgba(255,222,150,.55))) drop-shadow(0 0 12px var(--lit, rgba(255,200,110,.32))); scale: 1.06; }
.ed.opal .previews { --lit: rgba(214,180,255,.45); }
