/* BNC Classic · explain-build: 怎么玩 · 推广工具 · 常见问题 · 术语 (js/ui/explain.js, js/ui/invite-kit.js, js/ui/poster.js).
 * Every colour is a token from css/tokens.css (Binance-yellow theme), so these sections follow whatever the reskin lands.
 * Uses the site's .wrap / .sec-head / .btn / .cap-chip / .hint from css/site.css; the :where() block at the top is a zero-
 * specificity fallback for pages that load only tokens.css. All motion stops under prefers-reduced-motion. Prefix: xp-. */

/* ── fallbacks (site.css wins whenever it is loaded) ── */
:where(.xp-sec) :where(.wrap) { max-width: var(--wrap, 1360px); margin: 0 auto; padding: 0 var(--gut, 40px); }
:where(.xp-sec) { padding-top: var(--sec-gap, 96px); }
:where(.xp-sec) :where(.btn) { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 8px; border: 1px solid transparent; font: 600 14px var(--f-sans); cursor: pointer; text-decoration: none; }
:where(.xp-sec) :where(.btn-gold) { background: var(--y-btn); color: var(--y-ink); }
:where(.xp-sec) :where(.btn-ghost) { background: var(--bg-3); color: var(--text); }
:where(.xp-sec) :where(.btn-quiet) { background: transparent; color: var(--text-2); border-color: var(--line-2); }
:where(.xp-sec) :where(.hint) { margin-top: 8px; font-size: 12px; color: var(--text-3); }
:where(.xp-sec) :where(.cap-chip) { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 4px; border: 1px solid var(--y-a40); color: var(--y-btn); font: 600 11px var(--f-sans); white-space: nowrap; }

/* ── shared ── */
.xp-sec { position: relative; }
:where(.xp-sec) :where(h3, h4, h5, p, ol, ul, dl, dd, figure) { margin: 0; }
:where(.xp-sec) :where(ol, ul) { padding: 0; list-style: none; }
.xp-head .sec-desc { max-width: 64ch; }
.xp-label { display: block; font: 600 var(--t-overline)/1.3 var(--f-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.xp-sub { color: var(--text-2); font-size: var(--t-body); line-height: 1.7; }
.xp-note { margin-top: 14px; color: var(--text-3); font-size: var(--t-caption); line-height: 1.65; }
.xp-tag { flex: 0 1 auto; display: inline-flex; align-items: center; min-height: 24px; padding: 4px 10px; border-radius: 12px; background: var(--y-a10); color: var(--y-btn); font: 600 var(--t-overline)/1.35 var(--f-sans); letter-spacing: .02em; }
.xp-pill { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; margin-right: 10px; border-radius: 6px; background: var(--y-btn); color: var(--y-ink); font-weight: 700; font-size: var(--t-data); }
.xp-n { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--y-a16); color: var(--y-btn); font: 700 13px var(--f-display); }
.xp-dots li { position: relative; padding-left: 16px; color: var(--text-2); font-size: var(--t-data); line-height: 1.65; }
.xp-dots li + li { margin-top: 6px; }
.xp-dots li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 5px; height: 5px; border-radius: 50%; background: var(--y); box-shadow: 0 0 8px rgba(240, 185, 11, .7); }
.xp-sec .mono { font-family: var(--f-num); font-variant-numeric: tabular-nums; }
.xp-addr { font: 500 12px/1.5 var(--f-code); color: var(--y-btn); background: var(--bg-3); padding: 1px 6px; border-radius: 4px; word-break: break-all; }
.xp-bi { display: inline-flex; width: 15px; height: 15px; }

/* icons */
.xp-ic { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.xp-ic .a { fill: var(--y); stroke: none; }
.xp-ic .a2 { fill: var(--y-lo); stroke: none; }
.xp-ic .a3 { fill: var(--y-a40); stroke: none; }
.xp-ic .o { fill: none; }
.xp-ic .ink { fill: none; stroke: var(--y-ink); stroke-width: 2.6; }
.xp-ic .inkf { fill: var(--y-ink); stroke: none; opacity: .82; }
.xp-ic .ink-o { fill: none; stroke: var(--y-ink); stroke-width: 1.2; opacity: .45; }
.xp-ic .x { fill: var(--warn); stroke: none; }
.xp-ic .ink2 { fill: none; stroke: #fff; stroke-width: 2.4; }
.xp-ic .ic-b, .xp-ic .ic-coin { font: 800 13px var(--f-display); fill: var(--y-ink); stroke: none; }
.xp-ic .ic-coin { font-size: 22px; }
.xp-ic .ic-t { font: 800 10px var(--f-display); fill: var(--y-btn); stroke: none; }
.xp-h-ic { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 6px; border-radius: 9px; background: var(--y-a10); color: var(--y); box-shadow: 0 0 0 1px var(--y-a16) inset; }

/* cards */
.xp-card {
  position: relative; min-width: 0;
  background: linear-gradient(180deg, rgba(30, 35, 41, .72), rgba(24, 26, 32, .94));
  border: 1px solid var(--line-2); border-radius: var(--r-l); padding: 22px 24px 24px;
  box-shadow: var(--shadow-card);
}
.xp-card::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(240, 185, 11, .55), transparent); opacity: .7; }
.xp-card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.xp-card-h h4 { display: flex; align-items: center; gap: 12px; min-width: 0; font: 700 var(--t-title)/1.35 var(--f-sans); color: var(--text); }
.xp-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.xp-block { margin-top: 56px; }
.xp-block-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 18px; flex-wrap: wrap; }
.xp-block-h h3 { font: 900 var(--t-editorial)/1.2 var(--f-display); font-stretch: var(--wd); color: var(--text); letter-spacing: .01em; }
.xp-block-h h3::after { content: ""; display: block; width: 44px; height: 4px; margin-top: 12px; border-radius: 2px; background: var(--y-grad-x); box-shadow: var(--glow-sm); }
.xp-block-h p { max-width: 58ch; color: var(--text-3); font-size: var(--t-body); line-height: 1.7; }

