/* Codhix — animated product scenes (hero mockups). */
/* ==========================================================================
   Scenes (large animated mockups). Sized in em; 1em = 1/64 of the window width.
   ========================================================================== */
.scene { position: absolute; inset: 0; font-size: 1.5625cqi; line-height: 1.35; overflow: hidden; }

/* -- Shopify storefront -- */
.scene-shopify { --g: #C9A15B; background: #1D1813; color: #F3E9D7; display: grid; grid-template-rows: auto minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.5em; padding: 0 2.4em 2.2em; }
.sh-nav { display: flex; align-items: center; justify-content: space-between; height: 4.4em; border-bottom: 1px solid rgba(243, 233, 215, .12); }
.sh-logo { font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: 1.15em; }
.sh-links b { font-weight: 500; margin-left: 1.8em; opacity: .7; font-size: .95em; }
.sh-cart { display: flex; align-items: center; gap: .5em; font-size: .95em; }
.sh-badge { display: inline-block; width: 1.6em; height: 1.6em; overflow: hidden; border-radius: 50%; background: var(--g); color: #1D1813; font-style: normal; font-weight: 700; text-align: center; font-size: .85em; line-height: 1.6em; }
.sh-badge span { display: block; }
.sh-hero { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; border-radius: 1.1em; padding: 0 2.6em; overflow: hidden; background: radial-gradient(circle at 74% 55%, rgba(201, 161, 91, .32), transparent 58%), #261F18; }
.sh-kick { display: block; font-size: .85em; color: var(--g); margin-bottom: .6em; }
.sh-hero strong { display: block; font-size: 2.7em; line-height: 1.02; font-weight: 720; font-stretch: 78%; letter-spacing: -.02em; max-width: 8.5em; }
.sh-btn { display: inline-block; margin-top: 1.3em; padding: .75em 1.4em; border-radius: 99em; background: #F3E9D7; color: #1D1813; font-weight: 650; font-size: .88em; }
.sh-bottle { position: relative; width: 7.4em; height: 11.5em; justify-self: center; }
.sh-bottle .cap { position: absolute; top: 0; left: 50%; width: 2.8em; height: 2.2em; transform: translateX(-50%); border-radius: .35em; background: linear-gradient(90deg, #8C6A2F, #E9CF95 45%, #9C7838); }
.sh-bottle .neck { position: absolute; top: 2.1em; left: 50%; width: 1.5em; height: 1em; transform: translateX(-50%); background: #B48C48; }
.sh-bottle .glass { position: absolute; top: 3em; left: 0; right: 0; bottom: 0; border-radius: 1.6em 1.6em 1.3em 1.3em; background: linear-gradient(160deg, rgba(255, 231, 180, .6), rgba(201, 161, 91, .28) 45%, rgba(120, 72, 20, .7)); box-shadow: inset 0 0 0 .16em rgba(255, 236, 200, .35), 0 2em 3em -1em rgba(0, 0, 0, .6); }
.sh-bottle .glass::after { content: ""; position: absolute; left: 22%; right: 22%; top: 38%; height: 26%; border-radius: .3em; background: rgba(29, 24, 19, .75); box-shadow: inset 0 0 0 .1em rgba(201, 161, 91, .6); }
.sh-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2em; min-height: 0; }
.sh-card { display: flex; flex-direction: column; gap: .35em; background: #261F18; border-radius: .9em; padding: .8em; min-height: 0; box-shadow: 0 0 0 .14em transparent; }
.sh-img { flex: 1; min-height: 3em; border-radius: .6em; display: grid; place-items: center; background: radial-gradient(circle at 50% 62%, rgba(201, 161, 91, .32), transparent 66%), #2F271F; }
.sh-img i { position: relative; width: 1.8em; height: 2.8em; border-radius: .5em .5em .7em .7em; background: linear-gradient(160deg, #E8C98A, #9A6B2E); filter: hue-rotate(calc(var(--i) * -18deg)) saturate(calc(1 + var(--i) * .15)); }
.sh-img i::before { content: ""; position: absolute; left: 50%; top: -.8em; width: .9em; height: .8em; transform: translateX(-50%); border-radius: .2em; background: #C9A15B; }
.sh-name { font-weight: 650; font-size: .9em; }
.sh-price { font-size: .8em; opacity: .7; }
.sh-toast { position: absolute; right: 2.4em; top: 5.4em; background: #F3E9D7; color: #1D1813; padding: .75em 1.1em; border-radius: .7em; font-size: .85em; font-weight: 650; box-shadow: 0 1em 2em -.6em rgba(0, 0, 0, .6); opacity: 0; transform: translateY(-.6em); }

.is-active .scene-shopify .sh-hero-copy > * { animation: sceneRise .8s var(--ease-out) both; }
.is-active .scene-shopify .sh-hero-copy > :nth-child(2) { animation-delay: .1s; }
.is-active .scene-shopify .sh-hero-copy > :nth-child(3) { animation-delay: .2s; }
.is-active .scene-shopify .sh-bottle { animation: bottleIn 1s var(--ease-out) .15s both; }
.is-active .scene-shopify .sh-card { animation: sceneRise .7s var(--ease-out) both; animation-delay: calc(.35s + var(--i) * .1s); }
.is-active .scene-shopify .sh-card:nth-child(2) { animation: sceneRise .7s var(--ease-out) .45s both, cardPick 3.4s var(--ease) 1.9s both; }
.is-active .scene-shopify .sh-toast { animation: toast 3.2s var(--ease-out) 2.2s both; }
.is-active .scene-shopify .sh-badge span { animation: badgeRoll .5s var(--ease-out) 2.35s both; }

/* -- Business website -- */
.scene-business { background: #fff; color: #0D1530; }
.bz-scroll { padding: 0 2.4em 2em; }
.bz-nav { display: flex; align-items: center; justify-content: space-between; height: 4.4em; }
.bz-logo { display: flex; align-items: center; gap: .6em; font-weight: 720; font-size: 1.1em; }
.bz-logo i { width: 1.1em; height: 1.1em; border-radius: .25em; background: var(--c); transform: rotate(45deg); }
.bz-links b { font-weight: 500; margin-left: 1.7em; opacity: .62; font-size: .92em; }
.bz-cta { background: #0D1530; color: #fff; padding: .6em 1.05em; border-radius: .55em; font-size: .85em; font-weight: 650; }
.bz-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2em; align-items: center; padding: 1.4em 0 2em; }
.bz-copy strong { display: block; font-size: 2.75em; line-height: 1.02; font-weight: 760; font-stretch: 78%; letter-spacing: -.025em; }
.bz-copy > span { display: block; margin-top: .9em; color: #3A4466; max-width: 22em; font-size: .98em; }
.bz-btns b { display: inline-block; margin: 1.2em .6em 0 0; padding: .65em 1.1em; border-radius: .55em; background: var(--c); color: #fff; font-size: .85em; font-weight: 650; }
.bz-btns b.o { background: transparent; border: 1px solid #C9D0DE; color: #0D1530; }
.bz-img { position: relative; height: 15.5em; border-radius: 1em; overflow: hidden; background: linear-gradient(180deg, #DCE5FF, #F3F6FF); }
.bz-img i { position: absolute; bottom: 0; transform-origin: bottom; background-color: #2F57E8; background-image: repeating-linear-gradient(to bottom, transparent 0 .8em, rgba(255, 255, 255, .32) .8em 1.25em); border-radius: .3em .3em 0 0; }
.bz-img .t1 { left: 12%; width: 4.4em; height: 68%; }
.bz-img .t2 { left: 37%; width: 5.4em; height: 88%; background-color: #1E3CB8; }
.bz-img .t3 { left: 66%; width: 3.8em; height: 52%; background-color: #5B7FFF; }
.bz-img .sun { top: 1.4em; right: 1.8em; bottom: auto; width: 2.6em; height: 2.6em; border-radius: 50%; background: var(--amber); background-image: none; opacity: .9; }
.bz-stats { display: flex; gap: 1em; }
.bz-stats span { flex: 1; background: #F3F5F9; border-radius: .8em; padding: .9em 1.1em; font-size: .9em; color: #3A4466; }
.bz-stats b { display: block; font-size: 1.9em; color: #0D1530; font-weight: 760; line-height: 1.1; }
.bz-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; margin-top: 1.4em; }
.bz-card { border: 1px solid #DDE2EC; border-radius: .9em; padding: 1.1em; }
.bz-card i { display: block; width: 2em; height: 2em; border-radius: .55em; background: #E6ECFF; }
.bz-card b { display: block; margin: .8em 0 .5em; font-size: .95em; }
.bz-card span { display: block; height: .5em; border-radius: .3em; background: #E8EBF2; margin-top: .45em; }
.bz-card span:last-child { width: 68%; }
.bz-form { margin-top: 1.4em; background: #0D1530; color: #fff; border-radius: 1em; padding: 1.4em; display: grid; grid-template-columns: 1.1fr 1fr 1fr auto; gap: .8em; align-items: center; }
.bz-form span { height: 2.4em; border-radius: .55em; background: rgba(255, 255, 255, .1); }
.bz-form em { font-style: normal; background: var(--c); padding: .75em 1.1em; border-radius: .55em; font-size: .85em; font-weight: 650; }

.is-active .scene-business .bz-copy > * { animation: sceneRise .8s var(--ease-out) both; }
.is-active .scene-business .bz-copy > :nth-child(2) { animation-delay: .1s; }
.is-active .scene-business .bz-copy > :nth-child(3) { animation-delay: .2s; }
.is-active .scene-business .bz-img i:not(.sun) { animation: growUp 1s var(--ease-out) both; }
.is-active .scene-business .bz-img .t2 { animation-delay: .12s; }
.is-active .scene-business .bz-img .t3 { animation-delay: .24s; }
.is-active .scene-business .bz-img .sun { animation: sunUp 1.4s var(--ease-out) .2s both; }
.is-active .scene-business .bz-card { animation: sceneRise .7s var(--ease-out) both; animation-delay: calc(.5s + var(--i) * .1s); }
.is-active .scene-business .bz-scroll { animation: pageScroll 6.5s var(--ease) both; }

/* -- ERP dashboard -- */
.scene-erp { background: #F5F6FB; color: #0D1530; display: grid; grid-template-columns: 13em minmax(0, 1fr); }
.erp-side { background: #141938; color: #BFC4DE; padding: 1.4em 1em; display: flex; flex-direction: column; gap: .25em; }
.erp-logo { display: flex; align-items: center; gap: .55em; color: #fff; font-weight: 720; font-size: 1.05em; margin-bottom: 1.1em; padding-left: .3em; }
.erp-logo i { width: 1.4em; height: 1.4em; border-radius: .4em; background: var(--c); }
.erp-menu { display: flex; align-items: center; gap: .7em; padding: .62em .8em; border-radius: .55em; font-size: .86em; white-space: nowrap; }
.erp-menu i { width: .9em; height: .9em; border-radius: .25em; background: currentColor; opacity: .45; flex-shrink: 0; }
.erp-menu.on { background: rgba(122, 77, 255, .24); color: #fff; }
.erp-menu.on i { background: var(--c); opacity: 1; }
.erp-main { display: grid; grid-template-rows: auto auto minmax(0, 1fr); gap: 1.1em; padding: 1.2em 1.6em 1.6em; min-width: 0; }
.erp-top { display: flex; justify-content: space-between; align-items: center; gap: 1em; }
.erp-search { flex: 0 1 22em; background: #fff; border: 1px solid #E3E6EF; border-radius: .6em; padding: .6em 1em; font-size: .82em; color: #6B7493; white-space: nowrap; overflow: hidden; }
.erp-user { width: 2.4em; height: 2.4em; border-radius: 50%; background: #FFE7D6; color: #8A3B12; display: grid; place-items: center; font-weight: 720; font-size: .8em; flex-shrink: 0; }
.erp-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9em; }
.kpi { background: #fff; border: 1px solid #E6E9F1; border-radius: .85em; padding: .9em 1em; min-width: 0; }
.kpi span { display: block; font-size: .76em; color: #6B7493; }
.kpi b { display: block; font-size: 1.16em; font-stretch: 84%; font-weight: 760; margin: .25em 0 .1em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi em { font-style: normal; font-size: .74em; color: #0B8A6A; font-weight: 650; }
.kpi em.warn { color: #C2410C; }
.erp-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: .9em; min-height: 0; }
.erp-chart, .erp-table { background: #fff; border: 1px solid #E6E9F1; border-radius: .85em; padding: 1em; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.erp-h { display: block; font-size: .86em; font-weight: 680; margin-bottom: .7em; }
.bars { flex: 1; display: flex; align-items: flex-end; gap: .55em; min-height: 3em; }
.bars i { flex: 1; height: var(--h); border-radius: .35em .35em .12em .12em; background: color-mix(in srgb, var(--c) 30%, #fff); transform-origin: bottom; }
.bars i:nth-child(6) { background: var(--c); }
.bar-labels { display: flex; gap: .55em; margin-top: .5em; }
.bar-labels span { flex: 1; text-align: center; font-size: .66em; color: #6B7493; }
.erp-tr { display: grid; grid-template-columns: 5.4em minmax(0, 1fr) 5.2em 4.4em; gap: .6em; align-items: center; padding: .6em 0; border-top: 1px solid #EEF0F5; font-size: .78em; }
.erp-tr span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.erp-tr span:first-child { color: #6B7493; }
.erp-tr span:nth-child(3) { text-align: right; font-variant-numeric: tabular-nums; font-weight: 620; }
.erp-tr em { font-style: normal; text-align: center; border-radius: 99em; padding: .22em .4em; font-size: .9em; font-weight: 650; }
.st-paid { background: #E3F8EF; color: #0B7A5C; }
.st-due { background: #FFF1E6; color: #B45309; }
.st-partial { background: #EEF0FF; color: #4338CA; }

.is-active .scene-erp .kpi { animation: sceneRise .6s var(--ease-out) both; }
.is-active .scene-erp .kpi:nth-child(2) { animation-delay: .08s; }
.is-active .scene-erp .kpi:nth-child(3) { animation-delay: .16s; }
.is-active .scene-erp .kpi:nth-child(4) { animation-delay: .24s; }
.is-active .scene-erp .bars i { animation: growUp .9s var(--ease-out) both; animation-delay: calc(.35s + var(--i) * .07s); }
.is-active .scene-erp .erp-tr { animation: sceneSlide .6s var(--ease-out) both; animation-delay: calc(.6s + var(--i) * .12s); }
.is-active .scene-erp .erp-menu { animation: sceneFade .5s var(--ease) both; }

/* -- E-commerce checkout -- */
.scene-ecommerce { background: #FFF7F1; color: #0D1530; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 1.6em; padding: 2em 2.4em; }
.ec-product { display: flex; flex-direction: column; background: #fff; border: 1px solid #F1E3D8; border-radius: 1.1em; padding: 1.2em; min-height: 0; }
.ec-img { position: relative; flex: 1; min-height: 8em; border-radius: .9em; background: radial-gradient(circle at 50% 70%, #FFD9C7, #FFEDE4 70%); overflow: hidden; }
.ec-img .bag { position: absolute; z-index: 1; left: 50%; top: 50%; width: 8.5em; height: 7.2em; transform: translate(-50%, -34%); border-radius: .9em .9em 1.5em 1.5em; background: linear-gradient(160deg, #FF8A5C, #E5522A); box-shadow: inset 0 -.9em 0 rgba(0, 0, 0, .08), 0 1.6em 2em -1em rgba(229, 82, 42, .55); }
.ec-img .handle { position: absolute; left: 50%; top: 50%; width: 4.6em; height: 3.8em; transform: translate(-50%, -112%); border: .6em solid #C4441E; border-bottom: 0; border-radius: 2.3em 2.3em 0 0; }
.ec-cat { margin-top: 1em; font-size: .78em; color: #6B7493; }
.ec-product strong { display: block; font-size: 1.45em; font-weight: 720; line-height: 1.15; }
.ec-price { display: block; font-weight: 680; margin-top: .2em; }
.ec-swatches { display: flex; gap: .45em; margin-top: .7em; }
.ec-swatches i { width: 1.3em; height: 1.3em; border-radius: 50%; background: #E5522A; }
.ec-swatches i:first-child { box-shadow: 0 0 0 .18em #fff, 0 0 0 .32em #E5522A; }
.ec-swatches i:nth-child(2) { background: #1F2937; }
.ec-swatches i:nth-child(3) { background: #D6C2A8; }
.ec-add { display: block; margin-top: 1em; background: #0D1530; color: #fff; text-align: center; padding: .8em; border-radius: .65em; font-weight: 650; font-size: .9em; }
.ec-flow { position: relative; display: flex; flex-direction: column; gap: .85em; background: #fff; border: 1px solid #F1E3D8; border-radius: 1.1em; padding: 1.3em 1.4em; min-height: 0; overflow: hidden; }
.ec-steps { display: flex; gap: .5em; }
.ec-steps span { flex: 1; padding-top: .55em; border-top: .28em solid #EFE3DA; font-size: .78em; font-weight: 650; color: #5F6782; }
.ec-steps .s1 { border-top-color: var(--c); color: #0D1530; }
.ec-pay { display: grid; gap: .5em; }
.ec-pay .opt { display: flex; align-items: center; gap: .7em; padding: .72em .9em; border: 1px solid #EADFD6; border-radius: .65em; font-size: .86em; }
.ec-pay .opt i { width: 1.1em; height: 1.1em; border-radius: 50%; border: .18em solid #CDBFB4; flex-shrink: 0; }
.ec-total { display: flex; justify-content: space-between; align-items: baseline; font-size: .88em; color: #3A4466; }
.ec-total b { font-size: 1.2em; color: #0D1530; }
.ec-place { background: var(--c); color: #1E0B03; text-align: center; padding: .85em; border-radius: .65em; font-weight: 720; font-size: .92em; }
.ec-done { position: absolute; left: 1.4em; right: 1.4em; top: 3.6em; display: flex; align-items: center; gap: .7em; padding: 1em 1.1em; border-radius: .8em; background: #ECFDF5; color: #065F46; font-weight: 680; font-size: .92em; box-shadow: 0 1em 2em -1em rgba(6, 95, 70, .4); opacity: 0; }
.ec-done i { position: relative; width: 1.6em; height: 1.6em; border-radius: 50%; background: #10B981; flex-shrink: 0; }
.ec-done i::after { content: ""; position: absolute; left: .48em; top: .42em; width: .6em; height: .34em; border-left: .16em solid #fff; border-bottom: .16em solid #fff; transform: rotate(-45deg); }
.ec-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: auto; padding-top: .4em; }
.ec-track::before, .ec-track::after { content: ""; position: absolute; top: calc(.4em + .48em); left: 12.5%; right: 12.5%; height: .22em; border-radius: .2em; background: #EFE3DA; }
.ec-track::after { background: var(--c); transform: scaleX(0); transform-origin: left; }
.ec-track span { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .4em; font-size: .72em; color: #8A93AE; text-align: center; }
.ec-track i { width: 1.35em; height: 1.35em; border-radius: 50%; background: #EFE3DA; border: .22em solid #fff; }

.is-active .scene-ecommerce .ec-product { animation: sceneRise .7s var(--ease-out) both; }
.is-active .scene-ecommerce .ec-add { animation: press .5s var(--ease) .8s both; }
.is-active .scene-ecommerce .ec-steps .s2 { animation: stepOn .3s var(--ease) 1.2s both; }
.is-active .scene-ecommerce .ec-steps .s3 { animation: stepOn .3s var(--ease) 3s both; }
.is-active .scene-ecommerce .ec-pay .o1 { animation: optPick .4s var(--ease) 1.5s both; }
.is-active .scene-ecommerce .ec-pay .o1 i { animation: radioOn .4s var(--ease) 1.5s both; }
.is-active .scene-ecommerce .ec-place { animation: press .5s var(--ease) 2.4s both; }
.is-active .scene-ecommerce .ec-done { animation: doneIn .6s var(--ease-out) 2.95s both; }
.is-active .scene-ecommerce .ec-track::after { animation: trackFill 2.6s var(--ease) 3.4s both; }
.is-active .scene-ecommerce .ec-track .t1 { animation: trackOn .3s var(--ease) 3.4s both; }
.is-active .scene-ecommerce .ec-track .t2 { animation: trackOn .3s var(--ease) 4.2s both; }
.is-active .scene-ecommerce .ec-track .t3 { animation: trackOn .3s var(--ease) 5s both; }
.is-active .scene-ecommerce .ec-track .t4 { animation: trackOn .3s var(--ease) 5.9s both; }

/* -- Trading terminal -- */
.scene-trading { background: #0A0F1F; color: #C6CEE4; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; font-variant-numeric: tabular-nums; }
.tr-top { display: flex; align-items: center; gap: 1.6em; padding: .95em 1.4em; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: .85em; white-space: nowrap; }
.tr-sym { opacity: .6; }
.tr-sym.on { opacity: 1; color: #fff; padding-bottom: .2em; border-bottom: .15em solid var(--c); }
.tr-sym b { margin-left: .35em; color: #fff; }
.tr-sym em { font-style: normal; margin-left: .35em; }
.tr-top .up, .tr-pos .buy { color: #34D399; }
.tr-top .down { color: #FB7185; }
.tr-bal { margin-left: auto; }
.tr-bal b { color: #fff; margin-left: .35em; }
.tr-body { display: grid; grid-template-columns: minmax(0, 1fr) 15em; min-height: 0; }
.tr-chart { position: relative; padding: 1em 3.6em 1em 1em; min-height: 0; }
.tr-chart svg { display: block; width: 100%; height: 100%; }
.candles .grid { stroke: rgba(255, 255, 255, .06); stroke-width: 1; vector-effect: non-scaling-stroke; }
.candles .wick { stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.candles .up { stroke: #22C55E; fill: #22C55E; }
.candles .down { stroke: #F43F5E; fill: #F43F5E; }
.candles .body.down { fill: #F43F5E; }
.tr-tag { position: absolute; right: .5em; top: 40%; transform: translateY(-50%); background: var(--c); color: #0A0F1F; font-size: .74em; font-weight: 760; padding: .25em .5em; border-radius: .3em; transition: top .5s var(--ease); }
.tr-panel { display: flex; flex-direction: column; gap: .9em; padding: 1em; border-left: 1px solid rgba(255, 255, 255, .07); min-height: 0; overflow: hidden; }
.tr-btns { display: grid; grid-template-columns: 1fr 1fr; gap: .5em; }
.tr-btns span { border-radius: .6em; padding: .7em .5em; font-size: .78em; font-weight: 650; text-align: center; color: #fff; }
.tr-btns b { display: block; font-size: 1.22em; margin-top: .1em; }
.tr-btns .sell { background: #E11D48; }
.tr-btns .buy { background: #16A34A; }
.tr-lot { display: flex; justify-content: space-between; font-size: .8em; background: rgba(255, 255, 255, .05); border-radius: .55em; padding: .6em .8em; }
.tr-lot b { color: #fff; }
.tr-book { display: grid; gap: .2em; font-size: .76em; }
.tr-book span { display: flex; justify-content: space-between; padding: .3em .5em; border-radius: .3em; }
.tr-book .ask b { color: #FB7185; }
.tr-book .bid b { color: #34D399; }
.tr-book i { font-style: normal; opacity: .55; }
.tr-book span.flash { animation: bookFlash .6s var(--ease); }
.tr-pos { display: grid; grid-template-columns: 1fr 1fr 1.4fr 1fr; gap: 1em; padding: .9em 1.4em; border-top: 1px solid rgba(255, 255, 255, .07); font-size: .8em; white-space: nowrap; }
.tr-pos .pl { text-align: right; color: #34D399; font-weight: 760; }
.tr-pos .pl.neg { color: #FB7185; }

.is-active .scene-trading .candles rect, .is-active .scene-trading .candles line.wick { animation: candleIn .5s var(--ease-out) both; }
.is-active .scene-trading .tr-panel > * { animation: sceneSlide .6s var(--ease-out) both; }
.is-active .scene-trading .tr-panel > :nth-child(2) { animation-delay: .1s; }
.is-active .scene-trading .tr-panel > :nth-child(3) { animation-delay: .2s; }


/* ==========================================================================
   Keyframes
   ========================================================================== */
@keyframes wordIn { to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes meter { from { width: 0; } to { width: 100%; } }
@keyframes stripes { from { background-position: 0 0; } to { background-position: 36px 0; } }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); } 70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
@keyframes slowSpin { to { transform: rotate(360deg); } }
@keyframes logoSpin { from { transform: rotate(-90deg); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes sceneRise { from { opacity: 0; transform: translateY(.9em); } to { opacity: 1; transform: none; } }
@keyframes sceneSlide { from { opacity: 0; transform: translateX(1.2em); } to { opacity: 1; transform: none; } }
@keyframes sceneFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes growUp { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes sunUp { from { transform: translateY(4em); opacity: 0; } to { transform: none; opacity: .9; } }
@keyframes bottleIn { from { opacity: 0; transform: translateY(1.5em) rotate(-6deg); } to { opacity: 1; transform: none; } }
@keyframes cardPick { 0% { box-shadow: 0 0 0 .14em transparent; } 12%, 70% { box-shadow: 0 0 0 .14em #C9A15B; transform: translateY(-.3em); } 100% { box-shadow: 0 0 0 .14em transparent; transform: none; } }
@keyframes toast { 0% { opacity: 0; transform: translateY(-.6em); } 10%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-.4em); } }
@keyframes badgeRoll { to { transform: translateY(-100%); } }
@keyframes pageScroll { 0%, 34% { transform: none; } 78%, 100% { transform: translateY(-34%); } }
@keyframes press { 0%, 100% { transform: none; } 45% { transform: scale(.95); filter: brightness(1.15); } }
@keyframes stepOn { to { border-top-color: var(--c); color: #0D1530; } }
@keyframes optPick { to { border-color: var(--c); background: color-mix(in srgb, var(--c) 9%, #fff); } }
@keyframes radioOn { to { border-width: .36em; border-color: var(--c); } }
@keyframes doneIn { from { opacity: 0; transform: translateY(.8em) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes trackFill { to { transform: scaleX(1); } }
@keyframes trackOn { to { color: #0D1530; } }
.is-active .scene-ecommerce .ec-track span i { transition: background-color .3s; }
.is-active .scene-ecommerce .ec-track .t1 i { animation: dotOn .3s var(--ease) 3.4s both; }
.is-active .scene-ecommerce .ec-track .t2 i { animation: dotOn .3s var(--ease) 4.2s both; }
.is-active .scene-ecommerce .ec-track .t3 i { animation: dotOn .3s var(--ease) 5s both; }
.is-active .scene-ecommerce .ec-track .t4 i { animation: dotOn .3s var(--ease) 5.9s both; }
@keyframes dotOn { to { background: var(--c); } }
@keyframes candleIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes bookFlash { 0% { background: rgba(255, 255, 255, .14); } 100% { background: transparent; } }

