/* Bitcoin Farm — Buy / sell coins (convert.js): OKX-style screen + "My coins" on the wallet page. */
.cv-page, .cv-ov { --cv-up: #25c26e; --cv-dn: #f0475c; --cv-card: #121212; --cv-card2: #1c1c1c; --cv-line: rgba(255,255,255,.08); --cv-t2: #8c8c8c; --cv-t3: #5c5c5c; }
#convertFull { padding: 0; background: #000; color: #fff; backdrop-filter: none; font-family: var(--pb-font, inherit); -webkit-font-smoothing: antialiased; }
#convertFull button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.cv-page .num, .cv-ov .num, .cv-hold .num { font-family: var(--pb-num, inherit); letter-spacing: -.2px; }
.cv-head { display: flex; align-items: center; gap: 8px; padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 8px; flex: none; }
.cv-head b { flex: 1; font-size: 18px; }
.cv-icb { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; }
.cv-icb:hover { background: var(--cv-card2) !important; }
html[dir="ltr"] .cv-head [data-cv="close"] i, html[dir="ltr"] .cv-head [data-cv="main"] i { transform: scaleX(-1); }
.cv-body { flex: 1; overflow-y: auto; padding: 4px 16px 24px; width: 100%; max-width: 560px; margin: 0 auto; }
.cv-empty { text-align: center; color: var(--cv-t2); padding: 56px 10px; }
.cv-empty i { font-size: 32px; color: var(--cv-t3); margin-bottom: 10px; }
.cv-tabs { display: flex; gap: 22px; margin: 4px 0 16px; }
.cv-tabs span { font-size: 22px; font-weight: 700; color: var(--cv-t3); cursor: pointer; }
.cv-tabs .b.on { color: var(--cv-up); } .cv-tabs .s.on { color: var(--cv-dn); } .cv-tabs .x.on { color: #f0b90b; }
.cv-go.x { background: #f0b90b !important; color: #000 !important; }
.cv-box { background: var(--cv-card); border-radius: 18px; padding: 14px 16px; }
.cv-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12.5px; color: var(--cv-t2); }
.cv-row b { color: #fff; font-weight: 500; }
.cv-in { margin-top: 10px; }
.cv-in input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font-size: 26px; font-weight: 700; font-family: var(--pb-num, inherit); }
.cv-in input::placeholder { color: var(--cv-t3); }
.cv-out { flex: 1; font-size: 26px; font-weight: 700; color: #fff; direction: ltr; text-align: start; overflow: hidden; text-overflow: ellipsis; }
html[dir="rtl"] .cv-out { text-align: right; }
.cv-max { color: #fff !important; font-weight: 700; font-size: 13px; padding: 4px 10px !important; border-radius: 999px; background: var(--cv-card2) !important; }
.cv-coin { display: inline-flex; align-items: center; gap: 8px; background: var(--cv-card2) !important; border-radius: 999px; padding: 6px 12px 6px 6px !important; font-weight: 700; font-size: 15px; color: #fff; white-space: nowrap; }
html[dir="rtl"] .cv-coin { padding: 6px 6px 6px 12px !important; }
.cv-coin i { font-size: 10px; color: var(--cv-t2); }
.cv-swap { display: grid; place-items: center; width: 40px; height: 40px; margin: -10px auto; position: relative; z-index: 1; border-radius: 50%;
  background: #fff !important; color: #000 !important; border: 4px solid #000 !important; font-size: 14px; }
.cv-rate { text-align: center; color: var(--cv-t2); font-size: 12.5px; margin: 14px 0 6px; min-height: 18px; direction: ltr; }
.cv-note { font-size: 12px; color: var(--cv-t2); line-height: 1.6; background: var(--cv-card); border-radius: 12px; padding: 10px 12px; margin: 10px 0 18px; }
.cv-note i { color: #4c8dff; }
.cv-go { width: 100%; padding: 15px !important; border-radius: 999px; font-weight: 700; font-size: 15px; color: #fff !important; transition: transform .1s, opacity .15s; }
.cv-go:active:not(:disabled) { transform: scale(.98); }
.cv-go:disabled { opacity: .45; }
.cv-go.b { background: var(--cv-up) !important; } .cv-go.s { background: var(--cv-dn) !important; }
.cv-go.w { background: #fff !important; color: #000 !important; } .cv-go.g { background: var(--cv-card2) !important; }
.cv-go.ref { background: #fff !important; color: #000 !important; }
.cv-ic { width: 26px; height: 26px; border-radius: 50%; position: relative; display: grid; place-items: center; overflow: hidden; flex: none;
  background: hsl(var(--h, 200), 45%, 32%); color: #fff; font-size: 12px; font-weight: 700; font-style: normal; }
.cv-ic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }   /* the letter shows until the logo arrives */
.cv-ic.l { width: 36px; height: 36px; }

/* sheets (slide up from the bottom, swipe down to close) */
.cv-ov { position: fixed; inset: 0; z-index: 10004; background: rgba(0,0,0,.7); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .3s ease; }
.cv-ov.show { opacity: 1; }
.cv-sheet { width: 100%; max-width: 560px; max-height: 88vh; display: flex; flex-direction: column; background: var(--cv-card); color: #fff; border-radius: 24px 24px 0 0;
  padding: 10px 18px calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateY(100%); transition: transform .34s cubic-bezier(.32,.72,0,1); will-change: transform;
  font-family: var(--pb-font, inherit); -webkit-font-smoothing: antialiased; }
.cv-ov.show .cv-sheet { transform: none; }
.cv-sheet button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.cv-grab { width: 36px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.14); margin: 0 auto 10px; flex: none; }
.cv-sheet h4 { font-size: 18px; margin: 4px 0 14px; }
.cv-search { display: flex; align-items: center; gap: 10px; background: var(--cv-card2); border-radius: 999px; padding: 10px 16px; margin-bottom: 8px; }
.cv-search i { color: var(--cv-t3); }
.cv-search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font-size: 15px; font-family: inherit; }
.cv-list { overflow-y: auto; margin: 0 -6px; }
.cv-li { width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 6px !important; border-radius: 12px; text-align: start;
  content-visibility: auto; contain-intrinsic-size: auto 56px; }
.cv-li .cv-ic { width: 34px; height: 34px; }
.cv-li:hover { background: var(--cv-card2) !important; }
.cv-li.on { background: var(--cv-card2) !important; box-shadow: inset 0 0 0 1px rgba(240,185,11,.55); }
.cv-li .cv-hv b { font-size: 14px; font-weight: 600; } .cv-li .cv-hv small.cv-chg { font-size: 11.5px; }
.cv-lh { font-size: 12px; font-weight: 600; color: var(--cv-t2); padding: 12px 6px 4px; }
.cv-worth { min-height: 18px; margin-top: 4px; }
.cv-li-n { display: flex; flex-direction: column; min-width: 0; }
.cv-li-n b { font-size: 14.5px; }
.cv-li-n small { font-size: 11.5px; color: var(--cv-t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-li .num { font-size: 13.5px; text-align: end; direction: ltr; }
.cv-chg { font-size: 12px; font-weight: 700; text-align: end; direction: ltr; font-family: var(--pb-num, inherit); }
.cv-chg.up { color: var(--cv-up); } .cv-chg.dn { color: var(--cv-dn); }
.cv-q { background: var(--cv-card2); border-radius: 16px; padding: 14px 16px; margin-bottom: 12px; }
.cv-qr { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--cv-t2); }
.cv-qr b { color: #fff; font-size: 16px; direction: ltr; }
.cv-qr.big b { font-size: 22px; } .cv-qr b.up { color: var(--cv-up); }
.cv-qarrow { color: var(--cv-t3); text-align: center; font-size: 12px; padding: 6px 0; }
.cv-kv { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--cv-t2); padding: 5px 2px; }
.cv-kv b { color: #fff; font-weight: 500; direction: ltr; text-align: end; }
.cv-timer { position: relative; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--cv-t2); background: var(--cv-card2); border-radius: 12px;
  padding: 10px 12px; margin: 12px 0 14px; overflow: hidden; }
.cv-timer b { color: #f5a524; z-index: 1; } .cv-timer span { z-index: 1; }
.cv-timer i { position: absolute; inset-inline-start: 0; bottom: 0; height: 3px; width: 100%; background: #f5a524; transform-origin: left; animation: cvShrink linear forwards; }
html[dir="rtl"] .cv-timer i { transform-origin: right; }
@keyframes cvShrink { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.cv-timer.exp b { color: var(--cv-dn); }
.cv-done { text-align: center; padding: 10px 0 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cv-check { width: 64px; height: 64px; border-radius: 50%; background: var(--cv-up); display: grid; place-items: center; font-size: 28px; color: #fff; animation: cvPop .45s cubic-bezier(.2,.9,.3,1.4); }
@keyframes cvPop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
.cv-done b { font-size: 19px; } .cv-done p { color: var(--cv-t2); font-size: 14px; margin: 0; }
.cv-two { display: flex; gap: 10px; } .cv-two .cv-go { flex: 1; }
.cv-hist { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--cv-line); }
.cv-hist em { font-style: normal; } .cv-hist em.up { color: var(--cv-up); } .cv-hist em.dn { color: var(--cv-dn); }
.cv-hv { display: flex; flex-direction: column; align-items: flex-end; direction: ltr; text-align: right; }
html[dir="ltr"] .cv-hv { align-items: flex-end; }
.cv-hv b { font-size: 14px; } .cv-hv small { font-size: 11.5px; color: var(--cv-t2); }

/* ---------- "My coins" on the wallet page ---------- */
.blk-holdings[hidden] { display: none !important; }
.cv-sec-ic { color: #f0b90b; margin-inline-end: 4px; }
.cv-link { background: none; border: 0; color: var(--pb-t1); font-family: inherit; font-size: .78rem; font-weight: 600; cursor: pointer; }
.cv-link i { font-size: .65rem; margin-inline-start: 3px; }
.cv-hold { background: var(--pb-card); border: 1px solid var(--pb-line); border-radius: var(--pb-r, 16px); padding: 4px 14px; }
.cv-hold-t { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--pb-line); font-size: .78rem; color: var(--pb-t2); }
.cv-hold-t b { color: var(--pb-t1); font-size: .95rem; }
.cv-hrow { display: grid; grid-template-columns: auto 1fr auto auto; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--pb-line); }
.cv-hrow:last-child { border-bottom: 0; }
.cv-hrow .cv-ic { width: 32px; height: 32px; }
.cv-hrow .cv-li-n b { color: var(--pb-t1); font-size: .9rem; }
.cv-hrow .cv-li-n small { color: var(--pb-t2); }
.cv-hrow .cv-hv b { color: var(--pb-t1); font-size: .88rem; } .cv-hrow .cv-hv small { color: var(--pb-t2); }
.cv-hb { display: flex; gap: 5px; }
.cv-hb button { border: 0; border-radius: 999px; padding: 5px 10px; font-size: .7rem; font-weight: 700; font-family: inherit; cursor: pointer; }
.cv-hb .b { background: rgba(14,203,129,.14); color: #0ecb81; } .cv-hb .s { background: rgba(246,70,93,.14); color: #f6465d; }
.cv-cta { width: 100%; display: flex; align-items: center; gap: 12px; text-align: start; background: var(--pb-card); border: 1px solid var(--pb-line); border-radius: var(--pb-r, 16px);
  padding: 12px 14px; color: var(--pb-t1); font-family: inherit; cursor: pointer; }
.cv-cta-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(240,185,11,.14); color: #f0b90b; font-size: 1.05rem; flex: none; }
.cv-cta .cv-li-n b { font-size: .88rem; } .cv-cta .cv-li-n small { white-space: normal; color: var(--pb-t2); font-size: .72rem; line-height: 1.5; }
.cv-cta > i { color: var(--pb-t3); font-size: .75rem; }
html[dir="ltr"] .cv-cta > i { transform: scaleX(-1); }