/* toggles, chips, tabs */
.xp-toggle { display: inline-flex; flex-wrap: wrap; background: var(--bg-1); border: 1px solid var(--line-2); border-radius: var(--r); padding: 3px; gap: 3px; }
.xp-toggle button { height: 30px; padding: 0 14px; border: 0; border-radius: 6px; background: transparent; color: var(--text-3); font: 600 var(--t-data) var(--f-sans); cursor: pointer; transition: color .15s, background .15s, box-shadow .2s; white-space: nowrap; }
.xp-toggle button:hover { color: var(--text); }
.xp-toggle button[aria-pressed="true"] { background: var(--y-btn); color: var(--y-ink); box-shadow: 0 4px 14px -6px rgba(240, 185, 11, .8); }
.xp-chip { height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text-2); font: 600 var(--t-caption) var(--f-sans); cursor: pointer; transition: color .15s, border-color .15s, background .15s; white-space: nowrap; }
.xp-chip:hover { color: var(--text); border-color: var(--line-3); }
.xp-chip.on, .xp-chip[aria-pressed="true"] { color: var(--y-btn); border-color: var(--y-a40); background: var(--y-a10); box-shadow: 0 0 14px -4px rgba(240, 185, 11, .5); }
.xp-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.xp-tab { position: relative; height: 40px; padding: 0 16px; border: 0; background: none; color: var(--text-3); font: 700 var(--t-body) var(--f-sans); cursor: pointer; }
.xp-tab:hover { color: var(--text); }
.xp-tab[aria-selected="true"] { color: var(--text); }
.xp-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 2px; background: var(--y-grad-x); box-shadow: var(--glow-sm); }

/* reveal */
.xp-card, .xp-step { transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
html.ui-ready .xp-card:not(.is-in), html.ui-ready .xp-step:not(.is-in) { opacity: 0; transform: translateY(18px); }
.xp-step { transition-delay: calc(var(--i, 0) * 90ms); }

/* ════════════ 怎么玩 · steps ════════════ */
.xp-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 8px; }
.xp-step {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px;
  border-radius: var(--r-l); border: 1px solid var(--line-2);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(240, 185, 11, .10), transparent 60%),
    linear-gradient(180deg, rgba(30, 35, 41, .8), rgba(24, 26, 32, .95));
}
.xp-step:not(:last-child)::after {
  content: ""; position: absolute; top: 52px; right: -16px; z-index: 2; width: 14px; height: 14px;
  border-top: 2px solid var(--y); border-right: 2px solid var(--y); transform: rotate(45deg); filter: drop-shadow(0 0 6px rgba(240, 185, 11, .8));
  animation: exNudge 1.8s var(--ease) infinite;
}
@keyframes exNudge { 0%, 100% { transform: translateX(-3px) rotate(45deg); opacity: .55; } 50% { transform: translateX(2px) rotate(45deg); opacity: 1; } }
.xp-step-top { display: flex; align-items: center; justify-content: space-between; }
.xp-step-no { font: 900 44px/1 var(--f-display); font-stretch: var(--wd); background: var(--y-text); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 0 14px rgba(240, 185, 11, .35)); }
.xp-step-ic { width: 58px; height: 58px; padding: 9px; border-radius: 16px; color: var(--y); background: rgba(240, 185, 11, .07); box-shadow: 0 0 0 1px var(--y-a16) inset, 0 10px 30px -14px rgba(240, 185, 11, .6); }
.xp-step-t { margin-top: 4px; font: 800 19px/1.3 var(--f-display); color: var(--text); }
.xp-step-d { color: var(--text-2); font-size: var(--t-body); line-height: 1.7; }
.xp-step-note { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line-2); color: var(--text-3); font-size: var(--t-caption); line-height: 1.6; }
.xp-step .xp-cap { align-self: flex-start; }

