/* Sent: the site moving live (after memecoin and flywheel), and the $SENT card. Loaded after v2.css. */
[data-r] { font-variant-numeric: tabular-nums; }

/* the bar on the header's bottom edge: fills up until the next update */
.top { position: sticky; }
.beat { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; pointer-events: none; z-index: 2; }
.beat i { display: block; height: 100%; background: var(--holo); transform-origin: left; transform: scaleX(0); opacity: .7; }
.beat.run i { animation: beat var(--every, 1500ms) linear forwards; }
@keyframes beat { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* a changed number: a short line draws itself under it and fades (gradient: up, grey: down) */
.lv-up, .lv-dn { position: relative; }
.lv-up::after, .lv-dn::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; border-radius: 1px; transform-origin: left; animation: lvline 1.2s cubic-bezier(.3, .7, .2, 1) forwards; pointer-events: none; }
.lv-up::after { background: var(--holo); }
.lv-dn::after { background: var(--dim); }
@keyframes lvline { 0% { transform: scaleX(0); opacity: 1; } 45% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }

/* new rows and cards come in from the left with a gradient edge */
.lv-in { animation: lvin .5s cubic-bezier(.2, .8, .2, 1) both; position: relative; }
.lv-in::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--holo); animation: lvedge 2.4s ease-out forwards; pointer-events: none; z-index: 2; }
tr.lv-in::before { display: none; }
tr.lv-in td:first-child { box-shadow: inset 3px 0 0 #c9a8ff; animation: lvtd 2.4s ease-out forwards; }
@keyframes lvin { from { opacity: 0; transform: translateX(-10px); } }
@keyframes lvedge { 0%, 40% { opacity: 1; } 100% { opacity: 0; } }
@keyframes lvtd { 0%, 40% { box-shadow: inset 3px 0 0 #c9a8ff; } 100% { box-shadow: inset 3px 0 0 transparent; } }
.cc.lv-in, .feed li.lv-in { overflow: hidden; }

/* placeholders until the first answer, with the gradient passing over them */
.sk { display: block; border-radius: 4px; background: linear-gradient(100deg, #141417 30%, #2a2032 42%, #1d2a33 52%, #141417 64%); background-size: 320% 100%; animation: sk 1.6s linear infinite; flex: none; }
@keyframes sk { from { background-position: 100% 0; } to { background-position: 0 0; } }
.sk-row { pointer-events: none; }
.feed li.sk-row { grid-template-columns: 36px minmax(0, 1fr) 44px; }
@media (prefers-reduced-motion: reduce) { .sk, .beat.run i, .lv-in, .lv-in::before, .lv-up::after, .lv-dn::after { animation: none; } }

/* $SENT on the home page: one clean row, the numbers on the right, a 24 h line under them */
.sent-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; padding: 18px 20px; margin-bottom: 22px; position: relative; overflow: hidden; transition: border-color .15s; }
.sent-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--holo); opacity: .8; }
.sent-card:hover { border-color: var(--line2); }
.sent-card .who { display: flex; align-items: center; gap: 14px; min-width: 0; }
.sent-card .logo { width: 52px; height: 52px; border-radius: 12px; flex: none; background: #000; border: 1px solid var(--line2); display: grid; place-items: center; }
.sent-card .logo img { width: 100%; height: 100%; border-radius: 11px; }
.sent-card .nm { display: flex; align-items: center; gap: 8px; }
.sent-card .nm b { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.sent-card .nm .pill { height: 20px; font-size: 11px; }
.sent-card .who p { font-size: 13px; color: var(--soft); margin-top: 3px; line-height: 1.45; }
.sent-card .stats { display: flex; align-items: center; gap: 26px; }
.sent-card .st > span { display: block; font-size: 11.5px; color: var(--dim); white-space: nowrap; }
.sent-card .st > b { display: block; font: 600 18px/1.25 var(--mono); letter-spacing: -0.03em; white-space: nowrap; }
.sent-card .st > i { display: block; font: normal 11.5px var(--mono); color: var(--dim); white-space: nowrap; }
.sent-card .spark { width: 150px; height: 46px; display: block; }
.sent-card .go { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line2); color: var(--soft); flex: none; }
.sent-card .go svg { width: 12px; height: 12px; }
.sent-card:hover .go { color: var(--ink); border-color: #4a4a52; }
@media (max-width: 1100px) { .sent-card .spark { display: none; } }

/* marks over the candles: what the fees bought (and sent) in that candle */
.marks { position: absolute; inset: 0; pointer-events: none; z-index: 3; overflow: hidden; }
.cmk { position: absolute; transform: translate(-50%, -100%); pointer-events: auto; display: block; width: 24px; height: 24px; padding: 2px; border-radius: 50%; background: var(--holo); box-shadow: 0 3px 10px rgba(0, 0, 0, .6); transition: transform .15s; }
.cmk::after { content: ''; position: absolute; left: 50%; top: 100%; width: 1px; height: 6px; background: #c9a8ff; opacity: .7; }
.cmk:hover { transform: translate(-50%, -100%) scale(1.25); z-index: 2; }
.cmk .face { width: 20px !important; height: 20px !important; border-radius: 50% !important; display: block; }
.cmk .cmk-ic { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #0b0b0c; color: #ffa8d8; }
.cmk .cmk-ic svg { width: 12px; height: 12px; }
.cmk b { position: absolute; right: -8px; top: -7px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--ink); color: #000; font: 700 9.5px/16px var(--mono); text-align: center; }
.cmk-tip { position: absolute; z-index: 5; width: 188px; background: rgba(17, 17, 19, .96); border: 1px solid var(--line2); border-radius: 10px; padding: 9px 11px; font-size: 12px; color: var(--soft); box-shadow: 0 10px 30px rgba(0, 0, 0, .6); pointer-events: none; display: flex; flex-direction: column; gap: 3px; }
.cmk-tip[hidden] { display: none; }
.cmk-tip b { color: var(--ink); font-weight: 600; font-size: 12.5px; }
.cmk-tip .face { vertical-align: -3px; border-radius: 50% !important; }
@media (max-width: 880px) {
  .sent-card { grid-template-columns: minmax(0, 1fr); }
  .sent-card .stats { justify-content: space-between; gap: 14px; }
  .sent-card .go { display: none; }
}

/* before $SENT is live: one line under the header on every page */
.prelaunch { border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(255, 168, 216, .07), rgba(143, 214, 255, .07), rgba(162, 255, 207, .07)); font-size: 13px; color: var(--soft); }
.prelaunch[hidden] { display: none; }
.prelaunch .wrap { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.prelaunch b { color: var(--ink); font-weight: 600; }
.prelaunch a { margin-left: auto; white-space: nowrap; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.prelaunch .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--holo); flex: none; animation: blink 1.6s steps(2) infinite; }
@media (max-width: 720px) { .prelaunch .wrap { padding-top: 8px; padding-bottom: 8px; align-items: flex-start; } .prelaunch a { display: none; } }
/* on a phone the tape shows only the latest send: with none yet, no empty strip */
@media (max-width: 720px) { .tape:has(#t-send:empty) { display: none; } }

/* home: the line under the headline */
.hero .h1-sub { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); opacity: .62; margin-top: 6px; }
@media (max-width: 720px) { .hero .h1-sub { font-size: 17px; } }

/* the receiver check line takes no room until it has something to say */
.field .check:empty { display: none; }

/* /how: the one-line summary under the title */
.how-lead { font-size: 19px; line-height: 1.45; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; margin-top: 10px; max-width: 720px; }
@media (max-width: 720px) { .how-lead { font-size: 17px; } }
