/* the token chart with the ghost candle, on the landing (Fig. 01): the app's chart styles, scoped to .npfig */
.npfig { --paper: #f2efe7; --ink: #0e0f0b; --press: #e0d9c9; --grey: #62655a; --line: rgba(14, 16, 10, .09); color: var(--ink); font-family: "Host Grotesk", sans-serif; text-align: left }
.npfig .label { font: 500 11px/1 "Geist Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); margin: 0 0 8px; display: block }
.npfig .seg { display: flex; gap: 6px } .npfig .seg button { font: 500 13px "Host Grotesk", sans-serif; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; flex: none }
.npfig .seg button.on { background: var(--ink); color: #fff; border-color: var(--ink) }
.npfig .up { color: #3f6212 } .npfig .down { color: #c2410c } .npfig .dim { color: var(--grey) }
.npfig .ghcard { padding: 22px 24px 20px }
.npfig .gh-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap }
.npfig .gh-px { display: flex; align-items: baseline; gap: 12px; margin-top: 2px } .npfig .gh-px b { font: 600 34px/1 'Host Grotesk', sans-serif; letter-spacing: -.04em } .npfig .gh-px span { font: 500 13px 'Geist Mono', monospace; color: var(--grey) }
.npfig .gh-wrap { position: relative; margin: 10px -6px 0 }
.npfig .gh { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 420; overflow: visible; touch-action: pan-y }
.npfig .gh .gh-ax { font: 500 12px 'Geist Mono', monospace; fill: #8A8376 } .npfig .gh .gh-now { font: 500 12px 'Geist Mono', monospace }
.npfig .gh .gh-pct { font: 500 30px 'Geist Mono', monospace; letter-spacing: -.02em } .npfig .gh .gh-sub { font: 500 13px 'Geist Mono', monospace; fill: #8A8376 }
.npfig .gh .gh-zero { font: italic 400 46px 'Instrument Serif', serif; fill: #E1DACB }
.npfig .gh-tip { position: absolute; top: 4px; pointer-events: none; background: var(--ink); color: var(--paper); border-radius: 10px; padding: 8px 11px; font: 500 12px/1.45 'Geist Mono', monospace; white-space: nowrap }
.npfig .gh-tip b { font-weight: 500; margin-right: 6px } .npfig .gh-tip span { display: block; color: #B5AE9F }
.npfig .gh-size { display: grid; grid-template-columns: auto 1fr minmax(300px, auto); gap: 18px; align-items: center; margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line) }
.npfig .gh-q { font-size: 15px; line-height: 1.35 } .npfig .gh-q b.mono { display: block; font: 600 22px 'Host Grotesk', sans-serif; letter-spacing: -.03em } .npfig .gh-q .up { color: #3F6212 } .npfig .gh-q .down { color: #A8321A }
.npfig .gh-size input[type=range] { -webkit-appearance: none; appearance: none; height: 30px; padding: 0; border: 0; background: transparent; cursor: grab }
.npfig .gh-size input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: var(--press); box-shadow: inset 1px 1px 2px rgba(58, 52, 39, .3), inset -1px -1px 1px rgba(255, 255, 255, .8) }
.npfig .gh-size input[type=range]::-moz-range-track { height: 8px; border-radius: 99px; background: var(--press) }
.npfig .gh-size input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -8px; border-radius: 50%; background: var(--ink); box-shadow: 0 3px 10px rgba(14, 16, 10, .25), inset 0 1px 0 rgba(255, 255, 255, .2) }
.npfig .gh-size input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: var(--ink) }
.npfig .gh-size input[type=range]:active { cursor: grabbing }
.npfig .ghcta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 14px 4px 0; flex-wrap: wrap }
@media (max-width: 760px) { .npfig .gh-size { grid-template-columns: 1fr; gap: 10px } .npfig .gh-px b { font-size: 26px } .npfig .ghcard { padding: 18px 14px } }
@media (max-width: 760px) { .npfig .gh .gh-ax { font-size: 25px } .npfig .gh .gh-now { font-size: 24px } .npfig .gh .gh-pct { font-size: 50px } .npfig .gh .gh-sub { font-size: 24px } .npfig .gh .gh-zero { font-size: 70px } }
