:root {
  --bg: #060912;
  --bg2: #0a0f1c;
  --glass: rgba(20, 27, 45, 0.55);
  --glass2: rgba(15, 21, 38, 0.7);
  --glass-brd: rgba(120, 150, 220, 0.14);
  --glass-hi: rgba(255, 255, 255, 0.06);
  --text: #eaf0fb;
  --muted: #8794ad;
  --muted2: #5b6680;
  --green: #25d97a;
  --yellow: #ffc83d;
  --red: #ff5470;
  --accent: #5b9dff;
  --accent2: #9b6dff;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --display: 'Sora', 'Cairo', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Cairo', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}
.mono { font-family: var(--mono); font-feature-settings: "tnum"; letter-spacing: -.3px; }

/* ambient background aura */
.bg-aura {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(820px 520px at 82% -8%, rgba(91,109,255,.16), transparent 60%),
    radial-gradient(700px 500px at 12% 8%, rgba(155,109,255,.12), transparent 55%),
    radial-gradient(900px 700px at 50% 110%, rgba(37,217,122,.07), transparent 60%);
  animation: auraFloat 18s ease-in-out infinite alternate;
}
@keyframes auraFloat { from { transform: translateY(0) scale(1); } to { transform: translateY(-26px) scale(1.05); } }

/* ---------- global rich tooltip ---------- */
.tip {
  position: fixed; z-index: 100; max-width: 290px; pointer-events: none;
  background: linear-gradient(160deg, rgba(16,22,40,.98), rgba(10,14,26,.98));
  border: 1px solid rgba(120,150,220,.3); border-radius: 13px;
  padding: 12px 14px; box-shadow: 0 20px 50px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06);
  opacity: 0; transform: translateY(6px) scale(.97); transition: opacity .15s, transform .15s;
  backdrop-filter: blur(10px); line-height: 1.6;
}
.tip.show { opacity: 1; transform: none; }
.tip .tt-h { font-weight: 800; font-size: 13.5px; margin-bottom: 5px; display: flex; align-items: center; gap: 7px; }
.tip .tt-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.tip .tt-row { font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; gap: 14px; margin-top: 2px; }
.tip .tt-row b { color: var(--text); font-family: var(--mono); }
.tip .tt-note { font-size: 12px; color: var(--text); margin-top: 7px; line-height: 1.6; opacity: .92; }
.tip .tt-tag { font-family: var(--mono); font-size: 10px; padding: 1px 7px; border-radius: 6px; background: rgba(255,255,255,.06); color: var(--muted); }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 14px 26px;
  background: linear-gradient(180deg, rgba(6,9,18,.85), rgba(6,9,18,.55));
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--glass-brd);
}
.brand { display: flex; align-items: center; gap: 13px; }
.logo-orb {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 8px 26px rgba(91,109,255,.45), inset 0 1px 0 rgba(255,255,255,.3);
  font-family: var(--display); font-weight: 800; font-size: 16px; color: #fff;
  position: relative; overflow: hidden;
}
.logo-orb::after { content:""; position:absolute; inset:0; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.5), transparent 50%); }
.brand-txt h1 { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: .3px; line-height: 1; }
.brand-txt h1 span { background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.brand-txt p { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.brand-txt p b { color: var(--accent); }

.controls { display: flex; gap: 10px; align-items: center; }
.search-wrap { position: relative; display: flex; align-items: center; }
.search-ico { width: 17px; height: 17px; position: absolute; right: 13px; color: var(--muted2); pointer-events: none; }
#ticker {
  background: rgba(10,15,28,.7); border: 1px solid var(--glass-brd); color: var(--text);
  padding: 12px 40px 12px 16px; border-radius: 13px; font-family: inherit; font-size: 14px;
  width: 290px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
#ticker::placeholder { color: var(--muted2); }
#ticker:focus { border-color: var(--accent); background: rgba(10,15,28,.95); box-shadow: 0 0 0 4px rgba(91,109,255,.12); }
#go {
  position: relative; background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; border: none; padding: 12px 26px; border-radius: 13px;
  font-family: inherit; font-weight: 700; font-size: 14px; cursor: pointer;
  box-shadow: 0 8px 22px rgba(91,109,255,.38), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .1s, filter .2s, box-shadow .2s; overflow: hidden;
}
#go:hover { filter: brightness(1.12); box-shadow: 0 10px 30px rgba(91,109,255,.5); }
#go:active { transform: scale(.96); }

/* ---------- layout ---------- */
#app { max-width: 1220px; margin: 0 auto; padding: 26px 18px 50px; }
.hidden { display: none !important; }
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  border-radius: 20px;
  backdrop-filter: blur(16px) saturate(130%);
  box-shadow: 0 18px 50px rgba(0,0,0,.45), inset 0 1px 0 var(--glass-hi);
  position: relative;
}

