/* Sent v2: faces, the fee receiver, pages, wallet sign-in, why, chart legend. Loaded after app.css. */
.face { position: relative; display: inline-block; flex: none; overflow: hidden; vertical-align: middle; background: #141417; }
.face > svg, .face > img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.face > img { object-fit: cover; }
.face svg.anon { image-rendering: pixelated; }
.ava.anon { border-radius: 0; }

/* where a wallet's name comes from */
.src { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; padding: 1px 7px 1px 6px; border-radius: 999px; border: 1px solid var(--line2); color: var(--soft); white-space: nowrap; vertical-align: middle; }
.src svg { width: 12px; height: 12px; }
.src.verified { background: var(--holo); color: #000; border-color: transparent; }
.src.known { background: var(--ink); color: #000; border-color: var(--ink); }

/* the fee receiver chip on coin cards: white, the first thing the eye finds */
.rcv-chip { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; background: var(--ink); color: #000; border-radius: 999px; padding: 3px 10px 3px 3px; font-size: 12.5px; line-height: 1.3; }
.rcv-chip .face { border-radius: 50% !important; }
.rcv-chip .k { color: #55555c; font-weight: 500; white-space: nowrap; }
.rcv-chip b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.rcv-chip .addr { color: #000; font-size: 12px; }
.rcv-chip .v { font-size: 10.5px; font-weight: 700; background: #000; color: #fff; border-radius: 999px; padding: 1px 6px; }
.rcv-chip .pf-mark svg { width: 14px; height: 14px; display: block; }
.rcv-chip:hover { background: #fff; }
.cc .l3 { margin-top: 8px; }
.cc .l4 { display: flex; gap: 10px; align-items: baseline; font-size: 12.5px; color: var(--soft); margin-top: 8px; flex-wrap: wrap; }
.cc .l4 b { color: var(--ink); font: 600 12.5px var(--mono); }
.cc .l5 { margin-top: 6px; }

/* the fee receiver on a coin page: an inverted card */
.rcv-card { background: var(--ink); color: #000; border-radius: 14px; padding: 16px; border: 0; }
.rcv-card .lab { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #55555c; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rcv-card .who-big { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.rcv-card .who-big .face { border-radius: 12px; }
.rcv-card .who-big .grow { flex: 1; min-width: 0; }
.rcv-card .who-big b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rcv-card .who-big .sub { font-size: 12.5px; color: #55555c; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 2px; }
.rcv-card .who-big .sub a { text-decoration: underline; text-underline-offset: 2px; }
.rcv-card .who-big .sub svg { width: 11px; height: 11px; vertical-align: -1px; }
.rcv-card .src { border-color: #c9c9cf; color: #3a3a40; }
.rcv-card .src.known { background: #000; color: #fff; }
.rcv-card .bio { font-size: 12.5px; color: #3a3a40; margin-top: 10px; line-height: 1.5; }
.rcv-card .big-share { margin-top: 16px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.rcv-card .big-share b { font: 700 34px/1 var(--mono); letter-spacing: -0.05em; }
.rcv-card .big-share span { font-size: 13px; color: #3a3a40; }
.rcv-card .big-share .today { font: 600 12.5px var(--mono); background: #000; color: #fff; border-radius: 6px; padding: 2px 7px; }
.rcv-card .holds2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.rcv-card .holds2 div { background: #e9e9ec; border-radius: 9px; padding: 8px 10px; }
.rcv-card .holds2 span { display: block; font-size: 11px; color: #55555c; }
.rcv-card .holds2 b { display: block; font: 600 14px var(--mono); margin-top: 2px; }
.rcv-card .bag { margin-top: 12px; height: 70px; }
.rcv-card .note { color: #55555c; margin-top: 6px; }
.rcv-card .open { display: inline-flex; margin-top: 10px; font-size: 12.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* where the fees go */
.split { display: flex; flex-direction: column; gap: 8px; }
.split .row { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; }
.split .row .p { font: 700 15px var(--mono); }
.split .row .t b { display: block; font-size: 13px; font-weight: 600; }
.split .row .t span { font-size: 12px; color: var(--dim); }
.split .row .v { text-align: right; font: 500 12.5px var(--mono); }
.split .row .v span { display: block; color: var(--dim); font: 11.5px var(--sans); }
.split-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; margin: 4px 0 12px; background: #1b1b1f; }
.split-bar i { display: block; height: 100%; }
.split-bar i.a { background: var(--ink); }
.split-bar i.b { background: var(--holo); }
.split-bar i.c { background: #55555d; }

/* pages */
.pager { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; padding: 12px 14px; border-top: 1px solid var(--line); }
.pager[hidden] { display: none; }
.pager button { min-width: 32px; height: 30px; padding: 0 9px; border-radius: 8px; border: 1px solid var(--line2); background: none; color: var(--soft); font: 500 12.5px var(--mono); display: inline-flex; align-items: center; justify-content: center; }
.pager button:hover:not([disabled]) { color: var(--ink); border-color: #4a4a52; }
.pager button.on { background: var(--ink); color: #000; border-color: var(--ink); }
.pager button[disabled] { opacity: .35; cursor: default; }
.pager button svg { width: 12px; height: 12px; }
.pager .gap { color: var(--dim); padding: 0 4px; }
.pager .of { margin-left: auto; font-size: 12px; color: var(--dim); }
.pager.bare { border-top: 0; padding: 14px 0 0; }
.box-scroll { max-height: 560px; overflow: auto; }

/* signing in */
.acct { position: relative; flex: none; }
.acct-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 6px; border-radius: 999px; border: 1px solid var(--line2); background: var(--panel2); font-weight: 500; }
.acct-btn:hover { border-color: #4a4a52; }
.acct-btn .face { border-radius: 50% !important; }
.acct-btn .bal { font-size: 12px; color: var(--soft); padding-left: 8px; border-left: 1px solid var(--line2); }
.menu { position: absolute; right: 0; top: 46px; width: 260px; background: var(--panel); border: 1px solid var(--line2); border-radius: 14px; padding: 6px; box-shadow: 0 18px 40px rgba(0, 0, 0, .6); z-index: 45; }
.menu[hidden] { display: none; }
.menu-h { display: flex; gap: 10px; align-items: center; padding: 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.menu-h b { display: block; font-size: 14px; }
.menu-h .addr { color: var(--dim); font-size: 12px; }
.menu-sol { display: flex; justify-content: space-between; padding: 8px 10px; font-size: 12.5px; color: var(--soft); border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.menu a, .menu > button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 9px; border: 0; background: none; text-align: left; font-size: 13.5px; }
.menu a:hover, .menu > button:hover { background: var(--raise); }
.menu svg { width: 14px; height: 14px; }
.sheet { position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; }
.sheet[hidden] { display: none; }
.sheet-box { width: 100%; max-width: 400px; background: var(--panel); border: 1px solid var(--line2); border-radius: 18px; padding: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .8); }
.sheet-h { display: flex; justify-content: space-between; align-items: center; }
.sheet-h b { font-size: 17px; }
.sheet-h .x { border: 0; background: none; font-size: 22px; color: var(--dim); line-height: 1; }
.sheet-note { color: var(--soft); font-size: 13px; margin: 8px 0 14px; line-height: 1.5; }
.u { text-decoration: underline; text-underline-offset: 2px; }
.w-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border-radius: 12px; border: 1px solid var(--line2); background: var(--panel2); margin-top: 8px; font-weight: 600; text-align: left; }
.w-row:hover { border-color: #4a4a52; background: var(--raise); }
.w-row img, .w-row svg { width: 28px; height: 28px; border-radius: 7px; }
.w-row small { margin-left: auto; color: var(--dim); font-weight: 400; }
.need { padding: 30px 20px; text-align: center; }
.need h2 { font-size: 18px; margin-bottom: 6px; }
.need p { color: var(--soft); margin: 0 auto 16px; max-width: 460px; }

/* why it matters (home, how, receivers) */
.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.why > div { padding: 16px 18px; }
.why h3 { font-size: 15px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.why h3 svg { width: 16px; height: 16px; }
.why p { color: var(--soft); font-size: 13.5px; line-height: 1.6; }
.why .n { display: flex; gap: 22px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.why .n b { display: block; font: 600 17px var(--mono); }
.why .n span { font-size: 12px; color: var(--dim); }

/* chart legend, TradingView style */
.chart { position: relative; }
.ohlc { position: absolute; left: 12px; top: 8px; z-index: 3; font: 11.5px var(--mono); color: var(--dim); display: flex; gap: 10px; pointer-events: none; flex-wrap: wrap; }
.ohlc b { color: var(--ink); font-weight: 500; }
.tape .it.l3 { flex: 0 1 auto; }
@media (max-width: 1240px) { .tape .it.l3 { display: none; } }
@media (max-width: 720px) {
  .why { grid-template-columns: 1fr; }
  .acct-btn .nm, .acct-btn .bal { display: none; }
  .acct-btn { padding: 0 6px; }
  .rcv-card .holds2 { grid-template-columns: 1fr 1fr; }
  .pager .of { width: 100%; margin: 6px 0 0; }
}
.split .row { transition: border-color .3s, background .3s; }
.split .row.lit { border-color: #fff; background: #1a1a1e; }
.w-h .meta svg, .meta a svg { width: 11px; height: 11px; display: inline-block; vertical-align: -1px; }
.w-h .meta a { display: inline-flex; align-items: center; gap: 5px; }
.w-h > #w-face { display: block; flex: none; }
