

:root {
  
  --g-r: 12px;
  --g-r-in: 6px;
  --g-r-pill: var(--radius-pill, 9999px);
  --g-frame-light: 0 0 0 6px rgb(255 255 255 / .5), 0 18px 40px -24px rgb(20 40 70 / .45);
  --g-frame-dark: 0 0 0 1px rgb(255 255 255 / .14), 0 30px 60px -28px rgb(0 10 30 / .6);
  --g-frame: var(--g-frame-light);

  
  --g-w-s: 300px;
  --g-w-m: 360px;
  --g-w-l: 400px;

  
  --g-small: 11px;   
  --g-text: 13px;    
  --g-mid: 16px;     
  --g-num: 26px;     

  
  --g-pad: var(--space-4);       
  --g-row: 10px;                 
  --g-logo: 28px;                

  
  --g-dots-light: radial-gradient(circle, rgb(27 65 91 / .22) 1px, transparent 1.4px) 0 0 / 8px 8px;
  --g-dots-dark: radial-gradient(circle, rgb(255 255 255 / .2) 1px, transparent 1.4px) 0 0 / 8px 8px;
  --g-dots: var(--g-dots-light);

  
  --g-ease: var(--ease-out, cubic-bezier(.2, .8, .2, 1));
  
  --g-in: var(--dur-in, .5s);
  --g-shift: var(--shift, 16px);
  --g-stagger: var(--stagger, .12s);
  --g-tick: var(--tick, .65s);       
  --g-count: var(--count, .85s);     
}


.b-stage, .pp-panel, .pp-field, .sl-box, .b-dark, .b-uc.big,
.b-trio .b-tall:not(.pale):not(.b-wide) { --g-frame: var(--g-frame-dark); --g-dots: var(--g-dots-dark); }


.b-w, .b-app, .b-pg.ia, .b-pg.cl, .pg-panel, .ops-tl, .b-ui {
  border-radius: var(--g-r); overflow: clip; background: #fff; color: var(--gray-12);
  font-size: var(--g-text); line-height: 1.4; font-variant-numeric: tabular-nums;
}
.b-w, .b-app.on, .b-pg.ia, .b-pg.cl, .pg-panel, .ops-tl, .b-ui { box-shadow: var(--g-frame); }
.b-app:not(.on) { box-shadow: none; }

.b-uc .b-w { border-radius: var(--g-r) var(--g-r) 0 0; }


.b-w > h4, .b-w > .b-fold > div > h4 { margin: 0; display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3);
  padding: var(--space-3) var(--g-pad); border-bottom: 1px solid var(--gray-3); font-size: var(--g-text); font-weight: var(--weight-medium); }
.b-w > h4 small, .b-w > .b-fold > div > h4 small { font-size: var(--g-small); font-weight: var(--weight-regular); color: var(--color-text-tertiary); }
.b-w-body { padding: var(--g-pad); }

.b-app-top i { display: none; }


.b-wl > div { display: flex; align-items: center; gap: var(--space-3); padding: var(--g-row) var(--g-pad); border-top: 1px solid var(--gray-3); }
.b-wl > div:first-child { border-top: 0; }
.b-wl > div > span:has(> small) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.b-wl > div > span:not(.b-pill):not(.b-logo):not(.ops-flag) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.b-wl > div > b:last-child { margin-left: auto; }
.b-wl b { font-weight: var(--weight-medium); white-space: nowrap; }
.b-wl small { font-size: var(--g-small); color: var(--color-text-tertiary); white-space: nowrap; }

.b-wl > div > span:not(.b-pill):not(.b-logo):not(.ops-flag) > :is(b, small) { white-space: normal; }

.b-wl > div.dim { opacity: .45; }


.b-wl > div:is(.sel, .hl, .new) { position: relative; margin: 6px 8px; padding-inline: calc(var(--g-pad) - 8px);
  border-radius: var(--g-r-in); border-top-color: transparent; background: var(--gray-3); }
.b-wl > div:is(.sel, .hl, .new) + div { border-top-color: transparent; }
.b-wl > div:is(.sel, .hl, .new)[data-g-at]:not([data-g-class]):not(.is-on) { margin-block: 0; }
.b-vs:has(> .hl) { margin-bottom: 8px; }
.b-vs > .hl { background: var(--gray-3); border-top-color: rgb(20 28 33 / .06); }
.b-vs > b.hl { border-radius: var(--g-r-in) var(--g-r-in) 0 0; }
.b-vs > .hl:nth-last-child(2) { border-radius: 0 0 var(--g-r-in) var(--g-r-in); }

