/* /radar — what whales are doing right now, with receipts. Terminal-native on
   the house tokens (mono-display headline, one cyan accent, green/red outcomes,
   compact stat graphics over prose). Sibling of /receipts; same register. */

.sg-wrap { max-width: 980px; margin: 0 auto; padding: clamp(24px, 4vw, 40px) 16px 44px; }

/* ---------- header ---------- */
.sg-head { position: relative; padding: clamp(20px, 4vw, 34px) 0 22px; }
.sg-kicker {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: var(--tt-mono); font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase; color: var(--tt-up, #22c55e);
    margin-bottom: 14px;
}
.sg-kicker-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tt-up, #22c55e); box-shadow: 0 0 8px var(--tt-up, #22c55e); animation: sgPulse 1.8s ease-in-out infinite; }
.sg-head h1 {
    font-family: var(--tt-display, 'JetBrains Mono', ui-monospace, monospace);
    font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 800; letter-spacing: -0.035em;
    color: #FFF6EA; margin: 0 0 12px; line-height: 1.02; text-wrap: balance;
}
.sg-accent { color: var(--tt-accent, #EE5A2C); }
.sg-sub { font-size: 0.92rem; line-height: 1.55; color: var(--tt-text-muted, #A9C2D6); margin: 0; max-width: 60ch; }

.sg-section-label { font-family: var(--tt-mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tt-text-muted, #A9C2D6); margin: 26px 0 12px; }
.sg-section-live { display: flex; align-items: center; gap: 8px; }
.sg-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tt-up, #22c55e); box-shadow: 0 0 8px var(--tt-up, #22c55e); animation: sgPulse 1.8s ease-in-out infinite; }
@keyframes sgPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- right-now cards ---------- */
.sg-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.sg-card {
    position: relative; display: flex; flex-direction: column;
    background: var(--tt-panel-solid, #103756);
    border: 1px solid var(--tt-border, rgba(42,46,57,0.6)); border-radius: 14px;
    padding: 15px 16px 14px; text-decoration: none; overflow: hidden;
    transition: border-color 0.18s var(--tt-ease-out, ease), transform 0.18s var(--tt-ease-out, ease), box-shadow 0.18s var(--tt-ease-out, ease);
}
.sg-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--tt-accent, #EE5A2C), transparent); opacity: 0; transition: opacity 0.18s ease; }
.sg-card:hover { border-color: rgba(238,90,44,0.5); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.35), 0 0 0 1px rgba(238,90,44,0.12); }
.sg-card:hover::before { opacity: 0.6; }
.sg-card-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 7px; }
.sg-coin { font-size: 1.06rem; font-weight: 800; color: #FFF6EA; letter-spacing: -0.01em; }
.sg-usd { font-family: var(--tt-mono); font-size: 0.74rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.sg-headline { font-size: 0.9rem; font-weight: 600; line-height: 1.4; color: #FFF6EA; margin-bottom: 8px; }
.sg-where { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; font-size: 0.7rem; color: var(--tt-text-muted, #A9C2D6); margin-bottom: 12px; }
.sg-chip-hot { font-family: var(--tt-mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--tt-accent, #EE5A2C); background: rgba(238,90,44,0.1); border: 1px solid rgba(238,90,44,0.3); border-radius: 5px; padding: 2px 7px; }
.sg-since { color: var(--tt-text-dim, #6E8CA3); }

/* compact receipt stat: fraction + median chip + dot strip, no prose */
.sg-receipt { margin-top: auto; border-top: 1px solid var(--tt-border-soft, rgba(42,46,57,0.5)); padding-top: 10px; }
.sg-rstat { display: flex; align-items: baseline; gap: 7px; margin-bottom: 8px; }
.sg-rfrac { font-family: var(--tt-mono); font-size: 0.78rem; font-variant-numeric: tabular-nums; color: #CFE0EE; }
.sg-rfrac b { color: #FFF6EA; font-weight: 800; }
.sg-rmed { margin-left: auto; font-family: var(--tt-mono); font-size: 0.74rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.sg-receipt-thin { margin-top: auto; font-size: 0.72rem; color: var(--tt-text-dim, #6E8CA3); border-top: 1px solid var(--tt-border-soft, rgba(42,46,57,0.5)); padding-top: 10px; }
.sg-receipt-thin b { color: #CFE0EE; }
.rc-mono { font-family: var(--tt-mono); font-variant-numeric: tabular-nums; }
.sg-dots { display: flex; flex-wrap: wrap; gap: 4px; }
.sg-dot { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }

.mo-up { color: var(--tt-up, #22c55e); }
.mo-down { color: var(--tt-down, #ef4444); }

/* ---------- quiet state ---------- */
.sg-quiet { display: flex; align-items: center; gap: 10px; background: var(--tt-panel-solid, #103756); border: 1px solid var(--tt-border, rgba(42,46,57,0.6)); border-radius: 14px; padding: 20px 18px; color: var(--tt-text-muted, #A9C2D6); font-size: 0.88rem; line-height: 1.5; }
.sg-quiet i { font-size: 1.15rem; color: var(--tt-accent, #EE5A2C); opacity: 0.75; flex-shrink: 0; }

/* ---------- recent log ---------- */
.sg-list { background: var(--tt-panel-solid, #103756); border: 1px solid var(--tt-border, rgba(42,46,57,0.6)); border-radius: 14px; overflow: hidden; }
.sg-row { display: grid; grid-template-columns: 52px 66px 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; font-size: 0.88rem; border-top: 1px solid var(--tt-border-soft, rgba(42,46,57,0.4)); }
.sg-row:first-child { border-top: none; }
.sg-row:hover { background: rgba(238,90,44,0.03); }
.sg-row-ago { font-family: var(--tt-mono); font-size: 0.72rem; color: var(--tt-text-dim, #6E8CA3); font-variant-numeric: tabular-nums; }
.sg-row-coin { font-size: 0.9rem; font-weight: 800; color: #FFF6EA; }
.sg-row-text { color: #CFE0EE; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-row-price { color: var(--tt-text-dim, #6E8CA3); font-family: var(--tt-mono); font-size: 0.82rem; }
.sg-row-outcome { font-family: var(--tt-mono); font-size: 0.82rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--tt-text-dim, #6E8CA3); white-space: nowrap; text-align: right; }
.sg-foot { font-size: 0.72rem; line-height: 1.55; color: var(--tt-text-muted, #A9C2D6); margin: 12px 2px 0; }

/* ---------- single Pro CTA band ---------- */
.sg-cta-band { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 30px; background: linear-gradient(180deg, rgba(238,90,44,0.06), transparent 60%), var(--tt-panel-solid, #103756); border: 1px solid rgba(238,90,44,0.28); border-radius: 14px; padding: 18px 20px; }
.sg-cta-text { font-size: 0.9rem; color: #FFF6EA; }
.lp-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--tt-accent, #EE5A2C); color: #06121a; font-weight: 700; font-size: 0.9rem; padding: 11px 22px; border-radius: 9px; text-decoration: none; box-shadow: 0 0 26px rgba(238,90,44,0.2); transition: filter 0.15s; }
.lp-cta:hover { filter: brightness(1.1); color: #06121a; }

/* ---------- responsive ---------- */
@media (max-width: 640px) {
    .sg-row { grid-template-columns: 44px 1fr auto; gap: 4px 10px; }
    .sg-row-coin { display: none; }
    .sg-row-text::before { content: attr(data-coin) " "; font-weight: 800; color: #FFF6EA; }
}

@media (prefers-reduced-motion: reduce) {
    .sg-kicker-dot, .sg-live-dot { animation: none; }
    .sg-card { transition: none; }
}

/* ---------- The log (honest awareness, no verdict) ---------- */
.sg-aware { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px,4vw,40px); align-items: center; padding: clamp(18px,3vw,26px); margin-bottom: 16px; border: 1px solid rgba(238,90,44,0.28); border-radius: 16px; background: linear-gradient(180deg, rgba(238,90,44,0.06), transparent 46%), var(--tt-panel-solid); }
.sg-aware-count { display: flex; align-items: baseline; gap: 14px; }
.sg-aware-num { font-family: var(--tt-mono); font-variant-numeric: tabular-nums; font-size: clamp(2.6rem,7vw,4.2rem); font-weight: 800; letter-spacing: -0.04em; color: #FFF6EA; line-height: 0.9; }
.sg-aware-cap { font-size: 0.8rem; line-height: 1.35; color: var(--tt-text-muted); align-self: center; }
.sg-aware-move-line { font-size: 0.95rem; color: #E7F1F8; line-height: 1.5; }
.sg-aware-move-line b { color: #FFF6EA; font-weight: 800; }
.sg-aware-move-sub { margin-top: 6px; font-size: 0.74rem; color: var(--tt-text-dim); line-height: 1.45; }
@media (max-width: 640px) { .sg-aware { grid-template-columns: 1fr; gap: 14px; } }
/* Neutral outcome + dots (no green/red verdict) */
.sg-neutral { color: var(--tt-text-muted, #A9C2D6); }
/* Recent-log outcome: descriptive price direction after a flag (up/down/flat),
   not a win/loss verdict. Compound selector so it beats .sg-row-outcome's base
   color; word + color (never color alone) keeps it readable without color. */
.sg-row-outcome.sg-up { color: var(--tt-up, #37D98A); }
.sg-row-outcome.sg-down { color: var(--tt-down, #FA5772); }
.sg-row-outcome.sg-flat { color: var(--tt-text-muted, #A9C2D6); }
.sg-dot-neutral { background: var(--tt-text-dim, #6E8CA3); box-shadow: none; }