/* ════════════ deposit split ════════════ */
.xp-dep { padding-bottom: 22px; }
.xp-dep-src { display: flex; align-items: center; gap: 12px; }
.xp-dep-coin { width: 46px; height: 46px; filter: drop-shadow(0 0 14px rgba(240, 185, 11, .55)); animation: exFloat 3.2s ease-in-out infinite; }
@keyframes exFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.xp-dep-amt { font: 900 30px/1 var(--f-display); font-stretch: var(--wd); color: var(--text); }
.xp-dep-amt b { background: var(--y-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.xp-dep-lab { color: var(--text-3); font-size: var(--t-caption); letter-spacing: .06em; }
.xp-pipe { position: relative; width: 2px; height: 26px; margin: 4px 0 4px 22px; background: var(--line-2); overflow: hidden; border-radius: 1px; }
.xp-pipe i { position: absolute; left: 0; top: -12px; width: 2px; height: 12px; background: var(--y-btn); box-shadow: 0 0 8px var(--y); animation: exDrip 1.1s linear infinite; }
@keyframes exDrip { to { transform: translateY(40px); } }
.xp-bar { position: relative; display: flex; gap: 3px; height: 54px; border-radius: 10px; overflow: hidden; background: var(--bg-3); }
.xp-bar::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .22) 46%, transparent 62%); transform: translateX(-100%); }
.is-vis .xp-bar::after { animation: exSweep 3.8s var(--ease) infinite 1.2s; }
@keyframes exSweep { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(100%); } }
.xp-seg {
  position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; overflow: hidden;
  flex: var(--w, 1) 1 0; transform-origin: left center;
  transition: flex-grow .7s var(--ease-out), transform .9s var(--ease-out) calc(var(--d, 0) * 120ms), opacity .4s;
  font-style: normal; color: var(--y-ink);
}
.xp-seg b { font: 800 17px/1 var(--f-display); white-space: nowrap; }
.xp-seg.is-zero { flex-grow: .0001; opacity: 0; }
html.ui-ready .xp-card:not(.is-in) .xp-seg { transform: scaleX(0); }
.k-lpUser { --c: var(--y-btn); }
.k-lpRef { --c: var(--y); }
.k-refTok { --c: var(--y-lo); }
.k-burn { --c: repeating-linear-gradient(135deg, rgba(252, 213, 53, .95) 0 4px, rgba(240, 185, 11, .22) 4px 9px); }
.k-reserve { --c: linear-gradient(180deg, #4A515C, #363C45); }
.k-flap { --c: #5E6673; }
.k-vault { --c: var(--y-grad); }
.k-div { --c: var(--y-btn); }
.k-fomo { --c: var(--y-lo); }
.k-ops { --c: #5E6673; }
.xp-seg, .xp-sw, .xp-dot { background: var(--c); }
.xp-seg.k-reserve, .xp-seg.k-flap, .xp-seg.k-ops { color: var(--text); }
.xp-seg.k-burn b { color: var(--y-ink); background: var(--y-btn); padding: 2px 5px; border-radius: 4px; font-size: 13px; }
.xp-sw { flex: none; display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.xp-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; }
.xp-legs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.xp-leg { display: flex; gap: 10px; padding: 12px 12px 14px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); transition: opacity .4s, filter .4s; }
.xp-leg .xp-sw { margin-top: 3px; }
.xp-leg-b { flex: 1; min-width: 0; }
.xp-leg-top { display: flex; flex-direction: column; gap: 2px; margin-bottom: 6px; }
.xp-leg-top b { font-weight: 700; font-size: var(--t-data); color: var(--text); }
.xp-leg-v { color: var(--y-btn); font-weight: 600; font-size: var(--t-data); }
.xp-leg p { color: var(--text-3); font-size: var(--t-caption); line-height: 1.55; }
.xp-leg.is-off { opacity: .32; filter: grayscale(1); }
.xp-rule { margin-top: 16px; color: var(--text-2); font-size: var(--t-data); line-height: 1.75; }
.xp-same { margin-top: 8px; padding-left: 12px; border-left: 2px solid var(--y); color: var(--text); font-size: var(--t-data); line-height: 1.7; }

/* tax */
.xp-lead { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 0; color: var(--text); font-weight: 600; }
.xp-tax .xp-sub { margin: 8px 0 12px; }
.xp-bar-tax, .xp-bar-tax2, .xp-bar-res { height: 40px; }
.xp-bar-lab { display: flex; gap: 3px; margin-top: 6px; color: var(--text-3); font-size: var(--t-caption); }
.xp-bar-lab span { flex: var(--w) 1 0; min-width: 0; white-space: nowrap; }
.xp-bar-lab span:last-child { text-align: right; color: var(--y-btn); font-weight: 600; }
.xp-fan { display: block; width: 100%; height: 28px; margin: 4px 0; }
.xp-mini { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; }
.xp-mini li { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-size: var(--t-caption); }
.xp-mini li .mono { color: var(--text); font-weight: 600; }

/* reserve */
.xp-res-flow { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-bottom: 14px; }
.xp-res-node { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.xp-res-node b { font-size: var(--t-caption); color: var(--text-2); font-weight: 600; white-space: nowrap; }
.xp-res-tank, .xp-res-coin { position: relative; width: 48px; height: 48px; color: var(--text-3); }
.xp-res-coin { filter: drop-shadow(0 0 10px rgba(240, 185, 11, .45)); }
.xp-tank-lv { transform-origin: 50% 100%; transform-box: fill-box; }
.is-vis .xp-tank-lv { animation: exLevel 6s ease-in-out infinite; }
@keyframes exLevel { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.55); } }
.xp-res-mid { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.xp-res-mid small { color: var(--text-3); font-size: var(--t-overline); letter-spacing: .06em; }
.xp-res-line { position: relative; display: block; width: 100%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-3) 0 6px, transparent 6px 10px); }
.xp-res-line i { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--y-btn); box-shadow: 0 0 10px var(--y); }
.is-vis .xp-res-line i { animation: exAlong 2.2s var(--ease) infinite; }
@keyframes exAlong { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
.xp-drop { display: none; }
.xp-res .xp-sub { margin-top: 14px; font-size: var(--t-data); }

/* ════════════ FIFO queue ════════════ */
.xp-grid-q { margin-top: 16px; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.xp-qviz { position: relative; margin: 18px 0 6px; padding-top: 26px; }
.xp-qcap { position: absolute; left: 0; right: 0; top: 26px; height: 0; border-top: 1.5px dashed var(--y-a40); }
.xp-qcap span { position: absolute; right: 0; top: -22px; color: var(--y-btn); font: 700 var(--t-overline) var(--f-sans); letter-spacing: .06em; }
.xp-qrow { position: relative; height: 200px; }
.xp-qrow::after { content: ""; position: absolute; inset: 0 0 50px; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(252, 213, 53, .16), transparent); transform: translateX(-100%); opacity: 0; }
.xp-q.is-pulse .xp-qrow::after { animation: exPulse 1.1s var(--ease-out); }
@keyframes exPulse { 0% { transform: translateX(-100%); opacity: 1; } 100% { transform: translateX(100%); opacity: 0; } }
.xp-qpos { position: absolute; top: 0; left: calc(var(--i) * (100% / 6)); width: calc(100% / 6 - 10px); display: flex; flex-direction: column; align-items: center; gap: 6px; transition: left .8s var(--ease-out), opacity .6s, transform .6s var(--ease-out); }
.xp-qbar { position: relative; width: 100%; height: 150px; border-radius: 10px; background: var(--bg-3); overflow: hidden; box-shadow: 0 0 0 1px var(--line-2) inset; }
.xp-qfill { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--f, 0) * 100%); background: linear-gradient(180deg, var(--y-hi), var(--y-btn) 30%, var(--y) 70%, var(--y-lo)); transition: height .9s var(--ease-out); box-shadow: 0 -6px 18px -4px rgba(240, 185, 11, .7); }
.xp-qok { position: absolute; left: 50%; top: 10px; transform: translate(-50%, -6px); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--y-ink); color: var(--y-btn); font-size: 14px; opacity: 0; transition: opacity .3s, transform .3s; }
.xp-qpos.is-full .xp-qok { opacity: 1; transform: translate(-50%, 0); }
.xp-qpos.is-full .xp-qbar { box-shadow: 0 0 0 1.5px var(--y-btn) inset, 0 0 26px rgba(240, 185, 11, .55); }
.xp-qpos.is-out { opacity: 0; transform: translateY(-34px) scale(.9); }
.xp-qpos.is-new { animation: exIn .8s var(--ease-out); }
@keyframes exIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.xp-qm { color: var(--text); font-weight: 700; font-size: var(--t-data); }
.xp-qid { color: var(--text-3); font-size: var(--t-overline); }
.xp-qpos:first-child .xp-qid::before { content: "▲ "; color: var(--y); }
.xp-qends { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; color: var(--text-3); font-size: var(--t-caption); }
.xp-qpulse { color: var(--y-btn); font-weight: 600; opacity: .35; transition: opacity .3s; }
.xp-q.is-pulse .xp-qpulse { opacity: 1; text-shadow: var(--tglow); }
.xp-qsrc { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.xp-qsrc b { display: block; margin-bottom: 8px; color: var(--text); font-weight: 700; }
.xp-qsrc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.xp-qsrc li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--y-a06); border: 1px solid var(--y-a16); color: var(--text); font-weight: 600; font-size: var(--t-data); }
.xp-qsrc li .mono { color: var(--y-btn); font-size: 16px; }
.xp-qsrc p { margin-top: 10px; color: var(--text-3); font-size: var(--t-caption); }

