/* "#1 by traffic" announcement (TrancoRank): one-time window + airdrop card. Same look as the V3 window (.cv-v3-*). */
.cv-r1 { position: fixed; z-index: 2440; display: grid; padding: 16px; background: rgba(6, 5, 4, .78); backdrop-filter: blur(3px); inset: 0; place-items: center; }
.cv-r1[hidden] { display: none; }
body.cv-r1-open { overflow: hidden; }

.cv-r1-card { position: relative; width: min(460px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; padding: 26px 24px 22px; border: 1px solid rgba(209, 180, 97, .28); border-radius: 22px; background: radial-gradient(120% 90% at 50% 0%, rgba(209, 180, 97, .16), rgba(255, 255, 255, .02) 58%), #15120e; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .95); color: #f5f3ee; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; outline: none; animation: cv-r1-in .22s ease-out; }
.cv-r1-card h2 { margin: 0 0 8px; color: #f5f3ee; font-family: 'Space Grotesk', sans-serif; font-size: clamp(22px, 5.6vw, 27px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
@keyframes cv-r1-in { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }

.cv-r1-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 40px 14px 0; }
.cv-r1-brand img { display: block; width: auto; height: 24px; }
.cv-r1-kicker { display: inline-flex; height: 24px; align-items: center; padding: 1px 12px 0; border: 1px solid rgba(209, 180, 97, .35); border-radius: 999px; background: rgba(209, 180, 97, .1); color: #ebd18b; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; line-height: 1; text-transform: uppercase; }
.cv-r1-lead { margin: 0 0 18px; color: rgba(245, 243, 238, .62); font-size: 14.5px; line-height: 1.5; }
.cv-r1-lead a { color: #ebd18b; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(235, 209, 139, .4); text-underline-offset: 3px; }
.cv-r1-lead a:hover { color: #f3d77e; text-decoration-color: currentColor; }

.cv-r1-close { position: absolute; top: 12px; right: 12px; display: grid; width: 32px; height: 32px; padding: 0; border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; background: transparent; color: rgba(255, 255, 255, .55); cursor: pointer; place-items: center; }
.cv-r1-close svg { width: 11px; height: 11px; }
.cv-r1-close:hover { border-color: rgba(255, 255, 255, .3); color: #fff; }

/* Mini ranking: Coinvote + the next three, Coinvote's row in gold. */
.cv-r1-board { width: 100%; margin: 0 0 10px; border-collapse: separate; border-spacing: 0 4px; font-variant-numeric: tabular-nums; }
.cv-r1-board thead th { padding: 0 12px 1px; color: rgba(245, 243, 238, .4); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-align: left; text-transform: uppercase; }
.cv-r1-board tbody > tr > * { padding: 10px 12px; background: rgba(255, 255, 255, .035); color: rgba(245, 243, 238, .78); font-size: 14px; text-align: left; }
.cv-r1-board tbody > tr > :first-child { border-radius: 11px 0 0 11px; }
.cv-r1-board tbody > tr > :last-child { border-radius: 0 11px 11px 0; }
.cv-r1-board tbody th { font-weight: 600; }
.cv-r1-board .cv-r1-rank { text-align: right; white-space: nowrap; }
.cv-r1-board tbody .cv-r1-rank { font-family: 'Space Grotesk', sans-serif; font-weight: 600; }
.cv-r1-pos { width: 38px; color: rgba(245, 243, 238, .4) !important; font-family: 'Space Grotesk', sans-serif; font-weight: 700; }
.cv-r1-board tbody > tr.is-self > * { background: rgba(209, 180, 97, .13); box-shadow: inset 0 1px 0 rgba(209, 180, 97, .38), inset 0 -1px 0 rgba(209, 180, 97, .38); color: #ebd18b !important; font-weight: 700; }
.cv-r1-board tbody > tr.is-self > :first-child { box-shadow: inset 1px 1px 0 rgba(209, 180, 97, .38), inset 0 -1px 0 rgba(209, 180, 97, .38); }
.cv-r1-board tbody > tr.is-self > :last-child { box-shadow: inset -1px 1px 0 rgba(209, 180, 97, .38), inset 0 -1px 0 rgba(209, 180, 97, .38); }

.cv-r1-src { margin: 0 0 18px; color: rgba(245, 243, 238, .5); font-size: 12px; line-height: 1.55; }
.cv-r1-src a { color: #ebd18b; font-weight: 600; text-decoration: none; white-space: nowrap; }
.cv-r1-src a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cv-r1-explain { display: block; margin-top: 2px; }

/* Thank-you gift + claim (window and airdrop card). */
.cv-r1-gift { padding: 14px; border: 1px solid rgba(209, 180, 97, .22); border-radius: 16px; background: rgba(209, 180, 97, .06); }
.cv-r1-gift-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cv-r1-gift-head strong { display: block; color: #f5f3ee; font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 700; line-height: 1.3; }
.cv-r1-gift-head span:not(.cv-r1-nug) { color: rgba(245, 243, 238, .5); font-size: 12px; }
.cv-r1-nug, .cv-r1-drop-logo { display: grid; flex: none; width: 40px; height: 40px; border: 1px solid rgba(209, 180, 97, .3); border-radius: 12px; background: rgba(209, 180, 97, .1); place-items: center; }

.cv-r1-act { display: flex; flex-wrap: wrap; gap: 10px; }
.cv-r1-act:empty { display: none; }
.cv-r1-btn { display: inline-flex; min-height: 46px; flex: 1 1 auto; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 0 20px; border: 0; border-radius: 13px; background: linear-gradient(135deg, #f3d77e, #c9a84c); color: #17130d; font-family: 'Space Grotesk', sans-serif; font-size: 14.5px; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; }
.cv-r1-btn:hover { color: #17130d; filter: brightness(1.06); }
.cv-r1-btn:disabled { cursor: progress; opacity: .6; filter: none; }
.cv-r1-btn.is-ghost { border: 1px solid rgba(209, 180, 97, .4); background: transparent; color: #ebd18b; }
.cv-r1-btn.is-ghost:hover { border-color: #ebd18b; color: #f3d77e; }
.cv-r1-card > .cv-r1-btn { margin-top: 4px; }
.cv-r1-msg { margin: 0; color: rgba(245, 243, 238, .72); font-size: 13.5px; line-height: 1.5; }
.cv-r1-msg:empty { display: none; }
.cv-r1-act:not(:empty) + .cv-r1-msg { margin-top: 10px; }
.cv-r1-msg.is-ok { color: #ebd18b; font-weight: 600; }

.cv-r1 a:focus-visible, .cv-r1 button:focus-visible, .cv-r1-claim a:focus-visible, .cv-r1-claim button:focus-visible { outline: 2px solid #ebd18b; outline-offset: 2px; }

/* Airdrop card, pinned above the list (drops.css look, full width). */
.cv-drop-grid.cv-r1-drop-grid { grid-template-columns: minmax(0, 1fr); margin: 18px 0 4px; }
.cv-r1-drop { border-color: rgba(226, 190, 112, .3); background: radial-gradient(120% 140% at 0% 0%, rgba(226, 190, 112, .1), transparent 55%), var(--dr-card); }
.cv-r1-drop:hover { border-color: rgba(226, 190, 112, .45); transform: none !important; }
.cv-r1-drop-logo { border-radius: 50%; }
.cv-r1-drop .cv-drop-name { white-space: normal; }
.cv-r1-badge { display: inline-flex; align-self: flex-start; height: 20px; align-items: center; padding: 1px 8px 0; border: 1px solid rgba(226, 190, 112, .35); border-radius: 999px; color: var(--dr-gold-hi); font-family: 'JetBrains Mono', monospace; font-size: 9.5px; font-weight: 700; letter-spacing: .12em; line-height: 1; text-transform: uppercase; }
/* Badge and Live pill side by side above the title: in the two-column desktop card a pill at the end of the head floated mid-card. */
.cv-r1-drop-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cv-r1-drop-tags .cv-drop-status { height: 20px; font-size: 11px; }
.cv-r1-drop-text { margin: 0; color: var(--dr-muted); font-size: 14px; line-height: 1.55; }
.cv-r1-drop .cv-r1-claim { margin-top: auto; }

@media (min-width: 768px) {
    .cv-r1-drop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 290px); grid-template-areas: "head claim" "value claim" "text claim"; align-items: start; gap: 12px 32px; }
    .cv-r1-drop > .cv-drop-head { grid-area: head; }
    .cv-r1-drop > .cv-drop-value { grid-area: value; }
    .cv-r1-drop > .cv-r1-drop-text { grid-area: text; max-width: 640px; }
    .cv-r1-drop > .cv-r1-claim { grid-area: claim; align-self: center; margin: 0; }
}

@media (max-width: 400px) {
    .cv-r1 { padding: 10px; }
    .cv-r1-card { max-height: calc(100dvh - 20px); padding: 22px 16px 16px; border-radius: 18px; }
    .cv-r1-board tbody > tr > * { padding: 9px 10px; font-size: 13.5px; }
    .cv-r1-board thead th { padding: 0 10px 1px; }
    .cv-r1-pos { width: 30px; }
    .cv-r1-gift { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) { .cv-r1-card { animation: none; } }
.cv-r1-social { margin: 0 0 16px; text-align: center; }
.cv-r1-social-t { margin: 0 0 8px; color: rgba(245, 243, 238, .75); font-size: 13px; font-weight: 600; }
.cv-r1-social-l { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.cv-r1-social-l a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(235, 209, 139, .35); color: #ebd18b; transition: background .15s, transform .15s; }
.cv-r1-social-l a:hover { background: rgba(235, 209, 139, .12); transform: translateY(-1px); }
.cv-r1-social-l svg { width: 18px; height: 18px; fill: currentColor; }
.cv-r1-social-l a > .cv-icon { display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin: 0; line-height: 0; }
.cv-r1-social-l a svg { display: block; margin: 0; }
.cv-r1-board-logo { display: block; width: auto; height: 18px; }
