/* ==========================================================================
   SHOPRO MINI APP — DESIGN ROUND 1 ANIMATION LAYER
   --------------------------------------------------------------------------
   Drop-in animation + motion layer for the Telegram Mini App.
   Built 2026-11-06 (design round 1). NOT YET INTEGRATED — fixbatch1 owns
   index.html right now. Round 2 integrates this file (see design-round1.md).

   How to integrate (round 2):
     1. Copy this file to /opt/fftopup/miniapp/design-round1.css
        (same folder as index.html) and add ONE line in <head> after the
        main <style> block:
          <link rel="stylesheet" href="design-round1.css">
     2. Copy design-round1.js next to it and add before </body>:
          <script src="design-round1.js"></script>
     3. Wire the call sites listed in design-round1.md (all small, all in
        existing functions — no new views, no new money code).

   Rules this file follows:
     - Uses ONLY the page's own design tokens (var(--gold), var(--card),
       var(--stroke), var(--text), var(--muted), --radius 26px, Manrope).
     - Every class is prefixed dx- so nothing collides with existing CSS.
     - Nothing here changes a price, a product, or a flow — motion only.
     - All motion is killed under prefers-reduced-motion (and the page's
       existing reduced-motion block should also cover .dx-* — see §9).
     - RTL-safe: no bare translateX(-50%) on new elements; the segment
       indicator is positioned by JS from getBoundingClientRect (direction
       agnostic). The cart-bar keyframe keeps translateX(-50%) because the
       bar itself is centred that way in the existing CSS.
   ========================================================================== */

/* --------------------------------------------------------------------------
   §1 SKELETON LOADING — shaped like the real content (trending detail #1)
   Use on: catalog first load (#catalogState), orders list (#ordersList),
   profile stats. Replace the bare spinner + "Loading…" text.
   -------------------------------------------------------------------------- */
.dx-skel {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 18px;
}
.dx-skel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(244, 246, 251, 0.07) 45%,
    rgba(244, 246, 251, 0.13) 50%,
    rgba(244, 246, 251, 0.07) 55%,
    transparent 100%);
  background-size: 220% 100%;
  animation: dx-shimmer 1.4s linear infinite;
}
@keyframes dx-shimmer {
  from { background-position: 120% 0; }
  to   { background-position: -120% 0; }
}
/* Skeleton shapes — stack them to mirror the real layout. */
.dx-skel-tile   { height: 118px; border-radius: var(--radius); }   /* dept tile   */
.dx-skel-card   { height: 168px; border-radius: var(--radius); }   /* pack card   */
.dx-skel-line   { height: 16px;  border-radius: 8px;  margin: 10px 0; }
.dx-skel-pill   { height: 34px;  border-radius: 999px; width: 46%; margin: 12px auto 0; }
.dx-skel-row    { height: 64px;  border-radius: 18px; margin-bottom: 10px; } /* order row */
.dx-skel-grid   { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* --------------------------------------------------------------------------
   §2 STAGGERED ENTRANCE — grids arrive one card at a time, not all at once
   JS sets --dx-i (0,1,2…) on each child, then adds .dx-stagger to the grid.
   Applies to #deptGrid, #brandGrid, #doorList, #packSections, #starsGrid.
   Fill is `backwards`, NOT `both`: with `both` the finished dx-rise
   keyframe (translateY(0), identity) keeps applying forever, and a CSS
   animation overrides normal declarations — so `button.tile:active {
   transform: scale(0.97) }` never showed on any tile (council P1
   2026-11-11 xp-motion, inbox :2882: :active TRUE while held, computed
   transform stayed identity on dept + pack tiles). `backwards` still
   applies the `from` state during the stagger delay, so the entrance
   plays exactly as before, but once it ends no keyframe applies and the
   press scale works.
   -------------------------------------------------------------------------- */
.dx-stagger > * {
  animation: dx-rise 0.45s cubic-bezier(0.2, 0.9, 0.25, 1) backwards;
  animation-delay: calc(var(--dx-i, 0) * 45ms);
}
@keyframes dx-rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   §3 SHEET SLIDE-UP — checkout / sent / support arrive as a sheet, not a fade
   Add .dx-sheet-in to the section when show() opens it (checkout, sent,
   support). The existing .view.on fadein stays as the fallback.
   -------------------------------------------------------------------------- */
.dx-sheet-in { animation: dx-sheet 0.32s cubic-bezier(0.2, 0.9, 0.25, 1) both; }
@keyframes dx-sheet {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   §4 SEGMENTED CONTROL SLIDE — #starsSeg / #starsBuySellSeg active pill
   JS (ShoproDesign.segSlide) inserts one .dx-seg-ind inside the .seg and
   moves it under the active button. Buttons keep their own .active class
   for colour; the indicator carries the background + shadow.
   -------------------------------------------------------------------------- */
.dx-seg { position: relative; }
.dx-seg-ind {
  position: absolute;
  top: 5px; bottom: 5px;
  border-radius: 999px;
  background: var(--card2);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: left 0.25s cubic-bezier(0.2, 0.9, 0.25, 1),
              width 0.25s cubic-bezier(0.2, 0.9, 0.25, 1);
  pointer-events: none;
  z-index: 0;
}
.dx-seg button { position: relative; z-index: 1; }
/* When the indicator is present the button's own active background must go
   (otherwise two pills stack). Round 2 adds this override to the main CSS:
   .dx-seg button.active { background: transparent; box-shadow: none; } */

/* --------------------------------------------------------------------------
   §5 SUCCESS CHECK DRAW — the sent-view check draws itself, ring pops
   The existing .check-ring keeps its pop animation; this adds the stroke
   draw to the check path. Round 2 adds class dx-check-draw to the svg path
   (path length ≈ 23, dasharray 24 covers it).
   -------------------------------------------------------------------------- */
.dx-check-draw {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: dx-draw 0.5s 0.18s ease forwards;
}
@keyframes dx-draw { to { stroke-dashoffset: 0; } }

/* --------------------------------------------------------------------------
   §6 PAY BUTTON PROGRESS — Pay shows a spinner + "Processing…" while
   sendData runs, and is disabled until it returns (fixes P2-7: the app
   must not show "Order sent" before the send is confirmed).
   -------------------------------------------------------------------------- */
.dx-pay-busy { pointer-events: none; opacity: 0.75; }
.dx-pay-spin {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(0, 0, 0, 0.25);
  border-top-color: #1c1502;
  border-radius: 50%;
  animation: dx-spin 0.7s linear infinite;
  vertical-align: -3px;
  margin-inline-end: 8px;
}
@keyframes dx-spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   §7 INVALID-INPUT SHAKE — .field.invalid gets a shake, not just a red border
   JS adds .dx-shake to the field on a rejected submit, removes it on
   animationend (or after 400ms).
   -------------------------------------------------------------------------- */
.dx-shake { animation: dx-shake 0.4s ease; }
@keyframes dx-shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-3px); }
  40%, 60% { transform: translateX(3px); }
}

/* --------------------------------------------------------------------------
   §8 NICKNAME CHECKING SHIMMER — the #nickLine shows a "Checking ID…"
   shimmer while the /app/api/player lookup is in flight (fixes P2-9:
   today the line is blank and the customer can tap Pay before the app
   knows the ID is wrong).
   -------------------------------------------------------------------------- */
.dx-checking {
  position: relative;
  overflow: hidden;
  color: var(--muted);
}
.dx-checking::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent 0%, rgba(245, 185, 66, 0.16) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: dx-shimmer 1.2s linear infinite;
}

/* --------------------------------------------------------------------------
   §9 ORDER TIMELINE — sent view + orders view (trending detail #2)
   Steps: Sent → Confirming → Delivered (or Failed/Cancelled/Expired).
   The "now" step pulses gold; the connector fills green as steps complete.
   -------------------------------------------------------------------------- */
.dx-timeline { margin: 18px 0 6px; text-align: start; }
.dx-tl-step { display: flex; gap: 12px; align-items: flex-start; }
.dx-tl-rail { display: flex; flex-direction: column; align-items: center; flex: none; }
.dx-tl-dot {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--stroke);
  background: var(--card);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800; color: var(--muted);
  flex: none;
}
.dx-tl-step.done .dx-tl-dot {
  background: var(--green); border-color: var(--green); color: #06281a;
}
.dx-tl-step.now .dx-tl-dot {
  border-color: var(--gold); color: var(--gold-2);
  animation: dx-pulse 1.6s ease-out infinite;
}
.dx-tl-step.bad .dx-tl-dot {
  background: var(--red); border-color: var(--red); color: #fff;
}
@keyframes dx-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(245, 185, 66, 0.45); }
  70%  { box-shadow: 0 0 0 9px rgba(245, 185, 66, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 185, 66, 0); }
}
.dx-tl-bar { width: 2px; flex: 1; min-height: 22px; background: var(--stroke); margin: 3px 0; overflow: hidden; }
.dx-tl-bar > i { display: block; width: 100%; height: 0; background: var(--green); transition: height 0.6s ease; }
.dx-tl-step.done .dx-tl-bar > i { height: 100%; }
.dx-tl-body { padding-bottom: 16px; }
.dx-tl-body b { display: block; font-size: 15px; font-weight: 800; }
.dx-tl-body span { font-size: 13px; color: var(--muted); font-weight: 600; }
.dx-tl-step.now .dx-tl-body b { color: var(--gold-2); }

/* --------------------------------------------------------------------------
   §10 WALLET COUNT-UP FLASH — the new balance flashes gold once the
   count-up lands (JS does the counting; this is the landing highlight).
   -------------------------------------------------------------------------- */
.dx-flash { animation: dx-flash 0.8s ease; }
@keyframes dx-flash {
  0% { color: var(--gold-2); }
  100% { color: inherit; }
}

/* --------------------------------------------------------------------------
   §11 STATUS PILL TRANSITION — order status pills cross-fade colour instead
   of snapping (used with the fixbatch1 status labels: Delivered / Failed /
   Cancelled / Expired / Pending).
   -------------------------------------------------------------------------- */
.dx-pill { transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; }

/* --------------------------------------------------------------------------
   §12 CART BAR ENTER/EXIT — the bar slides up from below instead of
   popping in/out (existing .cartbar has no transition at all).
   -------------------------------------------------------------------------- */