/* placeholder */
.placeholder { text-align: center; padding: 70px 20px; }
.ph-orb {
  width: 110px; height: 110px; margin: 0 auto 26px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), var(--accent2), var(--green), var(--accent));
  filter: blur(2px); opacity: .85; animation: spin 8s linear infinite;
  box-shadow: 0 0 60px rgba(91,109,255,.5);
  -webkit-mask: radial-gradient(circle, transparent 38%, #000 40%);
  mask: radial-gradient(circle, transparent 38%, #000 40%);
}
.placeholder h2 { font-family: var(--display); font-size: 27px; font-weight: 800; margin-bottom: 10px; }
.placeholder p { color: var(--muted); max-width: 600px; margin: 0 auto 22px; font-size: 14px; line-height: 1.7; }
.ph-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.quick {
  background: var(--glass); border: 1px solid var(--glass-brd); color: var(--text);
  padding: 9px 20px; border-radius: 12px; font-family: var(--mono); font-weight: 600; cursor: pointer;
  transition: transform .12s, border-color .2s, background .2s;
}
.quick:hover { transform: translateY(-3px); border-color: var(--accent); background: rgba(91,109,255,.12); }

/* loader / scanner */
.loader { text-align: center; padding: 80px 20px; color: var(--muted); }
.scanner { width: 90px; height: 90px; margin: 0 auto 22px; position: relative; }
.scan-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--accent); animation: spin 1.1s linear infinite; }
.scan-ring.r2 { inset: 14px; border-top-color: var(--accent2); animation-duration: 1.6s; animation-direction: reverse; }
.scan-core { position: absolute; inset: 34px; border-radius: 50%; background: radial-gradient(circle, var(--accent), var(--accent2)); box-shadow: 0 0 26px var(--accent); animation: pulse 1.4s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { transform: scale(.8); opacity: .7; } 50% { transform: scale(1.15); opacity: 1; } }
.error { text-align: center; padding: 40px; color: var(--red); background: rgba(255,84,112,.07); border: 1px solid rgba(255,84,112,.28); border-radius: 16px; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- timeframe bar ---------- */
.tf-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; padding: 7px; border-radius: 16px;
  background: var(--glass2); border: 1px solid var(--glass-brd); backdrop-filter: blur(12px); width: fit-content; }
.tf-bar .tf-lbl { font-size: 12px; color: var(--muted); padding: 0 8px; }
.tf-btn { background: transparent; border: 1px solid transparent; color: var(--muted); cursor: pointer;
  font-family: var(--mono); font-size: 12.5px; font-weight: 600; padding: 8px 16px; border-radius: 11px; transition: all .18s; }
.tf-btn:hover { color: var(--text); background: rgba(255,255,255,.04); }
.tf-btn.active { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 6px 18px rgba(91,109,255,.4); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 330px; gap: 16px; margin-bottom: 16px; }
.coin-head { padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; overflow: hidden; }
.coin-head::before { content:""; position: absolute; top:-50%; right:-10%; width: 320px; height: 320px; background: radial-gradient(circle, rgba(91,109,255,.18), transparent 65%); pointer-events: none; }
.coin-id { display: flex; align-items: center; gap: 15px; z-index: 1; }
.coin-img-ring { padding: 3px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); box-shadow: 0 6px 20px rgba(91,109,255,.4); }
.coin-img-ring img { width: 50px; height: 50px; border-radius: 50%; display: block; background: var(--bg2); }
.coin-id h2 { font-family: var(--display); font-size: 25px; font-weight: 800; }
.coin-tags { display: flex; gap: 7px; margin-top: 6px; }
.tag { font-family: var(--mono); font-size: 11px; padding: 3px 9px; border-radius: 7px; background: rgba(255,255,255,.05); color: var(--muted); border: 1px solid var(--glass-brd); }
.tag.accent { color: var(--accent); border-color: rgba(91,157,255,.3); background: rgba(91,157,255,.1); }
.coin-price { text-align: center; z-index: 1; }
.price { font-size: 34px; font-weight: 600; cursor: help; }
.changes { display: flex; gap: 7px; justify-content: center; margin-top: 8px; flex-wrap: wrap; }
.chg { font-family: var(--mono); padding: 3px 9px; border-radius: 8px; font-size: 12px; font-weight: 600; cursor: help; }
.chg.up { color: var(--green); background: rgba(37,217,122,.12); }
.chg.down { color: var(--red); background: rgba(255,84,112,.12); }
.coin-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; min-width: 250px; z-index: 1; }
.stat-row { display: flex; flex-direction: column; gap: 2px; padding-bottom: 7px; border-bottom: 1px solid var(--glass-brd); cursor: help; }
.stat-row span { color: var(--muted); font-size: 11px; }
.stat-row b { font-size: 13.5px; font-weight: 600; font-family: var(--mono); }

