/* ellie Up! — "one climb". Colors are the app's MenuTheme: cream #FFFAEC, ink #403522, muted
   #6E624B, line #ECE2C8, JUMP yellow #FFCC00 with butter edge #D9AC40, HUD navy #1B1F3B; the
   hero sky is the meadow's #8CD8EF → #FFF5DC. Headings use Jua, the app's own rounded face. */
.page-up {
  --eu-cream: #fffaec; --eu-paper: #fff6d8; --eu-card: #fffef7; --eu-ink: #403522; --eu-muted: #6e624b; --eu-line: #ece2c8;
  --eu-yellow: #ffcc00; --eu-butter: #ffd45c; --eu-edge: #d9ac40; --eu-orange: #b8730f; --eu-navy: #1b1f3b;
  --eu-sky: #d6e8f3; --eu-mint: #ddebdc; --eu-pink: #f7d3d6; --eu-lilac: #e6ddf3; --eu-peach: #fbe0c4;
  --eu-sky-top: #8cd8ef; --eu-sky-bottom: #fff5dc;
  --eu-display: 'Jua', var(--font-ko);
  --eu-sheet: url('/assets/up/ellie-sheet.webp');
  background: var(--eu-cream);
}
@property --drift { syntax: '<number>'; inherits: true; initial-value: 0; }
html:has(.page-up) { scroll-padding-top: 156px; }
.page-up .site-header { background: rgba(255, 250, 236, .9); }
.page-up .site-header.scrolled { box-shadow: 0 1px 0 var(--eu-line); }
@media (max-width: 520px) { .page-up .main-nav { background: #fffaecfa; border-bottom-color: var(--eu-line); } }

.eu-page { color: var(--eu-ink); background: var(--eu-cream); overflow-x: clip; }
.eu-page ::selection { background: var(--eu-butter); color: var(--eu-ink); }
.eu-page :focus-visible { outline: 3px solid var(--eu-orange); outline-offset: 3px; }
.eu-page h1, .eu-page h2, .eu-page h3, .eu-page h4 { font-family: var(--eu-display); font-weight: 400; letter-spacing: -.01em; }
.eu-page h4 { margin: 0; }
/* Grid columns never grow past the screen to fit a sideways-scrolling row. */
.eu-page :is(.eu-hero-inner, .eu-closet-body, .eu-mode-grid, .eu-stations, .eu-cards, .eu-start-steps, .eu-spec) > * { min-width: 0; }
.eu-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eu-eyebrow { margin-bottom: 20px; font-size: 13px; font-weight: 700; letter-spacing: .18em; color: var(--eu-orange); }
html:lang(ko) .eu-eyebrow { font-size: var(--text-label); letter-spacing: .06em; }
.eu-head h2 { font-size: clamp(40px, 4.8vw, 66px); line-height: 1.12; }
.eu-head > p:not(.eu-eyebrow) { max-width: 640px; margin-top: 22px; font-size: var(--text-lead); line-height: 1.8; color: var(--eu-muted); }
.eu-note { margin-top: 26px; font-size: 13px; line-height: 1.65; color: var(--eu-muted); }

/* Section index. A little Ellie stands at the current section. */
.eu-nav { position: sticky; top: var(--nav-height, 86px); z-index: 40; background: rgba(255, 250, 236, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--eu-line); }
.eu-nav .wrap { display: flex; align-items: center; gap: 22px; min-height: 58px; }
.eu-nav-name { display: flex; align-items: center; gap: 10px; flex-shrink: 0; font-family: var(--eu-display); font-size: 18px; }
.eu-nav-name img { width: 28px; height: 28px; }
.eu-nav-links { position: relative; display: flex; gap: 4px; margin-left: auto; padding-block: 6px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.eu-nav-links::-webkit-scrollbar { display: none; }
.eu-nav-links a { position: relative; padding: 8px 14px 8px 30px; border-radius: 20px; font-size: var(--text-small); color: var(--eu-muted); white-space: nowrap; transition: color .2s, background .2s, box-shadow .2s; }
.eu-nav-links a::before { content: ''; position: absolute; left: 14px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--eu-line); transition: opacity .2s; }
.eu-nav-links a:hover { color: var(--eu-ink); background: #fff3c9; }
.eu-nav-links a[aria-current=true] { color: var(--eu-ink); background: var(--eu-butter); box-shadow: 0 3px 0 var(--eu-edge); font-weight: 650; }
.eu-nav-links a[aria-current=true]::before { opacity: 0; }
.eu-nav-ellie { position: absolute; left: 0; top: 50%; width: 22px; height: 21px; margin-top: -12px; background: var(--eu-sheet) 0 100% / 600% 100% no-repeat; opacity: 0; pointer-events: none; transform: translateX(var(--x, 0px)); transition: transform .6s var(--ease), opacity .3s; }
.eu-nav-ellie.is-shown { opacity: 1; }
.eu-nav-ellie.is-hopping { animation: eu-nav-hop .6s var(--ease); }

/* Hero: the meadow sky, and a little course to play. */
.eu-hero { position: relative; overflow: hidden; isolation: isolate; padding-top: 40px; background: linear-gradient(var(--eu-sky-top) 0%, #bfe7f2 46%, var(--eu-sky-bottom) 100%); }
.eu-clouds { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.eu-clouds i { position: absolute; width: 170px; height: 52px; border-radius: 40px; background: #fff; opacity: .7; box-shadow: 34px -20px 0 6px #fff, 86px -10px 0 2px #fff; }
/* Clouds keep to the open sky: above the copy and around the course, never behind the text. */
.eu-clouds i:nth-child(1) { left: 44%; top: 5%; transform: scale(.8); }
.eu-clouds i:nth-child(2) { left: 52%; top: 46%; transform: scale(.6); opacity: .55; }
.eu-clouds i:nth-child(3) { left: 90%; top: 34%; transform: scale(.85); }
.eu-clouds i:nth-child(4) { left: -6%; top: 3%; transform: scale(.55); opacity: .5; }
.eu-hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding-bottom: 70px; }
.eu-back { color: var(--eu-muted); margin-bottom: 26px; }
.eu-back:hover { color: var(--eu-ink); }
.eu-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: var(--text-label); color: var(--eu-muted); }
.eu-kicker strong { font-family: var(--eu-display); font-weight: 400; font-size: 20px; color: var(--eu-ink); }
.eu-kicker span::before { content: ''; display: inline-block; width: 22px; height: 2px; margin-right: 14px; vertical-align: middle; border-radius: 2px; background: var(--eu-yellow); }
.eu-hero h1 { margin: 22px 0 24px; font-size: clamp(50px, 6.2vw, 92px); line-height: 1.08; }
html:lang(en) .eu-hero h1 { font-size: clamp(44px, 5.2vw, 76px); }
.eu-line { display: block; }
.eu-line:last-child { color: var(--eu-orange); text-shadow: 0 3px 0 #fff8dd; }
.eu-lead { max-width: 540px; font-size: var(--text-lead); line-height: 1.75; color: #4f4430; }
.eu-platforms { --ui-icon-size: 24px; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.eu-platforms > span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 13px 4px 6px; border: 1px solid #ffffffb0; border-radius: 20px; background: #ffffff8c; font-size: var(--text-small); }
.eu-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.eu-store { --ui-icon-size: 26px; display: inline-flex; align-items: center; gap: 12px; min-height: 50px; padding: 10px 14px 10px 22px; border-radius: 30px; background: var(--eu-yellow); box-shadow: 0 4px 0 var(--eu-edge); font-weight: 650; }
.eu-soon { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 22px; background: #ffffffb3; font-size: var(--text-small); color: var(--eu-ink); }
.eu-soon i { width: 8px; height: 8px; border-radius: 50%; background: var(--eu-yellow); box-shadow: 0 0 0 4px #ffcc0033; }
.eu-grass { position: absolute; left: -5%; right: -5%; bottom: -1px; z-index: -1; height: 120px; background: radial-gradient(60% 100% at 22% 100%, #c9e6ad 0 60%, transparent 61%), radial-gradient(55% 90% at 78% 100%, #d8edc0 0 60%, transparent 61%), linear-gradient(transparent 70%, var(--eu-cream) 70%); }

/* The course. Canvas drawing is the game's art at the game's world size (360 wide). */
/* Hero: a short reel of the real app, on a tilted card rather than a phone. */
.eu-reel { justify-self: end; display: grid; gap: 14px; width: min(100%, 360px, max(240px, calc((100svh - var(--nav-height, 86px) - 58px - 150px) * .489))); margin: 0; }
.eu-reel-frame { position: relative; aspect-ratio: 540 / 1104; overflow: hidden; border-radius: 34px; background: var(--eu-sky-top); box-shadow: 0 0 0 6px #fff, 0 34px 64px -30px #1b1f3b99; transform: rotate(-2deg); }
.eu-reel-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.eu-reel-toggle { justify-self: end; min-width: 64px; min-height: 40px; padding: 8px 14px; border-radius: 20px; background: var(--eu-card); box-shadow: 0 0 0 1px var(--eu-line), 0 3px 0 var(--eu-line); font-size: 13px; font-weight: 700; color: var(--eu-ink); }
.eu-reel-toggle[hidden] { display: none; }

/* Overview */
.eu-intro { padding: 60px 0 110px; }
.eu-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 56px 0 0; }
.eu-stats > div { padding: 24px 22px 26px; border-radius: 24px; background: var(--eu-card); box-shadow: 0 0 0 1px var(--eu-line), 0 4px 0 var(--eu-line); }
.eu-stats > div:nth-child(1) { background: #fff4c4; } .eu-stats > div:nth-child(2) { background: #e3f1f8; } .eu-stats > div:nth-child(3) { background: #e6f1dd; } .eu-stats > div:nth-child(4) { background: #f8e5e8; }
.eu-stats dt { font-size: var(--text-small); font-weight: 650; color: var(--eu-muted); }
.eu-stats dd { margin: 0; }
.eu-stats strong { display: block; margin: 8px 0 6px; font-family: var(--eu-display); font-weight: 400; font-size: clamp(54px, 5.6vw, 84px); line-height: 1; font-variant-numeric: tabular-nums; }
.eu-stats span { font-size: var(--text-small); line-height: 1.55; color: var(--eu-muted); }

/* From meadow to space. Without the scrub it is a list of regions; a chip follows the one in view. */
.eu-sky { position: relative; padding: 100px 0 110px; background: linear-gradient(var(--eu-cream), #f2f8fb 12%, #eef0fa 70%, var(--eu-cream)); }
.eu-altimeter { display: none; position: sticky; top: calc(var(--nav-height, 86px) + 70px); z-index: 4; align-items: center; gap: 10px; width: fit-content; margin: 40px auto 0; padding: 7px 16px 7px 10px; border-radius: 22px; background: var(--eu-navy); color: #fff; font-family: var(--eu-display); font-size: 17px; box-shadow: 0 10px 24px -12px #1b1f3b99; }
.eu-ready .eu-sky:not(.is-scrubbing) .eu-altimeter { display: flex; }
.eu-altimeter span:last-child { font-size: 14px; opacity: .8; font-variant-numeric: tabular-nums; }
.eu-alt-ellie { width: 30px; height: 28px; background: var(--eu-sheet) 0 100% / 600% 100% no-repeat; }
.eu-altimeter.is-hopping .eu-alt-ellie { animation: eu-alt-hop .7s var(--ease); }
.eu-stations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; margin: 36px 0 0; padding: 0; list-style: none; }
.eu-station-picture { position: relative; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; border-radius: 26px; background: #cfe3ee; box-shadow: 0 0 0 1px #00000008, 0 20px 40px -26px #1b1f3b66; }
.eu-station-picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 82%; }
.eu-perches { position: absolute; inset: 0; }
.eu-perch { position: absolute; left: var(--x); top: var(--y); width: 30%; transform: translateY(var(--perch-y, 0px)); transition: transform .7s calc(var(--j) * 120ms) var(--ease), opacity .5s calc(var(--j) * 120ms); }
.eu-perch img { width: 100%; }
.eu-ready .eu-sky:not(.is-scrubbing) .eu-station:not(.is-in) .eu-perch { --perch-y: 40px; opacity: 0; }
.eu-station-chip { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); padding: 5px 12px; border-radius: 14px; background: #1b1f3bbb; color: #fff; font-family: var(--eu-display); font-size: 14px; white-space: nowrap; }
.eu-station-copy { padding: 18px 4px 0; }
.eu-station-range { font-family: var(--eu-display); font-size: 15px; color: var(--eu-orange); font-variant-numeric: tabular-nums; }
.eu-station-copy h3 { margin: 4px 0 6px; font-size: 30px; }
.eu-station-copy > p:not([class]) { font-size: var(--text-body); line-height: 1.7; color: var(--eu-muted); }
.eu-station-label { margin-top: 14px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--eu-muted); }
.eu-unlocks { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 8px 0 0; padding: 0; list-style: none; }
.eu-unlocks li { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--eu-line); }
.eu-unlocks img { width: 60px; margin: -6px -4px -8px; }
.eu-unlock-item img { width: 34px; margin: 0; }
.eu-unlock-obstacle img { width: 44px; margin: 0; }
.eu-unlocks span { display: grid; line-height: 1.25; }
.eu-unlocks b { font-size: 14px; font-weight: 650; }
.eu-unlocks small { font-size: 12px; color: var(--eu-muted); font-variant-numeric: tabular-nums; }
.eu-ruler, .eu-climber { display: none; }

/* The scrub (wide, tall screens): one window that climbs region by region. */
.eu-sky.is-scrubbing { --win: min(400px, calc((100svh - var(--nav-height, 86px) - 58px - 76px) * .5625)); height: calc(var(--steps) * 68vh + 100svh); padding: 0; }
.eu-sky.is-scrubbing .eu-sky-stage { position: sticky; top: calc(var(--nav-height, 86px) + 58px); height: calc(100svh - var(--nav-height, 86px) - 58px); overflow: hidden; }
.eu-sky.is-scrubbing .eu-sky-inner { display: grid; grid-template-columns: minmax(0, 1fr) var(--win) 96px; grid-template-rows: auto minmax(0, 1fr) auto; column-gap: 44px; height: 100%; padding-block: 26px 16px; }
.eu-sky.is-scrubbing .eu-head { grid-column: 1; grid-row: 1; z-index: 1; }
.eu-sky.is-scrubbing .eu-head h2 { font-size: clamp(34px, 3.4vw, 52px); }
.eu-sky.is-scrubbing .eu-head > p:not(.eu-eyebrow) { font-size: var(--text-body); margin-top: 14px; }
.eu-sky.is-scrubbing .eu-altimeter { display: none; }
.eu-sky.is-scrubbing .eu-stations { position: relative; display: block; grid-column: 1 / 3; grid-row: 1 / 3; margin: 0; }
.eu-sky.is-scrubbing .eu-station { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) var(--win); grid-template-rows: var(--head-h, 45%) minmax(0, 1fr); column-gap: 44px; pointer-events: none; }
.eu-sky.is-scrubbing .eu-station-picture { grid-column: 2; grid-row: 1 / 3; aspect-ratio: auto; height: 100%; opacity: var(--o, 0); box-shadow: 0 0 0 5px #fff, 0 30px 60px -30px #1b1f3b80; }
.eu-sky.is-scrubbing .eu-station-picture > img { object-position: 50% 100%; }
/* One region name at a time: the incoming picture brings its chip only once it is current. */
.eu-sky.is-scrubbing .eu-station:not(.is-active) .eu-station-chip { opacity: 0; }
.eu-sky.is-scrubbing .eu-perch { width: 34%; transform: translateY(calc(var(--drift, 0) * 120px)); transition: none; }
.eu-sky.is-scrubbing .eu-station-copy { grid-column: 1; grid-row: 2; align-self: start; padding: 0 0 6px; opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .6s var(--ease); }
.eu-sky.is-scrubbing .eu-station.is-active { pointer-events: auto; }
.eu-sky.is-scrubbing .eu-station.is-active .eu-station-copy { opacity: 1; transform: none; }
.eu-sky.is-scrubbing .eu-station-copy h3 { font-size: clamp(36px, 3.4vw, 50px); }
.eu-sky.is-scrubbing .eu-ruler { position: relative; display: block; grid-column: 3; grid-row: 1 / 3; margin: 18px 0 24px 34px; width: 8px; border-radius: 4px; background: #dfe3ee; }
.eu-ruler-fill { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--p, 0) * 100%); border-radius: inherit; background: linear-gradient(var(--eu-orange), var(--eu-yellow)); }
.eu-ruler i { position: absolute; left: 16px; bottom: calc(var(--at) * 100%); transform: translateY(50%); font-style: normal; font-size: 11px; color: var(--eu-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.eu-ruler i::before { content: ''; position: absolute; left: -16px; top: 50%; width: 8px; height: 2px; background: #c9cdda; }
.eu-ruler-mark { position: absolute; left: 50%; bottom: calc(var(--p, 0) * 100%); width: 18px; height: 18px; margin: 0 0 -9px -9px; border-radius: 50%; background: var(--eu-yellow); box-shadow: 0 0 0 4px #fff, 0 4px 10px #1b1f3b55; }
.eu-ruler-mark b { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); padding: 4px 9px; border-radius: 12px; background: var(--eu-navy); color: #fff; font-family: var(--eu-display); font-weight: 400; font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.eu-sky.is-scrubbing .eu-climber { position: relative; display: block; grid-column: 2; grid-row: 1 / 3; z-index: 2; pointer-events: none; }
.eu-climber-ellie { position: absolute; left: 50%; top: 60%; width: 64px; height: 60px; margin-left: -32px; filter: drop-shadow(0 6px 6px #1b1f3b33); }
.eu-climber-ellie::before { content: ''; position: absolute; inset: 0; background: var(--eu-sheet) 100% 100% / 600% 100% no-repeat; }
.eu-sky.is-scrubbing .eu-sky-note { grid-column: 1 / -1; grid-row: 3; margin: 12px 0 0; }

/* The guide: platforms and items as cards; each one moves the way it does in the game. */
.eu-guide { padding: 110px 0 120px; }
.eu-tabs { display: inline-flex; gap: 4px; margin-top: 44px; padding: 5px; border-radius: 22px; background: var(--eu-paper); box-shadow: inset 0 0 0 1px var(--eu-line); }
.eu-tabs[hidden] { display: none; }
.eu-tabs button { min-height: 44px; padding: 8px 22px; border-radius: 18px; background: none; font-family: var(--eu-display); font-size: 18px; color: var(--eu-muted); transition: background .2s, color .2s, box-shadow .2s; }
.eu-tabs button[aria-pressed=true] { background: var(--eu-butter); color: var(--eu-ink); box-shadow: 0 3px 0 var(--eu-edge); }
.eu-list-title { margin: 48px 0 0; font-size: 26px; }
.eu-ready .eu-guide .eu-list-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.eu-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 24px 0 0; padding: 0; list-style: none; }
.eu-cards[hidden] { display: none; }
.eu-card { display: grid; grid-template-rows: auto auto auto 1fr; padding: 16px 18px 20px; border-radius: 22px; background: var(--eu-card); box-shadow: 0 0 0 1px var(--eu-line), 0 4px 0 var(--eu-line); transition: transform .3s var(--ease), box-shadow .3s; }
.eu-card-art { display: grid; place-items: center; height: 96px; margin: -4px -6px 10px; border-radius: 16px; background: linear-gradient(#e7f5fb, #f5fbea); overflow: hidden; }
.eu-card-art img { width: 150px; }
.eu-cards-items .eu-card-art img { width: 80px; }
.eu-cards-obstacles .eu-card-art img { width: 120px; max-height: 100%; object-fit: contain; }
.eu-obstacle-tip { max-width: 760px; margin-top: 24px; color: var(--eu-muted); font-size: var(--text-ui); line-height: 1.75; }
.eu-closet-slots { max-width: 760px; margin-top: 18px; color: var(--eu-muted); font-size: var(--text-ui); line-height: 1.75; }
.eu-card-meta { font-size: 12px; font-weight: 650; color: var(--eu-orange); }
.eu-card-meta em { font-style: normal; }
.eu-tag-avoid .eu-card-meta { color: #b2433f; }
.eu-air .eu-card-meta { color: #2f6f8f; }
.eu-card h4 { margin: 4px 0 6px; font-size: 21px; }
.eu-card p { font-size: var(--text-small); line-height: 1.6; color: var(--eu-muted); }
@media (hover: hover) { .eu-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px #e4d6ae, 0 8px 0 var(--eu-line); } }

/* One motion per kind, played on hover or focus (pointer) or once in view (touch). */
.eu-card-art img { transform-origin: 50% 60%; }
.eu-move-normal { --move: eu-squash .9s var(--ease); }
.eu-move-spring { --move: eu-spring 1s var(--ease); }
.eu-move-movingH { --move: eu-slide 1.8s ease-in-out; }
.eu-move-movingV { --move: eu-rise 1.8s ease-in-out; }
.eu-move-oneShot { --move: eu-crumble 1.8s ease-in; }
.eu-move-beltLeft { --move: eu-belt-left 1.2s ease-in-out; }
.eu-move-beltRight { --move: eu-belt-right 1.2s ease-in-out; }
.eu-move-ice { --move: eu-glint 1.2s ease-in-out; }
.eu-move-sticky { --move: eu-wobble 1.2s ease-in-out; }
.eu-move-spikes { --move: eu-jitter .6s linear; }
.eu-move-ghost { --move: eu-ghost 2.4s linear; }
.eu-move-seesaw { --move: eu-seesaw 1.8s ease-in-out; }
.eu-move-chew, .eu-move-bubble, .eu-move-giftBox { --move: eu-wiggle 1s var(--ease); }
.eu-move-umbrella, .eu-move-balloon { --move: eu-float 1.8s ease-in-out; }
.eu-move-wings { --move: eu-flap .9s ease-in-out; }
.eu-move-ball { --move: eu-spin 1.1s var(--ease); }
.eu-move-wand { --move: eu-sparkle 1.1s var(--ease); }
.eu-move-rocket, .eu-move-jetpack { --move: eu-blast 1.4s var(--ease); }
.eu-move-magnet { --move: eu-pulse 1s ease-in-out; }
.eu-move-toothbrush, .eu-move-trafficCone { --move: eu-jitter .6s linear; }
.eu-move-bigIce { --move: eu-glint 1.2s ease-in-out; }
.eu-move-robotVacuum { --move: eu-slide 1.8s ease-in-out; }
.eu-move-mudPuddle { --move: eu-wobble 1.2s ease-in-out; }
.eu-move-hydrant { --move: eu-wiggle 1s var(--ease); }

/* Modes */
.eu-modes { padding: 110px 0 120px; background: linear-gradient(var(--eu-cream), #fff3d0 50%, var(--eu-cream)); }
.eu-mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.eu-mode { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 18px; padding: 28px; border-radius: 30px; background: var(--eu-card); box-shadow: 0 0 0 1px var(--eu-line), 0 6px 0 var(--eu-line); }
.eu-mode-top { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; }
.eu-mode-icon { width: 96px; height: 96px; border-radius: 26px; background: #fff3c4; }
.eu-mode-pvp .eu-mode-icon { background: #e3f1f8; }
.eu-mode h3 { font-size: 30px; }
.eu-mode-top p { margin-top: 6px; font-size: var(--text-small); line-height: 1.65; color: var(--eu-muted); }
.eu-mode-tabs { display: flex; gap: 4px; padding: 5px; border-radius: 20px; background: var(--eu-paper); box-shadow: inset 0 0 0 1px var(--eu-line); }
.eu-mode-tabs[hidden] { display: none; }
.eu-mode-tabs button { flex: 1; min-height: 44px; border-radius: 16px; background: none; font-family: var(--eu-display); font-size: 17px; color: var(--eu-muted); }
.eu-mode-tabs button[aria-pressed=true] { background: var(--eu-butter); color: var(--eu-ink); box-shadow: 0 3px 0 var(--eu-edge); }
.eu-mode-panels { display: grid; gap: 16px; }
.eu-mode-panel { display: grid; gap: 6px; }
.eu-mode-panel[hidden] { display: none; }
.eu-panel-art { position: relative; display: grid; place-items: center; height: 120px; margin-bottom: 8px; border-radius: 20px; background: linear-gradient(#bfe7f2, #f5fbe8); overflow: hidden; }
.eu-panel-art > img:first-child { width: 160px; margin-top: 40px; }
.eu-float { position: absolute; width: 50px; }
.eu-float-0 { left: 18%; top: 14%; } .eu-float-1 { left: 44%; top: 8%; } .eu-float-2 { right: 18%; top: 18%; }
.eu-panel-classic .eu-float { width: 54px; }
.eu-mode-panel h4 { font-size: 24px; }
.eu-mode-panel p { font-size: var(--text-small); line-height: 1.65; color: var(--eu-muted); }
.eu-rank-chip { width: fit-content; margin-top: 4px; padding: 5px 11px; border-radius: 12px; background: var(--eu-navy); color: #fff !important; font-size: 12px !important; }
.eu-timer { position: relative; display: grid; place-items: center; width: 92px; height: 92px; }
.eu-timer svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.eu-timer circle { fill: none; stroke: #ffffffb0; stroke-width: 9; }
.eu-timer .eu-timer-ring { stroke: var(--eu-orange); stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.eu-timer b { font-family: var(--eu-display); font-weight: 400; font-size: 22px; font-variant-numeric: tabular-nums; }
.eu-room { padding: 18px; border-radius: 22px; background: var(--eu-navy); color: #fff; text-align: center; }
.eu-room p { font-size: 12px; letter-spacing: .06em; opacity: .8; }
.eu-code { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.eu-digit { position: relative; display: block; width: 42px; height: 54px; overflow: hidden; border-radius: 12px; background: #2b3157; font-family: var(--eu-display); font-size: 32px; line-height: 54px; }
.eu-digit > span { display: grid; transform: translateY(calc(var(--d) * -54px)); transition: transform 1.1s calc(var(--i) * 110ms) var(--ease); }
.eu-digit i { display: block; height: 54px; font-style: normal; }
.eu-digit:nth-child(4) { margin-left: 10px; }
.eu-pvp-modes { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.eu-pvp-modes li { padding: 7px 16px; border-radius: 16px; background: var(--eu-paper); box-shadow: inset 0 0 0 1px var(--eu-line); font-family: var(--eu-display); font-size: 17px; }
.eu-mode-foot { font-size: var(--text-small); line-height: 1.65; color: var(--eu-muted); }
/* More to it: the letters, achievements and check-ins. */
.eu-extras-title { margin: 64px 0 18px; font-size: clamp(26px, 2.6vw, 34px); }
.eu-extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.eu-extra { display: grid; align-content: start; gap: 8px; padding: 22px 22px 24px; border-radius: 24px; background: var(--eu-card); box-shadow: 0 0 0 1px var(--eu-line), 0 4px 0 var(--eu-line); }
.eu-extra-art { display: flex; align-items: center; height: 64px; margin-bottom: 4px; }
.eu-extra-art img { width: 64px; height: 64px; object-fit: contain; }
.eu-extra h4 { font-size: 21px; line-height: 1.3; }
.eu-extra p { margin: 0; font-size: var(--text-small); line-height: 1.6; color: var(--eu-muted); }
.eu-letters { display: flex; flex-wrap: wrap; gap: 4px; }
.eu-letters i { display: grid; place-items: center; width: 28px; height: 34px; border-radius: 9px; background: var(--eu-navy); font-family: var(--eu-display); font-style: normal; font-size: 18px; color: #fff; }
.eu-letters i:nth-child(n+6) { background: var(--eu-yellow); color: var(--eu-ink); }
.eu-ranks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; }
.eu-ranks li { display: grid; gap: 4px; padding: 20px 22px; border-radius: 22px; background: var(--eu-card); box-shadow: 0 0 0 1px var(--eu-line); }
.eu-ranks b { font-family: var(--eu-display); font-weight: 400; font-size: 26px; }
.eu-ranks span { font-size: var(--text-ui); font-weight: 650; }
.eu-ranks small { font-size: 13px; color: var(--eu-muted); }

/* The shop: pick a friend or an outfit and see it on the fitting stage. */
.eu-closet { padding: 110px 0 120px; }
.eu-closet-body { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; margin-top: 56px; }
.eu-fitting { margin: 0; padding: 22px; border-radius: 30px; background: linear-gradient(#fdf0cc, #fff8e4); box-shadow: 0 0 0 1px var(--eu-line), 0 6px 0 var(--eu-line); }
.eu-fitting-stage { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.eu-fitting-shadow { position: absolute; left: 22%; right: 22%; bottom: 15%; height: 9%; border-radius: 50%; background: #e8d6a8; }
.eu-fitting-look { position: relative; width: 62%; margin-bottom: 10%; }
.eu-fitting-look.is-hopping { animation: eu-fit-hop .65s var(--ease); }
.eu-fitting-bone { position: absolute; width: 16%; opacity: .9; }
.eu-fitting-bone-a { left: 8%; top: 14%; transform: rotate(-18deg); }
.eu-fitting-bone-b { right: 10%; top: 26%; transform: rotate(14deg); width: 12%; }
.eu-fitting figcaption { display: grid; gap: 4px; min-height: 76px; text-align: center; }
.eu-fitting figcaption b { font-family: var(--eu-display); font-weight: 400; font-size: 24px; }
.eu-fitting figcaption span { font-size: var(--text-small); line-height: 1.55; color: var(--eu-muted); }
.eu-wardrobe-title { margin: 0 0 12px; font-size: var(--text-small); font-weight: 700; color: var(--eu-muted); }
.eu-wardrobe-title + .eu-chips + .eu-wardrobe-title { margin-top: 26px; }
.eu-chips { display: grid; grid-template-columns: repeat(var(--count, 6), minmax(0, 1fr)); gap: 8px; }
.eu-chip { display: grid; justify-items: center; gap: 2px; padding: 8px 6px 10px; border-radius: 18px; background: var(--eu-card); box-shadow: 0 0 0 1px var(--eu-line); font-size: 13px; line-height: 1.3; word-break: keep-all; text-align: center; transition: background .2s, box-shadow .2s, transform .2s var(--ease); }
.eu-chip img { width: 74px; }
.eu-chip:disabled { cursor: default; color: inherit; }
.eu-chip:hover { transform: translateY(-2px); }
.eu-chip[aria-pressed=true] { background: #fff3c4; box-shadow: 0 0 0 2px var(--eu-edge), 0 3px 0 var(--eu-edge); font-weight: 650; }
.eu-same { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding: 16px 18px; border-radius: 20px; background: var(--eu-paper); }
.eu-same img { width: 52px; flex-shrink: 0; }
.eu-same span { display: grid; gap: 2px; font-size: var(--text-small); line-height: 1.55; color: var(--eu-muted); }
.eu-same b { font-size: var(--text-ui); color: var(--eu-ink); }

/* The app screens: phones on platforms, a little higher each step on wide screens. */
.eu-screens { padding: 110px 0 120px; overflow: hidden; background: linear-gradient(var(--eu-cream), #eaf4f9 40%, var(--eu-cream)); }
.eu-screens-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.eu-screens-nav { display: flex; flex: none; gap: 10px; }
.eu-screens-nav[hidden] { display: none; }
.eu-screens-nav button { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--eu-yellow); box-shadow: 0 4px 0 var(--eu-edge); transition: transform .1s, opacity .2s; }
.eu-screens-nav button:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 var(--eu-edge); }
.eu-screens-nav button:disabled { opacity: .35; cursor: default; }
.eu-screens-nav .icon { width: 24px; height: 24px; }
.eu-phones { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 21vw, 270px); gap: 30px; align-items: end; margin: 40px calc(50% - 50vw) 0; padding: 70px calc(50vw - 50%) 30px; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--eu-bleed, 0px); scrollbar-width: none; }
.eu-phones::-webkit-scrollbar { display: none; }
.eu-phone-item { scroll-snap-align: start; }
.eu-phone-item figure { margin: 0; transform: translateY(calc(var(--i) * var(--stair, 0px))); }
.eu-phone { position: relative; z-index: 1; padding: 6px; border-radius: 34px; background: #fff; box-shadow: 0 0 0 1px var(--eu-line), 0 26px 46px -24px #1b1f3b70; transition: transform .45s var(--ease); }
.eu-phone img { display: block; width: 100%; height: auto; border-radius: 28px; }
.eu-phone-perch { display: block; width: 78%; margin: -26px auto 0; }
.eu-phone-perch img { width: 100%; }
.eu-phone-item figcaption { display: grid; gap: 6px; margin-top: 8px; }
.eu-phone-item figcaption span { font-family: var(--eu-display); font-size: 14px; color: var(--eu-orange); }
.eu-phone-item figcaption b { font-family: var(--eu-display); font-weight: 400; font-size: 21px; }
.eu-phone-item figcaption small { font-size: 14px; line-height: 1.6; color: var(--eu-muted); word-break: keep-all; }
@media (hover: hover) { .eu-phone-item:hover .eu-phone { transform: translateY(-10px); } }
@media (min-width: 1101px) { .eu-phones { --stair: -14px; } }

/* Getting started */
.eu-start { padding: 110px 0 90px; }
.eu-start-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 56px 0 0; padding: 0; list-style: none; }
.eu-start-steps li { padding: 28px 26px 30px; border-radius: 24px; background: var(--eu-card); box-shadow: 0 0 0 1px var(--eu-line), 0 4px 0 var(--eu-line); }
.eu-start-steps span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--eu-yellow); box-shadow: 0 3px 0 var(--eu-edge); font-family: var(--eu-display); font-size: 17px; }
.eu-start-steps h3 { margin: 18px 0 10px; font-size: 23px; }
.eu-start-steps p { font-size: var(--text-small); line-height: 1.8; color: var(--eu-muted); }
.eu-spec { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 32px 40px; margin-top: 22px; padding: 34px; border-radius: 28px; background: var(--eu-card); box-shadow: 0 0 0 1px var(--eu-line); }
.eu-spec-app h3 { margin-top: 16px; font-size: 26px; }
.eu-spec-app p { margin-top: 6px; font-size: var(--text-small); color: var(--eu-muted); }
.eu-spec dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; margin: 0; }
.eu-spec dl div { padding: 14px 0; border-bottom: 1px solid var(--eu-line); }
.eu-spec dt { font-size: 13px; color: var(--eu-muted); }
.eu-spec dd { margin: 6px 0 0; font-size: var(--text-ui); font-weight: 600; }
.eu-spec .product-download { border-top-color: var(--eu-line); }
.eu-spec .product-download p { color: var(--eu-muted); }
.eu-page .eu-spec .button-dark { background: var(--eu-yellow); color: var(--eu-ink); box-shadow: 0 4px 0 var(--eu-edge); }
.eu-page .eu-spec .download-pending { background: transparent; border-color: var(--eu-line); color: var(--eu-muted); }

/* FAQ */
.eu-faq { padding: 80px 0 140px; }
.eu-faq .wrap { display: grid; grid-template-columns: 1fr 1.8fr; gap: 70px; }
.eu-faq h2 { font-size: 36px; line-height: 1.3; }
.eu-faq details { border-bottom: 1px solid var(--eu-line); }
.eu-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; list-style: none; cursor: pointer; font-size: var(--text-body); font-weight: 650; line-height: 1.5; word-break: keep-all; }
.eu-faq summary::-webkit-details-marker { display: none; }
.eu-faq .faq-close, .eu-faq details[open] .faq-open { display: none; }
.eu-faq details[open] .faq-close { display: block; }
.eu-faq details p { padding: 0 40px 24px 0; font-size: var(--text-body); line-height: 1.85; color: var(--eu-muted); }
.eu-faq details .text-link { --ui-icon-size: 26px; color: var(--eu-ink); }

/* The landing: back on the cream ground. */
.eu-landing { color: var(--ink); background: linear-gradient(var(--eu-cream), var(--paper) 420px); }
.eu-print-card { position: relative; overflow: hidden; padding: 56px 60px 52px; border-radius: 32px; background: var(--eu-navy); color: #fff; box-shadow: 0 30px 60px -30px #1b1f3b99; }
.eu-print-card .eu-eyebrow { color: var(--eu-butter); }
.eu-print-ellie { position: absolute; right: 40px; top: 30px; width: 110px; }
.eu-print h2 { max-width: 640px; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.2; }
.eu-print p:not(.eu-eyebrow) { max-width: 640px; margin-top: 18px; font-size: var(--text-body); line-height: 1.85; color: #d6d9ea; }
.eu-print ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin: 26px 0 30px; padding: 0; list-style: none; }
.eu-print li { --ui-icon-size: 28px; display: flex; align-items: center; gap: 10px; font-size: var(--text-ui); font-weight: 600; }
.eu-print-links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.eu-print .text-link { --ui-icon-size: 30px; color: var(--eu-butter); }
.eu-print .text-link:hover { color: var(--eu-butter); }
.eu-landing .related-section { padding-top: 80px; }
.eu-landing :focus-visible { outline-color: var(--accent-ink, #252722); }

@media (prefers-reduced-motion: no-preference) {
  .eu-clouds i { animation: eu-drift 26s ease-in-out infinite alternate; }
  .eu-clouds i:nth-child(2) { animation-duration: 34s; animation-delay: -8s; }
  .eu-clouds i:nth-child(3) { animation-duration: 30s; animation-delay: -14s; }
  .eu-clouds i:nth-child(4) { animation-duration: 38s; animation-delay: -4s; }
  .eu-line { animation: eu-pop .9s calc(.35s + var(--line) * .16s) var(--ease) backwards; }
  .eu-soon i { animation: eu-blink 2.4s ease-in-out infinite; }
  .eu-sky.is-scrubbing .eu-climber-ellie { animation: eu-climb 1.1s ease-in-out infinite; }
  .eu-sky.is-scrubbing .eu-climber-ellie::before { animation: eu-climb-pose 1.1s step-end infinite; }
  .eu-sky.is-scrubbing .eu-climber-ellie.is-leaping { animation: eu-leap .9s var(--ease); }
  .eu-sky.is-scrubbing .eu-climber-ellie.is-leaping::before { animation: eu-leap-pose .9s step-end; }
  .eu-ready .eu-card.is-playing .eu-card-art img { animation: var(--move); animation-iteration-count: 2; }
  .eu-float { animation: eu-bob 3s ease-in-out infinite; }
  .eu-float-1 { animation-delay: -1s; } .eu-float-2 { animation-delay: -2s; }
  .eu-panel-classic .eu-float { animation: eu-bob 3s ease-in-out infinite; }
  .eu-panel-speedrun.is-ticking .eu-timer-ring { animation: eu-drain 1.8s var(--ease); }
  .eu-fitting-bone { animation: eu-bob 3.4s ease-in-out infinite; }
  .eu-fitting-bone-b { animation-delay: -1.6s; }
  .eu-print-ellie { animation: eu-bob 3.2s ease-in-out infinite; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .eu-ready .eu-card:is(:hover, :focus-within) .eu-card-art img { animation: var(--move); animation-iteration-count: infinite; }
}
@keyframes eu-drift { to { translate: 60px 0; } }
@keyframes eu-pop { from { opacity: 0; transform: translateY(30px) scale(.94); } 60% { transform: translateY(-6px) scale(1.02); } }
@keyframes eu-blink { 50% { box-shadow: 0 0 0 8px #ffcc0000; } }
@keyframes eu-nav-hop { 40% { translate: 0 -10px; } }
@keyframes eu-alt-hop { 35% { transform: translateY(-12px) rotate(-8deg); } 70% { transform: translateY(0) scaleY(.9); } }
/* Ellie's jump pose (frame 4, 80%) on the way up and her fall pose (frame 5, 100%) coming down. */
@keyframes eu-climb { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-34px); } }
@keyframes eu-climb-pose { 0% { background-position-x: 80%; } 45%, 100% { background-position-x: 100%; } }
@keyframes eu-leap { 0% { transform: translateY(0); } 40% { transform: translateY(-90px) rotate(-6deg); } 100% { transform: translateY(0); } }
@keyframes eu-leap-pose { 0% { background-position-x: 80%; } 40%, 100% { background-position-x: 100%; } }
@keyframes eu-squash { 30% { transform: scale(1.06, .9); } 60% { transform: scale(.97, 1.04); } }
@keyframes eu-spring { 20% { transform: scale(1.08, .78); } 45% { transform: translateY(-16px) scale(.94, 1.12); } 70% { transform: none; } }
@keyframes eu-slide { 25% { transform: translateX(-24px); } 75% { transform: translateX(24px); } }
@keyframes eu-rise { 25% { transform: translateY(-16px); } 75% { transform: translateY(14px); } }
@keyframes eu-crumble { 20% { transform: translateX(-3px); } 30% { transform: translateX(3px); } 40% { transform: translateX(-2px); opacity: 1; } 70% { transform: translateY(40px) rotate(6deg); opacity: 0; } 85% { transform: none; opacity: 0; } }
@keyframes eu-belt-left { 50% { transform: translateX(-14px); } }
@keyframes eu-belt-right { 50% { transform: translateX(14px); } }
@keyframes eu-glint { 50% { filter: brightness(1.18) saturate(1.2); transform: translateX(10px) skewX(-6deg); } }
@keyframes eu-wobble { 30% { transform: scale(1.04, .94); } 60% { transform: scale(.98, 1.03); } }
@keyframes eu-jitter { 25% { transform: translateX(-2px) rotate(-1deg); } 75% { transform: translateX(2px) rotate(1deg); } }
@keyframes eu-ghost { 0%, 50% { opacity: 1; } 60% { opacity: .45; } 70%, 92% { opacity: 0; } }
@keyframes eu-seesaw { 25% { transform: rotate(-9deg); } 75% { transform: rotate(9deg); } }
@keyframes eu-wiggle { 25% { transform: rotate(-9deg) scale(1.06); } 50% { transform: rotate(7deg); } 75% { transform: rotate(-4deg); } }
@keyframes eu-float { 50% { transform: translateY(-14px) rotate(4deg); } }
@keyframes eu-flap { 50% { transform: scaleX(.82) translateY(-6px); } }
@keyframes eu-spin { to { transform: rotate(360deg); } }
@keyframes eu-sparkle { 40% { transform: rotate(-16deg) scale(1.12); filter: brightness(1.15); } }
@keyframes eu-blast { 15% { transform: translateX(-2px); } 25% { transform: translateX(2px); } 70% { transform: translateY(-46px); opacity: 0; } 71% { transform: translateY(40px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes eu-pulse { 50% { transform: scale(1.12); } }
@keyframes eu-bob { 50% { translate: 0 -8px; } }
@keyframes eu-drain { from { stroke-dashoffset: 1; } }
@keyframes eu-fit-hop { 0% { transform: translateY(0) scale(.92); opacity: .3; } 45% { transform: translateY(-22px) scale(1.03); opacity: 1; } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .eu-reel-frame { transform: none; }
  .eu-perch, .eu-card, .eu-chip, .eu-phone, .eu-digit > span, .eu-sky.is-scrubbing .eu-station-copy, .eu-nav-ellie { transition: none; }
  .eu-ready .eu-sky:not(.is-scrubbing) .eu-station:not(.is-in) .eu-perch { --perch-y: 0px; opacity: 1; }
}

@media (max-width: 1100px) {
  .eu-hero-inner { gap: 36px; }
  .eu-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .eu-closet-body { grid-template-columns: minmax(0, 1fr); }
  .eu-fitting { width: min(100%, 460px); }
}
@media (max-width: 900px) {
  .eu-clouds i:nth-child(n+2) { display: none; }
  .eu-clouds i:nth-child(1) { left: auto; right: -40px; top: 2%; }
  .eu-hero-inner { grid-template-columns: 1fr; gap: 40px; padding-bottom: 60px; }
  /* The reel fits below the two sticky bars. */
  .eu-reel { justify-self: start; width: min(100%, 330px, max(220px, calc((100svh - var(--nav-height, 70px) - 52px - 40px) * .489))); }
  .eu-extras { grid-template-columns: 1fr; }
  .eu-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eu-stations { grid-template-columns: 1fr; gap: 40px; }
  .eu-mode-grid { grid-template-columns: 1fr; }
  .eu-ranks { grid-template-columns: 1fr; gap: 10px; }
  .eu-start-steps { grid-template-columns: 1fr; gap: 14px; }
  .eu-spec { grid-template-columns: 1fr; }
  .eu-faq .wrap { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  html:has(.page-up) { scroll-padding-top: 136px; }
  .eu-nav .wrap { gap: 12px; min-height: 52px; }
  .eu-nav-name span { display: none; }
  .eu-nav-links { margin-left: 0; }
  .eu-hero { padding-top: 26px; }
  .eu-intro { padding: 40px 0 80px; }
  .eu-sky, .eu-guide, .eu-modes, .eu-closet, .eu-screens, .eu-start { padding-block: 80px; }
  .eu-altimeter { top: calc(var(--nav-height, 70px) + 62px); }
  .eu-head > p:not(.eu-eyebrow) { font-size: var(--text-body); }
  .eu-stats, .eu-mode-grid, .eu-closet-body, .eu-start-steps { margin-top: 40px; }
  .eu-station-picture { aspect-ratio: 3 / 2; border-radius: 22px; }
  .eu-station-copy h3 { font-size: 27px; }
  .eu-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .eu-card { padding: 12px 12px 16px; border-radius: 18px; }
  .eu-card-art { height: 80px; margin: -2px -2px 8px; }
  .eu-card-art img { width: 120px; }
  .eu-cards-items .eu-card-art img { width: 66px; }
  .eu-card h4 { font-size: 18px; }
  .eu-card p { font-size: 13px; }
  .eu-tabs { display: flex; }
  .eu-tabs button { flex: 1; min-width: 0; padding-inline: 8px; font-size: 16px; }
  .eu-mode { padding: 22px 18px; border-radius: 24px; }
  .eu-mode-top { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
  .eu-mode-icon { width: 72px; height: 72px; border-radius: 20px; }
  .eu-mode h3 { font-size: 25px; }
  .eu-digit { width: 36px; height: 48px; font-size: 28px; line-height: 48px; }
  .eu-digit > span { transform: translateY(calc(var(--d) * -48px)); }
  .eu-digit i { height: 48px; }
  .eu-chips { display: flex; gap: 10px; overflow-x: auto; margin-inline: -20px; padding: 4px 20px 8px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .eu-chips::-webkit-scrollbar { display: none; }
  .eu-chip { flex: 0 0 92px; scroll-snap-align: start; }
  .eu-screens-head { flex-direction: column; align-items: flex-start; }
  .eu-phones { grid-auto-columns: 64vw; gap: 18px; margin-top: 20px; padding-top: 24px; }
  .eu-print-card { padding: 40px 24px 44px; }
  .eu-print-ellie { right: 16px; top: 16px; width: 74px; }
  .eu-print h2 { padding-right: 70px; }
  .eu-print ul { grid-template-columns: 1fr; }
  .eu-spec { padding: 24px 20px; }
  .eu-spec dl { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .eu-hero h1 { font-size: clamp(40px, 12vw, 54px); }
  html:lang(en) .eu-hero h1 { font-size: clamp(36px, 10.4vw, 48px); }
  .eu-stats { gap: 10px; }
  .eu-stats > div { padding: 18px 16px 20px; border-radius: 20px; }
  .eu-stats strong { font-size: 50px; }
  .eu-ranks b { font-size: 22px; }
}
@media (max-width: 360px) {
  .eu-cards { grid-template-columns: 1fr; }
  .eu-card { grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 12px; }
  .eu-card-art { grid-row: 1 / 4; height: 72px; margin: 0; }
  .eu-card-art img { width: 92px; }
  .eu-cards-items .eu-card-art img { width: 54px; }
  .eu-cards-obstacles .eu-card-art img { width: 88px; }
  .eu-code { gap: 4px; }
  .eu-digit { width: 28px; font-size: 24px; }
  .eu-digit:nth-child(4) { margin-left: 6px; }
}
@media print {
  .eu-nav, .eu-reel-toggle, .eu-clouds, .eu-grass, .eu-altimeter, .eu-ruler, .eu-climber, .eu-screens-nav, .eu-tabs, .eu-mode-tabs { display: none !important; }
  .eu-page, .eu-hero, .eu-print-card { background: #fff !important; color: #000 !important; }
  [data-up-list][hidden], .eu-mode-panel[hidden] { display: grid !important; }
  .eu-phones { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); margin: 24px 0 0; padding: 0; overflow: visible; }
}
