/* demo.css: generated from extension/content.js (tags, tint, Real Trend) + the showcase layout. Regenerate rather than edit the first two blocks. */
/* ---- from the extension: verdict tag and card tint ---- */
    /* the verdict, as a tag in the card's top-left corner */
    .sc-badge { --c: #8a8496; position: absolute; z-index: 7; top: 0; left: 0; display: flex; align-items: center; height: 18px; padding: 0 7px; box-sizing: border-box;
      border-radius: 0 0 6px 0; font: 650 10px/1 'Geist Mono', ui-monospace, SFMono-Regular, monospace; letter-spacing: .06em; white-space: nowrap; cursor: pointer;
      color: #15121c; background: var(--c); box-shadow: 0 1px 6px color-mix(in srgb, var(--c) 40%, transparent); font-variant-numeric: tabular-nums; transition: filter .12s; }
    .sc-badge:hover { filter: brightness(1.12); }
    .sc-badge.sc-dim { color: #cfc9d8; background: #2a2431; box-shadow: none; font-weight: 600; }
    /* the whole card washed in the verdict colour, strongest at the tag */
    .sc-tint { position: absolute; inset: 0; z-index: 6; pointer-events: none; border-radius: inherit;
      background: radial-gradient(120% 140% at 0 0, color-mix(in srgb, var(--c) 30%, transparent) 0%, color-mix(in srgb, var(--c) 9%, transparent) 45%, color-mix(in srgb, var(--c) 4%, transparent) 100%);
      box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 32%, transparent), inset 2px 0 0 var(--c); transition: opacity .3s; }
    .sc-tint.sc-off { opacity: 0; }
/* ---- from the extension: Real Trend column ---- */
    #sc-trend .sc-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; position: relative; font-family: inherit; }
    #sc-trend .sc-body::-webkit-scrollbar { width: 6px; } #sc-trend .sc-body::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 6px; }
    #sc-trend .sc-by { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; padding: 2px 7px 2px 3px; border-radius: 99px; white-space: nowrap; letter-spacing: 0; text-transform: none;
      font: 500 11px/1.4 'Geist Mono', ui-monospace, monospace; color: #15121c; background: linear-gradient(115deg, #b6e2f5, #f3bddb 48%, #c6a8f4); }
    #sc-trend .sc-by img { width: 14px; height: 14px; border-radius: 4px; }
    #sc-trend .sc-info { padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.06); color: #fcfcfc; font-size: 12px; font-weight: 500; line-height: 1.45; }
    #sc-trend .sc-group { position: sticky; top: 0; z-index: 2; background: var(--sc-bg, #101114); padding: 9px 12px 8px; border-bottom: 1px solid rgba(255,255,255,.06); }
    #sc-trend .sc-group-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
    #sc-trend .sc-group-name { color: #fcfcfc; font-size: 14px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #sc-trend .sc-heat { flex: none; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; color: rgb(130,133,152); background: rgba(255,255,255,.06); }
    #sc-trend .sc-heat.hot { color: #ff6b86; background: rgba(255,107,134,.13); }
    #sc-trend .sc-heat.warm { color: #ffb46b; background: rgba(255,180,107,.13); }
    #sc-trend .sc-heat.new { color: #c6a8f4; background: rgba(198,168,244,.14); }
    #sc-trend .sc-count { margin-left: auto; flex: none; color: rgb(130,133,152); font-size: 12px; }
    #sc-trend .sc-take { color: rgb(130,133,152); font-size: 12px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #sc-trend .sc-row { display: grid; grid-template-columns: 56px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 12px; border-bottom: 1px solid rgba(255,255,255,.05); cursor: pointer; transition: background .1s; }
    #sc-trend .sc-row:hover { background: rgba(255,255,255,.035); }
    #sc-trend .sc-av { position: relative; width: 56px; height: 56px; border-radius: 4px; padding: 2px; box-sizing: border-box; box-shadow: 0 0 0 1px var(--c, rgba(255,255,255,.12)) inset; }
    #sc-trend .sc-av img, #sc-trend .sc-av span { width: 52px; height: 52px; border-radius: 2px; object-fit: cover; display: grid; place-items: center; background: #1a1b20; color: rgb(130,133,152); font-weight: 600; font-size: 18px; }
    #sc-trend .sc-l1 { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
    #sc-trend .sc-sym { color: #fcfcfc; font-size: 16px; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
    #sc-trend .sc-name { color: rgb(130,133,152); font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #sc-trend .sc-l2 { display: flex; align-items: center; gap: 10px; margin-top: 3px; font-size: 12px; font-weight: 500; color: rgb(130,133,152); white-space: nowrap; }
    #sc-trend .sc-age { color: rgb(18,175,128); }
    #sc-trend .sc-copies { color: #ffb46b; }
    #sc-trend .sc-l3 { display: flex; align-items: center; gap: 7px; margin-top: 5px; min-width: 0; }
    #sc-trend .sc-l3 .sc-badge { position: static; flex: none; height: 18px; border-radius: 4px; }
    #sc-trend .sc-row.sc-v { background: radial-gradient(120% 160% at 0 0, color-mix(in srgb, var(--c) 22%, transparent), color-mix(in srgb, var(--c) 5%, transparent) 55%, transparent); box-shadow: inset 2px 0 0 var(--c); }
    #sc-trend .sc-row.sc-v:hover { background-color: rgba(255,255,255,.03); }
    #sc-trend .sc-line { color: rgb(130,133,152); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #sc-trend .sc-right { text-align: right; white-space: nowrap; }
    #sc-trend .sc-mc { font-size: 16px; font-weight: 500; color: rgb(220,193,60); }
    #sc-trend .sc-mc small, #sc-trend .sc-tx small { font-size: 12px; color: rgb(130,133,152); margin-right: 4px; }
    #sc-trend .sc-tx { font-size: 12px; font-weight: 500; color: #fcfcfc; margin-top: 4px; }
    #sc-trend .sc-empty { padding: 40px 16px; text-align: center; color: rgb(130,133,152); font-size: 13px; }

/* ---------- the showcase: layered generated elements behind the real extension and app ---------- */
.frame > section.demo { background: var(--paper); box-shadow: 0 0 0 100vmax var(--paper); }
/* full screen width: centred on the section, as wide as the window (the page itself clips sideways overflow) */
.demo-bg { position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); overflow: hidden; pointer-events: none; z-index: 0;
  background: radial-gradient(50% 45% at 50% 45%, rgba(198,168,244,.24), transparent 70%), radial-gradient(30% 30% at 12% 80%, rgba(182,226,245,.3), transparent 70%), radial-gradient(30% 30% at 88% 20%, rgba(243,189,219,.3), transparent 70%); }