/* gauge */
.gauge-card { padding: 20px; display: flex; flex-direction: column; align-items: center; }
.gauge-card h3 { font-size: 13px; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.gauge-shell { position: relative; width: 190px; height: 190px; cursor: help; }
.gauge-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge-track { fill: none; stroke: rgba(255,255,255,.06); stroke-width: 13; }
.gauge-arc { fill: none; stroke: url(#gaugeGrad); stroke-width: 13; stroke-linecap: round;
  stroke-dasharray: 528; stroke-dashoffset: 528; transition: stroke-dashoffset 1.4s cubic-bezier(.2,.8,.2,1), stroke 1s; filter: drop-shadow(0 0 8px rgba(91,109,255,.5)); }
.gauge-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge-center > div { font-size: 46px; font-weight: 600; line-height: 1; }
.gauge-center small { color: var(--muted); font-size: 12px; margin-top: 2px; }
.gauge-label { font-size: 17px; font-weight: 800; margin-top: 12px; }
.gauge-sub { font-size: 12px; color: var(--muted); margin-top: 4px; text-align: center; }
.gauge-trend { margin-top: 10px; font-size: 12.5px; font-family: var(--mono); display: flex; align-items: center; gap: 7px; min-height: 38px; }
.gauge-trend .tr-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 10px; font-weight: 600; }
.gauge-trend .tr-pill.up { color: var(--green); background: rgba(37,217,122,.12); }
.gauge-trend .tr-pill.down { color: var(--red); background: rgba(255,84,112,.12); }
.gauge-trend .tr-pill.flat { color: var(--muted); background: rgba(255,255,255,.05); }
.gauge-trend .tr-pill.new { color: var(--accent); background: rgba(91,157,255,.1); }
.spark { display: block; }

/* ---------- radar + detail ---------- */
.radar-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 16px; margin-bottom: 22px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 18px 22px 0; }
.panel-head h3 { font-family: var(--display); font-size: 16px; font-weight: 800; }
.accent { color: var(--accent); }
.bands-legend { display: flex; gap: 14px; }
.bands-legend span { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); }
.bands-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.radar-hero { overflow: hidden; }
.radar-stage { position: relative; height: 540px; padding: 14px; display: grid; place-items: center; }
.radar-glow { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(91,109,255,.18), transparent 65%); animation: pulse 4s ease-in-out infinite; }
.radar-rings { position: absolute; width: 430px; height: 430px; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(circle, transparent 0 32%, rgba(255,84,112,.05) 32% 33%, transparent 33%),
    radial-gradient(circle, transparent 0 65%, rgba(255,200,61,.05) 65% 66%, transparent 66%),
    radial-gradient(circle, transparent 0 98%, rgba(37,217,122,.05) 98% 99%, transparent 99%);
  filter: blur(.3px); opacity: .9; }
.radar-stage canvas { position: relative; z-index: 1; max-height: 100%; }
.radar-hint { text-align: center; color: var(--muted2); font-size: 11.5px; padding: 0 0 14px; }

.radar-detail { padding: 20px; display: flex; flex-direction: column; min-height: 200px; }
.rd-empty { margin: auto; text-align: center; color: var(--muted2); }
.rd-orb { width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), var(--accent2), var(--accent)); opacity: .6;
  -webkit-mask: radial-gradient(circle, transparent 40%, #000 42%); mask: radial-gradient(circle, transparent 40%, #000 42%);
  animation: spin 6s linear infinite; }