.dx-cartbar-in { animation: dx-cart-in 0.3s cubic-bezier(0.2, 0.9, 0.25, 1) both; }
@keyframes dx-cart-in {
  from { opacity: 0; transform: translate(-50%, 16px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

/* --------------------------------------------------------------------------
   §13 REDUCED MOTION — kill every dx-* animation for users who ask for it.
   Round 2 must ALSO extend the page's existing reduced-motion block
   (lines ~78-79, which sets * { transition: none }) to cover .dx-*.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .dx-skel::after,
  .dx-stagger > *,
  .dx-sheet-in,
  .dx-seg-ind,
  .dx-check-draw,
  .dx-pay-spin,
  .dx-shake,
  .dx-checking::after,
  .dx-tl-step.now .dx-tl-dot,
  .dx-tl-bar > i,
  .dx-flash,
  .dx-cartbar-in { animation: none !important; transition: none !important; }
  .dx-stagger > * { opacity: 1; transform: none; }
  .dx-check-draw { stroke-dashoffset: 0; }
  .dx-tl-bar > i { height: 100%; }
}

/* ==========================================================================
   SHOPRO MINI APP — DESIGN ROUND 3 LAYER (design-round3.css)
   --------------------------------------------------------------------------
   Orders history filters (All / Delivered / Pending / Failed) + deposit
   pending halo + orders "Show more" button. Built 2026-11-06 (design
   round 3). NOT YET INTEGRATED — the Withdraw builder holds the page
   (council BUILD_LOCK, ~22:50 CET) and owns index.html right now.
   Round 4 (or the next free page-edit round) integrates this file —
   see design-round3.md §5 for the exact call sites.

   Token-matched to the live page (md5 a542b0f6…, 2026-11-06):
     --gold #f5b942 · --gold-2 #ffd968 · --green-soft #4be38a ·
     --red #ff6b6b · --card #1d2334 · --card2 #232b40 ·
     --stroke #2f3852 · --muted rgba(244,246,251,.60) ·
     --muted-2 rgba(244,246,251,.38) · --text #f4f6fb.
   All classes are `dx-` prefixed — no collisions with the page or with
   design-round1.css. Reduced-motion disables the halo + list swap.
   ========================================================================== */

/* --- 1. Filter chip row (above #ordersList) ------------------------------ */
.dx-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;            /* no scrollbar chrome on the chip row */
  padding: 2px 2px 10px;
  margin: 0 -2px;
  -webkit-overflow-scrolling: touch;
}
.dx-filters::-webkit-scrollbar { display: none; }

.dx-filter {
  flex: 0 0 auto;
  min-height: 40px;                 /* near the 44px touch-target rule */
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--card);
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease,
              transform .12s ease;
}
.dx-filter:active { transform: scale(.96); }
.dx-filter .dx-f-count {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted-2);
  background: rgba(255, 255, 255, .07);
  border-radius: 999px;
  padding: 1px 7px;
  line-height: 1.5;
}
.dx-filter.active {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  border-color: transparent;
  color: #1a1405;
  box-shadow: 0 4px 14px rgba(245, 185, 66, .35);
}
.dx-filter.active .dx-f-count {
  color: #1a1405;
  background: rgba(0, 0, 0, .14);
}
/* Group colour dot on the chip — same semantics as the .st pills. */
.dx-filter .dx-f-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.dx-filter[data-group="delivered"] .dx-f-dot { background: var(--green-soft); }
.dx-filter[data-group="pending"]   .dx-f-dot { background: var(--gold-2); }
.dx-filter[data-group="failed"]    .dx-f-dot { background: var(--red); }
.dx-filter[data-group="all"] .dx-f-dot { background: var(--muted); }
.dx-filter.active[data-group="all"] .dx-f-dot { background: #1a1405; }

/* --- 2. List swap — rows fade/slide in when the filter changes ---------- */
.dx-list-swap > * { animation: dx-fade-swap .28s ease both; }
@keyframes dx-fade-swap {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- 3. Deposit pending halo (tontine-expo pattern) ----------------------
   A small gold dot with an expanding halo, for the deposit "waiting"
   state. Use: put <span class="dx-halo-dot"></span> next to the status
   note (#depStatusNote) or inside the profile pending banner
   (#depPendingBanner) and toggle .dx-pending-halo on it while a deposit
   is open. Whole-banner soft pulse available as .dx-pending-pulse. */
.dx-halo-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-2);
  flex: 0 0 auto;
  vertical-align: middle;
}
.dx-pending-halo .dx-halo-dot,
.dx-halo-dot.dx-pending-halo {
  animation: dx-halo 1.8s ease-out infinite;
}
@keyframes dx-halo {
  0%   { box-shadow: 0 0 0 0 rgba(245, 185, 66, .55); }
  70%  { box-shadow: 0 0 0 12px rgba(245, 185, 66, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 185, 66, 0); }
}
.dx-pending-pulse { animation: dx-pending-pulse 2.2s ease-in-out infinite; }
@keyframes dx-pending-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 185, 66, 0); }
  50%      { box-shadow: 0 0 0 4px rgba(245, 185, 66, .12); }
}

/* --- 4. Orders "Show more" button (orders are capped at 20 today) -------- */
.dx-more {
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: transparent;
  color: var(--gold-2);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, transform .12s ease;
}
.dx-more:active { transform: scale(.98); background: rgba(245, 185, 66, .08); }
.dx-more:disabled { opacity: .45; cursor: default; }

/* --- 5. Reduced motion --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .dx-pending-halo .dx-halo-dot,
  .dx-halo-dot.dx-pending-halo,
  .dx-pending-pulse { animation: none; }
  .dx-list-swap > * { animation: none; }
  .dx-filter, .dx-more { transition: none; }
}

/* ==========================================================================
   SHOPRO MINI APP — DESIGN ROUND 5: FIRST-RUN ONBOARDING
   --------------------------------------------------------------------------
   Staged 2026-11-07 (design round 5). NOT YET INTEGRATED — round 6 wires
   it into index.html (see design-round5.md for the integration spec).
   A dry-test agent is running against the live page this round, so the
   page itself is untouched; only these assets + the preview page ship.

   What it is: a 3-card first-run onboarding overlay (Telegram onboarding-
   kit pattern, trending-repos.md §1.9): wallet → player ID → delivery.
   Progress dots + Skip + Next/Start + "Don't show again". Swipeable,
   RTL-safe, reduced-motion safe. Copy describes ONLY real features
   (wallet top-up, nickname-checked player ID, instant delivery / code
   in the bot chat) — no fake features, no other store's brand or text.

   Rules this file follows:
     - Uses ONLY the page's own design tokens (var(--gold), var(--gold-2),
       var(--card), var(--card2), var(--stroke), var(--text), var(--muted),
       --radius 26px, Manrope).
     - Every class is prefixed dx-onb- so nothing collides with existing
       CSS (dx- is the round-1/3 prefix family; onb- scopes it further).
     - Nothing here changes a price, a product, or a flow — overlay only.
     - All motion is killed under prefers-reduced-motion.
     - RTL-safe: the track is laid out with flex row and the JS moves it
       with translateX by measured card width; dot order follows DOM order
       so RTL flips it automatically. No bare translateX(-50%) on new
       elements (the sheet is inset: 0 with flex centring).
   ========================================================================== */

/* --------------------------------------------------------------------------
   §1 OVERLAY — fixed sheet over the whole app, dimmed backdrop
   -------------------------------------------------------------------------- */
.dx-onb {
  position: fixed;
  inset: 0;
  z-index: 120; /* above the bottom nav + cart bar, below nothing interactive */
  display: flex;
  align-items: flex-end; /* bottom-sheet feel on phones */
  justify-content: center;
  background: rgba(5, 8, 16, 0.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.dx-onb.on {
  opacity: 1;
  pointer-events: auto;
}
.dx-onb.off {
  display: none; /* after the exit animation, JS swaps .on -> .off */
}

/* --------------------------------------------------------------------------
   §2 SHEET — the card that slides up
   -------------------------------------------------------------------------- */
.dx-onb-sheet {
  width: 100%;
  max-width: 430px;
  max-height: 86vh;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 10px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  transform: translateY(24px);
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.25, 1);
}
.dx-onb.on .dx-onb-sheet {
  transform: translateY(0);
}
.dx-onb-grip {
  width: 40px;
  height: 4px;
  margin: 2px auto 14px;
  border-radius: 999px;
  background: var(--stroke);
}

/* --------------------------------------------------------------------------
   §3 TRACK — 3 cards side by side, JS slides the track
   -------------------------------------------------------------------------- */
.dx-onb-viewport {
  overflow: hidden;
  touch-action: pan-y; /* vertical page scroll still works; horizontal is ours */
}
.dx-onb-track {
  display: flex;
  flex-direction: row;
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.25, 1);
  will-change: transform;
}
.dx-onb-card {
  flex: 0 0 100%;
  min-width: 0;
  text-align: center;
  padding: 6px 4px 0;
}
.dx-onb-art {
  font-size: 64px;
  line-height: 1;
  margin: 10px 0 14px;
  filter: drop-shadow(0 6px 14px rgba(245, 185, 66, 0.25));
}
.dx-onb-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}
.dx-onb-card p {
  margin: 0 auto;
  max-width: 300px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.dx-onb-card p b {
  color: var(--text);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   §4 DOTS — progress, tappable, gold active
   -------------------------------------------------------------------------- */
.dx-onb-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin: 20px 0 16px;
}
.dx-onb-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--stroke);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
  min-width: 8px;
  min-height: 8px;
}
.dx-onb-dot.active {
  width: 26px;
  background: var(--gold);
}

/* --------------------------------------------------------------------------
   §5 CONTROLS — Next / Start (gold, 48px), Skip (ghost), Don't-show row
   -------------------------------------------------------------------------- */
.dx-onb-next {
  width: 100%;
  min-height: 48px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1a1405;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}
.dx-onb-next:active { transform: scale(0.98); }
.dx-onb-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  min-height: 32px;
}
.dx-onb-skip {
  border: none;
  background: none;
  padding: 6px 8px;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  min-height: 32px;
}
/* COUNCIL 2026-11-25 (P2 sheet-skip-press, xp-motion-2209): Skip had no press
   feedback — :active true on mouse but zero visual change, and no :active rule
   at all. Same scale-press family as .dx-onb-next:active / .dx-filter:active,
   plus an opacity dim so the press reads on a 41px ghost text button
   (scale(0.98) alone shrinks it <1px). Transform + opacity only: no layout,
   geometry, or text change. */
.dx-onb-skip:active { transform: scale(0.96); opacity: 0.65; }
.dx-onb-again {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}
.dx-onb-again input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--gold);
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   §6 SWIPE FEEDBACK — the track follows the finger, then settles
   -------------------------------------------------------------------------- */
.dx-onb-track.dragging {
  transition: none; /* finger owns the position mid-swipe */
}

/* --------------------------------------------------------------------------
   §7 REDUCED MOTION — everything instant
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .dx-onb,
  .dx-onb-sheet,
  .dx-onb-track,
  .dx-onb-dot {
    transition: none;
    animation: none;
  }
  .dx-onb-sheet { transform: none; }
}

/* --------------------------------------------------------------------------
   §8 CART-BAR LIFT — COUNCIL 2026-11-13 (P1 onboarding-sheet-cartbar)
   The first-run sheet (.dx-onb, z-index 120) sits over the cart bar
   whenever both are up, so a real tap on the gold buy bar hit the sheet
   and never the bar (re-proven live 2026-11-13 ~22:15 CET, 5/5
   elementFromPoint + real CDP tap). The sheet must stay — first-run
   customers still need the player-ID explainer — so instead of
   dismissing it we lift it: while the cart bar is visible the page adds
   .dx-cart-up and sets --dx-onb-lift from the live bar rect, and the
   overlay's bottom edge rises above the bar's top edge. The overlay then
   no longer covers the cart-bar zone at all: no dim over the buy bar,
   no pointer interception there. The sheet keeps its bottom-sheet
   position at the foot of the (now shorter) overlay box; backdrop taps
   above the sheet still dismiss (see design-round5.js).
   -------------------------------------------------------------------------- */
.dx-onb.dx-cart-up {
  bottom: var(--dx-onb-lift, 174px);
}

/* Shopro Mini App — Design Round 7: real fonts + marquee pause + safe-area top + homescreen card.
   Staged, NOT yet wired into index.html. Link AFTER design-round6.css
   (same <head> block) and load design-round7.js next to design-round6.js.
   Fonts live in fonts/ next to this file (self-hosted woff2, ~59 KB total).
   Tokens matched to the live page: --gold #f5b942, --card #1d2334.
   All classes are dx7- prefixed; nothing here touches the store's own
   selectors except .topbar (padding-top only, same specificity, later file
   wins) and .dx7-mq-paused (a class JS adds to .dept-marquee). */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Latin subset only, on purpose: French accents live in U+0000-00FF, so
   fr renders in the real fonts. Arabic keeps falling back to the page's
   own "Noto Naskh Arabic" stack — neither face carries Arabic glyphs,
   and pretending otherwise would show tofu. */

/* ---- 2. Marquee pause (inbox P2) ---- */
.dx7-mq-paused .mq-track {
  animation-play-state: paused !important;
}

/* ---- 3. Safe-area top (inbox P2, Telegram-native chrome bundle) ----
   Bottom insets were already handled (.nav, cart bar). The top bar had
   none: padding 4px 2px 0 sits under the notch/status area on notched
   phones. This only raises the top padding; everything else about
   .topbar is untouched. */
.topbar {
  padding-top: max(4px, env(safe-area-inset-top, 0px));
}

/* ---- 4. Homescreen shortcut card (inbox P2) ----
   Shown once, after a delivered order — never on first open. The
   integration round places it; this file only styles it. */
