


:root { --b-hero: var(--ink); --b-hero-fade: var(--ink-fade); }
.b-hero .b-wrap { padding-bottom: 96px; }


.pt-stage { width: 1040px; flex: none; margin-top: 72px; text-align: left; }
.pt-g { display: none; }
[data-g="scenes"] .pt-g.scenes, [data-g="matching"] .pt-g.matching { display: block; animation: b-in .5s var(--ease-out); }
.pt-stage small { font-size: 11px; color: var(--color-text-tertiary); white-space: nowrap; }

.pt-flag { width: 20px; height: 20px; flex: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--gray-4); }


.pt-tabs { display: flex; justify-content: center; gap: var(--space-1); margin-bottom: var(--space-7); }
.pt-tabs button { position: relative; height: 36px; padding-inline: var(--space-4); border-radius: var(--b-btn-r); color: rgb(255 255 255 / .62); font-size: var(--text-sm); font-weight: var(--weight-medium); overflow: hidden; transition: color var(--dur-ui) var(--ease-ui), background-color var(--dur-ui) var(--ease-ui); }
.pt-tabs button:hover { color: #fff; }
.pt-tabs button.on { background: rgb(255 255 255 / .1); color: #fff; }
.pt-tabs button.on::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 6px; height: 1.5px; background: #fff; transform-origin: left; animation: pt-fill var(--tab-dur, 7s) linear forwards; }
.pt-tabs:hover button.on::after { animation-play-state: paused; }
@keyframes pt-fill { from { transform: scaleX(0); } }

[data-g="matching"] .pt-tabs { display: none; }


.pt-stage .b-pg { max-width: none; margin: 0; text-align: left; }
.pt-stage .pg-head > span { display: flex; align-items: center; gap: var(--space-2); }
.pt-visa { width: 34px; height: 11px; flex: none; background: #1a1f71; -webkit-mask: url("/system/assets/visa.svg") center / contain no-repeat; mask: url("/system/assets/visa.svg") center / contain no-repeat; }
.pt-swap { transition: opacity .25s; } .pt-swap.out { opacity: 0; }


.pt-scenes { position: relative; height: 470px; }
.pt-scene { position: absolute; inset: 0; display: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6); align-items: start; }
.pt-scene.on { display: grid; animation: b-in .5s var(--ease-out); }
.pt-scene > * { align-self: start; }
.pt-scene > .b-pg { width: 100%; }
.pt-scene .pg-row > span:not(.b-logo):not(.pt-tg):not(.b-pill):not(.pt-st) { flex: 1; min-width: 0; }
.pt-scene .pg-row { min-height: 57px; }


.pt-tg { position: relative; width: 30px; height: 18px; flex: none; border-radius: 18px; background: var(--gray-6); transition: background-color .25s; }
.pt-tg::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .2); transition: translate .25s; }
.pt-tg.on { background: var(--accent); } .pt-tg.on::after { translate: 12px 0; }

