/* signals.html — page-specific styles */

/* ── Pulse page grid ── */
    .pulse-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
    .pulse-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 12px; }
    .pulse-card {
      background: var(--surface); border: 1px solid var(--border-card);
      border-radius: var(--radius); padding: 16px 18px;
      transition: border-color 0.15s;
    }
    /* neutral border-brighten on hover (matches the token-detail/markets card hover);
       no amber tint */
    .pulse-card:hover { border-color: var(--line-2); }
    .pulse-card-head {
      display: flex; justify-content: space-between; align-items: center;
      padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--gray-100);
    }
    .pulse-label {
      font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--text-muted); font-weight: 600;
    }
    .pulse-big {
      font-family: var(--font-mono); font-size: 28px; font-weight: 700;
      color: var(--text); letter-spacing: -0.03em; line-height: 1;
    }
    .pulse-sub {
      font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); margin-top: 4px;
    }
    .pulse-row {
      display: flex; align-items: center; gap: 8px; padding: 6px 0;
      border-bottom: 1px solid var(--gray-50); font-size: 11px;
    }
    .pulse-row:last-child { border-bottom: none; }
    .pulse-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }

    /* ── Regime gauge ── */
    .regime-gauge {
      position: relative; width: 120px; height: 60px; margin: 0 auto 8px;
    }
    .regime-gauge svg { width: 100%; height: 100%; overflow: visible; }
    .regime-needle {
      transform-origin: 60px 55px;
      transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    /* ── Narrative row ── */
    .narr-row {
      display: grid; grid-template-columns: minmax(0,1fr) 60px 60px 50px 60px;
      align-items: center; gap: 8px; padding: 7px 0;
      border-bottom: 1px solid var(--gray-50); font-size: 11px;
    }
    .narr-row:last-child { border-bottom: none; }
    .narr-phase {
      font-family: var(--font-mono); font-size: 8px; font-weight: 700;
      letter-spacing: 0.08em; text-transform: uppercase;
      padding: 1px 6px; border-radius: var(--radius-full); text-align: center;
    }

    /* ── Token row (valuation / convergence) ── */
    .tk-row {
      display: flex; align-items: center; gap: 8px; padding: 7px 0;
      border-bottom: 1px solid var(--gray-50); font-size: 11px;
      text-decoration: none; transition: background 0.12s;
    }
    .tk-row:last-child { border-bottom: none; }
    .tk-row:hover { background: var(--gray-50); margin: 0 -8px; padding-left: 8px; padding-right: 8px; border-radius: 6px; }
    .tk-logo { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; }
    .tk-name { font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .tk-sym { font-family: var(--font-mono); font-size: 9px; color: var(--text-muted); flex-shrink: 0; }
    .tk-score {
      display: inline-flex; align-items: center; justify-content: center;
      width: 28px; height: 28px; border-radius: 50%;
      font-family: var(--font-mono); font-size: 10px; font-weight: 700;
    }
    .tk-pct { font-family: var(--font-mono); font-size: 10px; font-weight: 600; text-align: right; min-width: 42px; }
    .tk-mcap { font-family: var(--font-mono); font-size: 9px; color: var(--text-muted); text-align: right; min-width: 52px; }
    .tk-spacer { flex: 1; }

    /* ── 7d Price Movers: catalyst CTA + per-row declare shortcut ── */
    .mv-cta {
      display: flex; align-items: center; justify-content: space-between; gap: 18px;
      background: linear-gradient(180deg, rgba(255,180,0,0.07), rgba(255,180,0,0.02));
      border: 1px solid rgba(255,180,0,0.18); border-radius: var(--radius);
      padding: 14px 18px; margin-bottom: 12px;
    }
    .mv-cta-title { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
    .mv-cta-sub { font-size: 11px; color: var(--text-secondary); line-height: 1.45; max-width: 600px; }
    .mv-cta-actions { display: flex; gap: 8px; flex-shrink: 0; }
    .mv-cta-btn {
      font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.03em;
      padding: 9px 15px; border-radius: var(--radius-full); text-decoration: none; white-space: nowrap;
      transition: background 0.15s, border-color 0.15s; cursor: pointer;
    }
    .mv-cta-primary { background: #FFB400; color: #0E0E0E; border: 1px solid #FFB400; }
    .mv-cta-primary:hover { background: var(--brand-amber); }
    .mv-cta-ghost { background: transparent; color: var(--brand-amber-strong); border: 1px solid rgba(255,180,0,0.32); }
    .mv-cta-ghost:hover { background: rgba(255,180,0,0.08); }

    /* mover row: token link fills, declare shortcut tucks in on the right */
    .mv-link { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; text-decoration: none; }
    .mv-declare {
      font-family: var(--font-mono); font-size: 8px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
      color: var(--brand-amber-strong); background: rgba(255,180,0,0.1); border: 1px solid rgba(255,180,0,0.22);
      padding: 3px 9px; border-radius: var(--radius-full); text-decoration: none; flex-shrink: 0;
      opacity: 0; transition: opacity 0.15s, background 0.15s;
    }
    .mv-row:hover .mv-declare { opacity: 1; }
    .mv-declare:hover { background: rgba(255,180,0,0.2); }
    /* touch devices have no hover — keep the shortcut visible */
    @media (hover: none) { .mv-declare { opacity: 0.85; } }

    @media (max-width: 640px) {
      .mv-cta { flex-direction: column; align-items: stretch; gap: 12px; }
      .mv-cta-actions { display: grid; grid-template-columns: 1fr 1fr; }
      .mv-cta-btn { text-align: center; }
    }

    /* ── Signal dots ── */
    .sig-dots { display: flex; gap: 3px; }
    .sig-dot {
      width: 6px; height: 6px; border-radius: 50%; background: var(--gray-200);
    }
    .sig-dot.active { background: #FFB400; box-shadow: 0 0 4px rgba(255,180,0,0.4); }

    /* ── Convergence pattern tag ── */
    .conv-pattern {
      font-family: var(--font-mono); font-size: 8px; font-weight: 600;
      padding: 1px 6px; border-radius: var(--radius-full);
      background: rgba(255,180,0,0.1); color: var(--brand-amber-strong);
      white-space: nowrap;
    }

    /* ── Blue chip inline ── */
    .bc-price {
      font-family: var(--font-mono); font-size: 18px; font-weight: 700;
      color: var(--text); letter-spacing: -0.02em;
    }
    .bc-change {
      font-family: var(--font-mono); font-size: 10px; font-weight: 600;
    }

    /* ── Responsive ── */
    @media (max-width: 900px) {
      .pulse-grid { grid-template-columns: 1fr; }
      .pulse-grid-3 { grid-template-columns: 1fr; }
    }
    @media (min-width: 901px) and (max-width: 1200px) {
      .pulse-grid-3 { grid-template-columns: 1fr 1fr; }
    }

    /* ── Section header ── */
    .p-sec {
      display: flex; align-items: center; gap: 10px;
      font-family: var(--font-mono); font-size: 12px; font-weight: 600;
      letter-spacing: 0.08em; text-transform: uppercase;
      color: var(--text-muted); margin: 0 0 14px; padding-left: 12px;
    }
    .p-sec::before {
      content: ""; width: 6px; height: 6px; border-radius: 50%;
      background: #FFB400; flex-shrink: 0;
    }
    .p-sec .p-sec-line { flex: 1; height: 1px; background: var(--border-card); }

    @media (max-width: 640px) {
      .p-sec { font-size:10px;padding-left:8px; }
      .pulse-grid, .pulse-grid-3 { gap:10px; }

      /* Narrative Lifecycle table: the 4 fixed number columns squeezed the name to
         ~96px so every narrative truncated to "Paym…". Drop the least-scanned
         "Tokens" count column and let names wrap → full names stay readable. */
      .narr-row { grid-template-columns: minmax(0,1fr) 52px 52px 52px; gap:6px; }
      .narr-row > :nth-child(4) { display:none; }              /* Tokens col (header + data) */
      .narr-row .sigc-20 { white-space:normal; overflow:visible; text-overflow:clip; line-height:1.25; }
    }

/* extracted free inline styles (css-verify) */
.sigf-1 { position:relative;z-index:1; }
.sigf-2 { text-align:center; }
.sigf-3 { font-weight:400;font-size:10px;text-transform:none;letter-spacing:0; }
.sigf-4 { grid-template-columns:1fr 2fr; }
.sigf-5 { gap:10px; }
.sigf-6 { min-width:0;flex-shrink:0; }
.sigf-7 { opacity:0.6; }