.b-hl { position: relative; border-radius: var(--g-r-in); background: var(--gray-3); }
.b-hl-edge { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.b-hl-edge rect { x: .75px; y: .75px; width: calc(100% - 1.5px); height: calc(100% - 1.5px); rx: var(--g-r-in); fill: none;
  stroke: rgb(20 28 33 / .3); stroke-width: 1.5px; }

.b-wl > div:not(.sel, .hl, .new) > .b-hl-edge, .b-wl > div[data-g-at]:not([data-g-class]):not(.is-on) > .b-hl-edge,
.b-rise:not(.is-on) > .b-hl-edge { display: none; }


.b-w-stat { display: flex; flex-direction: column; gap: 2px; padding: var(--g-pad) var(--g-pad) var(--space-3); }
.b-w-stat small { font-size: var(--g-small); color: var(--color-text-tertiary); }
.b-w-stat b { font-size: var(--g-num); font-weight: var(--weight-medium); letter-spacing: -.02em; line-height: 1.1; }


.b-logo { display: flex; align-items: center; justify-content: center; width: var(--g-logo); height: var(--g-logo); flex: none;
  border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--gray-5); }
.b-logo img { width: 60%; height: 60%; object-fit: contain; }
.b-logo.ink { background: var(--gray-12); box-shadow: none; }

.b-logo.ico img { width: 55%; height: 55%; opacity: .75; }
.b-logo.ico.up img { rotate: -90deg; } .b-logo.ico.down img { rotate: 90deg; }


.b-pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding-inline: var(--space-2); border-radius: var(--g-r-pill);
  font-size: var(--g-small); font-weight: var(--weight-medium); white-space: nowrap; background: var(--gray-3); color: var(--color-text-secondary); }