.dx7-hs-card {
  background: linear-gradient(180deg, #232a42, #1d2334);
  border: 1px solid rgba(245, 185, 66, 0.45);
  border-radius: 18px;
  padding: 16px;
  margin: 12px 0;
  animation: dx7-card-in 0.35s ease;
}
.dx7-hs-title {
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 800;
  font-size: 17px;
  color: #fff;
  margin-bottom: 6px;
}
.dx7-hs-sub {
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 12px;
}
.dx7-hs-row {
  display: flex;
  gap: 10px;
}
.dx7-hs-btn {
  flex: 1;
  border: none;
  cursor: pointer;
  border-radius: 12px;
  padding: 12px 10px;
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #231a02;
  background: linear-gradient(180deg, #ffd76a, #f5b942);
}
.dx7-hs-btn:active { transform: scale(0.97); }
.dx7-hs-later {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  border-radius: 12px;
  padding: 12px 14px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
}
.dx7-hs-later:active { transform: scale(0.97); }

@keyframes dx7-card-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .dx7-hs-card { animation: none; }
  .dx7-mq-paused .mq-track { animation-play-state: paused !important; }
}

/* ============================================================================
   Design round 11 — light-theme readability leftovers (STAGED, not linked)
   ----------------------------------------------------------------------------
   Context: the council's Telegram-native-chrome build (live 2026-11-08
   ~18:40 CET, page c13244b3…) already maps the page tokens to Telegram's
   --tg-theme-* vars and remaps --gold-2 to dark gold #9a6b06 in light mode
   (html[data-tg-scheme="light"]). Round 10's staged design-round10.css/js
   (data-tg-theme attribute, full token remap) is therefore SUPERSEDED —
   do NOT link it; it would double-map the same tokens under a different
   attribute. What the council build did NOT cover is this file: the five
   places where BRIGHT gold (#f5b942 / var(--gold)) or a WHITE pill still
   sits on a white card in light mode. Verified by grep against the live
   page 0cc627dc… (577,761 B) on 2026-11-08 ~22:55 CET; every selector
   below cites its live-page source line.

   Rules (all scoped to the page's own attribute, data-tg-scheme):
   1. h1.brand .gold — "TOP-UP" hero word, bright gold on white = ~1.9:1.
      Live page index.html:186. Dark gold #9a6b06 (the council's own
      light-mode gold, same token as --gold-2 in light) = ~4.7:1 on white.
   2. .grad-title — "Telegram Stars" title, #60a5fa→#a78bfa gradient text,
      both ends fail on white (~2.2:1 / ~2.9:1). Live page index.html:192.
      Deepened to #2563eb→#7c3aed (~5.2:1 / ~5.7:1 on white).
   3. .pack .price — white price pill on a white card in light mode: the
      text stays readable (#111 on white) but the pill boundary vanishes.
      Live page index.html:460. Pale-gold pill #fff7e0 + #3d2a00 text +
      bronze edge (round-10 measurement, same values).
   4. .result-row .pr — same white pill in search results.
      Live page index.html:231. Same pale-gold treatment.
   5. .check-ring — the sent-screen success ring: 3px bright-gold border
      + gold check (stroke=currentColor) + gold glow on white = ~1.9:1.
      Live page index.html:803. Dark-gold border/check, pale gold tint.
   Deliberately NOT touched: .badge-247 (gold-2 text is already remapped),
   .mq-cell/.fan3 white game-art tiles (deliberately white in both themes,
   round 10), .pill svg gold icons (decorative), --muted hint text
   (Telegram's own hint_color token — the platform's choice, not ours),
   the gold pay bar (gold fill + dark text, readable in both themes).
   Dark theme: byte-identical — every rule below is light-scoped, and the
   dark fallbacks are untouched.
   ========================================================================== */

/* 1 — hero "TOP-UP" word: bright gold washes out on white */
html[data-tg-scheme="light"] h1.brand .gold { color: #9a6b06; }

/* 2 — Stars title gradient: light-blue end washes out on white.
   NOTE: background-image (not the background shorthand) — the shorthand
   would reset background-clip to border-box and kill the text clip,
   leaving a full-width gradient bar with invisible text (caught by the
   round-11 probe screenshot, 2026-11-08). The clip is re-declared too,
   so the rule stays correct even if the base rule ever changes. */
html[data-tg-scheme="light"] .grad-title {
  background-image: linear-gradient(90deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
}

/* 3 — pack price pill: white pill invisible on a white card in light mode */
html[data-tg-scheme="light"] .pack .price {
  background: #fff7e0;
  color: #3d2a00;
  border: 1px solid #e8c15a;
}

/* 4 — search result price pill: same white-on-white problem */
html[data-tg-scheme="light"] .result-row .pr {
  background: #fff7e0;
  color: #3d2a00;
  border: 1px solid #e8c15a;
}

/* 5 — sent-screen check ring: bright-gold ring + check wash out on white */
html[data-tg-scheme="light"] .check-ring {
  border-color: #9a6b06;
  color: #9a6b06;
  background: rgba(154, 107, 6, 0.08);
  box-shadow: 0 0 44px rgba(154, 107, 6, 0.22);
}

/* Design round 15 — PUBG closed-card treatment (D9 remainder) + top-badge
   clearance (badge-overlap fix). STAGED ONLY — not linked, page untouched.
   To activate (integration round, under BUILD_LOCK, rebased from the
   then-served page):
     1. Upload this file to /opt/fftopup/miniapp/design-round15.css and
        link it in <head> next to the design-round1/3/5/7 links:
        <link rel="stylesheet" href="design-round15.css" />
     2. Apply the buildPackCard patch in design-round15.md §Patch D
        (3 small hunks, fresh line numbers in the note).
   No new strings: the badge copy already exists (pubgClosedShort,
   unavailableShort). No money, no orders, no behaviour change beyond
   the two visual treatments below. */

/* D9 remainder — a time-closed pack reads as "sleeping, back at 05:00
   UTC". Dim the content, keep the red countdown badge at full strength
   so the reason stays readable. Deliberately lighter than .unavailable
   (opacity 0.45 / grayscale 0.7): a closed pack WILL open again, a
   blocked pack will not. The card stays tappable on purpose — the tap
   opens checkout, which shows the pubgClosed note with the opening
   times and a disabled Pay button (payBlocked, live since fixbatch1). */
.tile.pack.closed .art,
.tile.pack.closed .amount,
.tile.pack.closed .pill-slot,
.tile.pack.closed .hint { opacity: 0.55; }
.tile.pack.closed .art { filter: grayscale(0.5); }

/* Badge-overlap fix — proven by the 2026-11-09 22:59 CET screenshot
   (design-assets/shots/pubg-closed-20261109.png): .badge-closed and
   .badge-unavailable sit absolute at top:10px while .pack .amount
   starts at the card's 20px top padding, so the badge covered the
   first line of 2-line names — "PUBG UC" was hidden behind
   "🔴 مغلق · 7h 0 min", leaving only "CN 325" visible. Cards carrying
   an absolute top badge get 24px of clearance above the amount so the
   name is never covered. .badge-popular is in-flow (insertBefore) and
   needs no clearance. .badge-best (Premium, 1-line duration names) is
   NOT covered here — verify at integration whether the BEST VALUE
   badge covers its duration text at 360px before extending this. */
.tile.pack.has-top-badge .amount { padding-top: 24px; }

/* Design round 16 — Patch E: BEST VALUE badge in flow, not absolute.
   Proven live 2026-11-10 ~04:55 CET by design-round16-live-probe.mjs
   (360x800, real served page 65cb1c34…):
   - Selected state (best tier pre-selected): the badge sits at top:44px
     and covers line 2 of the expanded name — "Telegram Premium 3 Months"
     reads "Telegram / Premi[covered] / Months" (screenshot
     premium-best-20261110.png).
   - Unselected state: the badge sits at top:10px and covers the middle
     of the collapsed name — "3 Months" reads "Mon[covered]s" (screenshot
     premium-best-unselected-20261110.png).
   Both states are the same defect class as round 15's closed-badge
   overlap (absolute pill over .amount, which starts at the card's 20px
   top padding). The fix mirrors the council's own badge-popular
   precedent (page CSS: "an absolute pill at top:10px/44px would cover
   the name in both states. In flow it pushes the amount down and never
   overlaps anything"): the badge becomes an in-flow pill above the
   amount, so it can never cover any line in either state, and the
   slide-down-to-44px rule becomes dead.
   Integration (round 17, under BUILD_LOCK, rebased): upload this file to
   /opt/fftopup/miniapp/, link it next to the design-round15.css link,
   and change the append site in renderStars (~:6025) from
   bestCard.appendChild(bd) to bestCard.insertBefore(bd,
   bestCard.firstChild) so the in-flow badge lands ABOVE the amount
   (appendChild would put it after the hint, at the card bottom).
   Optionally delete the now-dead page rule `.pack.selected .badge-best
   { top: 44px; }` (~:514) — harmless if left, since top is ignored
   once the badge is static.
   No new strings, no I18N change, no !important. */

.pack .badge-best {
  position: static;
  display: inline-block;
  background: var(--gold);
  color: #231a02;
  font-size: 11px;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 9px;
  margin-bottom: 8px;
}

/* Belt-and-braces: the page's .pack.selected .badge-best { top: 44px; }
   is ignored once the badge is static, but say so explicitly so a
   future reader does not "fix" the missing slide. */
.pack.selected .badge-best {
  top: auto;
}

/* Design round 17 (Patch F): FAQ / how-to summary tap targets.
   The probe (design-round17-live-probe.mjs, F5) measured every
   .howto summary at 26px tall at 360px — 15px single-line text with
   no padding on the summary itself, below the 44px touch-target rule
   (trending-repos §3.7). 9px of vertical padding makes a single-line
   summary 44px tall (26 + 18); a two-line question grows naturally.
   Applies to all 7 .howto blocks on the page (6 support-FAQ items +
   1 "How to use" details), all of which gain the same bigger target.
   In-flow padding only: no position, no overlap, no layout shift
   beyond each box growing ~18px. No strings, no I18N change,
   no !important. Link next to the design-round16.css link. */
.howto summary {
  padding: 9px 0;
}

/* ==========================================================================
   Shopro Mini App — Design Round 20 (STAGED ONLY, NOT LIVE)
   --------------------------------------------------------------------------
   Date: 2026-11-11 ~04:50 CET. Round 20 of the continuous design program.
   STATUS: assets staged, page NOT touched — BUILD_LOCK is held by the
   council fix-batch builder 8e827a2e (order-sent duplicate fix, claimed
   2026-11-11 03:58 CET, still running). Single-writer rule: no page
   edits this round. Integration (upload + link + probe) belongs to the
   next round once the lock frees — see design-round20.md §4.

   Contents:
     §1 RTL LONGTEXT chevron fix (round-19 Finding 1, P1-class)
     §2 Pending-step shimmer (PENDING + DONE research, 2026-11-11)
     §3 Reduced motion
   Token-matched (navy/gold only), `dx-` prefixed where new, no
   collisions with design-round1/3/5/7/11/15/16/17.css. Load AFTER
   design-round1.css (the shimmer hooks onto its .dx-timeline classes).
   ========================================================================== */

/* --------------------------------------------------------------------------
   §1 RTL LONGTEXT CHEVRON FIX — truncated pack amounts in Arabic UI
   Defect (round 19, screenshot- + source-proven): on truncated pack
   cards in Arabic (RTL) UI, "6 Months" renders as "Months" and
   "12 Months" as "2 Months" — the leading digit hides behind the gold
   chevron + fade, so a customer misreads the duration.
   Root cause: `.pack.trunc .amount::after` puts the chevron at
   `inset-inline-end: 0` — LEFT in RTL — while the R6 rule
   `.pack.trunc:not(.selected) .amount { text-align: start; }` aligns
   the text to the inline start. `.pack .amount` carries
   `unicode-bidi: plaintext`, so Latin catalog names are LTR
   paragraphs even on RTL pages, and `start` resolves LEFT — text and
   chevron collide on the left. (LTR pages are unaffected: chevron
   right, text left. RTL pages with an Arabic name are unaffected too:
   the paragraph is RTL, so `start` is right.)
   Fix: in RTL pages, align truncated amounts to the RIGHT, so the text
   hugs the far side from the left chevron — the exact mirror of the
   LTR geometry R6 already proved.
   Why `text-align: right`, NOT the `end` round 19 drafted: `end`
   resolves per paragraph direction, so it equals `right` for today's
   all-Latin catalog names — but if an Arabic-named product is ever
   added, its RTL paragraph would make `end` resolve LEFT, straight
   back into the chevron. `right` stays correct for both paragraph
   directions. The page comment at the plaintext rule says catalog
   names carry no Arabic (13,087 items checked) — `right` keeps the
   fix correct even if that ever stops being true.
   Specificity: [dir="rtl"] adds one attribute level over the page's
   line-481 rule, so this wins regardless of load order. Selected
   cards are untouched (they expand + hide the chevron already).
   -------------------------------------------------------------------------- */
[dir="rtl"] .pack.trunc:not(.selected) .amount { text-align: right; }

/* --------------------------------------------------------------------------
   §2 PENDING-STEP SHIMMER — the "now" timeline step stays visibly alive
   Source: the two PENDING + DONE research runs of 2026-11-11 (~02:xx CET)
   — animation research ("do NOT vendor any library; re-implement inline,
   10–40 lines CSS/JS") + the Order Delivered repos research. Their
   shared verdict for the pending state: name it and keep it visibly
   alive (pulsing halo / shimmer + countdown), never a static spinner.
   What is already live and NOT duplicated here: the sent-view looped
   MP4 clip (`assets/order_completed_*.mp4`), the dx-timeline itself
   (Sent → Confirming → Delivered, `now` dot already pulses gold via
   `dx-pulse` in design-round1.css §9), the confetti burst on payment
   success (`window.celebrate('confetti')`), and the check draw (M8).
   Gap this rule closes: the `now` step's sub-line ("Waiting for
   confirmation" / "En attente de confirmation" / "بانتظار التأكيد")
   is static text — while the customer waits, nothing under the pulsing
   dot moves. The sub-line now breathes (opacity 0.55 ↔ 1, 2.2s), so
   the pending step reads as in-progress at a glance in both the sent
   view and the orders view. Opacity-only: no layout, no repaint cost
   beyond the text itself. Pure CSS — no JS wiring, no replay problem
   on timeline re-renders (a one-shot animation would re-fire every
   poll; a continuous shimmer cannot).
   -------------------------------------------------------------------------- */
.dx-tl-step.now .dx-tl-body span { animation: dx-pending-shimmer 2.2s ease-in-out infinite; }
@keyframes dx-pending-shimmer {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}

/* --------------------------------------------------------------------------
   §3 REDUCED MOTION — kill the §2 shimmer for users who ask for it.
   (The §1 fix is a static alignment, nothing to disable.)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .dx-tl-step.now .dx-tl-body span { animation: none !important; }
}

/* Design round 21 — STAGED ONLY (page NOT touched, lock held).
   Round: design-round21 · Date: Wed 2026-11-11 ~10:55 CET · Agent: design agent
   Status: STAGED, NOT DEPLOYED. No page edit, no upload, no deploy this
   round — the single-writer rule forbids it (BUILD_LOCK held by the
   ML-zone fix-batch builder da69c635, dispatcher run 2026-11-11 10:44
   CET; see design-round21.md). The patch script (design-round21-patch.py)
   applies this file's §1 rule + the JS change; the integration round
   runs it after rebasing from the served page.

   §1 Door-name chip (psychology P2 2026-11-11, inbox :2122): on a door's
   own pack list the H2 already names the door, so the per-tile region
   repeat ("MENA" under all 15 MENA-door tiles, 12px/600 grey .hint) is
   noise — the eye must skip the same word 15 times to compare amounts
   and prices. The staged patch empties the hint on single-region door
   grids (buildPackCard opts.hideRegionHint; barem merchant labels are
   real info and stay). An empty hint must take no space at all — the
   tile then shows amount + price only, as the prompt's verification
   requires. Search rows (.result-row), cart items and the checkout
   summary keep their door/region labels (packs from different doors
   mix there); the Stars/Premium grids are untouched (their hints are
   merchant / tap-to-order, not a door name).

   No new strings: this fix REMOVES text. No animation, so no
   reduced-motion rule is needed. No selector here overlaps
   design-round20.css (RTL trunc / pending shimmer) — link order
   between the two files does not matter. */

.tile.pack .hint:empty { display: none; }

/* Design round 32 — sent-receipt first-paint row stagger (STAGED ONLY).
   Fold-in of the unique delta from /opt/fftopup/miniapp/staging-anim-20261112.html
   (rounds 25-31: the staging file as a whole must NEVER be deployed — it is a
   Nov-12 full-page snapshot that would revert ~10 deploys; only this one
   feature is extracted here). The staging names were anim-row-in / animRowIn
   in the page's own <style>; here they are dx32-prefixed in this file, per
   the design-round convention, so a future builder re-adding the staging
   names cannot collide.
   Effect: on the sent view's receipt (single pack or multi-item cart), the
   receipt rows rise in one by one, 60 ms apart, on FIRST paint only — the
   flag lives on state.inappPay (ip.dx32ReceiptShown), so status polls
   (processing -> done) re-render the rows instantly, never re-staggering.
   Same family as M6 (grid stagger) and the round-20 pending shimmer.
   Reduced-motion kills it (rows render instantly, as if the class were absent).
   Linked by design-round32-patch.py hunk 1; JS hooks are hunks 2-5. */
.sent-receipt-row.dx32-row-in { animation: dx32-row-in .3s ease both; }
@keyframes dx32-row-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .sent-receipt-row.dx32-row-in { animation: none !important; }
}

/* ---- design-round67.css (bundled 2026-12-03 speed) ---- */
/* Design round 67 — Steam brand trust line (P2 steam-psychology 2026-11-20).
   The Steam brand page led with the region warning and carried no trust
   line; the instant-code promise lived only at checkout. This line reuses
   the checkout's own payTrustCode copy ("Instant code • No password, no
   account needed") directly under the brand title/sub, Steam only.
   Plain centered gold text — deliberately NOT a second warning box, so
   the warning keeps its own visual weight below it. Hidden everywhere
   else (the JS toggles `hidden` in openBrand); applyI18n() updates the
   text on language switch via data-i18n="payTrustCode". */
.stm-trust-line {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 600;
  color: #ffd968;
  text-align: center;
}
.stm-trust-line[hidden] { display: none; }

/* ---- design-round51.css (bundled 2026-12-03 speed) ---- */
/* Design round 51 — TelegramUI Placeholder empty states
   (trending-repos §1.1: Placeholder = image + title + description).
   Staged 2026-11-18 ~22:55 CET on the 2ca91fb2 base (Twitch+Hulu deploy).
   STAGED ONLY — the integration round links this file (see
   design-round51-patch.py) and uploads it to /opt/fftopup/miniapp/
   alongside index.html. Do NOT link it by hand while a builder holds
   the lock.

   What it does: the text-only .empty blocks (orders, wallet tx, saved
   IDs, pack grid, search no-match, favorites, reviews, sell history)
   become image + title + description placeholders. The mark is the
   loader-gold diamond (round 1, static — no animation), the title is
   the first line (::first-line), the rest reads as the description.
   No new strings: every state reuses its existing trilingual key
   (noOrders, noTx, noSavedIds, noPacks, noPacksMatch, filterEmpty,
   favEmpty, rvEmpty, sellHistEmpty).

   Scope discipline: ONLY true empty states carry .dx51-ph (the patch
   adds the class at 10 render sites). Loading states ("Loading your
   orders…") and error / tap-to-retry states (sellHistError, favError,
   rvError, ordersUnavailable) keep the plain .empty look — a spinner
   or a retry must never wear the placeholder mark. The console
   no-match lines (.stm-empty / .ps-empty / .xbx-empty) get the same
   mark, smaller, with no patch needed — they already carry their own
   classes. RTL: mark centered, text centered — nothing directional. */

/* --- the placeholder treatment (applied via .dx51-ph) --- */
.empty.dx51-ph {
  padding: 30px 16px 28px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted-2);
  line-height: 1.55;
  animation: dx51-ph-in .3s ease both;
}
.empty.dx51-ph::before {
  content: "";
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='44'%20height='44'%20viewBox='0%200%2044%2044'%3E%3Crect%20x='13'%20y='13'%20width='18'%20height='18'%20rx='3'%20transform='rotate(45%2022%2022)'%20fill='%23f5b942'/%3E%3Cpath%20d='M22%2016%20L26%2022%20L22%2028%20L18%2022%20Z'%20fill='%23fff8e1'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 0 6px rgba(245, 185, 66, .35));
}
.empty.dx51-ph::first-line {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
@keyframes dx51-ph-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

/* --- console no-match lines: same mark, smaller, no patch needed --- */
.stm-empty::before,
.ps-empty::before,
.xbx-empty::before {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  margin: 0 auto 8px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='44'%20height='44'%20viewBox='0%200%2044%2044'%3E%3Crect%20x='13'%20y='13'%20width='18'%20height='18'%20rx='3'%20transform='rotate(45%2022%2022)'%20fill='%23f5b942'/%3E%3Cpath%20d='M22%2016%20L26%2022%20L22%2028%20L18%2022%20Z'%20fill='%23fff8e1'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .85;
}

@media (prefers-reduced-motion: reduce) {
  .empty.dx51-ph { animation: none; }
}

/* ---- design-round61.css (bundled 2026-12-03 speed) ---- */
/* Design round 61 — checkout stepper tap targets (P2 2026-11-20
   accessibility, inbox :26365, status open).
   Linked from index.html after the design-round51.css link; the page's
   own <style> block ends before the links, so these same-specificity
   rules win. No new strings, no price changes, no JS, no motion. */

/* A. Cart-item / GTA-tile stepper buttons were 30x30 — below the 32px
   tap minimum (measured live: 4 buttons on the 2-item checkout, all
   exactly 30x30 at 360px and at 180px). Grow to the 32px minimum.
   New stepper total 102px (was 98px): at 180px the .ci-qty row wraps
   (live since the 2026-11-20 zoom fix) so the stepper sits on its own
   118px line — 102px still fits, no new overflow. At 360px the row is
   298px, single line, unchanged layout. */
.ci-stepper button { width: 32px; height: 32px; }

/* B. Single-checkout stepper at 200% zoom (180px viewport): the nowrap
   .stepper row (min-content ~205px: label + two 46px buttons + 40px qty
   + gaps) squeezed its buttons to 28px wide and spilled ~21px left,
   leaving a 5px document overflow (docSW 185) on the single-item
   checkout. The buttons are already 46px at 360px — they need no
   resize, only room: wrap the row so it stacks instead of squeezing,
   and never let a stepper button shrink below its sized width. */
@media (max-width: 240px) {
  .stepper { flex-wrap: wrap; }
  .stepper button, .ci-stepper button { flex-shrink: 0; }
}

/* ---- design-round60.css (bundled 2026-12-03 speed) ---- */
/* Design round 60 — Delivery-failed sent screen stays alive.
   P2 xp-motion 2026-11-11 (inbox line 10550): the in-app "Delivery
   failed" screen went fully dead ~1s after it appeared — the fail-hero
   pop is one-shot (0.45s) and the timeline's 'bad' dot is static, so a
   customer whose payment was taken and whose delivery failed saw a
   frozen screen with no sign the store is on it.
   The JS half (design-round60-patch.py, renderInappSent) reuses the
   calm waiting treatment the gplay/stars-fallback branches already
   have: #sentPendingWrap unhidden + gold halo on #sentHaloDot +
   live "checking…" tick. This file adds the slow red pulse on the
   failed timeline dot, mirroring the gold dx-pulse on the 'now' dot
   in design-bundle.css (same 9px ring, red rgba(239,68,68) to match
   the fail-hero #ef4444, slower 2.4s so it reads calm, not alarming).
   No celebrate, no confetti, nothing that fakes delivery — the
   timeline still reads Paid ✓ / Delivering ✕ / Delivered ③ and the
   receipt keeps the failed note. The pulse also covers the refunded
   NotDelivered 'bad' step (same class, same truthful red). */

/* Failed timeline dot: slow red pulse (mirrors .dx-tl-step.now .dx-tl-dot). */
.dx-timeline .dx-tl-step.bad .dx-tl-dot {
  animation: dx60-bad-pulse 2.4s ease-out infinite;
}
@keyframes dx60-bad-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45); }
  70%  { box-shadow: 0 0 0 9px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .dx-timeline .dx-tl-step.bad .dx-tl-dot { animation: none !important; }
}

