/* SILACOD · Explore (/explore/): the public gallery of sellers' stores.
   Built on the home page's own pieces: the top bar, the buttons, the kicker, and the store card of the examples gallery
   (.sc-th: brand-colour stage, browser window, phone on the corner — v2.css « Examples gallery v3 »). This file adds the
   page around them: search, filter bar, the 3-column grid, a card's foot (owner, like, comments, views, save), the store
   sheet with its comments, and the small dialogs. Everything reads its colours from the --x-* tokens below, so both
   themes are one set of rules. Motion is transform/opacity only (weak machines: see memory of v2-fx.css). */

.xp-page {
  --x-panel: #ffffff; --x-raise: #f1f2f8; --x-ink: #0f172a; --x-muted: #5b6478; --x-line: rgba(15,23,42,.09); --x-line2: rgba(15,23,42,.17);
  --x-soft: rgba(35,40,99,.055); --x-veil: rgba(15,23,42,.52); --x-bar: rgba(255,255,255,.88); --x-ok: #15803d; --x-okbg: rgba(22,163,74,.12);
  --x-shadow: 0 40px 80px -46px rgba(17,19,68,.5); --x-on: #ffffff; --x-danger: #c2351b;
}
html:not([data-theme="light"]) .xp-page {
  --x-panel: #10133c; --x-raise: rgba(255,255,255,.07); --x-ink: #f3f4ff; --x-muted: #aeb1d6; --x-line: rgba(255,255,255,.1); --x-line2: rgba(255,255,255,.2);
  --x-soft: rgba(255,255,255,.05); --x-veil: rgba(3,4,18,.74); --x-bar: rgba(14,17,58,.84); --x-ok: #4ade80; --x-okbg: rgba(74,222,128,.13);
  --x-shadow: 0 50px 100px -40px rgba(0,0,0,.9); --x-on: rgba(255,255,255,.13); --x-danger: #ff9b85;
}
/* the site's own pieces (.lead, .kicker…) read these three */
.xp-hero, .xp-sec, .xp-veil { --ink: var(--x-ink); --muted: var(--x-muted); --line: var(--x-line); }
/* the page keeps its scrollbar's place while a dialog locks it, so nothing jumps sideways */
html:has(> body.xp-page) { scrollbar-gutter: stable; }
html.xp-lock, html.xp-lock body { overflow: hidden; }

/* ---------- hero ---------- */
.xp-hero { position: relative; isolation: isolate; overflow: clip; padding: clamp(118px, 11vw, 164px) 0 clamp(26px, 3vw, 40px); color: var(--x-ink); }
.xp-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(52% 72% at 88% -8%, rgba(240,99,67,.2), transparent 62%), radial-gradient(44% 62% at 4% 0%, rgba(74,125,255,.13), transparent 60%); }
.xp-hero .kicker { gap: 12px; }
.xp-hero h1 { margin: 16px 0 0; max-width: 20ch; font-size: clamp(34px, 4.7vw, 66px); font-weight: 900; }
.xp-hero .lead { margin-top: 16px; max-width: 60ch; }
.xp-live { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 11px; border-radius: 999px; background: var(--x-soft); color: var(--x-muted); font-size: 14px; font-weight: 800; letter-spacing: 0; }
.xp-live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.xp-live[data-on="1"] { background: var(--x-okbg); color: var(--x-ok); }
.xp-live[data-on="1"] i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: currentColor; animation: xpPing 1.9s ease-out infinite; }
@keyframes xpPing { from { transform: scale(1); opacity: .65; } to { transform: scale(3); opacity: 0; } }

.xp-search { position: relative; display: flex; align-items: center; gap: 12px; max-width: 780px; height: 62px; margin-top: 30px; padding-inline: 22px 10px; border-radius: 999px; background: var(--x-raise); border: 1px solid var(--x-line2); transition: border-color .45s, box-shadow .45s; }
.xp-search:focus-within { border-color: #f0634380; box-shadow: 0 0 2px 1px #7396ff4d, 0 0 10px 4px #7396ff0f; }
html[data-theme="light"] .xp-search:focus-within { border-color: #be4429; }
.xp-search > input:focus-visible { outline: none !important; }
.xp-search-particles {
  --bleed: 136px;
  position: absolute;
  inset: calc(-1 * var(--bleed));
  width: calc(100% + 2 * var(--bleed));
  height: calc(100% + 2 * var(--bleed));
  pointer-events: none;
}
@media (forced-colors: active) {
  .xp-search:focus-within { outline: 2px solid Highlight; outline-offset: 2px; }
}
.xp-search > svg { width: 22px; height: 22px; flex: none; color: var(--x-muted); }
.xp-search input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: none; color: var(--x-ink); font: inherit; font-size: 18px; font-weight: 600; }
.xp-search input::placeholder { color: var(--x-muted); opacity: 1; }
.xp-search input::-webkit-search-cancel-button { display: none; }
.xp-clear { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--x-soft); color: var(--x-ink); cursor: pointer; flex: none; }
.xp-clear[hidden] { display: none; }
.xp-clear svg { width: 18px; height: 18px; }
.xp-clear:hover { background: var(--x-line2); }

.xp-hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 26px; }
.xp-stats { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 0; padding: 0; list-style: none; color: var(--x-muted); font-weight: 700; font-size: 15px; }
.xp-stats b { margin-inline-end: 7px; color: var(--x-ink); font-family: var(--f-lat); font-size: 20px; font-weight: 800; }