.pt-hl { transition: background-color .4s; }
.pt-hl.lit { background: color-mix(in srgb, var(--sky-t) 60%, #fff); }
.pt-dim { opacity: .45; transition: opacity .4s; } .pt-dim.lit { opacity: 1; }
.pt-sub { padding: var(--space-2) var(--space-4); background: var(--gray-2); border-top: 1px solid var(--gray-3); font-size: 11px; color: var(--color-text-tertiary); }
.pt-scene .pg-row .pt-st { display: flex; justify-content: flex-end; min-width: 88px; }

.pt-scene .b-pill { margin-left: 0; flex: none !important; }
.pt-muted { padding: var(--space-4); color: var(--color-text-tertiary); border-top: 1px solid var(--gray-3); }
.pt-grow { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.pt-grow > div { overflow: hidden; }
.pt-grow.on { grid-template-rows: 1fr; }
.pt-row-in { animation: b-in .4s var(--ease-out); }


.pt-chart { display: flex; flex-direction: column; }
.pt-cstat > div { display: flex; align-items: center; gap: var(--space-3); }
.pt-cstat .pt-x { opacity: 0; translate: 0 16px; transition: opacity .5s, translate .5s var(--ease-out); }  
.pt-cstat .pt-x.on { opacity: 1; translate: 0; }
.pt-plot { position: relative; height: 236px; margin: 30px var(--space-4) 0 52px; }
.pt-grid { position: absolute; inset: 0 0 22px; display: flex; flex-direction: column; justify-content: space-between; }
.pt-grid i { position: relative; height: 0; border-top: 1px solid var(--gray-3); }
.pt-grid i::before { content: attr(data-v); position: absolute; right: calc(100% + 10px); top: -7px; font-size: 11px; font-style: normal; color: var(--color-text-tertiary); white-space: nowrap; }
.pt-bars { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(12, 1fr); }
.pt-bars > div { position: relative; z-index: 1; display: flex; flex-direction: column-reverse; align-items: center; padding-bottom: 22px; }
.pt-bars small { position: absolute; bottom: 0; font-size: 11px; color: var(--color-text-tertiary); }

.pt-seg { width: 58%; height: calc(214px * var(--h) / 100); flex: none; transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-out); }
.pt-seg.up { transform: none; }
.pt-seg.own, .pt-key i.own { background: var(--gray-8); }
.pt-seg.pt-p, .pt-key i.pt-p { background: var(--b-blue); }
.pt-seg.pt-p { border-radius: 2px 2px 0 0; }
.pt-bars > div:nth-child(-n+6) .pt-seg.own { border-radius: 2px 2px 0 0; }

.pt-mark { position: absolute; left: 50%; top: -26px; bottom: 22px; border-left: 1px dashed var(--gray-11); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease-out); }
.pt-mark small { position: absolute; left: 6px; top: -2px; font-size: 11px; color: var(--gray-12); font-weight: var(--weight-medium); opacity: 0; transition: opacity .3s .3s; }
.pt-mark.on { transform: none; } .pt-mark.on small { opacity: 1; }
.pt-after { position: absolute; left: calc(50% + 3px); right: -6px; top: -10px; bottom: 16px; z-index: 0; opacity: 0; transition: opacity .4s; }
.pt-after.on { opacity: 1; }
.pt-after .b-hl-edge { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.pt-after .b-hl-edge rect { x: .75px; y: .75px; width: calc(100% - 1.5px); height: calc(100% - 1.5px); rx: 6px; fill: none;
  stroke: rgb(20 28 33 / .3); stroke-width: 1.5px; stroke-dasharray: 1; stroke-dashoffset: 1; animation: pt-trace 1.1s var(--ease-out) forwards; }
@keyframes pt-trace { to { stroke-dashoffset: 0; } }
.pt-key { display: flex; gap: var(--space-4); margin-top: auto; padding: var(--space-3) var(--space-4); border-top: 1px solid var(--gray-3); font-size: 11px; color: var(--color-text-secondary); }
.pt-key span { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.pt-key i { width: 8px; height: 8px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) { .pt-seg, .pt-mark { transition: none; } .pt-after .b-hl-edge rect { animation: none; stroke-dashoffset: 0; } }


.pt-deal { position: relative; }
.pt-ask { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) 14px; border-bottom: 1px solid var(--gray-3); }
.pt-ask .b-chip { height: 24px; font-size: 12px; }
.pt-ask .b-chip::after { content: none; }  
.pt-deal .pg-head { align-items: center; }
.pt-deal .b-vs > small { display: flex; }
.pt-deal .b-vs { margin-bottom: 8px; }
.pt-deal .b-vs > * { min-height: 46px; transition: background-color .4s; }
.pt-deal .b-vs > small.pt-ask-row { color: var(--gray-12); font-weight: var(--weight-medium); }
.pt-deal .pt-no { color: var(--color-text-tertiary); }
.pt-deal .b-vs .b-pill { margin-left: 0; }
.pt-deal > .b-hl-edge { position: absolute; z-index: 2; overflow: visible; pointer-events: none; }
.pt-deal > .b-hl-edge rect { animation: pt-trace 1.1s var(--ease-out) forwards; }



.pt-cardcol { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-5); padding: 40px 32px 32px;
  border-radius: var(--g-r); background: #fff; box-shadow: var(--g-frame); }
.pt-cardcol .s-gcard { width: 400px; max-height: none; box-shadow: 0 24px 40px -24px rgb(0 10 30 / .45); transition: background .6s var(--ease-out), color .6s; }

.pt-dc { display: flex; align-items: center; gap: var(--space-3); height: 44px; padding: 0 var(--space-4); border-radius: var(--g-r-in); background: var(--gray-3); color: var(--color-text-tertiary); font-size: 13px; font-weight: var(--weight-medium); }
.pt-dc .now { color: var(--gray-12); }
.pt-dc .pt-tg { background: var(--gray-12); } .pt-dc .pt-tg.on { background: var(--accent); }


.pt-feed2 .pt-rows2 { height: 342px; overflow: hidden; }
.pt-feed2 .pg-head small { margin: 0; }
.pt-scene .pg-row > .pt-st.pt-slot { width: 92px; flex: none; }
.pt-feed2 .pg-row > b { margin-left: auto; }

.pt-krow { transition: background-color .4s, margin .4s; }
.pt-krow.b-hl { margin: 6px 8px; padding-inline: calc(var(--space-4) - 8px); border-top-color: transparent; }
.pt-krow.b-hl + .pg-row { border-top-color: transparent; }
.pt-krow > .b-hl-edge rect { animation: pt-trace 1.1s var(--ease-out) forwards; }


.pt-match { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 56px; align-items: start; }
.pt-feed { overflow: hidden; }
.pt-feed > h4, .pt-box h4 { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-4); font-weight: var(--weight-medium); white-space: nowrap; }
.pt-feed > h4 { border-bottom: 1px solid var(--gray-3); }
.pt-rows { position: relative; height: 280px; overflow: hidden; }
.pt-row { display: flex; align-items: center; gap: var(--space-3); height: 56px; padding: 0 var(--space-4); border-bottom: 1px solid var(--gray-3); }
.pt-row > span { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.pt-row > span b { font-weight: var(--weight-medium); white-space: nowrap; }
.pt-row > em { font-style: normal; font-weight: var(--weight-medium); white-space: nowrap; }
.pt-row .b-pill { margin-left: 0; min-width: 104px; justify-content: center; }
.pt-row.new { animation: pt-drop .5s var(--ease-out); }
@keyframes pt-drop { from { margin-top: -56px; opacity: 0; } }
.pt-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: var(--weight-regular); color: var(--color-text-tertiary); }
.pt-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green-text); }