/* day example */
.xp-numlist { display: grid; gap: 12px; }
.xp-numlist li { display: flex; gap: 12px; align-items: flex-start; }
.xp-numlist p { color: var(--text-2); font-size: var(--t-data); line-height: 1.7; }
.xp-numlist b { display: block; color: var(--text); font-size: var(--t-body); margin-bottom: 2px; }
.xp-day-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 18px; padding: 14px 16px; border-radius: 10px; background: var(--bg-2); font-size: var(--t-data); color: var(--text-2); }
.xp-day-sum i { color: var(--text-4); font-style: normal; }
.xp-day-sum b { color: var(--y-btn); font: 800 20px/1 var(--f-display); text-shadow: var(--tglow); }

/* ════════════ worked example ════════════ */
.xp-calc { margin-top: 16px; }
.xp-calc-h { align-items: flex-start; }
.xp-calc-h h4 { font: 800 22px/1.3 var(--f-display); }
.xp-calc-in { display: grid; grid-template-columns: auto auto; align-items: center; gap: 8px 12px; }
.xp-calc-in label { grid-column: 1 / -1; color: var(--text-3); font-size: var(--t-caption); }
.xp-calc-in small { grid-column: 1 / -1; color: var(--text-3); font-size: var(--t-overline); }
.xp-amt { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-3); background: var(--bg-1); }
.xp-amt:focus-within { border-color: var(--y); box-shadow: 0 0 0 3px var(--y-a16); }
.xp-amt input { width: 110px; min-width: 0; border: 0; outline: 0; background: none; color: var(--text); font: 700 18px var(--f-num); }
.xp-amt span { color: var(--text-3); font-size: var(--t-caption); font-weight: 600; }
.xp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.xp-rcpts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 6px; }
.xp-rcpt { position: relative; padding: 18px 20px 16px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.xp-rcpt::before { content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--y-grad-x); opacity: .8; }
.xp-rcpt h5 { display: flex; align-items: center; margin-bottom: 10px; font: 700 var(--t-body) var(--f-sans); color: var(--text); }
.xp-rcpt-dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line-2); }
.xp-rcpt-dl dt { color: var(--text-2); font-size: var(--t-data); }
.xp-rcpt-dl dd { color: var(--text); font-weight: 600; font-size: var(--t-data); text-align: right; white-space: nowrap; }
.xp-rcpt-cap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 12px; }
.xp-rcpt-cap span:first-child { color: var(--text-2); font-size: var(--t-data); }
.xp-rcpt-cap b { font: 900 24px/1 var(--f-display); color: var(--y-btn); text-shadow: var(--tglow); }
.xp-capnote { margin-top: 16px; color: var(--text); font-size: var(--t-data); line-height: 1.7; }
.xp-approx { margin-top: 10px; color: var(--text-3); font-size: var(--t-caption); }

