[x-cloak] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #060a14; }
::-webkit-scrollbar-thumb { background: #266EF8; border-radius: 4px; }

#cryptoBg, #bgCanvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

body.has-cursor { cursor: none; }
#cursor { position: fixed; width: 10px; height: 10px; background: rgb(0 212 154); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); transition: width .2s, height .2s; mix-blend-mode: screen; }
#cursor-ring { position: fixed; width: 36px; height: 36px; border: 1px solid rgba(0, 212, 154, 0.4); border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%, -50%); transition: width .15s, height .15s, opacity .15s; }
.link-hov #cursor { width: 22px; height: 22px; }
.link-hov #cursor-ring { width: 52px; height: 52px; opacity: 0; }

#mainnav.scrolled { background-color: rgba(4, 9, 15, 0.85); border-bottom-color: rgba(255, 255, 255, 0.06); backdrop-filter: blur(16px); }

.mkttab { color: rgb(93 122 153); border-bottom: 2px solid transparent; }
.mkttab.on { color: rgb(232 242 255); border-bottom-color: rgb(0 212 154); }

.ticker-track:hover { animation-play-state: paused; }

.rv { opacity: 0; transform: translateY(32px); transition: opacity .75s ease, transform .75s ease; }
.rvl { opacity: 0; transform: translateX(-32px); transition: opacity .75s ease, transform .75s ease; }
.rvr { opacity: 0; transform: translateX(32px); transition: opacity .75s ease, transform .75s ease; }
.rv.on, .rvl.on, .rvr.on { opacity: 1; transform: translate(0); }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }
.d5 { transition-delay: .5s; }
.d6 { transition-delay: .6s; }
.d7 { transition-delay: .7s; }
.d8 { transition-delay: .8s; }

select.field-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 2.5rem;
}

@media (max-width: 640px) {
    body.has-cursor { cursor: auto; }
    #cursor, #cursor-ring { display: none; }
}