/* ---- design-round35.css (bundled 2026-12-03 speed) ---- */
/* Design round 35 — celebration tail (STAGED ONLY, not deployed).
   THE GAP: after window.celebrate() ends, the done view sits FROZEN.
   The 3D canvas is removed in finish() at DURATION_MS + 300 (~4.3s);
   the confetti branch releases its guard at 2.5s; the sent ring's
   dxRingGlow runs exactly twice and stops. xp-motion re-proved it live
   twice on 2026-11-14 (deposit rain 19:54 CET, withdraw cashout and
   stars-paid rain 20:54 CET): 0 running animations in the done view at
   t~6s/9s/12s after the celebration, on every leg — the gold check card
   sits frozen until the customer navigates away. The sampler is valid
   (2 twinkle animations still running document-wide at every sample).
   THE FIX: when the celebration finishes, mark the visible done view
   with .dx35-tail (patch hunk: dx35TailOn() in finish() + the confetti
   branch, guarded to #view-sent / #view-deposit / #view-withdraw only —
   celebrateOrderDone can fire from any view). This CSS then keeps a
   GENTLE tail alive on that view: a breathing gold halo around the sent
   check ring, and a soft glow + check breathe + amount pulse on the
   deposit/withdraw done cards. Nothing here touches money, orders, or
   the celebration itself — the canvas still runs exactly as before and
   is still removed on schedule; the tail starts only after it is gone.
   Deliberately NO halo-dot rule: the sent/deposit halo dots are hidden
   outside the gplay-pending wrap, so animating them would be a dead
   rule. The ring halo is a ::after so it never fights the ring's own
   pop/dxRingGlow animation (different element, no shared property).
   Trilingual strings: none — no new text. */