/* ════════════ orders · boost ════════════ */
.xp-grid-of { margin-top: 16px; }
.xp-tl { position: relative; display: flex; align-items: center; flex-wrap: nowrap; margin: 18px 0 30px; padding: 0 2px; }
.xp-tl-n { flex: none; display: inline-grid; place-items: center; min-width: 46px; height: 28px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--line-3); background: var(--bg-2); color: var(--text-2); font: 700 var(--t-overline)/1 var(--f-sans); white-space: nowrap; }
.xp-tl-n.on { border-color: var(--y-a40); color: var(--y-ink); background: var(--y-btn); }
.xp-tl-c { position: relative; flex: 1 1 0; height: 2px; min-width: 18px; background: var(--line-3); }
.xp-tl-c.lock { background: repeating-linear-gradient(90deg, var(--y) 0 4px, transparent 4px 8px); }
.xp-tl-c small { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); color: var(--text-3); font-size: 10px; line-height: 1.3; white-space: nowrap; }
.xp-tl-last { position: absolute; right: 0; top: 36px; color: var(--text-3); font-size: 10px; white-space: nowrap; }
.xp-ord-steps { margin-bottom: 16px; }
.xp-ord-ext { color: var(--text); font-weight: 600; font-size: var(--t-data); margin-bottom: 10px; }
.xp-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.xp-case { padding: 12px 14px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); border-top: 3px solid var(--cc); }
.xp-case.up { --cc: var(--up); }
.xp-case.down { --cc: var(--down); }
.xp-case-h { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.xp-case-h b { color: var(--cc); font: 800 17px/1.2 var(--f-display); }
.xp-case-h small { color: var(--text-3); font-size: var(--t-caption); }
.xp-case p { color: var(--text-2); font-size: var(--t-caption); line-height: 1.6; }
.xp-case p + p { margin-top: 6px; }
.xp-role { display: inline-block; margin-right: 6px; padding: 0 6px; border-radius: 4px; background: var(--bg-3); color: var(--text); font-weight: 700; font-size: var(--t-overline); line-height: 18px; }

.xp-fomo-chart { position: relative; height: 170px; margin: 22px 10px 40px 34px; }
.xp-fomo-chart::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% 25%; opacity: .7; }
.xp-fomo-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.xp-fomo-area { fill: url(#exFomoG); fill: rgba(240, 185, 11, .09); }
.xp-fomo-line { fill: none; stroke: var(--y-btn); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(240, 185, 11, .8)); }
.is-vis .xp-fomo-chart svg { animation: exDraw 7s var(--ease) infinite; }
@keyframes exDraw { 0% { clip-path: inset(0 100% 0 0); } 55%, 90% { clip-path: inset(0 0 0 0); opacity: 1; } 100% { clip-path: inset(0 0 0 0); opacity: .3; } }
.xp-fomo-y, .xp-fomo-y0 { position: absolute; left: -32px; color: var(--text-3); font-size: var(--t-overline); }
.xp-fomo-y { top: -6px; }
.xp-fomo-y0 { bottom: -6px; }
.xp-fomo-pt { position: absolute; width: 0; height: 0; }
.xp-fomo-pt i { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2.5px solid var(--y-btn); box-shadow: 0 0 10px rgba(240, 185, 11, .8); }
.xp-fomo-pt em { position: absolute; left: 10px; top: -26px; font: 800 13px/1 var(--f-display); font-style: normal; color: var(--text); white-space: nowrap; }
.xp-fomo-pt.p2 i { width: 8px; height: 8px; left: -4px; top: -4px; border-width: 2px; opacity: .7; }
.xp-fomo-pt.p4 i { width: 18px; height: 18px; left: -9px; top: -9px; background: var(--y-btn); }
.xp-fomo-pt.p4 em { left: -8px; top: -34px; color: var(--y-btn); font-size: 18px; text-shadow: var(--tglow); }
.is-vis .xp-fomo-pt.p4 i { animation: exBurst 7s var(--ease) infinite; }
@keyframes exBurst { 0%, 52% { transform: scale(.4); opacity: .3; } 58% { transform: scale(1.5); opacity: 1; box-shadow: 0 0 0 10px rgba(240, 185, 11, .25), 0 0 30px var(--y); } 66%, 100% { transform: scale(1); opacity: 1; } }
.xp-fomo-x { position: absolute; left: 0; right: 0; bottom: -26px; height: 16px; color: var(--text-3); font-size: var(--t-overline); }
.xp-fomo-x span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.xp-fomo-x span:first-child { transform: none; }
.xp-fomo-x span:last-child { transform: translateX(-100%); }
.xp-fomo-ev { display: grid; gap: 10px; }
.xp-fomo-ev li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 10px 12px; border-radius: 10px; background: var(--bg-2); border-left: 3px solid var(--line-3); }
.xp-fomo-ev li.e2 { border-left-color: var(--y-lo); }
.xp-fomo-ev li.e3, .xp-fomo-ev li.e4 { border-left-color: var(--y-btn); }
.xp-fomo-t { color: var(--y-btn); font-weight: 700; font-size: var(--t-caption); white-space: nowrap; }
.xp-fomo-ev p { color: var(--text-2); font-size: var(--t-data); line-height: 1.6; }