/* ---------- filter bar ---------- */
.xp-sec { position: relative; padding: 6px 0 clamp(64px, 7vw, 110px); color: var(--x-ink); }
.xp-bar { position: sticky; top: 92px; z-index: 30; display: flex; align-items: center; gap: 10px 12px; padding: 10px; border-radius: 22px; background: var(--x-bar); border: 1px solid var(--x-line); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
html.lite .xp-bar { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--x-panel); }
.xp-sorts { display: flex; gap: 2px; padding: 4px; border-radius: 16px; background: var(--x-soft); flex: none; }
.xp-sorts button { height: 40px; padding: 0 14px; border-radius: 12px; border: 0; background: none; color: var(--x-muted); font-weight: 800; font-size: 15px; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s; }
.xp-sorts button:hover { color: var(--x-ink); }
.xp-sorts button[aria-pressed="true"] { background: var(--x-on); color: var(--x-ink); box-shadow: 0 1px 2px rgba(15,23,42,.12); }
.xp-chips { display: flex; gap: 8px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; padding-inline: 2px; overscroll-behavior-x: contain; }
.xp-chips::-webkit-scrollbar { display: none; }
.xp-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.xp-chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--x-line2); background: transparent; color: var(--x-ink); font-weight: 700; font-size: 15px; white-space: nowrap; cursor: pointer; flex: none; transition: background .2s, border-color .2s, color .2s; }
.xp-chip svg { width: 17px; height: 17px; flex: none; }
.xp-chip small { font-family: var(--f-lat); font-size: 14px; font-weight: 800; opacity: .65; }
.xp-chip:hover { background: var(--x-soft); }
.xp-chip[aria-pressed="true"] { background: var(--coral); border-color: var(--coral); color: #fff; }
.xp-chip[aria-pressed="true"] small { opacity: .9; }
.xp-select { height: 40px; max-width: 150px; padding-inline: 12px 30px; border-radius: 999px; border: 1px solid var(--x-line2); background: transparent; color: var(--x-ink); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 17px) 17px, calc(100% - 12px) 17px; background-size: 5px 5px; background-repeat: no-repeat; }
html[dir="rtl"] .xp-select { background-position: 12px 17px, 17px 17px; }
.xp-select option { color: #0f172a; background: #fff; }
.xp-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin: 18px 4px 14px; color: var(--x-muted); font-weight: 700; font-size: 15px; }
.xp-meta p { margin: 0; }
.xp-meta b { color: var(--x-ink); font-family: var(--f-lat); }
.xp-link { min-height: 40px; padding: 0 6px; border: 0; background: none; color: var(--coral); font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.xp-link[hidden] { display: none; }

/* ---------- grid + card (the home page's .sc-th, as an article with a foot) ---------- */
.xp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.xp-page .xp-card { position: relative; display: flex; flex-direction: column; min-width: 0; cursor: default; color: var(--x-ink); container: xpcard / inline-size; }
@container xpcard (max-width: 400px) { .xp-foot { flex-wrap: wrap; } .xp-owner { flex: 1 0 100%; } .xp-acts { flex: 1; justify-content: space-between; } }
.xp-pvw { position: relative; }
.xp-page .sc-th .pv { display: block; width: 100%; margin: 0; padding: 0; border: 0; color: inherit; font: inherit; text-align: start; cursor: pointer; }
.xp-page .sc-th .pv:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; border-radius: 18px; }
/* No stage behind a store (owner, 2026-11-13: « this dots background, I don't want it… make the cards the website only »).
   On the home page a store sits on a brand-colour box with a dot pattern (v2.css, .sc-th .pv). Here the card IS the
   store's window, edge to edge, with its phone on the corner: no box, no dots, nothing behind it but the page. */