@keyframes dx35-halo {
  0%, 100% { opacity: 0; transform: scale(0.94); }
  50% { opacity: 0.75; transform: scale(1.05); }
}
@keyframes dx35-card {
  0%, 100% { box-shadow: 0 0 0 rgba(245, 197, 66, 0); }
  50% { box-shadow: 0 0 30px rgba(245, 197, 66, 0.30); }
}
@keyframes dx35-check {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}
@keyframes dx35-amt {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.68; }
}
/* Sent view: breathing gold halo around the check ring. position:relative
   is layout-neutral on the grid-centred ring; pointer-events:none so the
   halo can never block a tap. */
#view-sent.dx35-tail .check-ring { position: relative; }
#view-sent.dx35-tail .check-ring::after {
  content: ''; position: absolute; inset: -9px; border-radius: 50%;
  border: 2px solid rgba(245, 197, 66, 0.55); opacity: 0;
  pointer-events: none; animation: dx35-halo 3.2s ease-in-out infinite;
}
/* Deposit / withdraw done cards: soft glow + check breathe + amount pulse. */
#view-deposit.dx35-tail .wd-done-card,
#view-withdraw.dx35-tail .wd-done-card { animation: dx35-card 3.2s ease-in-out infinite; }
#view-deposit.dx35-tail .wd-done-check,
#view-withdraw.dx35-tail .wd-done-check { animation: dx35-check 3.2s ease-in-out infinite; }
#view-deposit.dx35-tail .wd-done-amt,
#view-withdraw.dx35-tail .wd-done-amt { animation: dx35-amt 3.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  #view-sent.dx35-tail .check-ring::after,
  #view-deposit.dx35-tail .wd-done-card,
  #view-withdraw.dx35-tail .wd-done-card,
  #view-deposit.dx35-tail .wd-done-check,
  #view-withdraw.dx35-tail .wd-done-check,
  #view-deposit.dx35-tail .wd-done-amt,
  #view-withdraw.dx35-tail .wd-done-amt { animation: none !important; }
}

/* ---- design-round33.css (bundled 2026-12-03 speed) ---- */
/* Design round 33 — STAGED ONLY (support lists: skeleton + ticket stagger).
   Source: fresh audit pass of the 2026-11-14 base (round 33): the new
   "My tickets" list and the older support history both render BLANK
   while their fetch is in flight, and blank forever on fetch failure;
   ticket cards appear all at once. The skeleton reuses round 1's
   dx-skel / dx-shimmer rows (design-round1.css, already linked) via
   ShoproDesign.showSkeleton(box, 'rows') — this file only adds the
   ticket-card entrance. No new strings, no money/order code. */
.my-ticket.dx33-ticket-in { animation: dx33-ticket-in .3s ease both; }
@keyframes dx33-ticket-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .my-ticket.dx33-ticket-in { animation: none !important; }
}

/* ---- design-round72.css (bundled 2026-12-03 speed) ---- */
/* Design round 72 — region-how helper lines (P2 steam/xbox-psychology 2026-11-23).
   The brand-page region warning demands a match ("Buy the code that matches
   your Steam/Xbox account region") but never says HOW to find your region —
   a new gamer must guess which of 27 Steam / 30 Xbox country doors is theirs,
   and a wrong-region code cannot be redeemed. This line sits directly under
   the warning box (Steam and Xbox only) and names the check, in the
   customer's language. Plain muted text — deliberately NOT a second warning
   box, so the warning keeps its own visual weight above it. Hidden
   everywhere else (the JS toggles `hidden` in openBrand); applyI18n()
   updates the text on language switch via data-i18n.
   The Xbox Gift Cards pointer reuses the existing .xbx-sec-sub class, so it
   needs no rule here. */
.dx72-region-how {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  text-align: start;
}
.dx72-region-how[hidden] { display: none; }

/* ---- design-round59.css (bundled 2026-12-03 speed) ---- */
/* Design round 59 — deposit method tiles press feedback.
   P2 2026-11-20 xp-motion: the BEP20 / Binance Pay tiles on the deposit
   view had zero visual press feedback — :active was true while held but
   the computed transform stayed none, opacity 1, background unchanged,
   so the first tap on the money screen looked dead. The gold Continue
   on the same screen already answers with
   .cta:active { transform: scale(.98) }; this gives the method tiles
   the same answer. No layout change, no new strings. */
.dep-method:active { transform: scale(.98); }

/* ---- design-round71.css (bundled 2026-12-03 speed) ---- */
/* Design round 71 — Most Sold strip-tile press feedback (P2 xp-motion 2026-11-23).
   The home strip tiles (Free Fire — MENA, PUBG Mobile, eFootball) are
   <button> elements with cursor:pointer but no :active rule anywhere on the
   page, so a held tap answered nothing — verified live at 360px: :active
   true, computed transform none, background unchanged, transition 0s. The
   dept tiles answer with button.tile:active at scale 0.97;
   this matches that treatment for the strip, plus a 0.15s transition so
   press and release both read, and a slight dim so the feedback is visible
   on the white logo tiles as well as the dark ones. User-initiated press
   feedback, like the dept-tile rule: no reduced-motion carve-out (same as
   .tile:active). Scoped to .strip-tile only — no other selector touched. */
.strip-tile {
  transition: transform .15s ease, filter .15s ease;
}
.strip-tile:active {
  transform: scale(0.97);
  filter: brightness(.94);
}

/* ---- design-round76.css (bundled 2026-12-03 speed) ---- */
/* Design round 76 — Player-ID lookup wait gets a pulsing dot
   (P2 xp-motion 2026-11-24 ~03:39 CET).
   The defect: while /app/api/player is in flight the checkout shows
   "Checking ID…" with nothing that moves. The single-pack line gets the
   bundle's .dx-checking shimmer sweep (a 16%-opacity gold gradient
   behind muted 14.5px text — easy to read as static), and the cart and
   Bonus Double lines do not even get that: they paint plain
   className 'nick-line' + the same text. The sent view's wait-clock
   already has the unmistakable "working" signal — three gold dots on
   the page's waitDotPulse keyframe (1.2s, scale .7->1.25, opacity
   .45->1). This file puts ONE such dot before the checking text on any
   .nick-line.dx-checking, reusing that pulse shape with its own
   keyframe (self-contained: no dependency on the page's keyframe name).
   The Pay button needs nothing: refreshPayBtn() already disables it
   and relabels it "Checking ID…" (single) / payVerifyingIds (cart)
   while the lookup runs — the wait signal belongs on the line, not on
   a disabled button. No strings, no prices, no JS behaviour change
   beyond the two one-token class additions in the patch (cart + bonus
   checking branches now also carry dx-checking, so the dot + shimmer
   apply there too; every resolve path in all three flows overwrites
   className in full, so the dot can never stick on a resolved line).
   RTL-safe: margin-inline-end, so the dot sits before the text in
   Arabic too. Reduced motion: the dot goes static gold; the text
   still reads "Checking ID…". */
.dx-checking::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4af37;
  margin-inline-end: 7px;
  vertical-align: middle;
  position: relative;
  z-index: 1;
  animation: dx76-dot-pulse 1.2s ease-in-out infinite;
}
@keyframes dx76-dot-pulse {
  0%, 100% { transform: scale(.7); opacity: .45; }
  50% { transform: scale(1.25); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .dx-checking::before { animation: none; }
}

/* ---- design-round83.css (bundled 2026-12-03 speed) ---- */
/* Design round 83 — first-run onboarding sheet "Don't show again" toggle.
   P2 xp-motion 2026-11-27 ~02:24 CET, tag xpmotion-20261127-0224-nevershow-ev:
   label.dx-onb-again (the checkbox a new customer taps first) is a
   pressable with no visible press rule on either input — a mouse hold
   fires the press state but nothing changes, and on touch it never fires
   at all. The sheet's siblings answer with scale + opacity dim (Skip
   0.96 / 0.65, Start 0.98), so the toggle answers the same way:
   scale(0.97) per the filed proposal + opacity 0.75 (the round-82
   linklike value). Transform + opacity only: no layout, geometry, or
   text change. The touch leg is the staged round-81 document touchstart
   enabler; this rule is the missing half it cannot supply. The base
   .dx-onb-again rule lives in design-bundle.css (the sheet module
   injects its styles there); this file only adds the press state. */
.dx-onb-again:active { transform: scale(0.97); opacity: 0.75; }

/* ---- design-round93.css (bundled 2026-12-03 speed) ---- */
/* Design round 93 — "living tail" for the settled money screens.
   P2s xp-motion 2026-11-27 slice 4 (Dead moments), re-proved on served
   base 95e8d262... (2026-11-29 ~16:50 CET): #view-profile, #view-stars
   and #view-sellhist show 0 looping animations after t>2000ms — only
   one-shot entrances (fadein, the dx-flash count-up landing) and the
   doc-wide twinkles. One slow ambient motion per view, all dx93-
   prefixed, all killed by prefers-reduced-motion. No JS, no strings,
   no prices, no layout change (border-color / box-shadow / transform /
   background-position only — nothing that moves siblings or shifts
   text). Every keyframe is rest-neutral: at 0%/100% each animated
   property equals the element's resting style, so pausing the
   animation mid-flight (or a browser that drops it) leaves the
   screen byte-identical to today. */

@keyframes dx93-breathe {
  0%, 100% { border-color: rgba(245, 197, 66, 0.30); box-shadow: 0 0 0 rgba(245, 197, 66, 0); }
  50% { border-color: rgba(245, 197, 66, 0.60); box-shadow: 0 0 24px rgba(245, 197, 66, 0.20); }
}
@keyframes dx93-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(245, 197, 66, 0); }
  50% { box-shadow: 0 0 22px rgba(245, 197, 66, 0.18); }
}
@keyframes dx93-hero-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4); }
  50% { transform: scale(1.04); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 28px rgba(245, 197, 66, 0.25); }
}
@keyframes dx93-shimmer {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0% 0; }
}

/* Profile/Wallet — the wallet card breathes gold. Filing: "a slow gold
   shimmer on the balance figure or the wallet card border". The border
   breathe is the calmer of the two: it never touches the balance
   figure's text pipeline (count-up flash stays exactly as live). */
#view-profile .wallet { animation: dx93-breathe 5s ease-in-out infinite; }

/* Stars — the star hero pulses slowly. Filing: "a slow shimmer/pulse
   on the star hero or the current-rate figure". The hero is the view's
   identity and the only element visible in buy, sell and gplay modes;
   the rate figure keeps its static reading (no shimmer over numbers
   the customer compares). */