.xp-more { margin-top: 18px; display: flex; justify-content: flex-end; }
.xp-more-ic { display: inline-flex; width: 16px; height: 16px; margin-left: 4px; }

/* ════════════ FAQ ════════════ */
.xp-faq { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; }
.xp-faq-side { position: sticky; top: calc(var(--head-h) + 20px); display: grid; gap: 14px; }
.xp-search { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-3); background: var(--bg-1); }
.xp-search:focus-within { border-color: var(--y); box-shadow: 0 0 0 3px var(--y-a16); }
.xp-search-ic { flex: none; width: 18px; height: 18px; color: var(--text-3); }
.xp-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--text); font: 500 var(--t-body) var(--f-sans); }
.xp-search input::placeholder { color: var(--text-4); }
.xp-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.xp-faq-acts { display: flex; gap: 16px; }
.xp-faq-acts .link { background: none; border: 0; padding: 0; cursor: pointer; color: var(--y); font: 600 var(--t-caption) var(--f-sans); }
.xp-faq-list { display: grid; gap: 10px; }
.xp-qa { border-radius: var(--r-l); border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(30, 35, 41, .7), rgba(24, 26, 32, .94)); transition: border-color .2s, box-shadow .25s; }
.xp-qa[open] { border-color: var(--y-a40); box-shadow: 0 0 0 1px var(--y-a16) inset, 0 16px 40px -28px rgba(240, 185, 11, .6); }
.xp-qa.is-target { box-shadow: 0 0 0 2px var(--y), var(--glow); }
.xp-qa summary { display: flex; align-items: center; gap: 14px; padding: 16px 20px; cursor: pointer; list-style: none; }
.xp-qa summary::-webkit-details-marker { display: none; }
.xp-qa summary:hover .xp-qa-q { color: var(--y-btn); }
.xp-qa-no { flex: none; color: var(--y); font: 800 15px/1 var(--f-display); opacity: .85; }
.xp-qa-q { flex: 1; min-width: 0; font: 700 var(--t-title)/1.45 var(--f-sans); color: var(--text); transition: color .15s; }
.xp-chev { flex: none; width: 10px; height: 10px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s var(--ease); }
.xp-qa[open] .xp-chev { transform: rotate(225deg) translate(-2px, -2px); border-color: var(--y); }
.xp-qa-a { padding: 0 20px 18px 49px; color: var(--text-2); font-size: var(--t-body); line-height: 1.8; }
.xp-qa-a p + p, .xp-qa-a p + ul, .xp-qa-a ul + p { margin-top: 10px; }
.xp-qa-a ul { margin-top: 8px; display: grid; gap: 6px; }
.xp-qa-a li { position: relative; padding-left: 16px; }
.xp-qa-a li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 5px; height: 5px; border-radius: 50%; background: var(--y); }
.xp-qa-a b { color: var(--text); }
.xp-none { padding: 24px; text-align: center; color: var(--text-3); border: 1px dashed var(--line-2); border-radius: var(--r-l); }

/* ════════════ glossary ════════════ */
.xp-gl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.xp-term { padding: 16px 18px; border-radius: var(--r-l); border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(30, 35, 41, .6), rgba(24, 26, 32, .92)); transition: border-color .2s, transform .25s var(--ease); }
.xp-term:hover { border-color: var(--y-a40); transform: translateY(-2px); }
.xp-term.is-target { box-shadow: 0 0 0 2px var(--y), var(--glow); }
.xp-term dt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 8px; }
.xp-term dt b { font: 800 var(--t-title)/1.3 var(--f-display); color: var(--y-btn); }
.xp-term-alt { color: var(--text-3); font-size: var(--t-caption); font-weight: 600; }
.xp-term dd { color: var(--text-2); font-size: var(--t-data); line-height: 1.7; }

/* ════════════ invite kit ════════════ */
.xp-inv-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 16px; }
.xp-link { display: flex; flex-direction: column; gap: 18px;
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(240, 185, 11, .12), transparent 60%),
    linear-gradient(180deg, rgba(30, 35, 41, .8), rgba(24, 26, 32, .96)); }
