/* ═══════════════════════════════════════════════════════════
   Explore (#explore), 2026-10-29. Owned by the Explore builder
   (see site-work/_ref/BRIEF.md). Three beats, Pick, Best of and Deals:
   a giant sentence in the #planner language on the left, a clay diorama
   of the Jersey City waterfront in the middle (assets/xw/world.js, drawn
   into .xw-canvas) and a phone with the app's current Explore and Deals
   screens on the right, standing in front of the island.
   Everything here is prefixed xw-. Motion: explore-world.js.
   Without JS: the Pick beat, still. Reduced motion: tabs, nothing moves.
   ═══════════════════════════════════════════════════════════ */

.xw-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.xw-anchor { position: absolute; top: -90px; left: 0; }

/* Held (any window 480px tall or more): the stage holds still while you
   scroll past it and each scroll step plays the next beat
   (explore-world.js adds .xw-scrolly). */
.xw { --xw-stage-h: clamp(620px, calc(100vh - 96px), 940px); --xw-per: 55vh; }
.xw-hold { position: relative; }
.xw-hold.xw-scrolly { height: calc(var(--xw-stage-h) + var(--xw-per) * 2 + 20vh); }
.xw-hold.xw-scrolly .xw-stage { position: sticky; top: max(76px, calc(50vh - var(--xw-stage-h) / 2 + 30px)); }

/* ── The stage ───────────────────────────────────────────────── */
.xw-stage {
  --xw-c: #6ccbff; --xw-s: .9;
  position: relative; isolation: isolate; overflow: hidden;
  width: min(1800px, calc(100% - 32px)); height: var(--xw-stage-h);
  margin: 0 auto; border-radius: 44px;
  background: var(--xw-c); color: #111214;
  font-family: 'Inter', -apple-system, sans-serif;
}
.xw-flood { position: absolute; inset: 0; z-index: 0; visibility: hidden; }
.xw-ghosts { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.xw-ghost { position: absolute; left: -.03em; bottom: -.19em; color: rgba(255, 255, 255, .26); font: 800 clamp(170px, 19vw, 380px)/1 'Inter', sans-serif; letter-spacing: -.065em; white-space: nowrap; visibility: hidden; }
.xw-stage:not(.xw-js) .xw-ghost:first-child, .xw-stage.xw-still .xw-ghost.xw-on { visibility: visible; }

/* The world: the canvas covers the stage; the posters (stills of each beat)
   sit where the island goes. */
.xw-world { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.xw-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .7s ease; }
.xw-stage.xw-gl .xw-canvas { opacity: 1; }
.xw-posters { position: absolute; inset: 0; transition: opacity .7s ease; }
.xw-poster { position: absolute; inset: 0; display: block; visibility: hidden; }
.xw-poster img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.xw-stage:not(.xw-js) .xw-poster:first-child, .xw-poster.xw-on { visibility: visible; }
.xw-stage.xw-gl .xw-posters { opacity: 0; }

/* ── The words ───────────────────────────────────────────────── */
.xw-grid {
  position: relative; z-index: 2; height: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr) calc(360px * var(--xw-s)); column-gap: 32px;
  padding: 0 clamp(32px, 5vw, 88px); pointer-events: none;
}
.xw-left { position: relative; min-width: 0; max-width: clamp(380px, 34vw, 620px); display: flex; flex-direction: column; justify-content: flex-start; padding-top: clamp(86px, 12vh, 120px); pointer-events: auto; }
.xw-right { position: relative; display: flex; align-items: center; justify-content: flex-end; }