#view-stars .stars-icon { animation: dx93-hero-pulse 4.5s ease-in-out infinite; }

/* Stars sell panel — the YOU RECEIVE rate row glows softly. Filing:
   "a subtle breathing glow on the sell/rate row". Box-shadow only, so
   the row's resting border (var(--stroke)) is never touched; the
   animation is inert while the sell panel is hidden. */
#view-stars #starsSellWrap .rate-card { animation: dx93-glow 5s ease-in-out infinite; }

/* Sell history — the totals line shimmers gold. Filing: "a slow
   shimmer on the totals line". background-clip:text is already live
   in the page (.grad-title); the gradient is muted -> gold -> muted,
   so at rest the line reads as today's muted note with gold at one
   edge. The count line below it stays static. */
#view-sellhist #sellHistTotalLine {
  background: linear-gradient(100deg, var(--muted) 40%, var(--gold-2) 50%, var(--muted) 60%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: dx93-shimmer 5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  #view-profile .wallet, #view-stars .stars-icon,
  #view-stars #starsSellWrap .rate-card, #view-sellhist #sellHistTotalLine { animation: none; }
  /* With the animation off the totals line must read as today's plain
     muted note, not as transparent text over a static gradient. */
  #view-sellhist #sellHistTotalLine {
    background: none; -webkit-background-clip: border-box; background-clip: border-box;
    color: var(--muted);
  }
}

/* ---- design-round94.css (bundled 2026-12-03 speed) ---- */
/* Design round 94 — "living tail" part 2: the four remaining settled
   views (P2s xp-motion 2026-11-27 slice 4, "Dead moments", named next
   by round 93). Re-proved on served base d6c44d07... (2026-11-29
   ~22:50 CET): no infinite animation rule targets any element of
   these four views — the only looping animations that can appear in
   them are the delivered-state holo rules (#view-sent .view-title.
   holo-title, .sent-receipt.holo-card), which only ever fire when the
   order delivered; the failed/refunded sent heroes, the delivered
   order pill, the Favorites rows and the selected Support category
   chip are all static once their one-shot entrances end. One slow
   ambient motion per view, all dx94- prefixed, all killed by
   prefers-reduced-motion. No JS, no strings, no prices, no layout
   change (box-shadow / text-shadow / border-color only — nothing
   that moves siblings or shifts text). Every keyframe is
   rest-neutral: at 0%/100% each animated property equals the
   element's resting style, so pausing the animation mid-flight (or
   a browser that drops it) leaves the screen byte-identical to
   today. The fail/refund heroes keep their pop entrance: the page
   rule gives them `animation: pop 0.45s ...` and this file's more
   specific rule lists pop first, then the breathe after a 0.45s
   delay — the entrance plays exactly as live, the tail starts as
   it ends. */

@keyframes dx94-fail-breathe {
  0%, 100% { box-shadow: 0 0 44px rgba(239, 68, 68, 0.35); }
  50% { box-shadow: 0 0 62px rgba(239, 68, 68, 0.55); }
}
@keyframes dx94-refund-breathe {
  0%, 100% { box-shadow: 0 0 44px rgba(52, 211, 153, 0.35); }
  50% { box-shadow: 0 0 62px rgba(52, 211, 153, 0.55); }
}
@keyframes dx94-done-glow {
  0%, 100% { text-shadow: 0 0 0 rgba(52, 211, 153, 0); }
  50% { text-shadow: 0 0 12px rgba(52, 211, 153, 0.5); }
}
@keyframes dx94-fav-breathe {
  0%, 100% { border-color: var(--stroke); }
  50% { border-color: rgba(245, 197, 66, 0.45); }
}
@keyframes dx94-cat-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(245, 197, 66, 0); }
  50% { box-shadow: 0 0 18px rgba(245, 197, 66, 0.4); }
}

/* Sent, failed/refused/error — the red ✕ hero breathes softly.
   .fail-hero is unhidden only for st failed/refused/error (sent
   render :24300: `fail.hidden = !isFail`), so this rule can never
   fire on the delivered screen (the holo owns that) or while the
   order is still waiting (the wait ring owns that). A shadow
   breathe, not a scale pulse: a heartbeat on a failure reads as
   an alarm; a glow says settled. */
#view-sent .fail-hero { animation: pop 0.45s cubic-bezier(0.2, 1.6, 0.4, 1), dx94-fail-breathe 5s ease-in-out 0.45s infinite; }

/* Sent, refunded — the green refund hero breathes the same way.
   .refund-hero is unhidden only for st refunded (`rfHero.hidden =
   !isRefund`); same calm shadow breathe, green. */
#view-sent .refund-hero { animation: pop 0.45s cubic-bezier(0.2, 1.6, 0.4, 1), dx94-refund-breathe 5s ease-in-out 0.45s infinite; }

/* Orders, all-delivered — the Delivered pill glows softly. The
   card carries no delivered class of its own (ordBuildCard sets
   `st.className = 'st ' + sm[1] + ' dx-pill'`, sm[1] 'done' only
   for delivered), so the pill text is the delivered marker. A
   text-shadow glow, not a colour shift: the pill's resting colour
   (var(--green-soft)) is never touched, and the glow reads on the
   13px bold text where a border would not fit. Pending/failed
   pills (sm[1] 'pending'/'failed') are untouched — pending already
   has its own motion (the race bar, orders-screen UIX builder). */
#view-orders .order .st.done { animation: dx94-done-glow 5s ease-in-out infinite; }

/* Favorites — the saved rows breathe gold at the border. Every row
   in the view is a button.result-row (favPackRow, favProductRow and
   favShortcutRow all build one), resting on `border: 1px solid
   var(--stroke)`; the breathe walks the border to gold and back.
   Scoped to #view-favorites so the same .result-row class in
   search results never breathes. */
#view-favorites .result-row { animation: dx94-fav-breathe 5s ease-in-out infinite; }

/* Support — the selected category chip glows softly. Exactly one
   chip carries .on at a time (supportCatRow toggles it on tap);
   the resting chip is already gold-filled (#f5c518), so a border
   breathe would be invisible — the glow is the motion. The blue
   unselected chips are untouched (the blue-buttons P2 owns them). */
#view-support .sup-cat-row .btn-outline.on { animation: dx94-cat-glow 5s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  #view-orders .order .st.done,
  #view-favorites .result-row,
  #view-support .sup-cat-row .btn-outline.on { animation: none; }
  /* The heroes keep exactly their current reduced-motion behaviour:
     the page kills no pop today (no reduced-motion block mentions
     pop, .fail-hero or .refund-hero), so the entrance pop stays and
     only the breathe stops. */
  #view-sent .fail-hero, #view-sent .refund-hero { animation: pop 0.45s cubic-bezier(0.2, 1.6, 0.4, 1); }
}

/* ---- design-round96.css (bundled 2026-12-03 speed) ---- */
/* Design round 96 — dept-grid first-paint nav-cut (P2s xp-visual
   2026-11-30: Gift Cards + Games dept 2nd-row names/prices behind the
   floating nav; same defect class as the 9 older dept first-paint P2s).
   Measured geometry, 360x640, served base 67ae7765 (probe
   council/xpvis-first-20261130-1027-results.json + -1042):
   nav top y551 (pill y551-628); dept row 1 names y312-353, prices
   y357-375; row 2 names y563-604, prices y608-626 — fully inside the
   nav band, art only visible. Row pitch 251px.
   Fix budget (row-2 price bottom 626 -> <= 549, i.e. -77px; this file
   delivers -80px, 5px clearance): tile art 124 -> 104 (-20px/row,
   counts TWICE on row 2: row 1 is shorter AND row 2's own art is
   shorter = -40); tile padding-top 20 -> 14 (-6 x2 = -12);
   tile padding-bottom 18 -> 12 (-6, row 1 only); row gap 14 -> 10
   (-4); dept title margin-top 22 -> 12 (-10); dept sub margin-bottom
   20 -> 12 (-8). Total -80. Row-2 prices land ~546, names ~483-524.
   Scoped to #brandGrid / #view-dept only: home tiles, strip tiles,
   brand pages and door views are untouched (their .tile rules keep
   124px art and 20/18px padding). TRAP (caught by the round-96
   headless probe — read before touching these selectors):
   #deptGrid is the HOME department grid (renderDepartments), NOT
   the dept view's grid; the dept view (openDept) renders into
   #brandGrid. An earlier draft of this file scoped the tile rules
   to #deptGrid — that would have shrunk the HOME tiles and left
   the filed defect untouched. The probe proved it: the header
   rules (#view-dept ...) moved the title/sub -10px, but the
   #deptGrid-scoped tile rules measured 0,0 rects on hidden home
   tiles while the dept tiles stood still. #brandGrid is the only
   correct scope for the tile rules. No new classes, no keyframes, no
   strings, no prices, no JS, no money/order flow. Names are NOT
   clamped and art is NOT cropped — logos scale down 16% in the same
   contain box. Residual variance (round 82): a dept whose ROW-1 tile
   name wraps to 3 lines grows row 1 by ~21px and eats the clearance;
   the measured depts have 2-line-max row 1. A 3-line row-1 dept needs
   its own check — see design-round96.md. */
#brandGrid { row-gap: 10px; }
#brandGrid .tile { padding: 14px 10px 12px; }
#brandGrid .tile .art { height: 104px; }
#view-dept .view-title { margin: 12px 0 8px; }
#view-dept .view-sub { margin: 0 auto 12px; }

/* ---- design-round97.css (bundled 2026-12-03 speed) ---- */
/* Design round 97 — Xbox brand-page first-paint nav-cut.
   P2 xp-visual 2026-11-30 ~10:42 CET (slice 0 First viewport), live
   360x640 walk on served base 67ae7765, re-proved on e6112a0e by the
   round-97 probe (council/debug_design_round97.mjs): on the Xbox brand
   page the first hero slide's copy sits under the floating nav — genre
   pill y501-522, name y529-553 (just clears the nav), price
   ".xbx-price" y558-579 fully inside the nav band (nav top y551).
   First slide: "Game Pass Essential" From $9.18; the same row carries
   Halo Infinite $14.56, Forza Horizon 5 $26.77, Starfield $66.21.

   CORRECTION to the round-96 diagnosis: the flagged row is the HERO
   SLIDE's bottom-anchored copy (.xbx-copy { bottom: 12px }), NOT the
   horizontal rail cards — the rail cards (.xbx-railcard, 150px) sit
   below the fold. The slide height is set ONLY by its min-height
   (the img is absolute inset 0, object-fit cover), so trimming
   min-height lifts the whole copy block 1:1. No rail rule is touched.

   Geometry (probe council/xpvis-first-20261130-1042-results.json,
   xbox leg): slide top ~395, min-height 196 -> slide bottom ~591;
   copy = genre 21 + 7 margin + name 24 + 4 margin + price 21 = 77px
   + bottom 12px = 89px from the slide bottom. Price bottom 579 must
   reach <= 546 (nav top 551, 5px clearance): -33px.

   Fix (2 scoped override rules, -39px, 11px clearance):
   - slide min-height 196 -> 163 (-33). At 88% width (~289px) the
     slide is 1.77:1; the art is a 2.67:1 hero, cover-cropped — the
     visible art band above the copy is ~74px, still a clear strip,
     and a 2-line game name still fits (copy max ~113px < 163px).
   - .xbx-sub margin-bottom 10 -> 4 (-6), the summary line directly
     above the hero ("Gift cards · Game Pass · Games — From $0.51").
   Scoped to #view-brand: the .xbx-* classes are Xbox-only (1 rule
   each in the page) and no other brand page, dept view, door view
   or the home grid is touched. No JS, no strings, no prices, no
   money/order flow, no animation, no clamping, no cropping of the
   copy. Names are not clamped; the slide art is not replaced. */
#view-brand .xbx-slide { min-height: 163px; }
#view-brand .xbx-sub { margin: 0 2px 4px; }