.b-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.b-pill.ok { background: var(--green-fill); color: var(--green-text); }
.b-pill.wait { background: #f6efe2; color: var(--amber-text); }
.b-pill.err { background: var(--red-fill); color: var(--red-text); }
.b-pill.onDark { background: rgb(255 255 255 / .14); color: #fff; }


.b-chip { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding-inline: 9px; border-radius: var(--g-r-pill);
  background: var(--gray-3); font-size: var(--g-text); font-weight: var(--weight-medium); white-space: nowrap; }


.pg-btn, .pp-btn { font-size: var(--g-text); }


:root .b-ring > i b, :root .b-app-foot b, :root .b-big b,
:root .pg-stat b, :root .ops-stat b, :root .ops-dec b, :root .ops-split b, :root .sl-bars b { font-size: var(--g-num); }
:root .b-app-top b, :root .b-w-foot b, :root .pp-top > b, :root .pp-top > b.sm { font-size: var(--g-mid); }
:root .pg-split b, :root .b-panel .b-chip, :root .ops-tl, :root .pp-hero-b p, :root .pg-ends { font-size: var(--g-text); }
:root .ops-raw code, :root .sl-key, :root .pg-ends.small, :root .b-ring > i small, :root .b-w-foot small,
:root .b-app li small, :root .b-app-top small, :root .b-app-foot small, :root .b-pg small,
:root .pp-top small, :root .ops-arrows, :root .ops-note-top, :root .ops-axis, :root .ops-raw-head { font-size: var(--g-small); }


@keyframes b-in { from { opacity: 0; translate: 0 var(--g-shift); } }  
.b-wset.on { animation: b-in var(--g-in) var(--g-ease); }
.b-wset.on > * { animation: b-in var(--g-in) var(--g-ease) backwards; }
.b-wset.on > :nth-child(2) { animation-delay: var(--g-stagger); }
.b-wset.on > :nth-child(3) { animation-delay: calc(2 * var(--g-stagger)); }
.b-wset.on > :nth-child(4) { animation-delay: calc(3 * var(--g-stagger)); }
.sl-pane.on { animation: b-in var(--g-in) var(--g-ease); }
[data-motion="off"] .b-wset.on, [data-motion="off"] .b-wset.on > * { animation: none; }
@media (prefers-reduced-motion: reduce) { .b-wset.on, .b-wset.on > *, .sl-pane.on { animation: none; } }


@keyframes g-out { to { opacity: 0; } }
@keyframes g-in { from { opacity: 0; } }
[data-g-loop].g-out > * { animation: g-out .4s var(--g-ease) forwards; }
[data-g-loop].g-in > * { animation: g-in .4s var(--g-ease); }


.b-rise { opacity: 0; translate: 0 var(--g-shift); transition: opacity var(--g-in) var(--g-ease), translate var(--g-in) var(--g-ease); }
.b-rise.is-on { opacity: 1; translate: 0 0; }

.b-cardpanel { width: 100%; max-width: var(--g-w-s); }
.b-cardpanel > .b-card { position: relative; z-index: 2; box-shadow: 0 18px 30px -16px rgb(0 10 30 / .55); }
.b-cardpanel > .b-card.is-on { translate: 0 -8px; transition: translate var(--g-in) var(--g-ease); }
.b-cardpanel-clip { position: relative; z-index: 1; margin: -14px -10px -40px; padding: 0 10px 40px; overflow: hidden; }
.b-cardpanel-panel { translate: 0 -100%; }
.b-cardpanel-panel.is-on { translate: 0 0; transition: translate .6s var(--g-ease); }
.b-cardpanel-panel > h4 { padding-top: calc(var(--space-3) + 14px); }
.b-layers { position: relative; width: var(--g-w-s); padding-bottom: 160px; }
.b-layers .b-card { position: relative; z-index: 5; box-shadow: 0 18px 30px -16px rgb(0 10 30 / .55); }
.b-plate { position: absolute; inset: 0 0 auto 0; z-index: calc(5 - var(--i)); aspect-ratio: 1.586; border-radius: 3.6% / 5.7%; background: var(--b-blue); color: #fff;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16), 0 12px 24px -16px rgb(0 10 30 / .6); transition: translate var(--g-in) var(--g-ease) calc(var(--i) * var(--g-stagger)); }
.b-plate.is-on { translate: 0 calc(var(--i) * 40px); }
.b-plate > div { position: absolute; inset: auto 0 0 0; height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 14px;
  font-size: var(--g-text); white-space: nowrap; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity var(--g-in) var(--g-ease) calc(var(--i) * var(--g-stagger) + .2s); }
.b-plate.is-on > div { opacity: 1; }
.b-plate b { font-weight: var(--weight-medium); }
.b-plate span { display: flex; align-items: center; gap: 8px; }
@media (prefers-reduced-motion: reduce) { .b-rise, .b-cardpanel > .b-card, .b-cardpanel-panel, .b-plate, .b-plate > div { transition: none; } }


.b-card { position: relative; container-type: inline-size; width: 100%; aspect-ratio: 1.586; border-radius: 3.6% / 5.7%; overflow: hidden; isolation: isolate;
  color: #fff; background: var(--card-bg, var(--gray-12)); font-variant-numeric: tabular-nums; line-height: 1; --ring: rgb(255 255 255 / .11);
  box-shadow: 0 18px 30px -16px rgb(0 10 30 / .55); }
.b-card::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-radial-gradient(circle at -2cqw -2cqw, transparent 0 calc(5.6cqw - 1px), var(--ring) calc(5.6cqw - 1px) 5.6cqw);
  -webkit-mask-image: linear-gradient(135deg, #000 15%, rgb(0 0 0 / .3) 85%); mask-image: linear-gradient(135deg, #000 15%, rgb(0 0 0 / .3) 85%); }
.b-card::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 90% at 25% 15%, rgb(255 255 255 / .07), transparent 60%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .14), inset 0 0 0 1px rgb(255 255 255 / .06); }
.b-card > b { position: absolute; top: 6.5cqw; right: 6.5cqw; font-size: 5.2cqw; font-weight: var(--weight-medium); letter-spacing: -.01em; }
.b-card > .chip { position: absolute; left: 10cqw; top: 19.5cqw; width: 15.5cqw; aspect-ratio: 52 / 46; border-radius: 1.8cqw;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 46' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%233c4148' stroke-opacity='.62' stroke-width='1.2'%3E%3Cpath d='M0 15.5H16.5M0 30.5H16.5M35.5 15.5H52M35.5 30.5H52M26 0V9M26 37V46'/%3E%3Crect x='16.5' y='9' width='19' height='28' rx='5'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat, linear-gradient(135deg, #f4f4f5, #c8cacd 45%, #e7e8ea 70%, #b3b6ba);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / .2), 0 1px 1.5px rgb(0 0 0 / .3); }
.b-card > span { position: absolute; left: 6.5cqw; bottom: 6.5cqw; font-size: 3.6cqw; letter-spacing: .08em; opacity: .75; }
.b-card > .net { position: absolute; right: 5.5cqw; bottom: 5.5cqw; width: 20cqw; aspect-ratio: 32 / 10.36; background: currentColor;
  -webkit-mask: url("/system/assets/visa.svg") center / contain no-repeat; mask: url("/system/assets/visa.svg") center / contain no-repeat; }
.b-card.steel { --card-bg: linear-gradient(150deg, var(--card-steel-1), var(--card-steel-2)); }
.b-card.night { --card-bg: linear-gradient(150deg, var(--card-night), color-mix(in srgb, var(--card-night) 80%, #000)); }
.b-card.dawn { --card-bg: linear-gradient(150deg, var(--card-dawn-1), var(--card-dawn-2)); color: var(--gray-12); --ring: rgb(90 70 40 / .12); }
.b-card.dawn::before { box-shadow: inset 0 0 0 1px rgb(0 0 0 / .05); }
.b-card.ink { --card-bg: linear-gradient(150deg, #232527, var(--gray-12)); }


.b-radio { width: 16px; height: 16px; flex: none; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--gray-6); }
.b-wl > div.sel .b-radio { box-shadow: inset 0 0 0 5px var(--b-hero); }

.b-vs { display: grid; grid-template-columns: auto 1fr 1fr; align-items: center; font-size: var(--g-text); white-space: nowrap; }
.b-vs > * { display: flex; align-items: center; min-height: 40px; padding: 0 10px; border-top: 1px solid var(--gray-3); }
.b-vs > :nth-child(-n+3) { min-height: 34px; border-top: 0; }
.b-vs > small { padding-left: 14px; font-size: var(--g-small); color: var(--color-text-tertiary); }
.b-vs > b { font-weight: var(--weight-medium); }
.b-vs > :nth-child(3n) { padding-right: 14px; }

.b-log { display: flex; flex-direction: column; padding: 14px var(--g-pad); }
.b-log > div { position: relative; display: grid; grid-template-columns: 14px 1fr auto; gap: 10px; align-items: start; padding-bottom: 14px; }
.b-log > div:last-child { padding-bottom: 0; }
.b-log > div::before { content: ""; position: absolute; left: 6px; top: 14px; bottom: 0; border-left: 1.5px solid var(--gray-4); }
.b-log > div:last-child::before { display: none; }
.b-log i { width: 10px; height: 10px; margin: 3px 0 0 1px; border-radius: 50%; background: var(--b-hero); }
.b-log span { display: flex; flex-direction: column; }
.b-log b { font-weight: var(--weight-medium); white-space: nowrap; }
.b-log small { font-size: var(--g-small); color: var(--color-text-tertiary); white-space: nowrap; }
.b-log > div > small { padding-top: 2px; }

.b-w > .pg-time { border-bottom: 1px solid var(--gray-3); }
.b-w > .pg-time .pg-ends { font-size: var(--g-text); }
.b-w > .pg-time .pg-ends b { font-weight: var(--weight-medium); }
.b-w > .pg-time .pg-ends small { display: block; font-size: var(--g-small); color: var(--color-text-tertiary); }

.b-w > .b-sw { height: auto; box-shadow: none; border-radius: 0; background: transparent; }
.b-w > .b-sw span:last-child { border-bottom: 0; }

.b-fold { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--g-in) var(--g-ease); }
.b-fold > div { min-height: 0; overflow: hidden; }
.b-fold.is-on { grid-template-rows: 1fr; }

.b-swap { display: grid; }
.b-swap > span { grid-area: 1 / 1; transition: opacity .3s var(--ease-ui), translate .3s var(--ease-out); }
.b-swap > span + span { opacity: 0; translate: 0 6px; }
.b-swap.is-on > span:first-child { opacity: 0; translate: 0 -6px; }
.b-swap.is-on > span + span { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .b-fold, .b-swap > span { transition: none; } }