.xp-link-body { flex: 1; display: flex; flex-direction: column; justify-content: center; min-height: 240px; }
.xp-link-msg { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; max-width: 46ch; min-height: 100%; }
.xp-link-wait { align-items: center; }
.xp-qr-ph .xp-qr-svg { filter: blur(2.5px); opacity: .16; box-shadow: none; }
.xp-qr-lock { position: absolute; left: 50%; top: 105px; width: 56px; height: 56px; padding: 13px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--bg-2); color: var(--y); box-shadow: 0 0 0 1px var(--y-a24), 0 0 30px -4px rgba(240, 185, 11, .55); }
.xp-link-steps { padding-top: 16px; border-top: 1px dashed var(--line-2); }
.xp-link-steps ol { display: grid; gap: 10px; margin-top: 10px; }
.xp-link-steps li { display: flex; gap: 12px; align-items: flex-start; }
.xp-link-steps p { color: var(--text-2); font-size: var(--t-data); line-height: 1.65; }
.xp-link-msg-ic { width: 46px; height: 46px; padding: 10px; border-radius: 12px; background: var(--y-a10); color: var(--y); }
.xp-link-msg p { color: var(--text); font-size: var(--t-title); line-height: 1.7; }
.xp-link-ok { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: start; }
.xp-qr { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.xp-qr .xp-qr-svg { display: block; width: 210px; height: 210px; padding: 10px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 0 40px -6px rgba(240, 185, 11, .55); }
.xp-qr-logo { position: absolute; left: 50%; top: 105px; width: 44px; height: 44px; transform: translate(-50%, -50%); padding: 4px; border-radius: 50%; background: #fff; }
.xp-qr-logo img { display: block; width: 100%; height: 100%; border-radius: 50%; }   /* the selected BNCS logo, as on the posters */
.xp-qr-test { position: absolute; left: 50%; top: 4px; transform: translate(-50%, -50%); padding: 2px 8px; border-radius: 4px; background: var(--y-btn); color: var(--y-ink); font: 800 10px/1.4 var(--f-sans); letter-spacing: .06em; white-space: nowrap; }
.xp-qr figcaption { color: var(--text-3); font-size: var(--t-caption); text-align: center; max-width: 210px; }
.xp-link-main { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.xp-link-row { display: flex; align-items: center; min-width: 0; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--y-a40); background: var(--bg-1); box-shadow: 0 0 0 3px var(--y-a06); }
.xp-link-code { min-width: 0; font: 500 var(--t-data)/1.5 var(--f-code); color: var(--y-btn); word-break: break-all; }
.xp-link-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.xp-dev-note { padding: 8px 12px; border-radius: 8px; border: 1px dashed var(--y-a40); color: var(--y-btn); font-size: var(--t-caption); background: repeating-linear-gradient(135deg, rgba(240, 185, 11, .07) 0 8px, transparent 8px 16px); }
.xp-link-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.xp-link-stats > div { padding: 10px 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); }
.xp-link-stats dt { color: var(--text-3); font-size: var(--t-overline); letter-spacing: .04em; }
.xp-link-stats dd { margin-top: 4px; color: var(--text); font: 800 17px/1.2 var(--f-display); white-space: nowrap; }
.xp-link-stats dd small { color: var(--text-3); font: 600 10px var(--f-sans); }
.xp-link-stats .xp-sub2 { margin-top: 2px; font: 500 var(--t-overline)/1.4 var(--f-sans); color: var(--text-3); white-space: normal; }

.xp-facts-hero { padding: 16px; border-radius: 12px; background: var(--y-a06); border: 1px solid var(--y-a16); }
.xp-facts-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.xp-fact { position: relative; padding: 12px 14px 12px 16px; border-radius: 10px; background: var(--bg-1); border: 1px solid var(--line-2); overflow: hidden; }
.xp-fact::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.xp-fact b { font: 900 30px/1 var(--f-display); font-stretch: var(--wd); background: var(--y-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.xp-fact span { margin-left: 6px; color: var(--text); font-weight: 700; font-size: var(--t-data); }
.xp-fact p { margin-top: 8px; color: var(--text-2); font-size: var(--t-caption); line-height: 1.6; }
.xp-facts-ex { margin-top: 10px; color: var(--text); font-size: var(--t-data); font-weight: 600; }
.xp-facts-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.xp-facts-cols h5, .xp-limits h5 { margin-bottom: 8px; font: 700 var(--t-data)/1.3 var(--f-sans); color: var(--text); letter-spacing: .02em; }
.xp-strong { margin-bottom: 8px; color: var(--y-btn); font-weight: 700; font-size: var(--t-data); }
.xp-limits { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2); }

.xp-poster, .xp-pitch { margin-top: 16px; }
.xp-poster-body { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 24px; margin-top: 16px; align-items: start; }
.xp-poster-ctl { display: grid; gap: 16px; }
.xp-field { display: grid; gap: 8px; }
.xp-poster-pv { display: flex; justify-content: center; padding: 22px; border-radius: 14px; background:
  radial-gradient(60% 60% at 50% 40%, rgba(240, 185, 11, .10), transparent 70%), repeating-conic-gradient(rgba(255, 255, 255, .025) 0 25%, transparent 0 50%) 0 0 / 22px 22px; border: 1px solid var(--line); }
.xp-poster-frame { position: relative; display: grid; place-items: center; }
.xp-poster-frame img { display: block; max-width: 100%; height: 480px; width: auto; border-radius: 8px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06); background: var(--bg); }
.xp-poster-frame img:not([src]) { width: 270px; }
.xp-poster-pv[data-size="a4"] .xp-poster-frame img { height: 440px; }
.xp-poster-busy { position: absolute; inset: auto 0 12px; margin: auto; width: max-content; padding: 4px 10px; border-radius: 999px; background: var(--bg-2); color: var(--y-btn); font-size: var(--t-caption); }

.xp-pitch-ctl { display: grid; gap: 14px; margin-top: 14px; }
.xp-pitch-segs { display: flex; flex-wrap: wrap; gap: 14px 24px; }
.xp-pitch-out { display: grid; gap: 12px; margin-top: 16px; }
.xp-post { border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-1); overflow: hidden; }
.xp-post-h { display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.xp-post-h .xp-label { flex: 1; }
.xp-w { color: var(--text-3); font-size: var(--t-caption); }
.xp-w.over { color: var(--warn); }
.xp-post-t { margin: 0; padding: 14px 16px; max-height: 380px; overflow: auto; white-space: pre-wrap; word-break: break-word; font: 400 var(--t-body)/1.75 var(--f-sans); color: var(--text); }
.xp-post-all { display: flex; justify-content: flex-end; }
.xp-pitch-hint { margin-top: 12px; }

/* ════════════ responsive ════════════ */
@media (max-width: 1180px) {
  .xp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xp-step:nth-child(2)::after { display: none; }
  .xp-legs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .xp-inv-grid { grid-template-columns: minmax(0, 1fr); }
  .xp-faq { grid-template-columns: 260px minmax(0, 1fr); }
  .xp-gl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .xp-grid2, .xp-grid-q { grid-template-columns: minmax(0, 1fr); }
  .xp-faq { grid-template-columns: minmax(0, 1fr); }
  .xp-faq-side { position: static; }
  .xp-poster-body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .xp-card { padding: 18px 16px 20px; }
  .xp-card::before { left: 16px; right: 16px; }
  .xp-steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .xp-step::after { display: none; }
  .xp-step:not(:last-child)::before { content: ""; position: absolute; left: 50%; bottom: -19px; width: 12px; height: 12px; margin-left: -6px; border-right: 2px solid var(--y); border-bottom: 2px solid var(--y); transform: rotate(45deg); filter: drop-shadow(0 0 6px rgba(240, 185, 11, .8)); }
  .xp-step { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; row-gap: 6px; padding: 16px; }
  .xp-step > * { grid-column: 2; }
  .xp-step-top { grid-column: 1; grid-row: 1 / span 4; flex-direction: column; justify-content: flex-start; gap: 10px; }
  .xp-step-no { font-size: 26px; }
  .xp-step-ic { width: 46px; height: 46px; padding: 7px; border-radius: 12px; }
  .xp-step-t { margin-top: 0; font-size: 17px; }
  .xp-step-note { padding-top: 8px; }
  .xp-block { margin-top: 44px; }
  .xp-legs { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .xp-leg { padding: 10px 12px; }
  .xp-leg-top { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 10px; }
  .xp-bar { height: 46px; }
  .xp-seg b { font-size: 14px; }
  .xp-seg.k-lpRef b, .xp-seg.k-refTok b, .xp-seg.k-burn b { display: none; }
  .xp-bar-lab span:first-child { visibility: hidden; }
  .xp-card-h { align-items: flex-start; }
  .xp-dep .xp-card-h { flex-direction: column; }
  .xp-qsrc ol { grid-template-columns: minmax(0, 1fr); }
  .xp-qrow { height: 182px; }
  .xp-qbar { height: 132px; border-radius: 8px; }
  .xp-qpos { width: calc(100% / 6 - 6px); }
  .xp-qm { font-size: 11px; }
  .xp-calc-h h4 { font-size: 19px; }
  .xp-calc-in { width: 100%; grid-template-columns: minmax(0, 1fr); }
  .xp-amt input { width: 100%; }
  .xp-rcpts { grid-template-columns: minmax(0, 1fr); }
  .xp-cases { grid-template-columns: minmax(0, 1fr); }
  .xp-tl { flex-wrap: wrap; row-gap: 30px; }
  .xp-tl-c small { font-size: 9px; }
  .xp-tl-last { position: static; display: block; width: 100%; margin-top: -18px; text-align: right; }
  .xp-fomo-ev li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .xp-link { min-height: 0; }
  .xp-link-ok { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .xp-link-main { width: 100%; }
  .xp-link-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .xp-link-stats > div:last-child { grid-column: 1 / -1; }
  .xp-facts-cols { grid-template-columns: minmax(0, 1fr); }
  .xp-facts-two { grid-template-columns: minmax(0, 1fr); }
  .xp-poster-frame img { height: 400px; }
  .xp-poster-pv[data-size="a4"] .xp-poster-frame img { height: auto; width: 100%; }
  .xp-tabs { overflow-x: auto; }
  .xp-qa summary { padding: 14px 14px; gap: 10px; }
  .xp-qa-a { padding: 0 14px 16px 14px; }
  .xp-gl { grid-template-columns: minmax(0, 1fr); }
  .xp-block-h h3 { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .xp-sec *, .xp-sec *::before, .xp-sec *::after { animation: none !important; transition: none !important; }
  html.ui-ready .xp-card:not(.is-in), html.ui-ready .xp-step:not(.is-in) { opacity: 1; transform: none; }
  html.ui-ready .xp-card:not(.is-in) .xp-seg { transform: none; }
}

/* ════════════ 一分钟看懂 · In one minute (explain-edit) ════════════ */
.xp-min { margin: 4px 0 26px; border-color: var(--y-a24); }
.xp-min .xp-card-h { margin-bottom: 6px; }
.xp-min-t { display: flex; align-items: center; gap: 12px; min-width: 0; font: 800 var(--t-title)/1.35 var(--f-display); color: var(--text); }
.xp-min-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.xp-min-row { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 12px 0; border-top: 1px dashed var(--line-2); }
.xp-min-row dt { color: var(--y-btn); font: 700 var(--t-data)/1.5 var(--f-sans); letter-spacing: .02em; }
.xp-min-row dd { color: var(--text-2); font-size: var(--t-body); line-height: 1.7; }
@media (max-width: 760px) {
  .xp-min-dl { grid-template-columns: minmax(0, 1fr); }
  .xp-min-row { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 10px 0; }
}

/* final-site (2026-10-04): on phones the cap chips may wrap — the English chip in step 03 is wider than a
   360 px screen's text column, and an unbreakable line there widened the whole page (mobile Chrome zoomed out to fit it) */
@media (max-width: 760px) {
  .xp-sec .cap-chip { white-space: normal; height: auto; min-height: 22px; max-width: 100%; padding-top: 3px; padding-bottom: 3px; line-height: 1.35; }
}