.demo-bg .el { position: absolute; left: var(--x); top: var(--y); width: var(--w); transform: translate3d(calc(var(--mx, 0) * var(--d) * -28px), calc(var(--my, 0) * var(--d) * -22px + var(--sy, 0) * var(--d) * -60px), 0); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.demo-bg .el img { width: 100%; display: block; filter: drop-shadow(0 18px 26px rgba(90,60,170,.18)); animation: elFloat var(--t) ease-in-out infinite; }
.demo-bg .el:nth-child(even) img { animation-direction: alternate-reverse; }
@keyframes elFloat { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(3deg); } }
.demo > .sec-head, .demo-stage { position: relative; z-index: 1; }
.demo-stage { max-width: 1160px; margin: 0 auto; padding: 0 32px 88px; }
.demo-controls { display: flex; justify-content: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 4px; border-radius: 99px; background: rgba(255,255,255,.75); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgba(21,18,28,.08), 0 10px 24px -16px rgba(60,40,110,.4); }
.seg button { border: 0; background: none; padding: 8px 16px; border-radius: 99px; font: 600 13px var(--sans); color: var(--m-light); cursor: pointer; transition: background .2s, color .2s; }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--ink); color: #f5f2f8; }
.seg.small button { padding: 8px 12px; font-size: 12px; }
.demo-screen { display: none; }
.demo-screen.on { display: block; animation: screenIn .5s cubic-bezier(.2,.8,.2,1); }
@keyframes screenIn { from { opacity: 0; transform: translateY(14px) scale(.99); } }