.pt-boxes { display: flex; flex-direction: column; gap: var(--space-4); }
.pt-box { transition: box-shadow .35s var(--ease-ui), background-color .35s var(--ease-ui); }
.pt-box h4 { padding-bottom: 0; }
.pt-box h4 small b { color: var(--gray-12); font-weight: var(--weight-medium); }
.pt-rules { display: flex; flex-wrap: wrap; gap: 6px; padding: var(--space-2) var(--space-4) 0; }
.pt-rules .b-chip { height: 24px; font-size: 12px; }
.pt-last { display: flex; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-3); padding: 9px var(--space-4); border-top: 1px solid var(--gray-3); font-size: 12px; color: var(--color-text-secondary); white-space: nowrap; }
.pt-box.hit { background: #e9f1f8; box-shadow: 0 0 0 6px rgb(255 255 255 / .9), 0 18px 40px -24px rgb(0 10 30 / .6); }




@media (max-width: 1100px) { .pt-stage { zoom: .8; } }
@media (max-width: 860px) { .pt-stage { zoom: .6; } }
@media (max-width: 640px) { .pt-stage { zoom: .38; } }
@media (max-width: 420px) { .pt-stage { zoom: .32; } }  
@media (prefers-reduced-motion: reduce) { .pt-lines .act.on { animation: none; stroke-dashoffset: 0; } .pt-tabs button.on::after { animation: none; } }


[data-tabs="segmented"] .pt-tabs { width: max-content; margin-inline: auto; gap: 0; padding: 4px; border-radius: var(--b-btn-r); background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); }
[data-tabs="segmented"] .pt-tabs button { height: 36px; padding-inline: 20px; }
[data-tabs="segmented"] .pt-tabs button.on { background: #fff; color: var(--gray-12); }
[data-tabs="segmented"] .pt-tabs button.on::after { left: 20px; right: 20px; bottom: 5px; height: 1.5px; background: var(--b-hero); opacity: .35; }

[data-tabs="underline"] .pt-tabs { width: 640px; margin-inline: auto; gap: 0; box-shadow: inset 0 -1px 0 rgb(255 255 255 / .16); }
[data-tabs="underline"] .pt-tabs button { flex: 1; height: 44px; padding: 0 0 4px; border-radius: 0; color: rgb(255 255 255 / .5); }
[data-tabs="underline"] .pt-tabs button.on { background: none; color: #fff; }
[data-tabs="underline"] .pt-tabs button.on::after { left: 0; right: 0; bottom: 0; height: 2px; }

[data-tabs="square"] .pt-tabs { width: max-content; margin-inline: auto; gap: 0; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); border-radius: var(--b-r); }
[data-tabs="square"] .pt-tabs button { height: 44px; padding-inline: 24px; border-radius: 0; box-shadow: inset -1px 0 0 rgb(255 255 255 / .16); }
[data-tabs="square"] .pt-tabs button:last-child { box-shadow: none; }
[data-tabs="square"] .pt-tabs button.on { background: #fff; color: var(--gray-12); }
[data-tabs="square"] .pt-tabs button.on::after { left: 24px; right: 24px; bottom: 7px; height: 1.5px; background: var(--b-hero); opacity: .35; }


.pt-why .b-tall { overflow: hidden; padding-bottom: 0; }
.pt-why .b-tall > p { margin-top: var(--space-3); max-width: 34ch; font-size: var(--text-base); line-height: 1.5; color: rgb(255 255 255 / .78); }
.pt-why .b-tall.pale > p { color: var(--color-text-secondary); }
.pt-why .b-tall > .b-pg { margin-top: auto; margin-bottom: -28px; width: 100%; max-width: none; align-self: stretch; }
.pt-why .b-pg .pg-row > span:not(.b-pill):not(.pt-st) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pt-why .b-pg .pg-row { min-height: 56px; }
.pt-why .pg-row > .pt-st { display: flex; justify-content: flex-end; margin-left: auto; }
.pt-why .pt-why-hl { margin: 6px 8px; padding-inline: calc(var(--space-4) - 8px); border-top-color: transparent; }
.pt-why .pt-why-hl + .pg-row { border-top-color: transparent; }
.pt-why .b-tall.play .b-hl-edge rect { animation: pt-trace 1.1s var(--ease-out) .3s backwards; }


.pt-tlist { padding: 0 var(--space-6) 160px; }
.pt-trow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6); padding-block: var(--space-6); border-top: 1px solid rgb(255 255 255 / .14); }
.pt-trow h3 { font-size: var(--text-h3); font-weight: var(--weight-medium); letter-spacing: var(--tracking-snug); line-height: 1.15; }
.pt-trow p { margin-top: var(--space-2); max-width: 40ch; font-size: var(--text-base); line-height: 1.5; color: var(--gray-7); }
@media (max-width: 900px) { .pt-trow { grid-template-columns: 1fr; } }