.xp-page .sc-th .pv { background: none; box-shadow: none; overflow: visible; border-radius: 18px; }
.xp-page .sc-th .pv::before { content: none; }
.xp-page .sc-win { top: 0; inset-inline-start: 0; width: 100%; bottom: 0; border-radius: 18px; box-shadow: 0 0 0 1px var(--x-line2), 0 34px 60px -36px rgba(0,0,0,.75); }
.xp-page .sc-ph { bottom: 6%; inset-inline-end: 4%; }
.xp-page .xp-card .sc-ext { display: grid; place-items: center; top: 36px; inset-inline-end: 12px; width: 40px; height: 40px; text-decoration: none; }
.xp-page .xp-card .sc-ext svg { width: 18px; height: 18px; }
.xp-page .xp-card:hover .sc-ext, .xp-page .xp-card .sc-ext:focus-visible, .xp-page .xp-card:focus-within .sc-ext { opacity: 1; transform: none; }
.xp-page .xp-card .sc-ext:hover { background: var(--coral); }
.xp-badge { position: absolute; bottom: 14px; inset-inline-start: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: 999px; background: rgba(10,12,46,.8); color: #fff; font-size: 14px; font-weight: 800; pointer-events: none; }
.xp-badge svg { width: 14px; height: 14px; color: var(--coral2); }
.sc-scr { container-type: size; }
.xp-page .sc-ph { container-type: inline-size; }
.xp-page .sc-ph img.xp-cover { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
/* the page inside the window scrolls while its card is hovered, as in the home page's gallery. There the picture moves by
   object-position (a repaint on every frame, fine for four cards); a gallery shows dozens, so here the whole page (.xp-roll:
   the store's picture, or the drawn storefront) moves by transform. 100cqh is the window's height, 100% the page's own. */
.xp-page .sc-scr img { animation: none; transition: none; }
.xp-roll { display: block; width: 100%; min-height: 100cqh; transition: transform 3.5s cubic-bezier(.45,.05,.4,1); }
.xp-page .sc-scr img.xp-cover, .xp-page .sc-th:hover .sc-scr img.xp-cover { height: auto; object-fit: cover; object-position: 50% 0; transition: transform 7s cubic-bezier(.45,.05,.4,1); }
.xp-page .sc-th .sc-scr .ms img, .xp-page .sc-th:hover .sc-scr .ms img { object-position: 50% 50%; }
.xp-page .sc-th:hover .sc-scr .xp-roll, .xp-page .sc-th .pv:focus-visible .xp-roll { transform: translateY(min(0px, calc(100cqh - 100%))); transition-duration: 5s; }
.xp-page .sc-th:hover .sc-scr img.xp-roll, .xp-page .sc-th .pv:focus-visible img.xp-roll { transition-duration: 9s; }
@keyframes xpRoll { 0%, 14% { transform: translateY(0); } 86%, 100% { transform: translateY(min(0px, calc(100cqh - 100%))); } }
/* no hover on a touch screen: the cards in view scroll by themselves (explore.js marks them .xp-see) */
@media (hover: none) { .xp-page .xp-card.xp-see .sc-scr .xp-roll { animation: xpRoll 12s ease-in-out infinite alternate; } }

.xp-body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 14px 6px 0; }
.xp-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.xp-logo { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; overflow: hidden; flex: none; background: var(--x-raise); box-shadow: inset 0 0 0 1px var(--x-line); color: #fff; font-family: var(--f-lat); font-size: 18px; font-weight: 900; }
.xp-logo img { width: 100%; height: 100%; object-fit: cover; }
.xp-title { flex: 1; min-width: 0; }
.xp-title b, .xp-title small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.xp-title b { font-size: 18px; font-weight: 800; letter-spacing: .01em; }
.xp-title small { color: var(--x-muted); font-size: 14px; font-weight: 700; }
.xp-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--x-line); }
.xp-owner { display: inline-flex; align-items: center; gap: 8px; min-width: 0; height: 40px; padding-inline: 4px 12px; border-radius: 999px; border: 0; background: none; color: var(--x-ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .2s; }
.xp-owner:hover { background: var(--x-soft); }
.xp-owner > span:last-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.xp-av { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; flex: none; background: linear-gradient(135deg, #232863, #4a50b0); color: #fff; font-family: var(--f-lat); font-size: 13px; font-weight: 800; }
.xp-av img { width: 100%; height: 100%; object-fit: cover; }
.xp-av svg { width: 16px; height: 16px; }
.xp-acts { display: flex; align-items: center; flex: none; }
.xp-act { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 38px; height: 40px; padding: 0 6px; border-radius: 12px; border: 0; background: none; color: var(--x-muted); font-family: var(--f-lat); font-size: 14px; font-weight: 800; transition: background .2s, color .2s; }
.xp-act svg { width: 20px; height: 20px; flex: none; }
button.xp-act { cursor: pointer; }
button.xp-act:hover { background: var(--x-soft); color: var(--x-ink); }
button.xp-act[aria-pressed="true"] { color: var(--coral); }
button.xp-act[disabled] { opacity: .6; cursor: progress; }
.xp-pop svg { animation: xpPop .4s var(--ease); }
@keyframes xpPop { 0% { transform: scale(1); } 40% { transform: scale(1.38); } 100% { transform: scale(1); } }
.xp-tick { display: inline-block; animation: xpTick .5s var(--ease); }
@keyframes xpTick { 0% { transform: translateY(5px); opacity: .2; } 100% { transform: none; opacity: 1; } }

/* a store with no picture yet: its card draws a small storefront from the store's own colours, logo and products */
.ms { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; color: #14162b; font-family: var(--f-lat); line-height: 1.2; text-align: start; }
.ms[dir="rtl"] { font-family: var(--f-ar); }
.ms.serif { font-family: Georgia, "Times New Roman", serif; }
.ms-ann { flex: none; height: 3.2cqw; background: var(--ms-p); }
.ms-nav { display: flex; align-items: center; gap: 2.4cqw; flex: none; padding: 2.1cqw 4cqw; border-bottom: 1px solid rgba(20,22,43,.07); }
.ms-brand { display: flex; align-items: center; gap: 1.5cqw; min-width: 0; font-size: 3.1cqw; font-weight: 800; white-space: nowrap; }
.ms-brand img { width: auto; height: 5cqw; max-width: 14cqw; border-radius: 1cqw; object-fit: contain; }
.ms-links { display: flex; gap: 2.4cqw; margin-inline-start: auto; }
.ms-links i { width: 7cqw; height: 1.3cqw; border-radius: 9px; background: currentColor; opacity: .16; }
.ms-cart { width: 4.6cqw; height: 4.6cqw; border-radius: 50%; background: var(--ms-p); flex: none; }
.ms-hero { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 1.9cqw; flex: none; min-height: 33cqw; margin: 2.6cqw 4cqw 0; padding: 4.6cqw 5cqw; border-radius: 2.6cqw; overflow: hidden; background: linear-gradient(135deg, var(--ms-s), color-mix(in srgb, var(--ms-s) 62%, var(--ms-p))); color: var(--ms-sc, #fff); }
.ms-hero.full, .sc-ph .ms-hero { color: #fff; }
.ms-hero img { position: absolute; inset-block: 0; inset-inline-end: 0; width: 46%; height: 100%; object-fit: cover; -webkit-mask: linear-gradient(to var(--ms-side, left), #000 62%, transparent); mask: linear-gradient(to var(--ms-side, left), #000 62%, transparent); }
.ms[dir="rtl"] .ms-hero { --ms-side: right; }
.ms-hero.full img { width: 100%; -webkit-mask: none; mask: none; }
.ms-hero.full::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to var(--ms-side, left), transparent, rgba(8,9,30,.72) 70%); }
.ms[dir="rtl"] .ms-hero.full::after { background: linear-gradient(to right, transparent, rgba(8,9,30,.72) 70%); }
.ms-hero b, .ms-hero span, .ms-hero em { position: relative; z-index: 1; max-width: 56%; }
.ms-hero b { font-size: 5.2cqw; font-weight: 800; line-height: 1.15; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.ms-hero span { font-size: 2.2cqw; opacity: .86; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.ms-hero em { align-self: flex-start; display: inline-flex; align-items: center; height: 5.6cqw; padding: 0 3cqw; border-radius: 99px; background: var(--ms-p); color: var(--ms-pc, #fff); font-size: 2.2cqw; font-style: normal; font-weight: 800; }
.ms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.2cqw; padding: 3cqw 4cqw; }
.ms-p { display: flex; flex-direction: column; gap: .9cqw; min-width: 0; }
.ms-p i { display: block; aspect-ratio: 1; border-radius: 1.8cqw; background: #eef0f5 center / cover no-repeat; }
.ms-p u, .ms-p s { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 1.9cqw; text-decoration: none; }
.ms-p u { font-weight: 700; }
.ms-p s { color: color-mix(in srgb, var(--ms-p) 78%, #14162b); font-weight: 800; }
/* further down the drawn page: a band with the store's name, then its footer */
.ms-band { display: flex; align-items: center; gap: 4cqw; flex: none; height: 8.6cqw; padding: 0 4cqw; overflow: hidden; background: var(--ms-p); color: var(--ms-pc, #fff); font-size: 3cqw; font-weight: 800; white-space: nowrap; }
.ms-band i { width: 1.5cqw; height: 1.5cqw; border-radius: 50%; background: currentColor; opacity: .55; flex: none; }
.ms-foot { display: flex; align-items: center; justify-content: space-between; gap: 4cqw; flex: 1 0 auto; min-height: 16cqw; margin-top: 3cqw; padding: 4cqw; background: var(--ms-s); color: var(--ms-sc, #fff); }
.ms-foot b { font-size: 3.4cqw; font-weight: 800; }
.ms-foot span { display: grid; gap: 1.4cqw; justify-items: end; }
.ms-foot span i { display: block; width: 16cqw; height: 1.3cqw; border-radius: 9px; background: currentColor; opacity: .3; }
.ms-foot span i:nth-child(2) { width: 11cqw; } .ms-foot span i:nth-child(3) { width: 13cqw; }
/* the same, on the phone */
.xp-page .sc-ph .ms { height: 100%; border-radius: 14px; }
.sc-ph .ms-ann { height: 6cqw; }
.sc-ph .ms-nav { justify-content: center; padding: 5cqw 6cqw 4cqw; }
.sc-ph .ms-brand { font-size: 8cqw; }
.sc-ph .ms-brand img { height: 12cqw; max-width: 40cqw; }
.sc-ph .ms-links, .sc-ph .ms-cart { display: none; }
.sc-ph .ms-hero { min-height: 74cqw; margin: 5cqw 6cqw 0; padding: 8cqw; border-radius: 6cqw; gap: 4cqw; justify-content: flex-end; }
.sc-ph .ms-hero img { width: 100%; -webkit-mask: none; mask: none; }
.sc-ph .ms-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(8,9,30,.78)); }
.sc-ph .ms-hero b, .sc-ph .ms-hero span, .sc-ph .ms-hero em { max-width: 100%; }
.sc-ph .ms-hero b { font-size: 10.5cqw; }
.sc-ph .ms-hero span { display: none; }
.sc-ph .ms-hero em { height: 13cqw; padding: 0 7cqw; font-size: 5.6cqw; }
.sc-ph .ms-grid { grid-template-columns: 1fr 1fr; gap: 5cqw; padding: 6cqw; }
.sc-ph .ms-p i { border-radius: 4cqw; }
.sc-ph .ms-p u, .sc-ph .ms-p s { font-size: 5.4cqw; }
@media (max-width: 700px) { .xp-page .sc-ph .ms { border-radius: 9px; } }

/* the tile that invites to build, in the grid */
.xp-promo { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; min-height: 100%; padding: 30px 28px; border-radius: 26px; border: 1px solid var(--x-line2); background: radial-gradient(90% 80% at 100% 0%, rgba(240,99,67,.26), transparent 62%), var(--x-soft); color: var(--x-ink); overflow: hidden; }
.xp-promo > svg { width: 34px; height: 34px; color: var(--coral); }
.xp-promo h3 { font-size: clamp(24px, 2.1vw, 32px); font-weight: 900; }
.xp-promo p { margin: 0; color: var(--x-muted); font-size: 16px; line-height: 1.7; }

/* loading, empty, end */
.xp-sk { display: flex; flex-direction: column; gap: 12px; }
.xp-sk > div { position: relative; overflow: hidden; border-radius: 26px; aspect-ratio: 16 / 10.6; background: var(--x-soft); }
.xp-sk > div::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, var(--x-line) 50%, transparent 70%); transform: translateX(-100%); animation: xpShim 1.5s infinite; }
html[dir="rtl"] .xp-sk > div::after { animation-direction: reverse; }
.xp-sk i { display: block; height: 16px; border-radius: 8px; background: var(--x-soft); }
.xp-sk i:nth-child(2) { width: 55%; } .xp-sk i:nth-child(3) { width: 85%; } .xp-sk i:nth-child(4) { width: 40%; }
@keyframes xpShim { to { transform: translateX(100%); } }
.xp-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 64px 20px; border: 1px dashed var(--x-line2); border-radius: 26px; text-align: center; }
.xp-empty > svg { width: 44px; height: 44px; color: var(--coral); }
.xp-empty h3 { font-size: 26px; font-weight: 900; }
.xp-empty p { max-width: 46ch; margin: 0; color: var(--x-muted); font-size: 16px; }
.xp-empty .xp-row { margin-top: 8px; }
.xp-more { display: grid; place-items: center; min-height: 96px; margin-top: 26px; color: var(--x-muted); font-size: 15px; font-weight: 700; }
.xp-spin { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--x-line2); border-top-color: var(--coral); animation: xpSpin .8s linear infinite; }
@keyframes xpSpin { to { transform: rotate(360deg); } }

/* buttons of this page (next to the site's .btn-coral) */
.xp-row { display: flex; flex-wrap: wrap; gap: 10px; }
.xp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--x-line2); background: transparent; color: var(--x-ink); font: inherit; font-size: 16px; font-weight: 800; white-space: nowrap; cursor: pointer; text-decoration: none; transition: background .2s, border-color .2s, transform .25s var(--ease); }
.xp-btn svg { width: 18px; height: 18px; flex: none; }
.xp-btn:hover { background: var(--x-soft); }
.xp-btn.coral { border-color: var(--coral); background: var(--coral); color: #fff; box-shadow: 0 14px 30px -14px rgba(240,99,67,.85); }
.xp-btn.coral:hover { transform: translateY(-2px); }
.xp-btn.danger { border-color: transparent; color: var(--x-danger); }
.xp-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.xp-btn.wide { width: 100%; }
.xp-btn.sm { min-height: 40px; padding: 0 14px; font-size: 15px; }
.xp-btn .xp-spin { width: 18px; height: 18px; border-width: 2px; border-color: rgba(255,255,255,.4); border-top-color: #fff; }

/* ---------- the store sheet and the small dialogs ---------- */
.xp-veil { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 22px; background: var(--x-veil); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .25s; }
html.lite .xp-veil { -webkit-backdrop-filter: none; backdrop-filter: none; }
.xp-veil.in { opacity: 1; }
.xp-dialog { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(360px, 1fr); width: min(1320px, 100%); height: 940px; max-height: 100%; border-radius: 28px; overflow: hidden; background: var(--x-panel); border: 1px solid var(--x-line); color: var(--x-ink); box-shadow: var(--x-shadow); transform: translateY(16px) scale(.985); transition: transform .4s var(--ease); }
.xp-veil.in .xp-dialog { transform: none; }
.xp-dialog, .xp-d-main, .xp-thread { scrollbar-width: thin; scrollbar-color: var(--x-line2) transparent; }
html:not([data-theme="light"]) .xp-veil { color-scheme: dark; }
.xp-x { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 6; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--x-line); background: var(--x-panel); color: var(--x-ink); cursor: pointer; }
.xp-x svg { width: 20px; height: 20px; }
.xp-x:hover { background: var(--coral); border-color: var(--coral); color: #fff; }
.xp-d-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; padding: 26px; overflow-y: auto; overscroll-behavior: contain; }
.xp-page .xp-big.sc-th { cursor: default; }
.xp-page .xp-big.sc-th:hover { transform: none; }
.xp-page .xp-big .pv { cursor: default; }
.xp-d-head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.xp-d-head .xp-logo { width: 58px; height: 58px; border-radius: 18px; font-size: 24px; }
.xp-d-head h2 { margin: 0; font-size: clamp(24px, 2.2vw, 32px); font-weight: 900; overflow-wrap: anywhere; }
.xp-host { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 32px; color: var(--coral); font-size: 15px; font-weight: 700; }
.xp-host span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.xp-host svg { width: 15px; height: 15px; flex: none; }
.xp-host:hover span { text-decoration: underline; text-underline-offset: 4px; }
.xp-d-desc { margin: 0; color: var(--x-ink); font-size: 16.5px; line-height: 1.8; overflow-wrap: anywhere; white-space: pre-line; }
.xp-d-desc.none { color: var(--x-muted); }
.xp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.xp-tags li { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 12px; border-radius: 999px; background: var(--x-soft); color: var(--x-ink); font-size: 14.5px; font-weight: 700; }
.xp-tags li svg { width: 15px; height: 15px; color: var(--x-muted); }
.xp-tags .sc-pal { margin-inline-start: 2px; }
.xp-prods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.xp-prod { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.xp-prod i { display: block; aspect-ratio: 1; border-radius: 16px; background: var(--x-soft) center / cover no-repeat; box-shadow: inset 0 0 0 1px var(--x-line); }
.xp-prod b, .xp-prod span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14.5px; }
.xp-prod b { font-weight: 700; }
.xp-prod span { color: var(--x-muted); font-family: var(--f-lat); font-weight: 800; }
.xp-sub { margin: 0 0 -8px; color: var(--x-muted); font-size: 14px; font-weight: 800; letter-spacing: .02em; }
.xp-profile { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--x-soft); }
.xp-profile .xp-av { width: 44px; height: 44px; font-size: 17px; }
.xp-profile div { flex: 1; min-width: 0; }
.xp-profile b { display: block; font-size: 16px; font-weight: 800; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.xp-profile small { color: var(--x-muted); font-size: 14px; font-weight: 700; }

.xp-d-side { display: flex; flex-direction: column; min-width: 0; min-height: 0; border-inline-start: 1px solid var(--x-line); background: var(--x-soft); }
.xp-d-acts { display: flex; flex-direction: column; gap: 12px; padding: 70px 22px 18px; border-bottom: 1px solid var(--x-line); }
.xp-pills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.xp-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 10px; border-radius: 16px; border: 1px solid var(--x-line2); background: var(--x-panel); color: var(--x-ink); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.xp-pill svg { width: 20px; height: 20px; flex: none; }
.xp-pill b { font-family: var(--f-lat); }
.xp-pill:hover { border-color: var(--coral); }
.xp-pill[aria-pressed="true"] { border-color: var(--coral); color: var(--coral); background: rgba(240,99,67,.1); }
.xp-pill[disabled] { opacity: .6; cursor: progress; }
.xp-nums { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; list-style: none; color: var(--x-muted); font-size: 14.5px; font-weight: 700; }
.xp-nums li { display: inline-flex; align-items: center; gap: 6px; }
.xp-nums svg { width: 17px; height: 17px; }
.xp-nums b { color: var(--x-ink); font-family: var(--f-lat); }
.xp-note { display: flex; gap: 8px; margin: 0; color: var(--x-muted); font-size: 14px; line-height: 1.6; }
.xp-note svg { width: 17px; height: 17px; flex: none; margin-top: 3px; }

.xp-c-head { display: flex; align-items: center; gap: 10px; padding: 16px 22px 6px; }
.xp-c-head h3 { font-size: 18px; font-weight: 900; }
.xp-c-head b { font-family: var(--f-lat); color: var(--x-muted); }
.xp-thread { flex: 1; min-height: 120px; margin: 0; padding: 6px 22px 16px; overflow-y: auto; overscroll-behavior: contain; list-style: none; }
.xp-c { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--x-line); }
.xp-c:last-child { border-bottom: 0; }
.xp-c.new { animation: xpIn .45s var(--ease); }
@keyframes xpIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.xp-c .xp-av { width: 36px; height: 36px; font-size: 14px; }
.xp-c-main { flex: 1; min-width: 0; }
.xp-c-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.xp-c-top b { font-size: 15px; font-weight: 800; }
.xp-c-top time, .xp-c-top span { color: var(--x-muted); font-size: 14px; font-weight: 600; }
.xp-c-top mark { padding: 1px 8px; border-radius: 999px; background: rgba(240,99,67,.14); color: var(--coral); font-size: 14px; font-weight: 800; }
.xp-c-body { margin: 4px 0 2px; color: var(--x-ink); font-size: 15.5px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.xp-c-acts { display: flex; align-items: center; gap: 2px; margin-inline-start: -8px; }
.xp-c-acts button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 8px; border-radius: 10px; border: 0; background: none; color: var(--x-muted); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.xp-c-acts button svg { width: 17px; height: 17px; }
.xp-c-acts button b { font-family: var(--f-lat); }
.xp-c-acts button:hover { background: var(--x-line); color: var(--x-ink); }
.xp-c-acts button[aria-pressed="true"] { color: var(--coral); }
.xp-c-acts button.del:hover, .xp-c-acts button.yes { color: var(--x-danger); }
.xp-c-edit { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.xp-c-none { padding: 26px 6px; color: var(--x-muted); font-size: 15px; text-align: center; }
.xp-c-none svg { width: 30px; height: 30px; margin: 0 auto 8px; color: var(--x-line2); }
.xp-c-more { display: flex; justify-content: center; padding: 10px 0 0; }

.xp-compose { display: flex; align-items: flex-end; gap: 10px; padding: 14px 22px 18px; border-top: 1px solid var(--x-line); background: var(--x-panel); }
.xp-compose .xp-av { width: 36px; height: 36px; margin-bottom: 6px; }
.xp-field { position: relative; flex: 1; min-width: 0; }
.xp-ta { display: block; width: 100%; min-height: 48px; max-height: 160px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--x-line2); background: var(--x-raise); color: var(--x-ink); font: inherit; font-size: 16px; line-height: 1.5; resize: none; outline: 0; transition: border-color .2s, box-shadow .2s; }
.xp-ta::placeholder { color: var(--x-muted); opacity: 1; }
.xp-ta:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(240,99,67,.2); }
.xp-count { position: absolute; bottom: -20px; inset-inline-end: 6px; color: var(--x-muted); font-family: var(--f-lat); font-size: 14px; font-weight: 700; }
.xp-count.over { color: var(--x-danger); }
.xp-send { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--coral); color: #fff; cursor: pointer; flex: none; transition: transform .25s var(--ease), opacity .2s; }
.xp-send svg { width: 20px; height: 20px; }
html[dir="rtl"] .xp-send svg { transform: scaleX(-1); }
.xp-send:hover { transform: translateY(-2px); }
.xp-send[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.xp-guest { display: flex; flex-direction: column; gap: 10px; padding: 16px 22px 20px; border-top: 1px solid var(--x-line); background: var(--x-panel); }
.xp-guest p { margin: 0; color: var(--x-muted); font-size: 15px; font-weight: 700; }

/* small dialogs: copy a store, sign in first */
.xp-dialog.sm { display: block; width: min(600px, 100%); height: auto; padding: 30px 28px 26px; overflow-y: auto; }
.xp-dialog.sm h2 { margin: 0; padding-inline-end: 46px; font-size: 26px; font-weight: 900; }
.xp-dialog.sm > p { margin: 10px 0 0; color: var(--x-muted); font-size: 16px; line-height: 1.7; }
.xp-list { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.xp-pick { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 10px 14px; border-radius: 18px; border: 1px solid var(--x-line2); background: transparent; color: var(--x-ink); font: inherit; text-align: start; cursor: pointer; transition: border-color .2s, background .2s; }
.xp-pick:hover { background: var(--x-soft); }
.xp-pick[aria-checked="true"] { border-color: var(--coral); background: rgba(240,99,67,.09); box-shadow: 0 0 0 3px rgba(240,99,67,.16); }
.xp-pick > div { flex: 1; min-width: 0; }
.xp-pick b { display: block; font-size: 16px; font-weight: 800; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.xp-pick small { color: var(--x-muted); font-size: 14px; font-weight: 600; }
.xp-pick > svg { width: 22px; height: 22px; color: var(--coral); opacity: 0; flex: none; }
.xp-pick[aria-checked="true"] > svg { opacity: 1; }
.xp-facts { display: grid; gap: 8px; margin: 18px 0 0; padding: 14px 16px; border-radius: 18px; background: var(--x-soft); list-style: none; font-size: 15px; line-height: 1.6; }
.xp-facts li { display: flex; gap: 9px; }
.xp-facts svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--x-ok); }
.xp-facts li.warn svg { color: var(--coral); }
.xp-agree { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 0; font-size: 15px; font-weight: 700; line-height: 1.6; cursor: pointer; }
.xp-agree input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--coral); flex: none; cursor: pointer; }
.xp-dialog.sm .xp-row { margin-top: 20px; }
.xp-done { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 0 0; text-align: center; }
.xp-done > svg { width: 56px; height: 56px; padding: 12px; border-radius: 50%; background: var(--x-okbg); color: var(--x-ok); }

/* messages */
.xp-toasts { position: fixed; inset-inline: 0; bottom: 22px; z-index: 120; display: grid; justify-items: center; gap: 8px; padding: 0 16px; pointer-events: none; }
.xp-toast { display: inline-flex; align-items: center; gap: 9px; max-width: min(560px, 100%); padding: 13px 18px; border-radius: 16px; background: #111344; border: 1px solid rgba(255,255,255,.14); color: #fff; font-size: 15px; font-weight: 700; box-shadow: 0 20px 44px -18px rgba(0,0,0,.6); animation: xpIn .35s var(--ease); }
.xp-toast svg { width: 18px; height: 18px; flex: none; color: #4ade80; }
.xp-toast.bad svg { color: var(--coral2); }
.xp-toast.out { opacity: 0; transition: opacity .3s; }

/* the signed-in visitor's button in the top bar */
#navStart.xp-me { gap: 9px; padding-inline: 8px 18px; }
#navStart.xp-me .xp-av { width: 34px; height: 34px; background: rgba(255,255,255,.22); }

/* ---------- sizes ---------- */
@media (max-width: 1180px) {
  .xp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* one row that scrolls sideways: three stacked rows would cover a third of a phone screen while sticking */
  .xp-bar { overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
  .xp-bar::-webkit-scrollbar { display: none; }
  .xp-chips { flex: none; overflow: visible; }
  .xp-tools { order: 2; }
  .xp-chips { order: 3; }
}
@media (max-width: 980px) {
  .xp-veil { padding: 0; align-items: stretch; }
  .xp-dialog { display: block; width: 100%; height: 100%; border: 0; border-radius: 0; overflow-y: auto; overscroll-behavior: contain; }
  .xp-d-main { overflow: visible; padding: 66px 16px 20px; }
  .xp-d-side { border-inline-start: 0; border-top: 1px solid var(--x-line); }
  .xp-d-acts { padding: 18px 16px; }
  .xp-thread { overflow: visible; padding-inline: 16px; }
  .xp-c-head { padding-inline: 16px; }
  .xp-compose, .xp-guest { position: sticky; bottom: 0; z-index: 4; padding-inline: 16px; }
  .xp-x { position: fixed; }
  .xp-dialog.sm { height: auto; max-height: 100%; align-self: flex-end; border-radius: 26px 26px 0 0; padding: 26px 18px 22px; }
}
@media (max-width: 700px) {
  .xp-hero { padding-top: 104px; }
  .xp-search { height: 56px; padding-inline: 18px 8px; }
  .xp-search input { font-size: 16px; }
  .xp-hero-row .btn { width: 100%; }
  .xp-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .xp-bar { top: 80px; border-radius: 18px; padding: 8px; }
  .xp-sorts button, .xp-chip, .xp-select { height: 44px; }
  .xp-act { min-width: 44px; height: 44px; }
  .xp-owner { height: 44px; }
  .xp-prods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xp-pills { grid-template-columns: 1fr 1fr; }
  .xp-pills .share { grid-column: 1 / -1; }
  .xp-c-acts button { min-height: 44px; }
}
@media (hover: none) { .xp-page .xp-card .sc-ext { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .xp-live i::after, .xp-sk > div::after, .xp-pop svg, .xp-tick, .xp-c.new, .xp-toast, .xp-roll { animation: none !important; }
  .xp-page .sc-scr .xp-roll { transform: none !important; transition: none; }
  .xp-veil, .xp-dialog, .xp-btn, .xp-send { transition: none; }
  .xp-spin { animation-duration: 1.6s; }
}

/* ================= Life on the page (2026-11-13, owner: « particles that interact with the page like the other pages… the wow effect ») =================
   · the hero and the last panel carry the site's own particles (v2-fx.js through .ag-hero / .ag-final): nothing to style here;
   · the hero shows the three stores of the moment floating in depth, leaning with the pointer (.xp-fan);
   · a card answers the pointer: its window and its phone lean with it (.xp-tilt, set by explore.js);
   · cards rise in as they arrive, a like throws hearts, a number that changes live rings the card.
   All of it is transform / opacity (translate, scale and transform are separate properties, so a float, a lean and a hover never fight). */

/* soft colour behind the gallery: still, it only gives the dark page some depth */
.xp-sec::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(38% 26% at 8% 12%, rgba(74,125,255,.1), transparent 70%), radial-gradient(34% 24% at 94% 46%, rgba(240,99,67,.1), transparent 70%), radial-gradient(40% 22% at 20% 86%, rgba(240,99,67,.07), transparent 70%); }
.xp-sec { isolation: isolate; }
.xp-page .sc-scr { background: linear-gradient(180deg, #f4f5f9, #e7e9f1); }

/* ---------- hero: the words on one side, three stores floating on the other ---------- */
.xp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 72px); }
.xp-hero-copy { min-width: 0; }
.xp-fan { position: relative; height: clamp(400px, 33vw, 540px); perspective: 1700px; --px: 0; --py: 0; }
.xp-fan[hidden] { display: none; }
.xp-fan::before { content: ""; position: absolute; inset: 8% 6%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(240,99,67,.3), rgba(74,125,255,.12) 60%, transparent); filter: blur(30px); }
html.lite .xp-fan::before { filter: none; opacity: .5; }
.xp-page .xp-fan .xp-fan-card, .xp-page .xp-fan .xp-fan-card:hover { position: absolute; top: 50%; left: 50%; width: 72%; margin: 0; padding: 0; border: 0; border-radius: 26px; background: none; color: #fff; font: inherit; text-align: start; cursor: pointer;
  /* its place in the fan (--fx/--fy/--fz, a turn, a size) plus the pointer's push, stronger on the card in front (--fd). Never name one of these --s: v2.css registers --s as a number with its own start value. */
  transform: translate(-50%, -50%) translate3d(calc(var(--fx, 0px) + var(--px) * 20px * var(--fd, 1)), calc(var(--fy, 0px) + var(--py) * 14px * var(--fd, 1)), var(--fz, 0px)) rotateY(calc(var(--fry, 0deg) + var(--px) * 6deg)) rotateX(calc(var(--py) * -5deg)) rotate(var(--frz, 0deg)) scale(var(--fs, 1));
  transition: transform .9s var(--ease), filter .5s; animation: xpFloat 7s ease-in-out infinite alternate; }
.xp-page .xp-fan .xp-fan-card[data-i="0"] { --fy: 13%; --fz: 70px; --fs: .93; --fd: 1.5; z-index: 3; }
.xp-page .xp-fan .xp-fan-card[data-i="1"] { --fx: -40%; --fy: -24%; --fz: -90px; --fry: 16deg; --frz: -6deg; --fs: .76; --fd: .7; z-index: 1; filter: brightness(.8) saturate(.9); animation-duration: 8.5s; animation-delay: -3s; }
.xp-page .xp-fan .xp-fan-card[data-i="2"] { --fx: 40%; --fy: -18%; --fz: -90px; --fry: -16deg; --frz: 6deg; --fs: .76; --fd: .7; z-index: 2; filter: brightness(.8) saturate(.9); animation-duration: 9.5s; animation-delay: -5s; }
.xp-page .xp-fan .xp-fan-card[data-i="0"]:hover, .xp-page .xp-fan .xp-fan-card[data-i="0"]:focus-visible { --fs: .98; }
/* the words always win over the particles behind them (same rule as the other pages' section leads) */
html:not([data-theme="light"]) .xp-hero .lead, html:not([data-theme="light"]) .xp-hero .xp-stats { text-shadow: 0 0 12px rgba(6,7,29,.95), 0 0 3px rgba(6,7,29,.9); }
.xp-page .xp-fan .xp-fan-card:not([data-i="0"]):hover, .xp-page .xp-fan .xp-fan-card:not([data-i="0"]):focus-visible { --fz: 110px; --fs: .96; --fry: 0deg; --frz: 0deg; --fy: -4%; z-index: 5; filter: none; }
.xp-fan-card:focus-visible { outline: 3px solid var(--coral); outline-offset: 5px; }
@keyframes xpFloat { from { translate: 0 -8px; } to { translate: 0 8px; } }
.xp-fan-card .pv { display: block; }
.xp-page .xp-fan-card .sc-win { box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 50px 90px -40px rgba(0,0,0,.9); }
.xp-fan-cap { position: absolute; inset-inline-start: 14px; bottom: 14px; z-index: 4; display: inline-flex; align-items: center; gap: 9px; max-width: calc(100% - 28px); height: 44px; padding-inline: 5px 14px; border-radius: 999px; background: rgba(10,12,46,.84); color: #fff; font-size: 15px; font-weight: 800; }
.xp-fan-cap .xp-logo { width: 34px; height: 34px; border-radius: 50%; font-size: 14px; }
.xp-fan-cap b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.xp-fan-cap > span:last-child { display: inline-flex; align-items: center; gap: 5px; color: var(--coral2); flex: none; }
.xp-fan-cap svg { width: 16px; height: 16px; }
.xp-fan-tag { position: absolute; top: 0; inset-inline-end: 4%; z-index: 6; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--x-panel); border: 1px solid var(--x-line2); color: var(--x-ink); font-size: 14px; font-weight: 800; box-shadow: 0 16px 34px -18px rgba(0,0,0,.6); animation: xpFloat 6s ease-in-out infinite alternate; }
.xp-fan-tag i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.xp-fan-tag i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--coral); animation: xpPing 1.9s ease-out infinite; }
@media (min-width: 1100px) {
  .xp-hero.has-fan .xp-hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); }
  .xp-hero.has-fan h1 { font-size: clamp(34px, 4vw, 60px); }
}
@media (max-width: 1099px) { .xp-fan { display: none; } }

/* ---------- the last panel (the same .cta panel as the other pages; the embers are v2-fx.js) ---------- */
.xp-page .xp-final { padding: clamp(30px, 4vw, 70px) 0 var(--sec-y); }
html:not([data-theme="light"]) .xp-page .xp-final { background-color: transparent; }
.xp-final .cta { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.xp-final .cta .lead { margin-inline: auto; }
.xp-final .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* ---------- a card answers the pointer ---------- */
html body.xp-page .xp-card.xp-tilt .sc-win { transform: perspective(1400px) rotateY(calc(var(--tx, 0) * 7deg)) rotateX(calc(var(--ty, 0) * -5deg)) translateY(-4px); }
html body.xp-page .xp-card.xp-tilt .sc-ph { transform: translate3d(calc(var(--tx, 0) * 14px), calc(-10px + var(--ty, 0) * 10px), 0) rotate(calc(var(--tx, 0) * 3deg)); }
/* arriving */
.xp-wait { opacity: 0; }
.xp-in { animation: xpRise .85s var(--ease) backwards; animation-delay: var(--rise, 0ms); }
@keyframes xpRise { from { opacity: 0; translate: 0 36px; scale: .97; } to { opacity: 1; translate: 0 0; scale: 1; } }
/* a number moved live: one ring around the stage */
.xp-pvw::after { content: ""; position: absolute; inset: 0; border-radius: 18px; border: 2px solid var(--coral); opacity: 0; pointer-events: none; }
.xp-ping .xp-pvw::after { animation: xpRing 1s ease-out; }
@keyframes xpRing { from { opacity: .95; transform: scale(1); } to { opacity: 0; transform: scale(1.06); } }
/* a like throws hearts (explore.js moves them) */
.xp-burst { position: fixed; top: 0; left: 0; z-index: 130; width: 0; height: 0; pointer-events: none; }
.xp-burst i { position: absolute; top: -9px; left: -9px; width: 18px; height: 18px; color: var(--coral); }
.xp-burst i svg { width: 100%; height: 100%; }


@media (prefers-reduced-motion: reduce) {
  .xp-fan-card, .xp-fan-tag, .xp-fan-tag i::after, .xp-in, .xp-ping .xp-pvw::after { animation: none !important; }
  .xp-wait { opacity: 1; }
  html body.xp-page .xp-card.xp-tilt .sc-win, html body.xp-page .xp-card.xp-tilt .sc-ph { transform: none; }
}