/* ---- design-round98.css (bundled 2026-12-03 speed) ---- */
/* Design round 98 — "living tail" part 3: the delivered-order receipt
   sheet is fully static (P2 xp-motion 2026-11-30 ~09:54 CET, slice 4
   Dead moments). Live 360x640 walk on served base 67ae7765, re-proved
   on 681de00b by the round-98 probe (council/debug_design_round98.mjs):
   the expanded Details of a delivered order never moves and opens
   with a hard cut — 6 open samples over 544ms + 7 steady samples
   over 3.22s, 0 running animations inside the sheet at every sample,
   transitionDuration 0s. The only motion in the card is the chevron
   rotating 180° (.18s) and the card-level dx94-done-glow — neither
   reaches the sheet. Static cause on this base: .ord-details is
   display:none -> display:block with no transition (served :1842-1843);
   dx94-done-glow lives in design-round94.css and is applied to the
   card's .st.done pill, not the sheet.

   Fix (2 scoped rules + 2 keyframes, CSS only — no JS, no strings, no
   prices, no money/order flow, no layout change: border-color /
   opacity / transform only, nothing that moves siblings or shifts
   text):
   - Open ease: the sheet fades + rises 6px over .3s when Details
     opens (the same fadein language as .view.on). One-time per open.
   - Living tail: the sheet's dashed top border breathes from its
     resting stroke colour to the delivered green and back on the same
     5s ease-in-out loop as the dx94-done-glow on the pill above it,
     so card and sheet breathe together. Green (rgba(52,211,153,.45))
     is the delivered colour — the same green as the pill glow and the
     timeline's done dots — never gold here.
   Scoped to #view-orders .order.ord-st-done.ord-open .ord-details:
   ordBuildCard sets the card class `ord-st-` + _vd (served :11573),
   and _vd is 'done' only for delivered orders (verifiedDisplayStatus
   :11130), so cancelled/failed/refunded/waiting sheets are untouched
   — the cancelled sheet is its own filed P2 (inbox :62636) and keeps
   its hard cut until its own round. The open ease is delivered-only
   too, for the same reason. Every keyframe is rest-neutral at 0%/100%
   (the glow's ends equal the resting border colour), so pausing the
   animation mid-flight leaves the screen byte-identical to today.
   prefers-reduced-motion kills both animations, leaving exactly
   today's display:block behaviour. */
@keyframes dx98-sheet-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes dx98-sheet-glow {
  0%, 100% { border-top-color: var(--stroke); }
  50% { border-top-color: rgba(52, 211, 153, 0.45); }
}
#view-orders .order.ord-st-done.ord-open .ord-details {
  animation: dx98-sheet-in .3s ease-out, dx98-sheet-glow 5s ease-in-out .3s infinite;
}
@media (prefers-reduced-motion: reduce) {
  #view-orders .order.ord-st-done.ord-open .ord-details { animation: none; }
}

/* ---- design-round99.css (bundled 2026-12-03 speed) ---- */
/* Design round 99 — "living tail" part 4: the cancelled-order receipt
   sheet is fully static (P2 xp-motion 2026-11-30 ~07:24 CET, slice 4
   Dead moments, inbox :62636). Live 360x640 walk on served base
   59173c58, re-proved on 425c77f5 by the round-99 probe
   (council/debug_design_round99.mjs): the expanded Details of a
   cancelled order never moves and opens with a hard cut — 7 samples
   over 3.26s, 0 running animations inside the sheet at every sample,
   transitionDuration 0s. The only motion in the card is the chevron
   rotating 180° (.18s) — it never reaches the sheet. Static cause on
   this base: .ord-details is display:none -> display:block with no
   transition (served :1849-1850); no dx94-style glow reaches the
   sheet (dx94-done-glow is delivered-only, on the .st.done pill).

   Fix (2 scoped rules + 2 keyframes, CSS only — no JS, no strings, no
   prices, no money/order flow, no layout change: border-color /
   opacity / transform only, nothing that moves siblings or shifts
   text):
   - Open ease: the sheet fades + rises 6px over .3s when Details
     opens (the same fadein language as .view.on, and the same ease
     round 98 gave the delivered sheet). One-time per open.
   - Living tail: the sheet's dashed top border breathes from its
     resting stroke colour to the cancelled red and back on the same
     5s ease-in-out loop as the dx94-done-glow on the delivered pill,
     so the cancelled sheet breathes with the same rhythm as its
     delivered sibling. Red (rgba(239,68,68,.45)) is the cancelled
     colour — the same red as the card border #ef4444 and the
     .st.failed pill #f87171 — never gold here.
   Scoped to #view-orders .order.ord-st-cancelled.ord-open .ord-details:
   ordBuildCard sets the card class `ord-st-` + _vd (served :11594),
   and _vd is 'cancelled' only for orders whose raw status is
   'cancelled' (verifiedDisplayStatus :11151 — deposits with a
   cancelled status map to 'failed', so their sheets are untouched),
   so delivered/failed/refunded/waiting sheets are untouched — the
   failed sheet is its own filed P2 (inbox :16525) and keeps its hard
   cut until its own round. The open ease is cancelled-only too, for
   the same reason. Every keyframe is rest-neutral at 0%/100% (the
   glow's ends equal the resting border colour), so pausing the
   animation mid-flight leaves the screen byte-identical to today.
   prefers-reduced-motion kills both animations, leaving exactly
   today's display:block behaviour. */
@keyframes dx99-sheet-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes dx99-sheet-glow {
  0%, 100% { border-top-color: var(--stroke); }
  50% { border-top-color: rgba(239, 68, 68, 0.45); }
}
#view-orders .order.ord-st-cancelled.ord-open .ord-details {
  animation: dx99-sheet-in .3s ease-out, dx99-sheet-glow 5s ease-in-out .3s infinite;
}
@media (prefers-reduced-motion: reduce) {
  #view-orders .order.ord-st-cancelled.ord-open .ord-details { animation: none; }
}

/* ---- design-round100.css (bundled 2026-12-03 speed) ---- */
/* Design round 100 — "living tail" part 5: the failed-order receipt
   sheet is fully static (P2 xp-motion, inbox :16525 — the failed sent
   screen). Live 360x640 walk on served base 59173c58 (the cancelled
   sheet's filing run) re-proved on 346f39a0 by the round-100 probe
   (council/debug_design_round100.mjs): the expanded Details of a
   failed order never moves and opens with a hard cut — 7 samples
   over 3.5s, 0 running animations inside the sheet at every sample,
   transitionDuration 0s. The only motion in the card is the chevron
   rotating 180° (.18s) — it never reaches the sheet. Static cause on
   this base: .ord-details is display:none -> display:block with no
   transition (served :1864-1865); no dx94-style glow reaches the
   sheet (dx94-done-glow is delivered-only, on the .st.done pill;
   dx98/dx99 glows are delivered/cancelled-sheet-only).

   Fix (2 scoped rules + 2 keyframes, CSS only — no JS, no strings, no
   prices, no money/order flow, no layout change: border-color /
   opacity / transform only, nothing that moves siblings or shifts
   text):
   - Open ease: the sheet fades + rises 6px over .3s when Details
     opens (the same fadein language as .view.on, and the same ease
     rounds 98/99 gave the delivered/cancelled sheets). One-time per
     open.
   - Living tail: the sheet's dashed top border breathes from its
     resting stroke colour to the failed red and back on the same
     5s ease-in-out loop as the dx94-done-glow on the delivered pill
     and the dx98/dx99 sheet glows, so the failed sheet breathes with
     the same rhythm as its delivered and cancelled siblings. Red
     (rgba(239,68,68,.45)) is the failed colour — the same red as the
     failed card border #ef4444 and the .st.failed pill #f87171 —
     never gold here, never amber: amber appears nowhere in the
     failed card's own styling (round 99's "failed-red/amber" hedge
     is settled on red, the colour the sheet already wears).
   Scoped to #view-orders .order.ord-st-failed.ord-open .ord-details:
   ordBuildCard sets the card class `ord-st-` + _vd (served :11810),
   and _vd is 'failed' only for orders whose raw status is failed /
   rejected / expired / closed with failure_confirmed, and for
   deposits with a failed / rejected / cancelled / expired / closed
   status (verifiedDisplayStatus :11367 — deposits with a cancelled
   status map to 'failed', so their sheets get this treatment, never
   the cancelled one; refunded orders map to 'refunded' first, so
   refunded sheets are untouched). Delivered/cancelled/refunded/
   waiting sheets are untouched — the open ease is failed-only too,
   for the same reason. Every keyframe is rest-neutral at 0%/100%
   (the glow's ends equal the resting border colour), so pausing the
   animation mid-flight leaves the screen byte-identical to today.
   prefers-reduced-motion kills both animations, leaving exactly
   today's display:block behaviour. With this round the orders-sheet
   family is complete: delivered ✓ (98), cancelled ✓ (99),
   failed ✓ (100); refunded and waiting sheets stay static by
   design — no filed defect covers them. */
@keyframes dx100-sheet-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes dx100-sheet-glow {
  0%, 100% { border-top-color: var(--stroke); }
  50% { border-top-color: rgba(239, 68, 68, 0.45); }
}
#view-orders .order.ord-st-failed.ord-open .ord-details {
  animation: dx100-sheet-in .3s ease-out, dx100-sheet-glow 5s ease-in-out .3s infinite;
}
@media (prefers-reduced-motion: reduce) {
  #view-orders .order.ord-st-failed.ord-open .ord-details { animation: none; }
}

/* ---- design-round101.css (bundled 2026-12-03 speed) ---- */
/* Design round 101 — brand-door-row first-paint nav-cut (P2 xp-visual
   2026-11-30 00:27, PUBG Web UC / FF Indonesia / PS Lebanon door rows).
   Measured geometry, 360x640, served base dba277a1 (probe
   council/design-round101-probe-results.json, phase A) — first
   measured on 84975fff, re-proved pixel-identical on dba277a1
   after the cryptoqr deploy moved the base mid-round (first-pass
   evidence kept as design-round101-probe-results-84975fff.json):
   nav top y551 (pill y551-628); header stack on #view-brand: backbtn
   y10-51, title y73-106 (mt 22, mb 8), sub y114-137 (mb 20), doorList
   y157 (PS: brandWarn y157-238 pushes doorList to y252, + a brand
   search field before the first row).
   Filed rows, BEFORE: PUBG "Web UC" row y582-653, "From $4.71"
   y608-627 fully inside the nav band; FF "Indonesia" row y541-595,
   "From $0.05" y558-577 inside the nav band, "Cambodia" price
   y622-641 straddling the nav bottom; PS "Lebanon" row y570-624,
   "From $9.15" y587-606 fully inside the nav band. PUBG now has 13
   doors (was 7 on Nov 30), FF 16, PS 42 — the Arabic two-line labels
   (Nov 28) made rows 71px tall, so the cut sits one row higher than
   the Nov-30 filing. Guard clean on all 3 legs (0 JS errors, 0
   real-money POSTs, meCalls 2, sw = cw = 360).
   Fix budget (price bottom -> <= 549, i.e. 2px clearance above nav
   top 551): PUBG Web UC needs -78, FF Cambodia needs -92, PS
   Lebanon needs -57. This file delivers, per flagged price:
   PUBG -93 (price 627 -> 534, clearance 17px), FF Indonesia -107
   (577 -> 470), Cambodia -121 (641 -> 520, clearance 31px), PS
   Lebanon -79 (606 -> 527, clearance 24px).
   How each lift is built (trims ABOVE the flagged row + its own
   top padding; a row's own padding moves its price -5px within the
   row because .door-from is vertically centered): door-row padding
   15 -> 10 (-10/row: -5 top + -5 bottom), margin-bottom 10 -> 6
   (-4/gap), title margin-top 22 -> 12 (-10), sub margin-bottom
   20 -> 12 (-8). PUBG: 5 rows above x -10 = -50, 5 gaps x -4 = -20,
   header -18, own top -5 = -93. FF: 6 rows -60, 6 gaps -24, header
   -18, own -5 = -107 (Cambodia: 7 rows -70, 7 gaps -28, header -18,
   own -5 = -121). PS: 4 rows -40, 4 gaps -16, header -18, own -5
   = -79. The PS brand search field and region warning are NOT
   trimmed (untouched, contribute 0 to the lift; the budget holds
   without them).
   Why trims, not the filed "bottom padding / scroll offset": the
   .app already carries 178px bottom padding, so every row is
   reachable by scrolling today — the remaining defect is purely
   first-paint visibility, and bottom padding does not move first
   paint. This follows the nav-cut family's established fix
   (rounds 96/97: spacing trims to first-paint visibility).
   Touch target: single-line rows land at exactly 44px tall
   (10 + 10 padding + 24px flag), the 44x44 minimum (trending
   3.7); two-line rows ~61px; the 3-line PUBG first row ~82px.
   Scoped to #view-brand only: home tiles, dept tiles (#brandGrid,
   round 96), door-view pack cards, Xbox slides (round 97) and the
   order sheets (rounds 98/99/100) are untouched. No new classes,
   no keyframes, no strings, no prices, no JS, no money/order flow.
   Names are NOT clamped and flags are NOT shrunk. Rows below the
   flagged ones (e.g. PUBG Gift Codes, PS Oman) stay below the fold
   at first paint — they were never filed; they are reachable by
   scroll and clear the nav at max scroll via the .app padding.
   Vertical-only trims: no RTL impact. No animation: no
   reduced-motion rule needed. */