.rd-empty p { font-size: 13px; line-height: 1.7; }
.rd-card { animation: rdIn .35s cubic-bezier(.2,.8,.2,1); }
@keyframes rdIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.rd-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.rd-name { font-family: var(--display); font-size: 18px; font-weight: 800; }
.rd-en { font-size: 11.5px; color: var(--muted2); font-family: var(--mono); margin-top: 2px; }
.rd-badge { font-family: var(--mono); font-size: 11px; padding: 4px 10px; border-radius: 9px; font-weight: 600; white-space: nowrap; }
.rd-score-wrap { text-align: center; margin: 6px 0 16px; }
.rd-score { font-family: var(--mono); font-size: 52px; font-weight: 600; line-height: 1; }
.rd-score small { font-size: 18px; color: var(--muted2); }
.rd-meter { height: 8px; border-radius: 5px; background: rgba(255,255,255,.07); overflow: hidden; margin: 12px 0; }
.rd-meter i { display: block; height: 100%; border-radius: 5px; transition: width .5s cubic-bezier(.2,.8,.2,1); }
.rd-rows { display: flex; flex-direction: column; gap: 9px; margin: 4px 0 12px; }
.rd-row { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; padding-bottom: 8px; border-bottom: 1px solid var(--glass-brd); }
.rd-row:last-child { border: none; }
.rd-row span { color: var(--muted); }
.rd-row b { font-family: var(--mono); color: var(--text); }
.rd-note { font-size: 13px; line-height: 1.7; color: var(--text); opacity: .95; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--glass-brd); }
.rd-delta { font-family: var(--mono); font-size: 11px; }

/* ---------- smart analysis ---------- */
.analysis-card { padding: 0; overflow: hidden; margin-bottom: 24px; }
.an-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 18px 22px; border-bottom: 1px solid var(--glass-brd);
  background: linear-gradient(120deg, rgba(91,109,255,.08), rgba(155,109,255,.05)); }
.an-title { display: flex; align-items: center; gap: 11px; }
.an-title h3 { font-family: var(--display); font-size: 16px; font-weight: 800; }
.an-spark { font-size: 17px; background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: pulse 3s ease-in-out infinite; }
.an-verdict { font-family: var(--mono); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 9px; }
.an-toggle { display: flex; gap: 4px; background: rgba(10,15,28,.6); padding: 4px; border-radius: 11px; border: 1px solid var(--glass-brd); }
.lang-btn { background: transparent; border: none; color: var(--muted); cursor: pointer; font-family: inherit; font-weight: 700;
  font-size: 12.5px; padding: 6px 16px; border-radius: 8px; transition: all .18s; }
