/* Share card (card.js): used by /tokens and /token/<mint> */
.btn.sm { padding: 2px 9px; font-size: 11.5px; margin-left: 6px; }
#tcModal { position: fixed; inset: 0; z-index: 50; background: #1a1a18b3; display: grid; place-items: center; padding: 16px; }
#tcModal[hidden] { display: none; }
.tcbox { background: var(--panel); border-radius: 12px; width: min(1240px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 14px; display: grid; gap: 12px; }
.tcbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tcbar .grow { flex: 1; }
#tcStage { position: relative; width: 100%; overflow: hidden; }
#tcStage > .tc { transform-origin: 0 0; position: absolute; left: 0; top: 0; }
#tcMsg { color: var(--dim); font-size: 12.5px; } #tcMsg.err { color: var(--down); }
.tc { width: 1200px; height: 675px; font-family: Geist, system-ui, sans-serif; color: #1a1a18; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 0 0 1px #ece8de; position: relative; }
.tc.square { width: 1080px; height: 1080px; }
.tc * { box-sizing: border-box; margin: 0; }
.tc-bg { position: absolute; left: 0; right: 0; top: 0; height: 230px; background: linear-gradient(120deg,#edf7de 0%,#e8f3ed 45%,#f8f7f4 100%) center/cover no-repeat; }
.square .tc-bg { height: 320px; }
.tc-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,#ffffff10 0%,#ffffffd9 70%,#fff 100%); }
.tc-img { position: absolute; width: 390px; height: 390px; border-radius: 30px; object-fit: cover; border: 6px solid #fff; box-shadow: 0 12px 34px -8px #3a383259, 0 0 0 1px #ece8de; background: #f5f3ef; }
.square .tc-img { width: 380px; height: 380px; }
.tc-col { position: absolute; display: flex; flex-direction: column; }
.tc-head { min-width: 0; max-width: 100%; align-self: flex-start; background: #ffffffeb; border-radius: 18px; padding: 8px 20px 12px; box-shadow: 0 0 0 1px #ece8de, 0 6px 18px -8px #3a383240; }
/* v3 (2026-10-16): sized to stay legible in X's ~600 px preview */
.tc h1 { font-size: 86px; font-weight: 700; letter-spacing: -.03em; line-height: .95; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .square h1 { font-size: 100px; }
.tc h2 { font-size: 34px; color: #57554f; font-weight: 500; margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.15; } .square h2 { font-size: 40px; }
.tc-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.tc-st.s3 { grid-column: span 2; } .tc-st.s2 { grid-column: span 3; }
.tc-st.up b { color: #2e7d4f; } .tc-st.down b { color: #be123c; }
.tc-st { background: #f5f3ef; border-radius: 16px; padding: 10px 18px 12px; display: flex; flex-direction: column; min-width: 0; }
.tc-st span { font-size: 16px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #696762; }
.tc-st b { font-size: 48px; font-weight: 700; letter-spacing: -.025em; font-variant-numeric: tabular-nums; line-height: 1.05; white-space: nowrap; } .square .tc-st span { font-size: 19px; } .square .tc-st b { font-size: 60px; }
.tc-st.hl { background: #edf7de; } .tc-st.hl b { color: #3f6212; }
.tc-rwl { font-size: 16px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #696762; margin-bottom: 8px; } .square .tc-rwl { font-size: 19px; }
.tc-rws { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tc-rw { display: inline-flex; align-items: center; gap: 8px; font-size: 25px; font-weight: 700; border: 2px solid #e6e2d8; border-radius: 999px; padding: 4px 16px 4px 5px; line-height: 1.1; } .square .tc-rw { font-size: 30px; }
.tc-rw img, .tc-rw i { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #e6e2d8; display: block; }
.tc-rw i { display: grid; place-items: center; font-style: normal; font-size: 17px; font-weight: 700; color: #696762; } .square .tc-rw i { font-size: 21px; } .square .tc-rw img, .square .tc-rw i { width: 42px; height: 42px; }
.tc-rw.more { padding: 4px 16px; color: #696762; }
.tc-chartbox { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.tc-chartbox > div:last-child { flex: 1; min-height: 0; }
.tc-ch { display: flex; align-items: baseline; gap: 12px; font-size: 15px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #85837e; margin-bottom: 2px; }
.tc-ch b { font-size: 20px; letter-spacing: 0; } .tc-ch b.up { color: #3f6212; } .tc-ch b.down { color: #be123c; }
.tc-ch .now { text-transform: none; letter-spacing: 0; font-size: 17px; font-weight: 500; color: #696762; }
.tc-lb { font: 600 15px Geist, sans-serif; fill: #3d3c39; } .tc-nochart { font-size: 18px; color: #85837e; padding: 16px 0; }
.tc-foot { position: absolute; left: 36px; right: 36px; bottom: 16px; display: flex; align-items: center; gap: 10px; } .square .tc-foot { left: 40px; right: 40px; bottom: 24px; }
.tc-foot img { width: 38px; height: 38px; image-rendering: pixelated; } .tc-foot b { font: 400 32px/1 VT323, monospace; letter-spacing: .02em; } .tc-foot b span { color: #3f6212; }
.tc-foot .url { margin-left: auto; font-size: 19px; color: #3f6212; font-weight: 600; } .square .tc-foot .url { font-size: 22px; }
i.tc-img { display: block; }
.wide .tc-st.s3 { padding: 10px 14px 12px; } .wide .tc-st.s3 b { font-size: 42px; }