.xw-tag { display: flex; margin: 0; }
.xw-tag span { position: relative; display: inline-block; height: 40px; padding: 0 16px 0 38px; border-radius: 14px; background: #111214; color: #fff; font: 800 17px/40px 'Inter', sans-serif; letter-spacing: -.01em; }
.xw-tag span::before { content: ""; position: absolute; left: 14px; top: 13px; width: 14px; height: 14px; border: 2.4px solid #fff; border-radius: 50%; box-sizing: border-box; }
.xw-tag span::after { content: ""; position: absolute; left: 19px; top: 16px; width: 0; height: 0; border-left: 2px solid transparent; border-right: 2px solid transparent; border-bottom: 6px solid #fff; transform: rotate(35deg); }

.xw-lines { position: relative; margin-top: clamp(18px, 3vh, 30px); }
.xw-line {
  margin: 0; max-width: 10.5em;
  font: 800 clamp(44px, 4.5vw, 86px)/1.02 'Inter', -apple-system, sans-serif; letter-spacing: -.055em;
  text-wrap: balance;
}
.xw-stage:not(.xw-js) .xw-line:not(:first-child) { display: none; }
.xw-stage.xw-js .xw-line { position: absolute; left: 0; right: 0; top: 0; visibility: hidden; }
.xw-stage.xw-still .xw-line.xw-on { visibility: visible; }
.xw-w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .03em .16em; margin: 0 -.03em -.16em; }
.xw-i, .xw-c { display: inline-block; }
.xw-key { position: relative; display: inline-block; white-space: nowrap; isolation: isolate; }
/* A key word and the comma after it never part at a line break. */
.xw-nw { white-space: nowrap; }
.xw-scr { position: absolute; z-index: -1; left: -3%; width: 106%; bottom: -.12em; height: .3em; overflow: visible; pointer-events: none; }
.xw-scr path { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

/* Things that live inside the sentences */
.xw-obj { position: relative; display: inline-flex; align-items: center; justify-content: center; height: .84em; margin: 0 .04em; vertical-align: -.1em; border-radius: .42em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.xw-obj i { font-style: normal; font-size: .5em; }
.xw-pickpill { gap: .12em; padding: 0 .3em 0 .24em; background: #7b5cff; color: #fff; font-size: 1em; letter-spacing: -.04em; }
.xw-pickpill i { margin-right: .02em; }
.xw-tap { position: absolute; right: -.1em; bottom: -.12em; width: .5em; height: .5em; border-radius: 50%; background: rgba(255, 255, 255, .85); box-shadow: 0 0 0 .06em rgba(17, 18, 20, .25); opacity: 0; pointer-events: none; }
.xw-trophy { gap: .1em; padding: 0 .28em; background: #111214; color: #ffc23d; }
.xw-trophy b { font-weight: 800; }
.xw-ticket { gap: .14em; padding: 0 .36em; border-radius: .2em; background: #fff; color: #111214; }
.xw-ticket b { font-size: .7em; font-weight: 800; letter-spacing: -.04em; }
.xw-ticket::before, .xw-ticket::after { content: ""; position: absolute; top: 50%; width: .24em; height: .24em; margin-top: -.12em; border-radius: 50%; background: var(--xw-c); }
.xw-ticket::before { left: -.12em; }
.xw-ticket::after { right: -.12em; }

/* Count-up numbers under each sentence */
.xw-stats { position: relative; height: clamp(84px, 11vh, 104px); margin-top: clamp(22px, 3.6vh, 40px); }
.xw-set { position: absolute; left: 0; top: 0; display: flex; gap: clamp(22px, 2.6vw, 48px); visibility: hidden; }
.xw-stage:not(.xw-js) .xw-set:first-child, .xw-stage.xw-still .xw-set.xw-on { visibility: visible; }
.xw-stat { margin: 0; }
.xw-stat b { display: block; font: 800 clamp(32px, 3.1vw, 56px)/1 'Inter', sans-serif; letter-spacing: -.045em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.xw-stat i { font-style: normal; }
.xw-stat span { display: block; max-width: 13ch; margin-top: 8px; color: rgba(17, 18, 20, .76); font: 700 15px/1.25 'Inter', sans-serif; }

/* Story bars, the pause and the way on */
.xw-prog { position: absolute; left: 0; right: 64px; top: clamp(26px, 4.5vh, 44px); display: none; align-items: center; gap: 8px; }
.xw-stage.xw-js .xw-prog { display: flex; }
.xw-prog [data-go] { flex: 1; min-width: 0; height: 40px; padding: 0; border: 0; background: none; color: #111214; text-align: left; cursor: pointer; }
.xw-prog [data-go] > i { display: block; height: 5px; overflow: hidden; border-radius: 3px; background: rgba(17, 18, 20, .16); }
.xw-prog [data-go] b { display: block; height: 100%; background: #111214; transform: scaleX(0); transform-origin: 0 50%; }
.xw-prog [data-go] span { display: block; margin-top: 8px; font: 700 12.5px/1.2 'Inter', sans-serif; letter-spacing: -.01em; white-space: nowrap; opacity: .55; transition: opacity .3s; }
.xw-prog [data-go][aria-selected="true"] span { opacity: 1; }
.xw-prog button:focus-visible, .xw-foot button:focus-visible, .xw-cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 8px; }
.xw-pause { display: none; flex: none; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(17, 18, 20, .14); cursor: pointer; }
.xw-hold:not(.xw-scrolly) .xw-stage.xw-gs .xw-pause { display: grid; }
.xw-pause i { position: relative; width: 12px; height: 13px; box-sizing: border-box; border: solid #111214; border-width: 0 4px; }
.xw-pause.xw-held i { width: 0; height: 0; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #111214; margin-left: 3px; }

.xw-foot { position: absolute; right: 0; top: calc(clamp(26px, 4.5vh, 44px) - 3px); display: none; align-items: center; gap: 10px; }
.xw-stage.xw-end .xw-prog { right: 236px; }
.xw-prog { transition: right .7s cubic-bezier(.22, 1, .36, 1); }
.xw-stage.xw-js .xw-foot { display: flex; }
.xw-next { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: #111214; color: #fff; font: 800 20px/1 'Inter', sans-serif; cursor: pointer; animation: xwNudge 1.6s ease-in-out infinite; }
.xw-cta {
  display: flex; align-items: center; gap: 10px;
  max-width: 0; height: 48px; padding: 0; overflow: hidden;
  border-radius: 24px; background: #111214; color: #fff; text-decoration: none; white-space: nowrap;
  font: 800 16px/1 'Inter', sans-serif; letter-spacing: -.01em; opacity: 0;
  transition: max-width .7s cubic-bezier(.22, 1, .36, 1), padding .7s cubic-bezier(.22, 1, .36, 1), opacity .3s, transform .2s;
}
.xw-cta i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #111214; font-style: normal; }
.xw-stage.xw-end .xw-cta { max-width: 260px; padding: 0 8px 0 20px; opacity: 1; transition-delay: 1.2s, 1.2s, 1.2s, 0s; }
.xw-stage.xw-end .xw-cta:hover { transform: translateY(-2px); }
.xw-stage.xw-end .xw-next { display: none; }
@keyframes xwNudge { 50% { transform: translateY(4px); } }

.xw-note { width: min(1560px, calc(100% - 32px)); margin: 16px auto 0; color: var(--w-ink-2, #5c5f66); font: 500 14px/1.5 'Inter', sans-serif; text-align: center; text-wrap: balance; }

/* ── The phone ───────────────────────────────────────────────── */
.xw-box { position: relative; width: calc(360px * var(--xw-s)); height: calc(740px * var(--xw-s)); }
.xw-device { position: absolute; left: 0; top: 0; width: 360px; height: 740px; transform: scale(var(--xw-s)); transform-origin: 0 0; }
.xw-tilt { position: absolute; inset: 0; }
.xw-stage:not(.xw-gs) .xw-tilt { transform: perspective(1400px) rotateY(-8deg) rotateX(3deg) rotate(-1deg); }
.xw-phone {
  width: 360px; height: 740px; padding: 11px;
  border-radius: 58px; background: #0b0b0c;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14), 0 50px 90px -40px rgba(17, 18, 20, .6);
}
.xw-screen { position: relative; height: 100%; overflow: hidden; clip-path: inset(0 round 47px); background: #f4f4f8; isolation: isolate; font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif; color: #111; }
.xw-screen::before { content: ""; position: absolute; z-index: 40; top: 11px; left: 50%; width: 104px; height: 31px; margin-left: -52px; border-radius: 16px; background: #000; }
.xw-screen img { display: block; }
.xw-app { position: absolute; inset: 0; overflow: hidden; }

.xw-status { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; height: 50px; padding: 4px 28px 0 36px; color: #fff; font: 600 15px/1 -apple-system, BlinkMacSystemFont, 'Inter', sans-serif; }
.xw-sb { display: flex; align-items: flex-end; gap: 2px; }
.xw-sb i { width: 3px; border-radius: 1px; background: currentColor; }
.xw-sb i:nth-child(1) { height: 4px; } .xw-sb i:nth-child(2) { height: 6px; } .xw-sb i:nth-child(3) { height: 8px; } .xw-sb i:nth-child(4) { height: 10px; }
.xw-sb em { width: 22px; height: 11px; margin-left: 6px; border-radius: 3px; background: currentColor; }
.xw-mag { width: 17px; height: 17px; flex: none; }
/* The status bar stays put; over a scrolled light page it turns dark. */
.xw-sbar { position: absolute; z-index: 7; left: 0; right: 0; top: 0; transition: color .3s; }
.xw-sbar::before { content: ""; position: absolute; inset: 0 0 -10px; z-index: -1; background: linear-gradient(rgba(244, 244, 248, .96) 62%, rgba(244, 244, 248, 0)); opacity: 0; transition: opacity .3s; }
.xw-sbar.xw-ink { color: #111; }
.xw-sbar.xw-dark::before { opacity: 1; background: linear-gradient(rgba(12, 16, 24, .96) 62%, rgba(12, 16, 24, 0)); }
.xw-sbar.xw-ink::before { opacity: 1; }

/* Explore */
.xw-ex { background: #f4f4f8; }
.xw-page { position: absolute; left: 0; right: 0; top: 0; will-change: transform; }
.xw-xhead { position: relative; height: 270px; padding: 50px 14px 0; color: #fff; }
.xw-xphoto { position: absolute; left: 0; top: 0; width: 100%; height: 372px; object-fit: cover; object-position: 50% 40%; -webkit-mask-image: linear-gradient(#000 58%, transparent 98%); mask-image: linear-gradient(#000 58%, transparent 98%); }
.xw-xhead::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 250px; background: linear-gradient(rgba(10, 8, 30, .5), rgba(10, 8, 30, .12) 60%, rgba(10, 8, 30, 0)); }
.xw-xhead > :not(.xw-xphoto) { position: relative; z-index: 1; }
.xw-xtop { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.xw-cred { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 15px; background: rgba(20, 18, 34, .5); font-size: 13px; font-weight: 700; }
.xw-cred i { font-style: normal; font-size: 12px; }
.xw-xicons { display: flex; gap: 7px; }
.xw-xicons i { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: rgba(20, 18, 34, .5); }
.xw-xicons svg { width: 16px; height: 16px; }
.xw-hello { margin: 14px 0 0; font: 800 30px/1.04 ui-rounded, 'SF Pro Rounded', -apple-system, 'Inter', sans-serif; letter-spacing: -.02em; text-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.xw-hello-s { margin: 6px 0 0; font-size: 13px; font-weight: 600; opacity: .92; text-shadow: 0 1px 6px rgba(0, 0, 0, .3); }
.xw-search {
  display: flex; align-items: center; gap: 8px; height: 48px; margin-top: 13px; padding: 0 5px 0 13px;
  border: 2px solid transparent; border-radius: 16px; color: #8a84a3; font-size: 13.5px;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #ffb3cc, #ffe08a, #b4efc3, #a6d2ff, #d4b6ff, #ffb3cc) border-box;
  box-shadow: 0 10px 22px -12px rgba(10, 4, 40, .45);
}
.xw-search > span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xw-pickbtn { position: relative; display: inline-flex; align-items: center; gap: 5px; flex: none; height: 34px; padding: 0 13px 0 11px; border-radius: 17px; background: #7b5cff; color: #fff; font-size: 14px; font-weight: 700; }
.xw-pickbtn i { font-style: normal; font-size: 13px; }
.xw-craves { display: flex; gap: 8px; margin: 18px -40px 0 12px; }
.xw-craves span { position: relative; display: grid; justify-items: center; align-content: center; gap: 2px; flex: none; width: 64px; height: 72px; border-radius: 18px; background: #fff; font-size: 11px; font-weight: 800; box-shadow: 0 10px 18px -12px rgba(20, 40, 80, .45); }
.xw-craves i { font-style: normal; font-size: 27px; line-height: 1.15; }
.xw-craves em { position: absolute; top: -9px; left: 50%; translate: -50% 0; padding: 3px 7px; border-radius: 8px; background: #16131f; color: #fff; font-style: normal; font-size: 9.5px; font-weight: 800; white-space: nowrap; }
.xw-craves em.xw-late { background: #ff5c93; }
.xw-doors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 14px 0; }
.xw-doors span { position: relative; display: grid; justify-items: center; align-content: center; gap: 4px; height: 80px; border-radius: 20px; color: #fff; }
.xw-doors i { font-style: normal; font-size: 26px; line-height: 1.1; }
.xw-doors b { font-size: 11px; font-weight: 800; text-align: center; line-height: 1.1; }
.xw-doors em { position: absolute; top: -7px; right: -3px; display: grid; place-items: center; min-width: 22px; height: 20px; padding: 0 5px; border-radius: 10px; background: #fff; color: #ff6a1f; font-style: normal; font-size: 11px; font-weight: 800; box-shadow: 0 3px 8px -3px rgba(0, 0, 0, .35); }
.xw-doors .xw-d-fr { background: #ef3f80; } .xw-doors .xw-d-as { background: #3d6bff; }
.xw-doors .xw-d-dl { background: #ff7a1f; } .xw-doors .xw-d-tr { background: #13a571; }

/* Best of where you are (VRBestOfHere) */
.xw-bo { position: relative; height: 290px; margin: 16px 12px 0; overflow: hidden; clip-path: inset(0 round 26px); background: #111113; }
.xw-bo::after { content: ""; position: absolute; z-index: 9; inset: 0; border-radius: 26px; box-shadow: inset 0 0 0 1px rgba(255, 204, 92, .35); pointer-events: none; }
.xw-wall { position: absolute; right: -92px; top: -84px; display: flex; gap: 9px; transform: rotate(-13deg); }
.xw-wall > div { display: grid; gap: 9px; }
.xw-wall > div:nth-child(2) { margin-top: 46px; }
.xw-wall img { width: 92px; height: 92px; border-radius: 17px; object-fit: cover; }
.xw-bo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top right, rgba(0, 0, 0, .95), rgba(0, 0, 0, .8) 42%, rgba(0, 0, 0, .3) 74%, rgba(0, 0, 0, 0)); }
.xw-bo-in { position: absolute; z-index: 1; left: 16px; right: 14px; top: 16px; bottom: 15px; display: flex; flex-direction: column; color: #fff; }
.xw-bo-k { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 13.5px; font-weight: 700; }
.xw-bo-k svg { width: 15px; height: 15px; }
.xw-bo-k em { padding: 0 8px; height: 21px; line-height: 21px; border-radius: 11px; background: rgba(255, 255, 255, .14); font-style: normal; font-size: 11.5px; font-weight: 600; color: rgba(255, 255, 255, .88); }
.xw-bo-n { max-width: 8.5ch; margin: auto 0 0; font: 900 32px/1 ui-rounded, 'SF Pro Rounded', -apple-system, 'Inter', sans-serif; letter-spacing: -.02em; }
.xw-bo-n .xw-ch { display: inline-block; }
.xw-bo-here { display: flex; align-items: center; gap: 6px; margin: 7px 0 0; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .82); }
.xw-bo-here svg { width: 12px; height: 12px; }
.xw-bo-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 13px; }
.xw-see { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; overflow: hidden; clip-path: inset(0 round 20px); background: #fff; color: #000; font-size: 14px; font-weight: 700; }
.xw-see i { font-style: normal; }
.xw-tally { display: flex; align-items: center; }
.xw-tally svg { width: 13px; height: 28px; }
.xw-tally svg.xw-r { transform: scaleX(-1); }
.xw-tally > span { display: grid; justify-items: center; min-width: 38px; line-height: 1; }
.xw-tally b { font: 800 23px/1 ui-rounded, 'SF Pro Rounded', -apple-system, 'Inter', sans-serif; font-variant-numeric: tabular-nums; }
.xw-tally small { margin-top: 1px; font-size: 10px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.xw-also { margin: 18px 0 0 18px; font-size: 14px; font-weight: 700; }
.xw-rail { display: flex; gap: 10px; margin: 11px -60px 0 14px; }
.xw-rail span { position: relative; display: flex; flex-direction: column; justify-content: flex-end; flex: none; width: 150px; height: 150px; padding: 11px; overflow: hidden; clip-path: inset(0 round 20px); background: #111; color: #fff; }
.xw-rail img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xw-rail span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 25%, rgba(0, 0, 0, .86)); }
.xw-rail span > :not(img) { position: relative; z-index: 1; }
.xw-rail em { position: absolute !important; left: 9px; top: 9px; height: 21px; padding: 0 8px; line-height: 21px; border-radius: 11px; background: rgba(0, 0, 0, .38); font-style: normal; font-size: 10.5px; font-weight: 700; }
.xw-rail b { font: 900 15px/1.05 ui-rounded, 'SF Pro Rounded', -apple-system, 'Inter', sans-serif; }
.xw-rail small { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.xw-rail small i { font-style: normal; font-size: 9px; }
.xw-rail small u { text-decoration: none; color: rgba(255, 255, 255, .6); margin-left: 3px; }

/* The tab bar, as iOS draws it over the dark card (Mark's screenshot). */
.xw-tabbar {
  position: absolute; z-index: 6; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); height: 74px; padding: 7px 8px 0;
  background: rgba(16, 16, 18, .94); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border-top: .5px solid rgba(255, 255, 255, .09); color: #8e8e93;
}
.xw-tabbar span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10px; font-weight: 600; letter-spacing: .01em; line-height: 1.2; }
.xw-tabbar svg { width: 25px; height: 25px; }
.xw-tabbar .xw-on { color: #4ea3ff; }
.xw-home { position: absolute; left: 50%; bottom: 8px; width: 124px; height: 5px; margin-left: -62px; border-radius: 3px; background: rgba(255, 255, 255, .5); }

.xw-touch { position: absolute; z-index: 30; left: 0; top: 0; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1.5px rgba(17, 18, 20, .12); opacity: 0; pointer-events: none; }

/* ── Pick, grown out of the pill ─────────────────────────────── */
.xw-sheet {
  --xw-tint: 0;
  position: absolute; z-index: 20; left: 7px; right: 7px; top: 48px; bottom: 7px;
  overflow: hidden; clip-path: inset(0 round 30px); background: #fff; color: #0b0d12;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .45);
}
.xw-sheet::before { content: ""; position: absolute; z-index: 9; inset: 0; background: #8b5cf6; opacity: var(--xw-tint); pointer-events: none; }
.xw-sh-wash { position: absolute; left: 0; right: 0; top: 0; height: 60%; opacity: 0; -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
.xw-sh-wash img { width: 100%; height: 100%; object-fit: cover; filter: blur(30px) saturate(1.3); transform: scale(1.3); opacity: .36; }
.xw-sh-head { position: relative; display: flex; align-items: center; gap: 9px; padding: 13px 12px 0 14px; }
.xw-scout { width: 32px; height: 36px; flex: none; }
.xw-happy { display: none; }
.xw-sheet.xw-is-happy .xw-happy { display: inline; }
.xw-sheet.xw-is-happy .xw-eyes { display: none; }
.xw-sh-t { position: relative; flex: 1; height: 28px; overflow: hidden; font: 800 23px/28px ui-rounded, 'SF Pro Rounded', -apple-system, 'Inter', sans-serif; letter-spacing: -.02em; }
.xw-sh-t span { position: absolute; left: 0; top: 0; white-space: nowrap; transition: transform .45s cubic-bezier(.22, 1, .36, 1), opacity .3s; }
.xw-sh-t span + span { transform: translateY(110%); opacity: 0; }
.xw-sheet.xw-is-picked .xw-sh-t span:first-child { transform: translateY(-110%); opacity: 0; }
.xw-sheet.xw-is-picked .xw-sh-t span + span { transform: none; opacity: 1; }
.xw-sh-x { display: grid; place-items: center; width: 31px; height: 31px; flex: none; border-radius: 50%; background: #eff1f4; color: #0b0d12; }
.xw-sh-x svg { width: 13px; height: 13px; }
.xw-facts { position: relative; display: flex; margin: 11px 12px 0; padding: 6px 0; border-radius: 15px; background: #eff1f4; }
.xw-facts span { flex: 1; min-width: 0; margin: 0 2px; padding: 4px 9px; border-radius: 10px; transition: background-color .4s; }
.xw-facts span + span { box-shadow: -3px 0 0 -2px #dfe2e8; }
.xw-facts small { display: flex; align-items: center; gap: 4px; color: #565d6b; font-size: 11px; font-weight: 500; white-space: nowrap; }
.xw-facts small svg { width: 11px; height: 11px; flex: none; }
.xw-facts b { display: block; margin-top: 2px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.xw-facts .xw-lit { background: rgba(139, 92, 246, .16); }
.xw-ask { position: relative; padding: 0 12px; }
.xw-ask-q { margin: 16px 0 9px 4px; color: #565d6b; font-size: 13.5px; font-weight: 600; }
.xw-moods { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.xw-moods span { position: relative; height: 122px; padding: 13px; overflow: hidden; clip-path: inset(0 round 20px); color: #fff; }
.xw-moods svg { display: block; width: 15px; height: 15px; }
.xw-moods b { position: relative; z-index: 1; display: block; max-width: 82%; margin-top: 7px; font-size: 17px; font-weight: 800; line-height: 1.12; letter-spacing: -.01em; }
.xw-moods img { position: absolute; right: -6px; bottom: -10px; width: 66px; height: 74px; object-fit: cover; border: 2.5px solid rgba(255, 255, 255, .92); border-radius: 13px; transform: rotate(16deg); box-shadow: -2px 6px 12px rgba(0, 0, 0, .25); }
.xw-moods .xw-m-coral { background: #ff4f6b; } .xw-moods .xw-m-grape { background: #7a5cff; }
.xw-moods .xw-m-mint { background: #14c799; } .xw-moods .xw-m-zest { background: #ffc430; color: #3a2a00; }
.xw-just { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; margin-top: 12px; border-radius: 24px; background: #8b5cf6; color: #fff; font-size: 15px; font-weight: 700; }
.xw-just i { font-style: normal; font-size: 15px; }
.xw-spin { position: absolute; left: 12px; right: 12px; top: 126px; height: 262px; overflow: hidden; clip-path: inset(0 round 22px); background: #ffc430; visibility: hidden; }
.xw-spin img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(14px) saturate(1.2); transform: scale(1.2); opacity: .9; }
.xw-spin::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .25); }
.xw-reel { position: absolute; z-index: 1; left: 0; right: 0; top: 50%; height: 38px; margin-top: -19px; overflow: hidden; }
.xw-reel-in { will-change: transform; }
.xw-reel b { display: block; height: 38px; color: #fff; font: 800 25px/38px ui-rounded, 'SF Pro Rounded', -apple-system, 'Inter', sans-serif; letter-spacing: -.02em; text-align: center; white-space: nowrap; }
.xw-picked { position: absolute; left: 12px; right: 12px; top: 126px; }
.xw-card { position: relative; height: 262px; overflow: hidden; clip-path: inset(0 round 22px); background: #1f2632; }
.xw-picked::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 262px; border-radius: 22px; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .35); }
.xw-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xw-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0, 0, 0, .7)); }
.xw-sweep { position: absolute; z-index: 2; top: -20%; left: -60%; width: 45%; height: 140%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .34), transparent); transform: rotate(18deg); opacity: 0; }
.xw-match { position: absolute; z-index: 3; left: 12px; top: 12px; height: 28px; padding: 0 10px; border-radius: 14px; background: rgba(30, 30, 36, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-size: 12px; font-weight: 700; line-height: 28px; font-variant-numeric: tabular-nums; }
.xw-heart { position: absolute; z-index: 3; right: 12px; top: 12px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; }
.xw-heart svg { width: 17px; height: 17px; }
.xw-card-in { position: absolute; z-index: 3; left: 17px; right: 17px; bottom: 15px; color: #fff; }
.xw-card-in b { display: block; font: 800 25px/1.08 ui-rounded, 'SF Pro Rounded', -apple-system, 'Inter', sans-serif; letter-spacing: -.02em; }
.xw-card-in span { display: block; margin-top: 5px; font-size: 13px; font-weight: 500; line-height: 1.32; color: rgba(255, 255, 255, .92); }
.xw-acts { display: flex; gap: 9px; margin-top: 12px; }
.xw-acts b { display: flex; align-items: center; justify-content: center; gap: 7px; height: 46px; border-radius: 23px; font-size: 15px; font-weight: 700; }
.xw-go { flex: 1; background: #ff6a1f; color: #fff; }
.xw-go svg { width: 14px; height: 14px; }
.xw-go em { font-style: normal; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .82); }
.xw-another { padding: 0 18px; background: #eff1f4; color: #0b0d12; }
.xw-another i { font-style: normal; font-size: 13px; }
.xw-ag-t { margin: 14px 0 7px 4px; color: #565d6b; font-size: 12px; font-weight: 600; }
.xw-alt { display: flex; align-items: center; gap: 11px; padding: 7px 12px 7px 7px; border-radius: 16px; background: #f4f5f7; }
.xw-alt img { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; }
.xw-alt span { flex: 1; min-width: 0; }
.xw-alt b { display: block; font-size: 13.5px; font-weight: 700; }
.xw-alt small { display: block; margin-top: 1px; color: #565d6b; font-size: 11.5px; }
.xw-alt i { font-style: normal; color: #9aa0ab; font-size: 18px; }
.xw-shelves { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 5px; margin: 0; height: 36px; color: #565d6b; font-size: 13px; font-weight: 600; }
.xw-shelves svg { width: 13px; height: 13px; }
.xw-shelves em { font-style: normal; font-size: 12px; }

/* ── The ranked list, out of the card (PCBestInsideSheet) ──── */
.xw-list { will-change: transform, opacity; position: absolute; z-index: 21; left: 0; right: 0; top: 44px; bottom: 0; padding: 12px 14px 0; overflow: hidden; clip-path: inset(0 round 30px 30px 0 0); background: #0b0b0d; color: #fff; visibility: hidden; transform-origin: 50% 60%; }
.xw-li-head { position: relative; height: 128px; padding: 16px; overflow: hidden; clip-path: inset(0 round 20px); background: #1d1c20; }
.xw-li-head > .xw-li-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xw-li-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); }
.xw-li-head > p { position: relative; z-index: 1; }
.xw-li-k { display: flex; align-items: center; gap: 6px; margin: 34px 0 0; font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .85); }
.xw-li-k em { height: 18px; padding: 0 7px; line-height: 18px; border-radius: 9px; background: rgba(255, 255, 255, .18); font-style: normal; font-size: 10px; font-weight: 600; }
.xw-li-t { margin: 3px 0 0; font: 700 21px/1.08 ui-serif, 'New York', Georgia, serif; }
.xw-li-g { margin: 18px 0 10px 2px; font-size: 17px; font-weight: 700; }
.xw-li-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; margin-bottom: 12px; }
.xw-li-row img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.xw-li-row b { display: inline; font-size: 14px; font-weight: 600; }
.xw-li-row em { display: inline-block; margin-left: 6px; padding: 0 7px; height: 19px; line-height: 19px; border-radius: 10px; background: rgba(52, 211, 153, .16); color: #6ee7b7; font-style: normal; font-size: 10.5px; font-weight: 600; vertical-align: 1px; }
.xw-li-row span { display: block; margin-top: 2px; color: #a1a1aa; font-size: 12px; }
.xw-li-row small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.35; color: #e4e4e7; }
.xw-li-foot { margin: 4px 2px 0; color: #8b8b93; font-size: 11px; line-height: 1.4; }

/* ── Deals (VRDealsEditorial) ────────────────────────────────── */
.xw-dl { z-index: 25; background: #0c1018; color: #fff; visibility: hidden; }
.xw-dscroll { position: absolute; left: 0; right: 0; top: 0; will-change: transform; }
.xw-dhead { position: relative; height: 288px; overflow: hidden; padding: 50px 16px 0; background: #e8622c; }
.xw-rays { position: absolute; left: 50%; top: 55%; width: 900px; height: 900px; margin: -450px 0 0 -450px; background: repeating-conic-gradient(rgba(255, 255, 255, .1) 0deg 8deg, transparent 8deg 16deg); }
.xw-dhead > :not(.xw-rays) { position: relative; }
.xw-dtop { display: flex; justify-content: space-between; margin-top: 2px; }
.xw-dtop i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #16181d; }
.xw-dtop svg { width: 18px; height: 18px; }
.xw-dbrand { display: flex; align-items: center; gap: 7px; margin: 6px 0 0; font-size: 16px; font-weight: 800; }
.xw-dbrand img { width: 28px; height: 28px; padding: 5px; border-radius: 8px; background: #111214; }
.xw-dtitle { margin: 2px 0 0; font: 900 50px/1 ui-rounded, 'SF Pro Rounded', -apple-system, 'Inter', sans-serif; letter-spacing: -.035em; text-shadow: 0 3px 0 rgba(0, 0, 0, .14); }
.xw-dnear { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: 14px; font-weight: 600; }
.xw-dnear svg { width: 12px; height: 12px; }
.xw-dnear b { margin-left: 10px; font-weight: 800; }
.xw-dstack { position: absolute !important; right: 6px; top: 96px; width: 168px; height: 114px; }
.xw-dstack img { position: absolute; width: 76px; height: 76px; object-fit: cover; border: 4px solid #fff; border-radius: 16px; box-shadow: 0 12px 22px -12px rgba(0, 0, 0, .6); }
.xw-dstack img:nth-child(1) { left: 0; top: 20px; rotate: -9deg; }
.xw-dstack img:nth-child(2) { left: 44px; top: 0; rotate: 4deg; }
.xw-dstack img:nth-child(3) { left: 84px; top: 17px; rotate: 9deg; }
.xw-seal { position: absolute; right: -2px; bottom: -6px; display: grid; place-items: center; align-content: center; width: 60px; height: 60px; color: #3b2a00; font-size: 10px; font-weight: 800; line-height: 1; background: #ffcc4d; clip-path: polygon(50% 0, 61% 8%, 75% 4%, 80% 17%, 94% 21%, 92% 35%, 100% 46%, 92% 57%, 96% 71%, 82% 76%, 78% 90%, 64% 88%, 52% 98%, 40% 89%, 26% 94%, 20% 80%, 6% 76%, 8% 62%, 0 50%, 8% 38%, 4% 24%, 18% 20%, 22% 6%, 36% 9%); }
.xw-seal b { font-size: 18px; font-weight: 900; font-variant-numeric: tabular-nums; }
.xw-dsearch { position: absolute !important; left: 14px; right: 14px; bottom: 20px; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 22px; background: #fff; color: #8a8f99; font-size: 13.5px; }
.xw-awning { height: 22px; margin-top: -1px; background: radial-gradient(circle at 50% 0, #f1ede6 13px, transparent 14px) 0 0 / 56px 22px repeat-x, radial-gradient(circle at 50% 0, #e8622c 13px, transparent 14px) 28px 0 / 56px 22px repeat-x; }
.xw-dbody { padding: 6px 12px 0; }
.xw-dcats { display: flex; gap: 10px; margin-right: -40px; }
.xw-dcats span { display: grid; justify-items: center; gap: 5px; flex: none; width: 72px; font-size: 12px; font-weight: 700; color: #d6dae2; }
.xw-dcats img { width: 72px; height: 72px; object-fit: cover; border-radius: 18px; }
.xw-dmap { position: relative; height: 190px; margin-top: 12px; overflow: hidden; clip-path: inset(0 round 22px); background: #0d121c; }
.xw-dmap > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .95; }
.xw-dmap-t { position: relative; margin: 13px 0 0 14px; font: 900 18px/1.1 ui-rounded, 'SF Pro Rounded', -apple-system, 'Inter', sans-serif; letter-spacing: -.02em; }
.xw-dmap-s { position: relative; margin: 3px 0 0 14px; color: #aab2c0; font-size: 12px; font-weight: 600; }
.xw-mpin { position: absolute; display: grid; place-items: center; width: 26px; height: 26px; margin: -13px 0 0 -13px; border: 2.5px solid #fff; border-radius: 50%; background: #ff6a2b; color: #fff; font-style: normal; font-size: 11px; font-weight: 900; box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .7); }
.xw-here { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border: 3px solid #fff; border-radius: 50%; background: #1d7bff; box-shadow: 0 0 0 7px rgba(29, 123, 255, .25); }
.xw-osm { position: absolute; left: 12px; bottom: 9px; color: rgba(255, 255, 255, .6); font-size: 8.5px; font-weight: 600; }
.xw-openmap { position: absolute; right: 11px; bottom: 11px; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border-radius: 17px; background: #fff; color: #111; font-size: 13px; font-weight: 700; }
.xw-openmap svg { width: 14px; height: 14px; }
.xw-dchips { display: flex; gap: 7px; margin: 12px -40px 0 0; }
.xw-dchips span { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 32px; padding: 0 12px; border-radius: 16px; background: #1b2230; font-size: 12.5px; font-weight: 700; }
.xw-dchips span.xw-on { background: #f3f4f6; color: #111; }
.xw-dchips i { font-style: normal; opacity: .6; }
.xw-dchips b { width: 7px; height: 7px; border-radius: 50%; }
.xw-dchips b.xw-dot-g { background: #34d399; } .xw-dchips b.xw-dot-p { background: #f472b6; } .xw-dchips b.xw-dot-y { background: #60a5fa; }
.xw-dbest { display: flex; align-items: baseline; gap: 8px; margin: 16px 0 0; font-size: 19px; font-weight: 900; letter-spacing: -.02em; }
.xw-dbest small { color: #aab2c0; font-size: 12px; font-weight: 600; letter-spacing: 0; }
.xw-posts { display: flex; gap: 12px; margin: 11px -80px 0 0; }
.xw-post { position: relative; flex: none; width: 258px; height: 300px; padding: 7px; border-radius: 28px; color: #fff; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .7); }
.xw-post.xw-p-green { background: #0f8a5f; } .xw-post.xw-p-red { background: #d63a3a; }
.xw-plate { position: relative; height: 168px; overflow: hidden; clip-path: inset(0 round 22px); }
.xw-plate img { width: 100%; height: 100%; object-fit: cover; }
.xw-brand { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px 0 3px; border-radius: 17px; background: rgba(0, 0, 0, .45); font-size: 13px; font-weight: 700; }
.xw-brand i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #0f8a5f; font-style: normal; font-size: 10px; font-weight: 900; }
.xw-post > b { display: block; margin: 9px 10px 0; font: 800 25px/1.05 ui-rounded, 'SF Pro Rounded', -apple-system, 'Inter', sans-serif; letter-spacing: -.03em; }
.xw-pfoot { position: absolute; left: 17px; right: 13px; bottom: 15px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.xw-pfoot em { display: block; font-style: normal; font-size: 12.5px; font-weight: 700; }
.xw-pfoot small { display: block; margin-top: 2px; font-size: 11.5px; color: rgba(255, 255, 255, .78); }
.xw-pfoot u { flex: none; height: 34px; padding: 0 12px; border-radius: 17px; background: #fff; color: #111; text-decoration: none; font-size: 12.5px; font-weight: 700; line-height: 34px; }

/* ── Phones and tablets: the sentence, then the island, then the phone
   standing in front of the island's lower edge (phones) or beside it
   (tablets). The stage becomes a column; the grid steps aside. ───── */
@media (max-width: 1099px) {
  .xw-stage { display: flex; flex-direction: column; width: calc(100% - 16px); height: auto; padding: 26px 0 30px; border-radius: 32px; }
  .xw-grid { display: contents; }
  .xw-left { order: 1; z-index: 2; max-width: none; display: block; padding: 0 22px; }
  .xw-world { order: 2; position: relative; inset: auto; height: var(--xw-wh, 420px); margin-top: 6px; }
  .xw-right { order: 3; z-index: 3; justify-content: center; margin-top: calc(var(--xw-wh, 420px) * -0.2); }
  .xw-prog { position: relative; top: 0; right: auto; margin-right: 54px; }
  .xw-foot { top: -3px; right: 22px; }
  .xw-stage.xw-end .xw-prog { right: auto; }
  .xw-stage.xw-end .xw-next { display: grid; }
  .xw-cta { display: none; }
  .xw-tag { margin-top: 18px; }
  .xw-lines { margin-top: 16px; }
  .xw-line { max-width: 12em; font-size: clamp(38px, 7.6vw, 68px); }
  .xw-stats { height: 74px; margin-top: 18px; }
  .xw-set { gap: clamp(18px, 5vw, 40px); }
  .xw-stat b { font-size: clamp(28px, 6.6vw, 44px); }
  .xw-stat span { max-width: 12ch; margin-top: 5px; font-size: 12.5px; }
  .xw-ghost { font-size: clamp(110px, 30vw, 220px); bottom: auto; top: 34%; }
  .xw-next { width: 40px; height: 40px; font-size: 17px; }
}
@media (min-width: 700px) and (max-width: 1099px) {
  /* Tablets: under the words, the island and the phone side by side. */
  .xw-world { height: var(--xw-wh, 620px); margin-top: 14px; }
  .xw-right { align-self: flex-end; margin: calc(var(--xw-wh, 620px) * -1) clamp(22px, 5vw, 56px) 0 0; }
}
@media (max-width: 699px) {
  .xw-ghosts { display: none; }
}
@media (max-width: 600px) {
  .xw-left { padding: 0 18px; }
  .xw-line { font-size: clamp(34px, 10vw, 46px); }
  .xw-prog { gap: 6px; }
  .xw-prog [data-go] span { font-size: 11.5px; }
  .xw-prog [data-go] > i { height: 4px; }
  .xw-foot { right: 18px; }
  .xw-stage { width: 100%; border-radius: 28px; }
}
/* ── Phones and tablets (up to 1099px): held and played by
   scrolling like laptops, the stage one full screen under the nav. On top
   the story bars, then the sentence (three lines at most), then the
   picture: the phone stands at the right, whole, as big as the room allows
   (its 12px text no smaller than about 7px, so on the very shortest
   screens its foot may run off); the island fills the room behind it with
   its beat in the open strip at the left (--xw-strip), where the pin, the
   podium and the tags pop up; the numbers count up under the island; the
   faint word drifts behind. explore-world.js sets --xw-s, --xw-strip and
   --xw-isle (the island's height in the strip). ───────────────────── */
@media (max-width: 1099px) {
  .xw { --xw-stage-h: calc(100vh - 64px); }
  .xw-hold.xw-scrolly .xw-stage { top: 64px; }
  .xw-stage {
    --xw-s: .6;
    display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr);
    width: 100%; height: var(--xw-stage-h); padding: 12px 0 0; border-radius: 22px 22px 0 0;
  }
  .xw-left { position: static; grid-row: 1; grid-column: 1; order: 0; padding: 0 18px; }
  .xw-world { grid-row: 2; grid-column: 1; order: 0; position: relative; inset: auto; height: auto; min-height: 0; margin: 0; }
  .xw-right { grid-row: 2; grid-column: 1; order: 0; z-index: 3; align-self: start; justify-self: end; margin: var(--xw-pt, 0px) 10px 0 0; align-items: flex-start; }
  .xw-tag, .xw-stage.xw-js .xw-foot { display: none; }
  .xw-prog { position: relative; top: 0; right: auto; margin: 0; }
  .xw-stage.xw-end .xw-prog { right: auto; }
  .xw-lines { margin-top: 6px; }
  .xw-line { max-width: none; font-size: clamp(25px, 7.4vw, 40px); }
  /* The numbers, stacked in the strip under the island. */
  .xw-stats { position: absolute; z-index: 2; left: 16px; bottom: 14px; width: calc(var(--xw-strip, 140px) - 22px); height: auto; margin: 0; }
  .xw-set { position: absolute; left: 0; top: auto; bottom: 0; flex-direction: column; gap: 9px; }
  .xw-stat b { font-size: clamp(20px, 6vw, 30px); }
  .xw-stat span { max-width: none; margin-top: 2px; font-size: 10.5px; line-height: 1.2; }
  .xw-ghosts { display: block; }
  .xw-ghost { top: auto; bottom: -.16em; font-size: clamp(120px, 36vw, 300px); }
  /* The stills put the island where the canvas does: in the strip, above the numbers. */
  .xw-poster img { position: absolute; left: calc(var(--xw-strip, 40%) / 2); top: calc(var(--xw-isle, 60%) / 2); width: auto; height: var(--xw-isle, 60%); max-width: none; transform: translate(-50%, -50%); object-fit: contain; }
}
@supports (height: 100svh) {
  @media (max-width: 1099px) { .xw { --xw-stage-h: calc(100svh - 64px); } }
}
@media (max-width: 1099px) and (min-width: 600px) {
  .xw-left { padding: 0 28px; }
  .xw-right { margin-right: 24px; }
  .xw-stats { left: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .xw-stage *, .xw-stage { transition: none !important; animation: none !important; }
}

/* ── States ──────────────────────────────────────────────────── */
.xw-dim { position: absolute; z-index: 19; inset: 0; background: rgba(0, 0, 0, .28); opacity: 0; pointer-events: none; }
.xw-tabbar { transition: background-color .35s, color .35s, border-color .35s; }
.xw-tabbar.xw-light { background: rgba(249, 249, 251, .94); border-top-color: rgba(0, 0, 0, .1); color: #999; }
.xw-tabbar.xw-light .xw-on { color: #007aff; }
.xw-tabbar.xw-light .xw-home { background: rgba(0, 0, 0, .55); }
.xw-see::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--xw-sw, -60%); width: 45%; background: linear-gradient(90deg, transparent, rgba(255, 204, 92, .65), transparent); pointer-events: none; }

/* The Pick sheet: in the markup it is already picked (the finished look,
   shown without JS and in still mode); the motion opens it from the pill. */
.xw-sheet:not(.xw-is-picked) .xw-picked { visibility: hidden; }
.xw-sheet.xw-is-picked .xw-ask { visibility: hidden; }
.xw-sheet:not(.xw-is-picked) .xw-sh-wash { opacity: 0; }
.xw-sheet.xw-is-picked .xw-sh-wash { opacity: 1; }
.xw-stage.xw-gs .xw-sheet { visibility: hidden; }
.xw-stage.xw-gs .xw-sheet.xw-open { visibility: visible; }
.xw-stage.xw-gs .xw-sheet .xw-picked { visibility: hidden; }
.xw-stage:not(.xw-js) .xw-dim, .xw-stage.xw-still[data-b="0"] .xw-dim { opacity: 1; }
.xw-stage.xw-still:not([data-b="0"]) .xw-sheet { visibility: hidden; }
.xw-stage.xw-still[data-b="1"] .xw-list { visibility: visible; }
.xw-stage.xw-still[data-b="2"] .xw-dl { visibility: visible; }