.lang-btn.active { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.an-body { padding: 20px 24px; display: flex; flex-direction: column; gap: 13px; }
.an-body.en { direction: ltr; text-align: left; }
.an-p { font-size: 14px; line-height: 1.85; color: var(--text); opacity: .94; position: relative; padding-inline-start: 16px; }
.an-p::before { content:""; position: absolute; inset-inline-start: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.an-p.lead { font-size: 15px; font-weight: 600; opacity: 1; }
.an-p.concl { background: rgba(91,109,255,.07); border: 1px solid rgba(91,157,255,.18); padding: 12px 14px 12px 16px; border-radius: 12px; }
.an-p.concl::before { top: 18px; }

/* section title */
.section-title { display: flex; align-items: center; gap: 16px; margin: 8px 2px 16px; }
.section-title span { font-family: var(--display); font-size: 15px; font-weight: 800; color: var(--text); white-space: nowrap; }
.section-title i { flex: 1; height: 1px; background: linear-gradient(90deg, var(--glass-brd), transparent); }
.section-title .ct-tf { flex: none; font-family: var(--mono); font-size: 11px; color: var(--accent); border: 1px solid rgba(91,157,255,.3); background: rgba(91,157,255,.08); padding: 3px 10px; border-radius: 8px; }

/* ---------- axis grid ---------- */
.axis-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 13px; margin-bottom: 26px; }
.axis-card {
  background: var(--glass); border: 1px solid var(--glass-brd); border-radius: 16px; padding: 15px;
  backdrop-filter: blur(12px); position: relative; overflow: hidden; cursor: help;
  transition: transform .18s cubic-bezier(.2,.8,.2,1), border-color .2s, box-shadow .2s;
  border-right: 3px solid var(--muted2);
}
.axis-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,.5); border-color: var(--glass-hi); }
.axis-card::after { content:""; position: absolute; top:0; right:0; width: 90px; height: 90px; opacity: .12; pointer-events: none; background: radial-gradient(circle at 100% 0, var(--c, var(--muted)), transparent 70%); }
.axis-card.green { border-right-color: var(--green); --c: var(--green); }
.axis-card.yellow { border-right-color: var(--yellow); --c: var(--yellow); }
.axis-card.red { border-right-color: var(--red); --c: var(--red); }
.axis-card.na { opacity: .5; border-right-color: var(--muted2); }
.ax-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.ax-label { font-size: 14px; font-weight: 700; }
.ax-tf { font-family: var(--mono); font-size: 10px; color: var(--muted2); border: 1px solid var(--glass-brd); padding: 2px 6px; border-radius: 6px; white-space: nowrap; }
.ax-score-row { display: flex; align-items: center; gap: 10px; margin: 11px 0 9px; }
.ax-score { font-family: var(--mono); font-size: 27px; font-weight: 600; line-height: 1; }
.ax-delta { font-family: var(--mono); font-size: 11px; font-weight: 600; padding: 2px 6px; border-radius: 6px; }
.ax-delta.up { color: var(--green); background: rgba(37,217,122,.1); }
.ax-delta.down { color: var(--red); background: rgba(255,84,112,.1); }
.ax-bar { flex: 1; height: 6px; border-radius: 4px; background: rgba(255,255,255,.07); overflow: hidden; }
.ax-bar i { display: block; height: 100%; border-radius: 4px; width: 0; transition: width 1s cubic-bezier(.2,.8,.2,1); }
.axis-card.green .ax-score, .axis-card.green .ax-bar i { color: var(--green); background-color: var(--green); }
.axis-card.yellow .ax-score, .axis-card.yellow .ax-bar i { color: var(--yellow); background-color: var(--yellow); }
.axis-card.red .ax-score, .axis-card.red .ax-bar i { color: var(--red); background-color: var(--red); }
.ax-score { background: none !important; }
.ax-raw { font-family: var(--mono); font-size: 11.5px; color: var(--accent); margin-bottom: 6px; }
.ax-note { font-size: 12px; color: var(--muted); line-height: 1.55; }

/* ---------- charts ---------- */
.charts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chart-card { padding: 16px 18px; }
.chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.chart-head h3 { font-size: 13.5px; font-weight: 700; color: var(--text); }
.tf { font-family: var(--mono); font-size: 10px; color: var(--muted2); border: 1px solid var(--glass-brd); padding: 2px 7px; border-radius: 6px; }
.chart-box { height: 235px; position: relative; }

/* sources */
.sources { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.src-chip { font-family: var(--mono); font-size: 11px; padding: 6px 12px; border-radius: 20px; background: var(--glass); border: 1px solid var(--glass-brd); color: var(--muted2); transition: transform .15s; }
.src-chip:hover { transform: translateY(-2px); }
.src-chip.on { color: var(--green); border-color: rgba(37,217,122,.32); background: rgba(37,217,122,.07); }
.src-chip.off { color: var(--red); border-color: rgba(255,84,112,.28); }

.foot { text-align: center; color: var(--muted2); font-size: 12px; padding: 26px 18px; border-top: 1px solid var(--glass-brd); margin-top: 20px; }
.foot span { color: var(--accent); font-weight: 700; }

/* ---------- mobile ---------- */
@media (max-width: 980px) {
  .radar-wrap { grid-template-columns: 1fr; }
  .radar-detail { min-height: 0; }
}
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; }
  .charts-grid { grid-template-columns: 1fr; }
  .topbar { padding: 12px 16px; }
  .controls { width: 100%; }
  .search-wrap { flex: 1; }
  #ticker { width: 100%; }
  .radar-stage { height: 430px; }
  .radar-glow { width: 280px; height: 280px; }
  .radar-rings { width: 320px; height: 320px; }
  .coin-head { justify-content: center; text-align: center; }
  .coin-stats { min-width: 100%; }
  #app { padding: 18px 12px 40px; }
}
@media (max-width: 480px) {
  .brand-txt p { display: none; }
  .price { font-size: 29px; }
  .axis-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .axis-card { padding: 12px; }
  .ax-note { display: none; }
  .radar-stage { height: 360px; }
  .radar-rings { width: 250px; height: 250px; }
  .coin-stats { grid-template-columns: 1fr 1fr; }
  .tf-bar { width: 100%; justify-content: space-between; }
  .tf-btn { padding: 8px 11px; flex: 1; }
}
