.cp-links {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.5rem;
}

.cp-links a {
  padding: .52rem .76rem;
  border: 1px solid #3c5287;
  border-radius: .55rem;
  color: #dbe8ff;
  background: #151f43;
  font-size: .83rem;
  font-weight: 600;
  text-decoration: none;
}

.cp-links a:hover { border-color: #6fe3ff; color: #6fe3ff; }
.cp-links a:focus-visible, .cp-support-group > summary:focus-visible { outline: 2px solid #6fe3ff; outline-offset: 4px; }

/* Keep the portal detours visually distinct throughout playback. */
.jd-portal .jd-number strong,
.jd-portal .jd-routehead output { color: #912d41; }
#jd-portal-total { color: #ff9a9f; }
.jd-portal .jd-stop { background: #fff0ee; border-color: #b15c67; color: #782b3c; }
.jd-portal .jd-stop::after { background: #b15c67; }
.jd-portal .jd-stop:is(:nth-child(9), :nth-child(18))::after { background: none; border-color: #b15c67; }
.jd-portal .jd-stop.is-lit { background: #933347; border-color: #933347; color: #fff; }
.jd-portal .jd-stop.is-current { background: #b72d43; border-color: #b72d43; color: #fff; box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px #b72d43; }

.cp-feature {
  background: #0e1633;
  color: #f6f8ff;
  scroll-margin-top: 5.5rem;
}

#payout-fees { background: #0b1028; }

.cp-heading { margin-bottom: 1.45rem; }
.cp-fees-intro { max-width: 64ch; margin: .65rem 0 0; color: #bdcbe7; }

.cp-heading h2 { font-size: clamp(1.85rem, 4vw, 3rem); line-height: 1.08; margin: .35rem 0 0; letter-spacing: -.04em; }
.cp-control { display: flex; align-items: center; gap: .2rem; min-width: 0; border: 1px solid #425680; border-radius: .65rem; padding: .2rem; margin: 0; background: #121d3a; }
.cp-control legend { float: left; align-self: center; padding: 0 .45rem; color: #d1dbef; font-size: .76rem; }
.cp-control label { cursor: pointer; position: relative; }
.cp-control input, .cp-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.cp-control label span { display: block; padding: .42rem .62rem; border-radius: .4rem; color: #d5dff5; font-size: .8rem; font-weight: 600; }
.cp-control input:checked + span { background: #3049e7; color: #fff; }
.cp-control input:focus-visible + span { outline: 2px solid #6fe3ff; outline-offset: 2px; }

.cp-report { background: #0f1b38; border: 1px solid #405984; border-radius: .65rem; padding: .35rem .6rem; }
.cp-report table { width: 100%; border-collapse: collapse; font-size: .84rem; font-variant-numeric: tabular-nums; }
.cp-report caption { color: #c4d2eb; text-align: left; padding: .45rem .25rem; }
.cp-report th, .cp-report td { padding: .5rem .25rem; text-align: left; border-bottom: 1px solid #34476d; }
.cp-report tbody tr:last-child > * { border: 0; }
.cp-status { color: #b4d3ff; }
.cp-status-paid { color: #a0ffd6; }
.cp-status-review { color: #ffce91; }

.cp-support { padding: clamp(1.5rem, 5vw, 3.5rem) 0; background: #181f33; border-block: 1px solid #39425b; }
.cp-support h2 { margin: 0 0 .8rem; font-size: clamp(1.35rem, 2.8vw, 1.9rem); }
.cp-support-group { margin: .42rem 0; }
.cp-support-group > summary {
  width: min(1144px, calc(100% - 2 * var(--gutter, 24px)));
  margin: 0 auto;
  padding: .62rem .85rem;
  color: #e3e9f8;
  background: #252d41;
  border: 1px solid #47526b;
  border-radius: .45rem;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 650;
}
.cp-support-group > summary:hover { background: #2d364c; }
.cp-support-group[open] > summary { margin-bottom: .55rem; }
.cp-support-group section[id] { scroll-margin-top: 6rem; }

@media (max-width: 420px) {
  .cp-report { padding-inline: .22rem; }
  .cp-report table { font-size: .71rem; }
  .cp-report th, .cp-report td { padding-inline: .2rem; }
  .cp-control legend { padding-inline: .2rem; }
  .cp-control label span { padding-inline: .42rem; }
}

.cp-film {
  --film-line: #314567;
  --film-ink: #d4dff5;
  --film-mint: #a0ffda;
  --film-warm: #ffd19a;
  padding: clamp(.65rem, 2vw, 1.25rem);
  background: #090f25;
  border: 1px solid var(--film-line);
  border-radius: 1rem;
  color: var(--film-ink);
}
.cp-film [hidden] { display: none; }
.cp-film-top { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem 1rem; margin: 0 0 .8rem; font-size: .84rem; }
.cp-film-top strong { color: #fff; font-size: 1.15rem; margin-left: .24rem; }
.cp-film-top fieldset { margin-left: auto; }
.cp-film-tag { margin-left: auto; color: #b2c3e5; font-size: .72rem; }
.cp-film-top fieldset + .cp-film-tag { margin-left: 0; }

.cp-film-picture {
  position: relative;
  padding: clamp(.85rem, 3vw, 2rem);
  border: 1px solid var(--film-line);
  border-radius: .7rem;
  background:
    linear-gradient(90deg, #7faff70d 1px, transparent 1px),
    linear-gradient(#7faff70d 1px, transparent 1px),
    radial-gradient(ellipse at 48% 12%, var(--cp-picture-glow, #172956), #0d152e 68%);
  background-size: 27px 27px, 27px 27px, auto;
}
.cp-film.is-enhanced .cp-film-cuts { display: grid; }
.cp-film.is-enhanced .cp-cut { grid-area: 1 / 1; visibility: hidden; }
.cp-film.is-enhanced .cp-cut.is-current { visibility: visible; }
.cp-cut { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(.5rem, 2vw, 1.8rem); align-items: center; min-width: 0; }
.cp-cut + .cp-cut { border-top: 1px solid var(--film-line); margin-top: 1rem; padding-top: 1rem; }
.cp-film.is-enhanced .cp-cut + .cp-cut { margin-top: 0; padding-top: 0; border: 0; }
.cp-cut h3 { margin: .26rem 0 0; color: #fff; font-size: clamp(1.3rem, 2.8vw, 2.4rem); line-height: 1.06; letter-spacing: -.035em; }
.cp-cut p:not(.cp-beat) { margin: .48rem 0 0; font-size: .86rem; line-height: 1.5; }
.cp-beat { margin: 0; font-size: .77rem; font-weight: 700; color: var(--film-warm); }
.cp-cut-after .cp-beat { color: var(--film-mint); }
.cp-film .cp-note { color: #bfcee9; margin: .65rem 0 0; font-size: .79rem; }

.cp-team-map { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: start; gap: clamp(.18rem, 1.3vw, .9rem); max-width: 780px; margin: 0 auto 1.2rem; }
.cp-map-node { display: grid; justify-items: center; grid-template-rows: var(--node-size) auto; gap: .32rem; min-width: var(--node-size); text-align: center; }
.cp-team-map { --node-size: clamp(56px, 10vw, 107px); }
.cp-map-node b { color: #e4edff; font-size: clamp(.68rem, 1.5vw, .9rem); }
.cp-map-icon, .cp-team-grid { width: var(--node-size); height: var(--node-size); border-radius: 24%; background: #17264a; border: 1px solid #476495; box-shadow: inset 0 0 26px #80b5ff14, 0 8px 18px #060a1c66; }
.cp-map-icon { position: relative; display: grid; place-items: center; }
.cp-studio-icon { display: flex; align-items: flex-end; justify-content: center; gap: 6%; padding-bottom: 24%; }
.cp-studio-icon i { width: 15%; height: 50%; border: 1px solid #91d6ff; border-radius: 3px 3px 0 0; background: repeating-linear-gradient(0deg,#73d1ff45 0 2px,transparent 2px 7px); }
.cp-studio-icon i:nth-child(2) { height: 64%; }
.cp-studio-icon i:nth-child(3) { height: 37%; }
.cp-lead-icon { background: #372b39; border-color: #926753; }
.cp-lead-icon i, .cp-team-grid i { position: relative; display: block; color: var(--film-warm); }
.cp-lead-icon i { width: 55%; height: 64%; }
.cp-lead-icon i::before, .cp-team-grid i::before { content: ""; position: absolute; width: 38%; aspect-ratio: 1; top: 5%; left: 31%; border-radius: 50%; background: currentColor; }
.cp-lead-icon i::after, .cp-team-grid i::after { content: ""; position: absolute; width: 75%; height: 42%; bottom: 8%; left: 12.5%; border-radius: 60% 60% 18% 18%; background: currentColor; }
.cp-zbd-icon, .cp-zbd-label { display: none; }
.cp-zbd-icon img { width: 66%; height: auto; }
.cp-team-grid { display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(5, 1fr); gap: 1px; padding: 10%; }
.cp-team-grid i { color: #8ca3cd; opacity: .72; }
.cp-team[data-team="1"] .cp-team-grid { grid-template: 1fr / 1fr; padding: 18%; }
.cp-team[data-team="1"] .cp-team-grid i:nth-child(n+2) { display: none; }
.cp-team[data-cut="3"] .cp-lead-icon, .cp-team[data-cut="3"] .cp-lead-label { display: none; }
.cp-team[data-cut="3"] .cp-zbd-icon { display: grid; background: #173d46; border-color: #519c91; }
.cp-team[data-cut="3"] .cp-zbd-label { display: block; color: var(--film-mint); }
.cp-team[data-cut="3"] .cp-team-grid i { color: var(--film-mint); opacity: 1; }
.cp-wire { align-self: start; margin-top: calc(var(--node-size) / 2); height: 3px; position: relative; background: #679cff; border-radius: 4px; }
.cp-wire-out { height: var(--node-size); margin-top: 0; background: none; }
.cp-transfer-fan { position: absolute; inset: 0 calc(-1 * clamp(.18rem, 1.3vw, .9rem)); }
.cp-transfer-path {
  --end: calc(7% + var(--branch) * 3.58333%);
  --bend: 38%;
  --junction: calc((50% + var(--end)) / 2);
  position: absolute;
  inset: 0;
  background: #e7935d;
  clip-path: polygon(
    0 calc(50% - .55px), var(--bend) calc(var(--junction) - .55px), 100% calc(var(--end) - .55px),
    100% calc(var(--end) + .55px), var(--bend) calc(var(--junction) + .55px), 0 calc(50% + .55px)
  );
}
.cp-transfer-path:nth-child(2n) { --bend: 52%; background: #dd745e; }
.cp-transfer-path:nth-child(3n) { --bend: 27%; }
.cp-transfer-path::after { content: ""; position: absolute; inset: 0; opacity: 0; background: linear-gradient(90deg, transparent 35%, #ffd4a4 50%, transparent 61%); }
.cp-team[data-team="1"] .cp-transfer-path:first-child { --end: 50%; }
.cp-team[data-team="1"] .cp-transfer-path:not(:first-child),
.cp-team[data-cut="3"] .cp-transfer-fan { display: none; }
.cp-team[data-cut="3"] .cp-wire-out { background: #69dab8; height: 3px; margin-top: calc(var(--node-size) / 2); }
.cp-wire i { position: absolute; left: 0; top: 50%; width: 9px; height: 9px; margin-top: -4px; border-radius: 50%; color: #b6dfff; background: currentColor; box-shadow: 0 0 12px currentColor; opacity: 0; }
.cp-wire-in i { font-size: 0; }
.cp-wire-out i { color: #a0ffda; }

.cp-cut-visual, .cp-check-list, .cp-chat, .cp-split { justify-self: stretch; min-width: 0; }
.cp-queue { display: flex; align-items: center; justify-content: center; gap: .7rem; padding: .55rem; }
.cp-queue > strong { color: var(--film-warm); font-size: clamp(2rem, 5vw, 4.7rem); font-variant-numeric: tabular-nums; line-height: 1; }
.cp-queue > span { font-size: .86rem; }
.cp-queue-paper { display: grid; gap: 3px; width: 42px; transform: skewY(-8deg); }
.cp-queue-paper i { display: block; background: #a06a4e; border: 1px solid #ffcb96; border-radius: 2px; height: 9px; }
.cp-team[data-team="1"] .cp-queue-paper i:not(:first-child) { display: none; }
.cp-check-list { display: grid; gap: .36rem; list-style: none; margin: 0; padding: 0; font-size: .83rem; }
.cp-check-list li { display: flex; align-items: center; gap: .5rem; padding: .42rem .58rem; background: #2c283c; border: 1px solid #765d61; border-radius: .35rem; }
.cp-check-list b { color: var(--film-warm); }
.cp-film .cp-chat { display: grid; justify-items: start; gap: .45rem; }
.cp-film .cp-chat p { margin: 0; border: 1px solid #58688f; border-radius: .55rem .55rem .55rem .1rem; padding: .45rem .6rem; background: #1d2a4b; }
.cp-film .cp-chat p + p { margin-left: .75rem; background: #312a43; border-color: #725e79; }
.cp-chat b { color: var(--film-warm); margin-right: .28rem; }
.cp-angry-face {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 1.55rem;
  height: 1.55rem;
  margin-right: .35rem;
  border: 1px solid #ffc1a8;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 49%, #572b37 0 1px, transparent 1.5px),
    radial-gradient(circle at 66% 49%, #572b37 0 1px, transparent 1.5px),
    linear-gradient(#ffb795, #f07768);
}
.cp-angry-face::before, .cp-angry-face::after { content: ""; position: absolute; top: 33%; width: 28%; height: 2px; border-radius: 2px; background: #572b37; }
.cp-angry-face::before { left: 19%; transform: rotate(24deg); }
.cp-angry-face::after { right: 19%; transform: rotate(-24deg); }
.cp-angry-face i { position: absolute; left: 31%; bottom: 17%; width: 38%; height: 22%; border: 2px solid #572b37; border-bottom: 0; border-radius: 60% 60% 0 0; }

.cp-film p.cp-split-total { display: flex; align-items: center; gap: .55rem; width: fit-content; margin: 0 0 .55rem; padding: .25rem .65rem; border: 1px solid #56a291; border-radius: .4rem; background: #153d3c; color: var(--film-mint); font-weight: 700; }
.cp-split-total strong { font-size: 1.9rem; line-height: 1.1; }
.cp-split { margin: 0; border: 1px solid #426f76; border-radius: .45rem; background: #102835; padding: .32rem .62rem; font-size: .85rem; }
.cp-split > div { display: flex; justify-content: space-between; align-items: baseline; gap: .4rem; padding: .23rem 0; }
.cp-split > div + div { border-top: 1px solid #315057; }
.cp-split dd { margin: 0; font-weight: 700; color: var(--film-mint); }

.cp-reporting .cp-cut, .cp-fee-cut { grid-template-columns: 1fr; gap: .9rem; }
.cp-reporting .cp-cut { align-content: start; }
.cp-report-files { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: .55rem; padding: 0; margin: 0; list-style: none; }
.cp-report-files li { display: grid; justify-items: start; gap: .27rem; padding: .65rem; border: 1px solid #825b62; border-radius: .4rem; background: #312537; font-size: .86rem; }
.cp-report-files li:nth-child(2) { margin-top: .5rem; border-style: dashed; background: #392839; }
.cp-report-files li:nth-child(3) { margin-top: 1rem; border-color: #b8776d; background: #432b3b; }
.cp-report-file-icon { display: grid; place-items: center; width: 21px; height: 25px; border: 1px solid #ffc6ab; border-radius: 3px; color: #ffd0ba; }
.cp-file-sheet { background: repeating-linear-gradient(0deg, #ffc6ab55 0 1px, transparent 1px 5px), repeating-linear-gradient(90deg, #ffc6ab55 0 1px, transparent 1px 7px); }
.cp-file-export { border-style: dashed; background: repeating-linear-gradient(0deg, #ffc6ab55 0 1px, transparent 1px 5px); }
.cp-file-alert { font-weight: 800; background: #713d47; }
.cp-report-files small { color: #d1b6c5; line-height: 1.35; }
.cp-file-status { display: block; padding: .2rem .38rem; border-radius: .27rem; background: #4a3446; color: #ffe0cf; font-size: .75rem; line-height: 1.3; }
.cp-report-files li:nth-child(n+2) .cp-file-status { background: #603745; }
.cp-match-line { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; color: #bbcdec; font-size: .85rem; }
.cp-match-line > :not([aria-hidden]) { padding: .5rem .65rem; border-radius: .4rem; border: 1px solid #825b62; background: #392839; }
.cp-match-line strong { color: var(--film-warm); }
.cp-team[data-cut="3"] .cp-film-picture,
.cp-reporting .cp-film-picture:has(.cp-report-after.is-current) { --cp-picture-glow: #1b4745; border-color: #437d77; }
.cp-report-reveal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; }
.cp-report-win { display: flex; align-items: center; gap: .7rem; padding: .65rem .95rem; border: 1px solid #5db9a3; border-radius: .55rem; background: #143c3c; }
.cp-report-win small, .cp-report-win strong { display: block; }
.cp-report-win small { color: var(--film-mint); font-size: .72rem; font-weight: 700; }
.cp-report-win strong { color: #effffa; font-size: .92rem; }
.cp-report-signal { position: relative; flex: 0 0 2.15rem; display: grid; place-items: center; height: 2.15rem; }
.cp-report-signal b { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--film-mint); color: #153531; font-size: 1.2rem; }
.cp-report-signal i { position: absolute; top: 50%; left: 50%; width: 4px; height: 4px; border-radius: 1px; opacity: 0; background: #9fefee; }
.cp-report-signal i:nth-of-type(1) { --spark-x: -22px; --spark-y: -20px; }
.cp-report-signal i:nth-of-type(2) { --spark-x: 22px; --spark-y: -18px; background: #ffda9a; }
.cp-report-signal i:nth-of-type(3) { --spark-x: 22px; --spark-y: 19px; }
.cp-report-signal i:nth-of-type(4) { --spark-x: -22px; --spark-y: 20px; background: #ffda9a; }
.cp-reporting .cp-report { padding: .2rem .6rem; border-color: #456e7c; }
.cp-review-row th { box-shadow: inset 2px 0 #f5ba89; }
.cp-review-row { background: #3a2c3c; }

.cp-fee-route { display: grid; grid-template-columns: minmax(0, 1fr) minmax(64px, .6fr) minmax(0, 1fr); align-items: stretch; gap: .45rem; }
.cp-wallet { display: grid; align-content: center; min-width: 0; gap: .15rem; padding: clamp(.45rem, 2vw, 1rem); border: 1px solid #52719e; border-radius: .5rem; background: #17284b; }
.cp-wallet > span { font-size: .83rem; }
.cp-wallet strong { color: #a9ecff; font-size: clamp(1.4rem, 4vw, 2.5rem); line-height: 1.12; font-variant-numeric: tabular-nums; }
.cp-wallet small { color: #ccd9f3; font-size: .75rem; }
.cp-wallet-payer { border-color: #ae7f5a; background: #392c3c; }
.cp-wallet-payer small { color: var(--film-warm); font-weight: 750; }
.cp-fee-rail { container-type: inline-size; display: grid; place-items: center; background: linear-gradient(#6f8db8,#6f8db8) center / 100% 2px no-repeat; }
.cp-fee-token { display: block; padding: .35rem; border: 1px solid #dba170; border-radius: 20px; background: #412e3e; color: var(--film-warm); font-size: .78rem; white-space: nowrap; }

.cp-film-controls { display: flex; gap: .55rem; align-items: flex-start; margin-top: .75rem; }
.cp-film-controls button { position: relative; padding: .44rem .68rem; color: #c9d7f2; background: #121e3a; border: 1px solid #415781; border-radius: .4rem; cursor: pointer; font-size: .79rem; }
.cp-film-controls button:focus-visible { outline: 2px solid #8de6ff; outline-offset: 2px; }
.cp-film-controls button[aria-pressed="true"] { color: #fff; background: #263d91; border-color: #6c9dfa; }
.cp-film-controls .cp-play { color: #e7f8ff; min-width: 4.5rem; }
.cp-chapters { display: flex; flex-wrap: wrap; gap: .32rem; }
.cp-chapters button[aria-pressed="true"]::after { content: ""; position: absolute; height: 2px; left: 0; right: 0; bottom: 0; border-radius: 4px; background: #8de6ff; transform: scaleX(var(--cp-progress, 0)); transform-origin: left; }

/* Keep the manual steps distinct from the solution. */
.cp-before-after-controls { align-items: end; }
.cp-before-after-chapters { flex: 1; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .8rem; }
.cp-before-chapters p { margin: 0 0 .3rem; color: #ffc0ae; font-size: .75rem; font-weight: 750; }
.cp-before-chapters > div { display: flex; flex-wrap: wrap; gap: .3rem; }
.cp-before-chapters button { background: #2e2234; border-color: #745061; color: #ffccb9; }
.cp-before-chapters button:hover { background: #412b3c; border-color: #c98079; }
.cp-before-chapters button[aria-pressed="true"] { background: #663442; border-color: #e49a89; color: #fff0e9; }
.cp-before-chapters button[aria-pressed="true"]::after { background: #ffb9a1; }
.cp-before-after-chapters .cp-solution-button { padding: .54rem .82rem; background: #a0ffda; border-color: #a0ffda; color: #102b2a; font-weight: 800; }
.cp-before-after-chapters .cp-solution-button span { margin-left: .25rem; }
.cp-before-after-chapters .cp-solution-button:hover { background: #c4ffe7; }
.cp-before-after-chapters .cp-solution-button[aria-pressed="true"] { background: #c4ffe7; border-color: #6de4b6; color: #102b2a; box-shadow: 0 0 0 2px #5ddaab55; }
.cp-before-after-chapters .cp-solution-button[aria-pressed="true"]::after { background: #227357; }

@media (max-width: 620px) {
  .cp-before-after-controls { display: block; }
  .cp-before-after-controls .cp-play { margin-bottom: .5rem; }
  .cp-before-after-chapters { grid-template-columns: 1fr; gap: .55rem; }
  .cp-before-after-chapters .cp-solution-button { justify-self: end; }
}

@keyframes cp-route-pulse { 0% { left: 0; opacity: 0; } 12%, 78% { opacity: 1; } 100% { left: calc(100% - var(--pulse-width, 8px)); opacity: 0; } }
@keyframes cp-send-transfer { from { transform: translateX(-70%); opacity: 1; } to { transform: translateX(70%); opacity: 1; } }
@keyframes cp-arrive { from { opacity: .12; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes cp-paper-fan { from { opacity: 0; transform: translateX(-17px) rotate(-12deg); } to { opacity: 1; transform: none; } }
@keyframes cp-match { from { opacity: .2; transform: translateX(-9px); } to { opacity: 1; transform: none; } }
@keyframes cp-fold-transfers {
  from { transform: scaleY(1); opacity: 1; }
  to { transform: scaleY(.03); opacity: 0; visibility: hidden; }
}
@keyframes cp-open-split-route {
  from { background-size: 0 100%; }
  to { background-size: 100% 100%; }
}
@keyframes cp-split-activate {
  0% { transform: scale(.9); box-shadow: 0 0 0 0 #9fffd88c; }
  55% { transform: scale(1.04); box-shadow: 0 0 0 6px #9fffd840, 0 0 24px #73ffcf50; }
  100% { transform: scale(1); box-shadow: 0 0 0 14px #9fffd800; }
}
@keyframes cp-confirm-pop {
  0% { transform: scale(.72); }
  63% { transform: scale(1.17); }
  100% { transform: scale(1); }
}
@keyframes cp-report-spark {
  0% { transform: scale(.4); opacity: 0; }
  36% { opacity: 1; }
  100% { transform: translate(var(--spark-x), var(--spark-y)) rotate(60deg); opacity: 0; }
}
@keyframes cp-review-focus { from { background: #122440; } to { background: #3a2c3c; } }
@keyframes cp-fee-leaves-studio { from { opacity: .35; transform: translateX(calc(-50cqw - 1rem)); } to { opacity: 1; transform: none; } }
@keyframes cp-fee-leaves-creator { from { opacity: .35; transform: translateX(calc(50cqw + 1rem)); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .cp-film[data-animated][data-cut="0"] .cp-wire-in i,
  .cp-team[data-cut="3"] .cp-wire-in i,
  .cp-team[data-cut="3"] .cp-wire-out i { animation: cp-route-pulse 1.15s ease-in-out both; }
  .cp-film[data-animated][data-cut="0"] .cp-transfer-path::after { animation: cp-send-transfer .88s calc(.82s + var(--branch) * 66ms) ease-out; }
  .cp-film[data-animated]:not(.is-playing) .cp-transfer-path::after { animation-play-state: paused; }
  .cp-team[data-cut="3"] .cp-transfer-fan {
    display: block;
    inset-block: 50% auto;
    height: var(--node-size);
    margin-top: calc(var(--node-size) / -2);
    animation: cp-fold-transfers .46s ease-in both;
  }
  .cp-team[data-cut="3"] .cp-wire-out { background: linear-gradient(90deg,#69dab8,#b2ffe3) left / 100% 100% no-repeat; animation: cp-open-split-route .55s .35s ease-out both; }
  .cp-team[data-cut="3"] .cp-wire-out i { animation-delay: .52s; }
  .cp-team[data-cut="3"] .cp-wire-out i:nth-of-type(2) { animation-delay: .72s; }
  .cp-team[data-cut="3"] .cp-wire-out i:nth-of-type(3) { animation-delay: .92s; }
  .cp-team[data-cut="3"] .cp-zbd-icon { animation: cp-split-activate .62s .15s ease-out both; }
  .cp-team[data-cut="3"] .cp-team-grid { animation: cp-split-activate .68s .97s ease-out both; }
  .cp-team[data-cut="3"] .cp-team-grid i { animation: cp-arrive .32s calc(.92s + var(--person) * 30ms) ease-out both; }
  .cp-team[data-cut="3"] .cp-split-total { animation: cp-arrive .38s 1.03s ease-out both; }
  .cp-team[data-cut="3"] .cp-split-total strong { animation: cp-confirm-pop .48s 1.18s ease-out both; }
  .cp-team[data-cut="3"] .cp-split { animation: cp-arrive .42s 1.22s ease-out both; }
  .cp-film[data-animated] .is-current :is(.cp-queue, .cp-check-list li, .cp-chat p, .cp-report-files li, .cp-match-line, .cp-report) { animation: cp-arrive .42s .25s ease-out both; }
  .cp-film[data-animated] .is-current .cp-queue-paper i { animation: cp-paper-fan .45s .45s ease-out both; }
  .cp-film[data-animated] .is-current .cp-queue-paper i:nth-child(2) { animation-delay: .67s; }
  .cp-film[data-animated] .is-current .cp-queue-paper i:nth-child(3) { animation-delay: .89s; }
  .cp-film[data-animated] .is-current .cp-match-line > * { animation: cp-match .38s .25s ease-out both; }
  .cp-film[data-animated] .is-current .cp-match-line > :nth-child(n+3) { animation-delay: .8s; }
  .cp-film[data-animated] .is-current .cp-match-line > strong { animation-delay: 1.35s; }
  .cp-report-after.is-current .cp-report-win { animation: cp-arrive .38s ease-out both; }
  .cp-report-after.is-current .cp-report-signal b { animation: cp-confirm-pop .48s .2s ease-out both; }
  .cp-report-after.is-current .cp-report-signal i { animation: cp-report-spark .72s .25s ease-out; }
  .cp-film[data-animated] .is-current .cp-review-row { animation: cp-review-focus .6s .75s ease-out both; }
  .cp-film[data-animated] .is-current .cp-report-files li { animation-delay: calc(.25s + var(--file) * 260ms); }
  .cp-film[data-animated] .is-current :is(.cp-check-list li, .cp-chat p):nth-child(2) { animation-delay: .8s; }
  .cp-film[data-animated] .is-current .cp-check-list li:nth-child(3) { animation-delay: 1.35s; }
  .cp-film[data-animated] .is-current.cp-fee-studio .cp-fee-token { animation: cp-fee-leaves-studio .95s .25s ease-out both; }
  .cp-film[data-animated] .is-current.cp-fee-creator .cp-fee-token { animation: cp-fee-leaves-creator .95s .25s ease-out both; }
  .cp-film[data-animated]:not(.is-playing) :is(.cp-wire i, .cp-wire-out, .cp-transfer-fan, .cp-zbd-icon, .cp-team-grid, .cp-team-grid i, .cp-cut *) { animation-play-state: paused; }
}

@media (min-width: 621px) {
  .cp-wire-in i { --pulse-width: 50px; width: max-content; height: auto; padding: .17rem .3rem; margin-top: -.65rem; border-radius: 4px; background: #194078; color: #dff3ff; font-size: .68rem; font-style: normal; font-weight: 700; line-height: 1.15; box-shadow: 0 0 12px #8be5ff70; }
}

@media (max-width: 620px) {
  .cp-cut { grid-template-columns: 1fr; gap: .6rem; }
  .cp-queue { justify-content: start; padding-inline: .1rem; }
  .cp-film-top fieldset { margin-left: 0; }
  .cp-film-controls button { padding-inline: .45rem; }
  .cp-report-files li { padding: .45rem; font-size: .74rem; }
  .cp-report-files small, .cp-file-status { font-size: .67rem; }
  .cp-report-files li:nth-child(n+2) { margin-top: 0; }
  .cp-file-status { padding-inline: .22rem; }
  .cp-wallet > span, .cp-wallet small { font-size: .72rem; }
  .cp-fee-token { font-size: .68rem; }
}
@media (max-width: 420px) {
  .cp-reporting .cp-report { padding-inline: .2rem; }
}

.cp-floor .cp-cut { align-items: center; }
.cp-floor .cp-film-picture:has(.cp-floor-after.is-current) { --cp-picture-glow: #1b4745; border-color: #437d77; }
.cp-floor-wallet {
  --floor-colour: #ffba9a;
  --floor-point: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: .65rem .8rem;
  padding: clamp(.7rem, 2.5vw, 1.2rem);
  border: 1px solid #9e655d;
  border-radius: .65rem;
  background: #332839;
}
.cp-floor-wallet > div:first-child span, .cp-floor-cycles li > span { display: block; color: #ebcdbf; font-size: .8rem; }
.cp-floor-wallet > div:first-child strong, .cp-floor-cycles li > strong {
  display: block;
  color: #fff;
  font-size: clamp(1.25rem, 3.3vw, 2.45rem);
  line-height: 1.13;
  font-variant-numeric: tabular-nums;
}
.cp-floor-wallet > small { grid-column: 1 / -1; justify-self: end; color: #e4c8bf; font-size: .75rem; }
.cp-floor-wallet > small b { margin-left: .24rem; color: var(--floor-colour); }
.cp-floor-status {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .34rem .52rem;
  border: 1px solid #a26761;
  border-radius: .35rem;
  background: #533242;
  color: var(--floor-colour);
  font-size: .77rem;
  font-weight: 700;
}
.cp-floor-lock { position: relative; width: .65rem; height: .5rem; margin-top: .2rem; border-radius: 2px; background: currentColor; }
.cp-floor-lock::before {
  position: absolute;
  bottom: 70%;
  left: 16%;
  width: 68%;
  height: .38rem;
  border: 1px solid currentColor;
  border-radius: 6px 6px 0 0;
  content: "";
}
.cp-floor-bar { grid-column: 1 / -1; position: relative; height: .54rem; margin-right: .15rem; background: #59485b; border-radius: 3px; }
.cp-floor-bar i { display: block; width: 80.25%; height: 100%; border-radius: 3px; background: var(--floor-colour); }
.cp-floor-bar span { position: absolute; top: -.2rem; bottom: -.2rem; left: var(--floor-point); width: 2px; background: #e4ecff; }
.cp-floor-cycles { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .4rem; padding: 0; margin: 0; list-style: none; }
.cp-floor-cycles li:not(.cp-floor-cycle-arrow) { padding: .65rem; border: 1px solid #a26761; border-top: 3px solid #c97d70; border-radius: .45rem; background: #342638; }
.cp-floor-cycles li:last-child { border-top-color: #ffba9a; background: #443043; }
.cp-floor-cycles li > small { display: block; margin-top: .2rem; color: #f3c7b5; font-size: .74rem; }
.cp-floor-cycle-arrow { color: #ffba9a; }
.cp-floor .cp-floor-quote { width: fit-content; margin: .65rem 0 0; padding: .4rem .65rem; border-left: 2px solid #e99881; background: #3a2a41; color: #ffe3d5; }
.cp-floor-after .cp-floor-wallet { --floor-colour: #9fffd9; --floor-point: 62.5%; border-color: #52b39b; background: #153a3d; }
.cp-floor-after .cp-floor-status { border-color: #56ab96; background: #1d514d; }
.cp-floor-after .cp-floor-wallet > div:first-child span,
.cp-floor-after .cp-floor-wallet > small { color: #c4e5df; }
.cp-floor-after .cp-floor-bar { background: #3a5b65; }
.cp-floor-check { display: grid; place-items: center; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--floor-colour); color: #163a36; }
.cp-floor-footer { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .5rem 1rem; }
.cp-floor-footer a { color: #a8ecff; font-size: .85rem; font-weight: 700; }
@keyframes cp-floor-unlock {
  0% { box-shadow: 0 0 0 0 #a0ffda99; transform: scale(.92); }
  55% { transform: scale(1.05); }
  100% { box-shadow: 0 0 0 10px #a0ffda00; transform: scale(1); }
}
@media (prefers-reduced-motion: no-preference) {
  .cp-floor .is-current .cp-floor-cycles li:last-child { animation: cp-arrive .5s .25s ease-out both; }
  .cp-floor .is-current .cp-floor-quote { animation: cp-arrive .4s .65s ease-out both; }
  .cp-floor-after.is-current .cp-floor-wallet { animation: cp-arrive .42s ease-out both; }
  .cp-floor-after.is-current .cp-floor-bar i { transform-origin: left; animation: cp-floor-fill .6s .15s ease-out both; }
  .cp-floor-after.is-current .cp-floor-status { animation: cp-floor-unlock .65s .55s ease-out both; }
  .cp-floor[data-animated]:not(.is-playing) .cp-cut * { animation-play-state: paused; }
}
@keyframes cp-floor-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.cp-cohort {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1rem;
  margin-top: 1.1rem;
}
.cp-cohort p { max-width: 56ch; margin: 0; color: #bdcbe7; font-size: .9rem; line-height: 1.5; }
.cp-handoff { margin: 0; }
.cp-handoff .cp-film-picture { padding: 0; overflow: hidden; background: #0d162f; }
.cp-handoff .cp-cut {
  grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr);
  gap: 0;
  align-items: stretch;
}
.cp-handoff-story {
  align-self: center;
  padding: clamp(1rem, 3.2vw, 2.4rem);
}
.cp-handoff-start .cp-beat { color: #a2e8ff; }
.cp-handoff-game {
  display: flex;
  flex-direction: column;
  min-height: 290px;
  background:
    linear-gradient(170deg, #08142ac9 0%, transparent 48%, #080d20c9 100%),
    url("/assets/media/zbd/hero-mmo-poster.webp") center 62% / cover;
  border-left: 1px solid #405c83;
}
.cp-handoff-game-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .65rem .85rem;
  background: #0a1733e8;
  border-bottom: 1px solid #476288;
  color: #dce9ff;
  font-size: .77rem;
  font-weight: 700;
}
.cp-handoff-game-bar span:last-child { color: #a9dcff; }
.cp-handoff-game-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(10rem, 16rem);
  align-items: end;
  gap: 1rem;
  flex: 1;
  padding: clamp(.65rem, 2.1vw, 1.4rem);
}
.cp-handoff-map {
  justify-self: start;
  padding: .5rem .7rem;
  border-radius: 6px;
  background: #0b1430d9;
  color: #fff;
}
.cp-handoff-map small { display: block; margin-bottom: .18rem; color: #a9c7e9; font-size: .69rem; }
.cp-handoff-map strong { font-size: clamp(.88rem, 2vw, 1.3rem); }
.cp-handoff-panel {
  display: grid;
  gap: .56rem;
  padding: .78rem;
  border: 1px solid #5f80b1;
  border-radius: 8px;
  background: #0e1936;
  color: #e6eeff;
  font-size: .82rem;
  box-shadow: 0 12px 32px #070c22a8;
}
.cp-handoff-amount { font-size: 1.85rem; line-height: 1; font-variant-numeric: tabular-nums; }
.cp-handoff-request {
  display: flex;
  justify-content: space-between;
  gap: .3rem;
  padding: .42rem .5rem;
  border-radius: 5px;
  background: #2b4bce;
  font-weight: 700;
}
.cp-handoff-browser {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 290px;
  border-left: 1px solid #ac777e;
  background: #e8e8ee;
  color: #272337;
}
.cp-handoff-browser-tabs {
  display: flex;
  align-items: end;
  gap: .35rem;
  padding: .4rem .55rem 0;
  background: #cdcad5;
}
.cp-handoff-tab {
  display: inline-flex;
  align-items: baseline;
  gap: .4rem;
  padding: .4rem .55rem;
  border-radius: 5px 5px 0 0;
  background: #bbb7c7;
  color: #373247;
  font-size: .73rem;
  font-weight: 700;
}
.cp-handoff-tab small { font-size: .65rem; font-weight: 600; }
.cp-handoff-tab-active { border-top: 2px solid #a9424f; background: #f8f8fb; color: #461f2a; }
.cp-handoff-address {
  padding: .33rem .75rem;
  border-bottom: 1px solid #b7b4c4;
  background: #f8f8fb;
  color: #49465d;
  font-size: .75rem;
}
.cp-handoff-browser-body {
  display: grid;
  gap: .48rem;
  width: min(calc(100% - 1.4rem), 24rem);
  margin: .7rem auto;
  padding: .75rem;
  border: 1px solid #c1bfcc;
  border-radius: 4px;
  background: #f8f8fb;
  color: #25243a;
  font-size: .79rem;
}
.cp-handoff-portal-nav,
.cp-handoff-portal-options { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .3rem .55rem; }
.cp-handoff-portal-nav { padding-bottom: .45rem; border-bottom: 1px solid #d4d2de; }
.cp-handoff-portal-nav span,
.cp-handoff-portal-options span { color: #33448a; font-size: .71rem; }
.cp-handoff-sign-in { font-size: .9rem; }
.cp-handoff-field {
  padding: .35rem .45rem;
  border: 1px solid #aaa9bb;
  border-radius: 3px;
  background: #fff;
  color: #49465d;
  font-size: .74rem;
}
.cp-handoff-portal-options span:first-child { padding: .26rem .48rem; border-radius: 3px; background: #3c4c80; color: #fff; }
.cp-handoff .cp-handoff-browser p.cp-handoff-blocked {
  margin: 0;
  padding: .34rem .48rem;
  border-left: 3px solid #a9424f;
  background: #fce2de;
  color: #6d2531;
  font-size: .72rem;
  font-weight: 700;
}
.cp-handoff-after .cp-handoff-game {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: #5aabbd;
  background:
    radial-gradient(ellipse at 24% 82%, #688ff549, transparent 64%),
    linear-gradient(170deg, #091e36a6, transparent 54%, #071b31a6),
    url("/assets/media/zbd/hero-mmo-poster.webp") center 62% / cover;
}
.cp-handoff-game-bar .cp-handoff-workshop-active {
  display: inline-flex;
  align-items: center;
  gap: .36rem;
  color: #bbffe9;
}
.cp-handoff-workshop-active::before {
  content: "";
  width: .43rem;
  height: .43rem;
  border-radius: 50%;
  background: #a0ffda;
  box-shadow: 0 0 .5rem #a0ffda99;
}
.cp-handoff-after .cp-handoff-map { border: 1px solid #7599d2; background: #0b1834ee; }
.cp-handoff-continue {
  display: block;
  margin-top: .34rem;
  color: #afe4ff;
  font-size: .72rem;
  font-weight: 700;
}
.cp-handoff-in-game {
  border-color: #6fd7b8;
  background: #101f36;
  box-shadow: 0 0 26px #51f3b530, 0 12px 32px #070c22a8;
}
.cp-handoff-panel-heading,
.cp-handoff-method { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .2rem .5rem; }
.cp-handoff-panel-heading strong { font-size: 1.34rem; font-variant-numeric: tabular-nums; }
.cp-handoff-method { color: #c8d6ef; font-size: .73rem; }
.cp-handoff-status {
  display: flex;
  align-items: center;
  gap: .55rem;
  position: relative;
  padding: .54rem;
  border: 1px solid #8be7c7;
  border-radius: 7px;
  background: linear-gradient(112deg, #225b59, #163841);
  color: #e1fff3;
}
.cp-handoff-check {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: #a0ffda;
  color: #102b2a;
  font-weight: 800;
  box-shadow: 0 0 .75rem #7dffd373;
}
.cp-handoff-status strong { display: block; line-height: 1.15; }
.cp-handoff-status small { display: block; margin-top: .2rem; color: #bbebdd; font-size: .67rem; }
.cp-handoff-sparks { position: absolute; left: 1.4rem; top: 50%; pointer-events: none; }
.cp-handoff-sparks i { position: absolute; width: 4px; height: 4px; border-radius: 1px; background: #a0ffda; opacity: 0; }
.cp-handoff-sparks i:nth-child(1) { --spark-x: -27px; --spark-y: -25px; }
.cp-handoff-sparks i:nth-child(2) { --spark-x: 5px; --spark-y: -36px; }
.cp-handoff-sparks i:nth-child(3) { --spark-x: 31px; --spark-y: -22px; }
.cp-handoff-sparks i:nth-child(4) { --spark-x: 31px; --spark-y: 22px; }
@media (prefers-reduced-motion: no-preference) {
  .cp-handoff[data-animated] .cp-handoff-start.is-current .cp-handoff-request {
    animation: cp-handoff-tap .56s 2.8s ease-out;
  }
  .cp-handoff .cp-handoff-detour.is-current .cp-handoff-tab-active { animation: cp-handoff-open-tab .2s ease-out both; }
  .cp-handoff-after.is-current .cp-handoff-game::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(108deg, #192139 50%, #284668 78%, transparent);
    animation: cp-handoff-reveal .63s cubic-bezier(.2,.65,.3,1) both;
  }
  .cp-handoff[data-animated]:not(.is-playing) .cp-handoff-game::after { animation-play-state: paused; }
  .cp-handoff .cp-handoff-after.is-current .cp-handoff-in-game { animation: cp-arrive .38s .24s ease-out both; }
  .cp-handoff .cp-handoff-after.is-current .cp-handoff-method { animation: cp-arrive .28s .48s ease-out both; }
  .cp-handoff .cp-handoff-after.is-current .cp-handoff-method + .cp-handoff-method { animation-delay: .66s; }
  .cp-handoff .cp-handoff-after.is-current .cp-handoff-status { animation: cp-arrive .36s .92s ease-out both; }
  .cp-handoff .cp-handoff-after.is-current .cp-handoff-check { animation: cp-confirm-pop .52s 1.02s ease-out both; }
  .cp-handoff .cp-handoff-after.is-current .cp-handoff-sparks i { animation: cp-report-spark .72s 1.07s ease-out; }
  .cp-handoff .cp-handoff-after.is-current .cp-handoff-continue { animation: cp-arrive .36s 1.3s ease-out both; }
}
@keyframes cp-handoff-reveal {
  from { transform: translateX(0); }
  to { transform: translateX(102%); }
}
@keyframes cp-handoff-open-tab {
  from { transform: translateX(14px); opacity: .4; }
  to { transform: none; }
}
@keyframes cp-handoff-tap {
  0%, 100% { box-shadow: 0 0 0 0 #8de6ff00; }
  35% { box-shadow: 0 0 0 3px #8de6ffd9; }
}
@media (max-width: 760px) {
  .cp-handoff .cp-cut { grid-template-columns: 1fr; }
  .cp-handoff-game, .cp-handoff-browser { min-height: 238px; border-left: 0; border-top: 1px solid #405c83; }
  .cp-handoff-game-content { grid-template-columns: minmax(0, 1fr) minmax(8rem, 1.35fr); gap: .55rem; }
}
