/* Built from mockup-v2/quote.css — edit that, then run build-plugin.sh */
/* FxPay price card ([fxp_quote]) — analysis page sidebar. Design: mockup-v2/quote-card.html (owner's pick, 2026-12-04). */
.fxp-quote { --q-brand: #262db6; --q-brand-h: #1e2492; --q-tx1: #0f0f12; --q-tx2: #505053; --q-muted: #787b86; --q-line: #eceef2; --q-up: #089981; --q-down: #f23645;
	box-sizing: border-box; width: 100%; background: #fff; padding: 14px; direction: rtl; text-align: right; color: var(--q-tx1); font-family: inherit; }
.fxp-quote * { box-sizing: border-box; }
.fxq-row1 { display: flex; align-items: center; gap: 10px; }
.fxq-id { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; min-width: 0; }
.fxq-id img { width: 36px; height: 36px; border-radius: 50%; flex: 0 0 auto; object-fit: contain; }
.fxq-n { display: flex; flex-direction: column; min-width: 0; }
.fxq-n b { font-size: 16px; line-height: 24px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fxq-n span { font-size: 12px; line-height: 18px; color: var(--q-muted); text-align: right; white-space: nowrap; }
.fxq-pr { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: 0 0 auto; }
.fxq-v { font-size: 20px; line-height: 30px; font-weight: 700; direction: ltr; border-radius: 4px; padding: 0 2px; min-height: 30px; }
.fxq-v.fl-up { animation: fxq-up 1s ease-out; } .fxq-v.fl-down { animation: fxq-down 1s ease-out; }
@keyframes fxq-up { 0% { color: var(--q-up); background: #e6f5f2; } 100% { color: var(--q-tx1); background: transparent; } }
@keyframes fxq-down { 0% { color: var(--q-down); background: #fdecee; } 100% { color: var(--q-tx1); background: transparent; } }
.fxq-ch { display: inline-flex; align-items: center; font-size: 13px; line-height: 22px; font-weight: 600; padding: 0 8px; border-radius: 12px; direction: ltr; min-height: 22px; }
.fxq-ch:empty { padding: 0; }
.fxq-ch.up { color: var(--q-up); background: #e6f5f2; } .fxq-ch.down { color: var(--q-down); background: #fdecee; }
.fxq-sk { display: inline-block; width: 84px; height: 18px; border-radius: 4px; background: linear-gradient(90deg, #eceef2, #f6f7f9, #eceef2); background-size: 200% 100%; animation: fxq-sk 1.2s linear infinite; vertical-align: middle; }
@keyframes fxq-sk { from { background-position: 200% 0; } to { background-position: 0 0; } }
.fxq-tick { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; font-size: 11px; line-height: 18px; color: var(--q-muted); }
.fxq-tick b { font-weight: 600; color: var(--q-tx2); }
.fxq-live { display: inline-flex; align-items: center; gap: 6px; }
.fxq-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--q-up); animation: fxq-live 2s ease-in-out infinite; }
.fxp-quote.is-err .fxq-live::before { background: #c3c5cc; animation: none; }
@keyframes fxq-live { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.fxq-prog { height: 2px; border-radius: 1px; background: var(--q-line); overflow: hidden; margin-top: 4px; }
.fxq-prog i { display: block; height: 100%; width: 0; background: var(--q-brand); }
.fxq-prog i.run { animation: fxq-fill linear forwards; }
@keyframes fxq-fill { from { width: 0; } to { width: 100%; } }
.fxq-spark { height: 56px; margin: 10px 0 6px; }
.fxq-spark svg { display: block; width: 100%; height: 56px; overflow: visible; }
.fxq-sub { font-size: 11px; line-height: 18px; color: var(--q-muted); }
.fxq-range { margin: 4px 0 14px; }
.fxq-bar { position: relative; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--q-down), #c3c5cc 50%, var(--q-up)); direction: ltr; margin: 8px 0 6px; }
.fxq-bar i { position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--q-tx1); transform: translate(-50%, -50%); transition: left .6s ease; }
.fxp-quote:not(.is-on) .fxq-bar i { display: none; }
.fxq-ends { display: flex; justify-content: space-between; font-size: 11px; line-height: 16px; color: var(--q-muted); direction: ltr; min-height: 16px; }
.fxp-quote .fxq-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; border-radius: 10px; background: var(--q-brand); color: #fff; font: inherit; font-size: 16px; line-height: 28px; font-weight: 600; text-decoration: none; }
.fxp-quote .fxq-btn:hover, .fxp-quote .fxq-btn:focus { background: var(--q-brand-h); color: #fff; }
.fxq-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .fxq-v, .fxq-prog i, .fxq-live::before, .fxq-sk, .fxq-bar i { animation: none !important; transition: none !important; } }