#view-brand .view-title { margin-top: 12px; }
#view-brand .view-sub { margin-bottom: 12px; }
#view-brand .door-row { padding: 10px 17px; margin-bottom: 6px; }

/* ---- design-round102.css (bundled 2026-12-03 speed) ---- */
/* Design round 102 — BEP20 deposit QR first-paint nav-cut + gold frame
   (P2 xp-visual 2026-12-01 ~16:57 [xpvis-20261201-1657-depqr] + sibling
   P2 xp-light 2026-12-01 ~17:06 [xplight-20261201-1706-depqr]).
   Measured geometry, 360x640, served base a0631efb (probe
   council/debug_design_round102.mjs, phase A; A2 stack read
   council/debug_design_round102_a2.mjs): nav.nav y551-628; header
   .dep-head y10-63, .view-title y85-118 (mt 22, mb 8), .view-sub y126-149
   (mb 20); #depInstr y169-927, docH 1105; #depInstrText y169-249 (80px,
   padding 16/16); amount row y257-298 (41px, mt 8, pad 10/10); ref row
   y306-371 (65px, mt 8, pad 10/10 — the 43px Copy button drives it);
   .dep-qr-wrap y383-745 (mt 12); .dep-qr-net y383-410 (20px/800, mt 2,
   mb 8); .dep-qr-warn y418-497 (79px, pad 10/10); .dep-qr-box y509-713
   (204x204, mt 12, mb 6, pad 12; svg 180x180 y521-701); .dep-qr-hint
   y728-745 (17px, mt 4); address row y753-823 (70px, mt 8);
   .dep-actions y837-873 (mt 14); #depStatusNote y895-914 (mt 22).
   BEFORE: elementFromPoint at the QR centre returns NAV.nav — only the
   top ~42px of the box peeks above the nav; the code cannot be scanned
   at rest. On 360x800 the centre already hits the SVG path (only the
   bottom ~2px + hint are cut) — the fix is sized for 640 and clears 800
   by a mile. Guard clean on both legs (0 JS errors, 0 real-money POSTs,
   meCalls 4, sw = cw = 360). The .dep-qr-box is also a flat white glare
   block (bg #fff, border 0, shadow none) — the only frameless element on
   its screen (warning has a 1.5px red border, copy rows navy + border,
   Copy button blue outline).
   Fix budget (hint bottom -> <= 549, i.e. 2px clearance above nav top
   551): the hint bottom is y745 today, so the lift is -196. Pure spacing
   trims above the QR deliver only -81 (header -18, instrText -16,
   copy rows -12, wrap mt -4, net -9, warn -8, box mt -4, box height
   -10: padding -4 + svg 180 -> 170 -10 + 2px border +4), taking the box
   bottom 713 -> 632 — still 83 short of the budget.
   Even shrinking the QR to 100px would not clear the nav without a
   reorder — so the reorder is FORCED by geometry, not taste: the QR
   wrap moves above the amount + ref rows inside #depCopyRows (flex
   column + order -1 on the wrap; the container's other children keep
   DOM order, so every other deposit method renders identically apart
   from the shared -18 header / -4 copy-row padding trims). The reorder
   lifts the wrap by the two rows' height + margins (-110 after trims).
   Delivered lift: -191 on the box (713 -> 522), hint 745 -> 545
   (clearance 6px). The gold frame is the store's own gold (--gold-2,
   the same gold as the network name above it): 2px solid + a soft
   depth shadow; the box padding 12 -> 10 exactly offsets the border,
   so with the svg 180 -> 170 the box lands at 194x194 outer.
   NOT fixed by this batch, deliberately: the address copy row (y753-823
   today) stays below the fold at first paint — getting its bottom to
   <= 549 would need -274px of lift, i.e. gutting the screen; it is
   reachable by scroll and clears the nav at max scroll via the .app
   178px bottom padding (same call as round 101's unfiled rows below
   the flagged ones). The filed "address row visible at rest" ask is
   unachievable on 360x640 with this stack; the scan target + its hint
   + network name + warning ARE fully visible at rest after this fix.
   Scope: #view-deposit header trims apply to every deposit screen
   (same family fix as rounds 96/97/101 — one view, one spacing);
   #depInstr / #depCopyRows trims apply to every deposit method's
   instruction screen (same -18/-4 tightening, order unchanged);
   the reorder + frame rules only match when .dep-qr-wrap exists,
   i.e. BEP20 only. No new classes, no keyframes, no strings, no
   prices, no JS, no money/order flow. No animation: no reduced-motion
   rule needed. The 44px touch minimum is untouched (Copy button 43px
   tall is pre-existing; rows stay >= 35px). */
#view-deposit .view-title { margin-top: 12px; }
#view-deposit .view-sub { margin-bottom: 12px; }
#depInstrText { padding-top: 8px; padding-bottom: 8px; }
#depCopyRows { display: flex; flex-direction: column; }
#depCopyRows > .dep-copy { padding-top: 8px; padding-bottom: 8px; margin-top: 6px; }
#depCopyRows .dep-qr-wrap { order: -1; margin-top: 8px; }
.dep-qr-wrap .dep-qr-net { margin-top: 0; margin-bottom: 4px; font-size: 18px; }
.dep-qr-wrap .dep-qr-warn { padding-top: 6px; padding-bottom: 6px; }
.dep-qr-wrap .dep-qr-box { margin-top: 8px; margin-bottom: 4px; padding: 10px; border: 2px solid var(--gold-2); box-shadow: 0 10px 28px rgba(0, 0, 0, .35); vertical-align: top; }
.dep-qr-wrap .dep-qr-box svg { width: 170px; height: 170px; }
.dep-qr-wrap .dep-qr-hint { margin-top: 2px; }

/* ---- design-round105.css (bundled 2026-12-03 speed) ---- */
/* Design round 105 — gold-light buy path (dx105).
 *
 * Closes the xp-light "zero gold light" P2 family (filed 2026-11-27 and
 * after; 62 open prompts at round start) with ONE shared layer instead
 * of one builder per door. The defect, re-proved on served 7077fe4d
 * (2,562,776 B, 2026-12-02 ~16:50 CET): every buy surface is the same
 * flat navy card — background var(--card) #1d2334 / var(--card2)
 * #232b40, border 1px/1.5px solid var(--stroke) #2f3852, no shadow —
 * while the brightest thing on each screen is a pure-white price pill
 * (lum 1.0). The gold family exists on the page but never reaches a
 * buy tile: it lives on the selected tile, the Pay button and the nav
 * pill only. So the eye is led to chrome, not to the buy.
 *
 * Two rules, both graded BELOW the existing strong gold so the
 * hierarchy survives:
 *   1. Faint gold edge on every unselected buy surface
 *      (border rgba(245,185,66,0.35) + soft glow) — clearly weaker
 *      than .pack.selected / .dep-method.selected (2px ring
 *      rgba(245,185,66,0.55) + 26px glow rgba(245,185,66,0.18)),
 *      and far weaker than the gold Pay bar (.cta gradient +
 *      30px glow) and .cartbar .buy (gradient + 28px glow).
 *   2. Gold price pill (.pr + .pack .price): the white #fff pill
 *      becomes the same gold gradient the Pay button uses
 *      (#ffcf5c -> #f5b942, dark #241a02 text), so the PRICE is the
 *      gold element on the tile instead of a white flash.
 *
 * Surfaces covered (all share the flat-navy card rule today):
 *   .pack (door pack tiles), .tile (dept/brand tiles),
 *   .door-row (brand door-list rows), .strip-tile (Most Sold strip),
 *   .result-row (search rows), .dep-method (deposit method tiles AND
 *   the checkout shortfall button that unlocks Pay — the Dec-2
 *   xplight-20261202-0521-ffbep20 evidence: flat navy, zero glow).
 *
 * Deliberately NOT touched:
 *   - .pack.selected / .dep-method.selected: higher specificity
 *     (0,2,0) keeps their stronger gold ring; this layer never
 *     competes with them.
 *   - .tile.pack.ef (eFootball near-black tiles): excluded with
 *     :not(.ef) — its own prompt covers the broken depth step, and
 *     its border-color rule (0,3,0) would win anyway.
 *   - .cl-grid .result-row .pr: its own (0,3,0) rule already sets
 *     background none + gold text; this layer does not override it.
 *   - .btn-outline / #addBalanceBtn (wallet top-up CTA, blue
 *     outline): separate prompt ("money actions are blue
 *     link-buttons") — a colour-system decision, not a light defect.
 *   - .cta / .cartbar .buy: already gold, top of the hierarchy.
 *   - Orders empty state, eFootball depth, light-mode blue links:
 *     separate prompts, separate batches.
 *
 * Static layer only: no keyframes, no animation, no transition added
 * (the .tile border-color transition already in the page fades the
 * edge in; other surfaces take it instantly). No reduced-motion work
 * needed. Light scheme: the rgba(245,185,66,...) literals match the
 * .pack.selected ring precedent, which already ships in both schemes,
 * and the pill gradient matches .cta, which also ships in both.
 * No JS, no strings, no prices, no money/order flow. No !important.
 */

/* R1 — faint gold edge on every unselected buy surface. */
.pack:not(.ef),
.tile:not(.ef),
.door-row,
.strip-tile,
.result-row,
.dep-method {
  border-color: rgba(245, 185, 66, 0.35);
  box-shadow: 0 0 0 1px rgba(245, 185, 66, 0.10), 0 6px 18px rgba(245, 185, 66, 0.08);
}

/* R2 — the price pill turns gold: the price is the gold element now,
   not a white flash outshining the tile it sits on. */
.pr,
.pack .price {
  background: linear-gradient(180deg, #ffcf5c, #f5b942);
  color: #241a02;
}

/* ---- design-round106.css (bundled 2026-12-03 speed) ---- */
/* Design round 106 — HSR checkout "waits in silence" hint (STAGED).
   Closes P2 2026-11-27 honkai-experience: a typed UID never triggers
   the nickname check until the server/zone/character-name field is
   filled, and nothing says so — the customer waits in silence with a
   disabled Pay and no message, so it reads as a broken checkout.
   The fix paints one muted line under PLAYER ID while a required
   extra field is empty (see design-round106-patch.py H5/H6): the
   "Checking…" state (M7, round 1) covers the lookup once it runs;
   this covers the wait BEFORE it can run.
   One rule only: the hint borrows the .nick-line geometry
   (margin-top 8px, 14.5px, weight 800) and takes the gold-2 token —
   the same "your move" gold the empty ID field already wears — so it
   reads as attention, not error (red .err) and not success (green
   .ok). No animation (the checking shimmer owns motion here), no
   !important, no layout change: the line is hidden until painted.
   Light scheme: --gold-2 is #9a6b06 there, readable on light.
   Deliberately NOT touched: .nick-line.err (real errors stay red),
   .dx-checking (the running-lookup shimmer), the Pay gating itself
   (payBlocked already keeps Pay off while nickStatus is 'needextra'
   — neither 'ok' nor 'nolookup' — on both the single-pack and the
   multi-item cart paths). */
.nick-line.hint { color: var(--gold-2); }