/* the terminal: a dark trading board, like Axiom's Pulse */
.term { border-radius: 22px; overflow: hidden; background: #0d0e12; box-shadow: 0 0 0 1px rgba(21,18,28,.12), 0 50px 90px -40px rgba(40,25,80,.6); font-family: Inter, Geist, system-ui, sans-serif; }
.term-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #16171c; border-bottom: 1px solid rgba(255,255,255,.06); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff6159; } .term-bar i:nth-child(2) { background: #ffbd2e; } .term-bar i:nth-child(3) { background: #28c941; }
.term-bar span { margin-left: 12px; font: 11.5px var(--mono); color: rgba(255,255,255,.45); }
.term-body { position: relative; height: 620px; overflow: hidden; }
.term-cols { display: grid; grid-template-columns: repeat(3, 1fr); height: 100%; }
.tcol { min-width: 0; display: flex; flex-direction: column; border-right: 1px solid rgba(255,255,255,.06); --sc-bg: #0d0e12; }
.tcol:last-child { border-right: 0; }
.tcol-h { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; flex: none; color: #fcfcfc; font-size: 15px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.06); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #12af80; box-shadow: 0 0 0 3px rgba(18,175,128,.2); animation: blip 1.6s ease-in-out infinite; }
.tcol-list { flex: 1; min-height: 0; overflow: hidden; }
#sc-trend .sc-body { flex: 1; min-height: 0; overflow: hidden; }
/* a token card: the shape of a Pulse card */
.tcard { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 12px 12px; border-bottom: 1px solid rgba(255,255,255,.05); cursor: pointer; color: #fcfcfc; transition: background .15s; }
.tcard:hover { background: rgba(255,255,255,.03); }
.tcard.picked { background: rgba(198,168,244,.08); }
.tcard.arrive { animation: cardIn .6s cubic-bezier(.2,.8,.2,1); }
@keyframes cardIn { from { opacity: 0; transform: translateY(-18px); max-height: 0; } to { max-height: 120px; } }
.tcard .av { width: 56px; height: 56px; border-radius: 4px; overflow: hidden; background: #1a1b20; display: grid; place-items: center; color: rgb(130,133,152); font-weight: 600; font-size: 18px; }
.tcard .av img { width: 100%; height: 100%; object-fit: cover; }
.tcard .l1 { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.tcard .sym { font-size: 16px; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.tcard .nm { color: rgb(130,133,152); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcard .l2 { display: flex; gap: 10px; margin-top: 4px; font-size: 12px; color: rgb(130,133,152); white-space: nowrap; }
.tcard .age { color: rgb(18,175,128); }
.tcard .r { text-align: right; white-space: nowrap; }
.tcard .mc { font-size: 15px; font-weight: 500; color: rgb(220,193,60); }
.tcard .mc small, .tcard .tx small { font-size: 12px; color: rgb(130,133,152); margin-right: 4px; }
.tcard .tx { font-size: 12px; margin-top: 4px; }
.sc-badge.pop { animation: badgePop .45s cubic-bezier(.3,1.6,.5,1); }
@keyframes badgePop { from { transform: scale(.5); opacity: 0; } }

/* the edge tab and the panel (the real extension page in a frame) */
.dtab { position: absolute; right: 0; top: 42%; transform: translateY(-50%); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 34px; padding: 10px 0 12px;
  background: #15121c; color: #e7d9fb; border: 1px solid rgba(198,168,244,.35); border-right: 0; border-radius: 10px 0 0 10px; box-shadow: -6px 0 20px rgba(0,0,0,.45); cursor: pointer; transition: right .45s cubic-bezier(.2,.8,.2,1), background .2s; }
.dtab img { width: 20px; height: 20px; border-radius: 5px; }
.dtab .rot { position: relative; width: 16px; flex: none; }
.dtab .rot > span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); white-space: nowrap; }
.dtab .lbl { height: 92px; } .dtab .lbl > span { font: 600 10.5px/1 Consolas, 'SF Mono', Menlo, monospace; letter-spacing: .18em; }
.dtab small.rot { width: 18px; border-radius: 4px; color: var(--c, #a8a1b4); background: color-mix(in srgb, var(--c, #a8a1b4) 16%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c, #a8a1b4) 30%, transparent) inset; transition: height .3s; }
.dtab small.rot > span { font: 700 10px/1 Consolas, 'SF Mono', Menlo, monospace; letter-spacing: .06em; }
.dtab small.rot:has(> span:empty) { display: none; }
.dpanel { position: absolute; top: 0; right: 0; bottom: 0; width: 400px; z-index: 3; background: #15121c; border-left: 1px solid rgba(255,255,255,.1); box-shadow: -16px 0 48px rgba(0,0,0,.55);
  transform: translateX(100%); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.dpanel iframe { width: 100%; height: 100%; border: 0; display: block; background: transparent; }
.term.open .dpanel { transform: none; }
.term.open .dtab { right: 400px; }
.term.lightmode .dpanel { background: #f2f0f5; border-color: rgba(21,18,28,.1); box-shadow: -16px 0 48px rgba(40,25,80,.28); }
.term.lightmode .dtab { background: #fff; color: #15121c; border-color: rgba(124,92,214,.35); box-shadow: -6px 0 20px rgba(40,25,80,.25); }

/* the website app, scaled into a browser window */
.browser.big { height: 680px; border-radius: 18px; }
.app-viewport { position: relative; flex: 1; overflow: hidden; background: #f2f0f5; }
.app-viewport iframe { position: absolute; left: 0; top: 0; width: 1280px; height: 1000px; border: 0; transform-origin: 0 0; }

@media (max-width: 900px) {
  .demo-stage { padding: 0 16px 64px; }
  .term-cols { grid-template-columns: 1fr; }
  .term-cols .tcol:not(:first-child) { display: none; }
  .dpanel { width: 86%; } .term.open .dtab { right: 86%; }
  .term-body { height: 560px; }
  .browser.big { height: 560px; }
  .demo-bg .el { width: calc(var(--w) * .6); }
}
@media (prefers-reduced-motion: reduce) { .demo-bg .el img, .live-dot { animation: none; } .demo-bg .el { transition: none; } }