.pt-scene > * { align-self: stretch; }
.pt-scene > .b-pg:not(.pt-chart) { display: flex; flex-direction: column; }
.pt-scene > .b-pg:not(.pt-chart) > .pg-row { flex: 1; }

.pt-scene > .b-pg.pt-cpanel > .pg-row { flex: none; min-height: 65px; }
.pt-feed2 .pt-rows2 { height: auto; flex: 1; display: flex; flex-direction: column; }
.pt-feed2 .pt-rows2 > .pg-row { flex: 1; }

html .pt-why .b-tall { min-height: 0; }
.pt-why .b-tall h3 { min-height: 2.3em; }
.pt-why .b-tall > .b-pg { flex: 1; margin-top: var(--space-6); margin-bottom: calc(-1 * var(--g-r)); align-self: stretch; display: flex; flex-direction: column; }
.pt-why .b-tall > .b-pg > .pg-row { flex: 1; }
@media (max-width: 1000px) { .pt-why .b-tall h3 { min-height: 0; } }


@media (max-width: 860px) {
  .pt-stage { zoom: 1; width: 100%; max-width: 520px; }
  .pt-tabs { flex-wrap: wrap; }
  [data-tabs="underline"] .pt-tabs { width: 100%; }               
  [data-tabs="underline"] .pt-tabs button { flex: 1 0 50%; }
  .pt-scene { grid-template-columns: minmax(0, 1fr); }
  .pt-scene > :nth-child(2) { display: none; }
  
  .pt-scene:nth-child(3) > :nth-child(1), .pt-scene:nth-child(4) > :nth-child(1) { display: none; }
  .pt-scene:nth-child(3) > :nth-child(2), .pt-scene:nth-child(4) > :nth-child(2) { display: flex; }
}
