/* SignalAI (/signalai) — situs sinyal trading AI, tema gelap futuristis. Tidak memakai style.css portal. */
:root {
  /* Seragam dengan css/info.css & css/style.css: netral slate + aksen teal (nama variabel lama dipertahankan) */
  --bg: #f7f8fa;
  --box: #ffffff;
  --box-solid: #ffffff;
  --box-2: #f3f4f6;
  --line: #e5e7eb;
  --line-2: #d1d5db;
  --text: #111827;
  --text-2: #4b5563;
  --text-3: #6b7280;
  --cyan: #0f766e;
  --violet: #4f46e5;
  --buy: #16a34a;
  --buy-dim: rgba(22, 163, 74, .1);
  --sell: #dc2626;
  --sell-dim: rgba(220, 38, 38, .08);
  --warn: #d97706;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r: 14px;
  --shadow: 0 1px 2px rgba(17, 24, 39, .05), 0 8px 24px rgba(17, 24, 39, .06);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lb-open { overflow: hidden; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 15.5px/1.6 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
.sx-wrap { width: 100%; max-width: 1260px; margin: 0 auto; padding: 0 16px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
.up { color: var(--buy) !important; }
.down { color: var(--sell) !important; }

/* Ikon */
.i { width: 20px; height: 20px; flex: none; vertical-align: middle; }
.i--xs { width: 14px; height: 14px; }
.i--lg { width: 40px; height: 40px; }

/* Avatar aset */
.ava { --a: #14b8a6; --b: #0f766e; flex: none; width: 46px; height: 46px; border-radius: 50%; display: inline-grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .45), transparent 45%), linear-gradient(140deg, var(--a), var(--b));
  color: #0a0f1f; font: 800 13px var(--mono); letter-spacing: -.02em; box-shadow: 0 0 0 3px #fff, 0 4px 12px color-mix(in srgb, var(--a) 30%, transparent); text-shadow: 0 1px 0 rgba(255, 255, 255, .35); }
.ava--sm { font-size: 11px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; } }

/* ---------- Header ---------- */
.sx-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.sx-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 62px; }
.sx-logo { display: flex; align-items: center; gap: 10px; color: var(--text); }
.sx-logo:hover { text-decoration: none; }
.sx-logo__mark { }
.sx-logo__text { font-weight: 700; font-size: 21px; letter-spacing: -.02em; line-height: 1; }
.sx-logo__text b { color: var(--cyan); }
.sx-logo__text small { display: block; font-size: 10.5px; font-weight: 500; color: var(--text-3); letter-spacing: .04em; margin-top: 3px; }
.sx-header__right { display: flex; align-items: center; gap: 14px; }
.sx-live { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 999px; font: 700 11px var(--mono); letter-spacing: .14em; color: var(--buy); background: var(--buy-dim); border: 1px solid rgba(22, 163, 74, .35); }
.sx-live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: sx-pulse 1.6s ease-in-out infinite; }
.sx-live.is-off { color: var(--text-3); background: var(--box-2); border-color: var(--line); }
.sx-live.is-off i { animation: none; box-shadow: none; }
@keyframes sx-pulse { 50% { opacity: .3; } }
.sx-clock { font: 600 13px var(--mono); color: var(--text-2); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .sx-clock { display: none; } .sx-logo__text { font-size: 19px; } }

.sx-nav { border-top: 1px solid var(--line); }
.sx-nav__inner { display: flex; gap: 6px; height: 46px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.sx-nav__inner::-webkit-scrollbar { display: none; }
.sx-nav a { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px; border-radius: 9px; color: var(--text-2); font-size: 14px; font-weight: 600; white-space: nowrap; }
.sx-nav a:hover { text-decoration: none; color: var(--text); background: var(--box-2); }
.sx-nav a.on { color: #fff; background: var(--cyan); }
.sx-nav a svg { width: 16px; height: 16px; }
.sx-nav a .hide-sm { white-space: pre; }

/* Pita harga live */
.sx-tape { border-top: 1px solid var(--line); overflow: hidden; height: 38px; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.sx-tape__track { display: flex; gap: 30px; width: max-content; height: 100%; align-items: center; animation: sx-tape 45s linear infinite; padding-left: 16px; }
.sx-tape:hover .sx-tape__track { animation-play-state: paused; }
@keyframes sx-tape { to { transform: translateX(-50%); } }
.sx-tape__item { display: inline-flex; gap: 8px; align-items: center; font: 600 13px var(--mono); white-space: nowrap; color: var(--text-2); }
.sx-tape__item .ava { width: 22px; height: 22px; font-size: 7.5px; box-shadow: none; }
.sx-tape__item b { color: var(--text); font-weight: 700; }
.sx-tape__item span:last-child { display: inline-flex; align-items: center; gap: 2px; }

/* ---------- Umum ---------- */
.sx-main { padding: 30px 0 60px; min-height: 60vh; }
.sx-loading { display: flex; align-items: center; gap: 10px; color: var(--text-2); padding: 80px 16px; justify-content: center; }
.sx-spinner { width: 20px; height: 20px; border: 2px solid var(--line-2); border-top-color: var(--cyan); border-radius: 50%; animation: sx-spin .8s linear infinite; }
@keyframes sx-spin { to { transform: rotate(360deg); } }
.box { background: var(--box); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.badge-live { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 999px; font: 700 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--cyan); background: rgba(15, 118, 110, .1); border: 1px solid rgba(15, 118, 110, .35); }
.badge-live--warn { color: var(--warn); background: rgba(217, 119, 6, .1); border-color: rgba(217, 119, 6, .4); }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 8px; font: 700 12px var(--mono); border: 1px solid var(--line-2); color: var(--text-2); background: var(--box-2); white-space: nowrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; border: 0; font-weight: 700; font-size: 15px; cursor: pointer;
  background: var(--cyan); color: #fff; box-shadow: 0 4px 14px rgba(15, 118, 110, .25); transition: transform .15s, background .15s; }
.btn:hover { text-decoration: none; background: #115e59; transform: translateY(-1px); }
.btn--ghost { background: var(--box-2); color: var(--text); border: 1px solid var(--line-2); box-shadow: none; }
.btn--ghost:hover { background: #e5e7eb; }
.btn--wa { background: #16a34a; color: #fff; box-shadow: 0 8px 22px rgba(37, 211, 102, .25); }
.side { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 12px 0 9px; border-radius: 10px; font: 800 13px var(--mono); letter-spacing: .08em; flex: none; }
.side .i { width: 16px; height: 16px; stroke-width: 2.6; }
.side--buy { color: #fff; background: linear-gradient(135deg, #22c55e, #16a34a); }
.side--sell { color: #fff; background: linear-gradient(135deg, #ef4444, #dc2626); }
.side--big { height: 40px; font-size: 16px; padding: 0 16px 0 12px; border-radius: 12px; }
.meta { display: inline-flex; align-items: center; gap: 6px; font: 600 12.5px var(--mono); color: var(--text-2); flex-wrap: wrap; }
.meta .i { width: 15px; height: 15px; color: var(--cyan); }
.meta i { font-style: normal; color: var(--text-3); }
.empty { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--text-2); padding: 56px 16px; border: 1px dashed var(--line-2); border-radius: var(--r); background: rgba(17, 24, 39, .02); grid-column: 1 / -1; }
.empty .i { color: var(--cyan); opacity: .8; }
.empty b { color: var(--text); font-size: 18px; }

/* ---------- Hero & statistik ---------- */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; align-items: stretch; margin-bottom: 22px; }
.hero__text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.02; letter-spacing: -.04em; margin: 14px 0 14px; }
.hero h1 span { color: var(--cyan); }
.hero p { color: var(--text-2); margin: 0; max-width: 540px; font-size: 16.5px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero__chips button { --m: var(--cyan); display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--text);
  background: color-mix(in srgb, var(--m) 12%, transparent); border: 1px solid color-mix(in srgb, var(--m) 45%, transparent); transition: transform .15s, background .15s; }
.hero__chips button:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--m) 24%, transparent); }
.hero__chips .i { color: var(--m); width: 16px; height: 16px; }
.next { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; justify-content: center; padding: 22px 24px; border-radius: 22px; color: var(--text);
  background: radial-gradient(circle at 100% 0, rgba(15, 118, 110, .1), transparent 55%), var(--box-solid);
  border: 1px solid rgba(15, 118, 110, .3); box-shadow: var(--shadow); }
.next:hover { text-decoration: none; border-color: var(--cyan); }
.next__head { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-2); font-weight: 600; }
.next__head .i { color: var(--warn); }
.next__sym { display: flex; align-items: center; gap: 12px; }
.next__sym b { font-size: 22px; letter-spacing: -.02em; }
.next__time { font: 700 clamp(38px, 5vw, 54px) var(--mono); letter-spacing: .01em; font-variant-numeric: tabular-nums; line-height: 1; color: var(--cyan); }
.next.is-soon .next__time { color: var(--warn); }
.next__go { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--cyan); }
.next--idle .next__time { color: var(--text); text-shadow: none; }

/* AI "berpikir": otak neon, titik saraf berdenyut, orbit & garis pemindai, langkah proses bergantian */
.think { display: flex; align-items: center; gap: 18px; padding: 6px 0; }
.brain { position: relative; width: 96px; height: 96px; flex: none; display: grid; place-items: center; }
.brain__svg { width: 64px; height: 64px; position: relative; z-index: 1; animation: brain-breathe 2.6s ease-in-out infinite; }
.brain__flow { stroke-dasharray: 6 8; animation: brain-flow 1.4s linear infinite; opacity: .85; }
.brain__nodes circle { fill: var(--cyan); animation: brain-node 1.7s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.brain__orbit { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(15, 118, 110, .45); animation: sx-spin 9s linear infinite; }
.brain__orbit::after { content: ''; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--cyan); }
.brain__orbit--2 { inset: 10px; border-color: rgba(79, 70, 229, .4); animation-duration: 6s; animation-direction: reverse; }
.brain__orbit--2::after { background: var(--violet); }
.brain__scan { position: absolute; left: 18px; right: 18px; height: 2px; top: 20px; z-index: 2; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); animation: brain-scan 2.2s ease-in-out infinite; }
.think__txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.think__txt b { font-size: 19px; letter-spacing: -.01em; color: var(--text); }
.think__dots i { font-style: normal; animation: think-dot 1.2s infinite; }
.think__dots i:nth-child(2) { animation-delay: .2s; }
.think__dots i:nth-child(3) { animation-delay: .4s; }
.think__step { font: 600 13.5px var(--mono); color: var(--cyan); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.think__step::before { content: '›'; margin-right: 6px; color: var(--violet); }
.think__step.is-in { animation: think-in .35s ease-out; }
.think__bar { position: relative; display: block; height: 4px; border-radius: 2px; background: rgba(17, 24, 39, .08); overflow: hidden; }
.think__bar i { position: absolute; top: 0; bottom: 0; width: 35%; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent); animation: think-bar 1.6s ease-in-out infinite; }
@keyframes brain-breathe { 50% { transform: scale(1.05); } }
@keyframes brain-flow { to { stroke-dashoffset: -28; } }
@keyframes brain-node { 0%, 100% { opacity: .25; transform: scale(.7); } 45% { opacity: 1; transform: scale(1.25); } }
@keyframes brain-scan { 0%, 100% { top: 20px; opacity: 0; } 15%, 85% { opacity: 1; } 50% { top: 74px; } }
@keyframes think-dot { 0%, 100% { opacity: .2; } 40% { opacity: 1; } }
@keyframes think-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes think-bar { from { left: -35%; } to { left: 100%; } }
@media (max-width: 640px) { .think { gap: 14px; } .brain { width: 80px; height: 80px; } .brain__svg { width: 54px; height: 54px; } .think__txt b { font-size: 16.5px; } .think__step { font-size: 12.5px; white-space: normal; min-height: 2.9em; line-height: 1.45; } }
.next .timer__bar { flex: none; height: 6px; min-height: 6px; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
.stat { --c: var(--cyan); display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r); background: var(--box); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.stat::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--c); }
.stat__ico { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.stat__ico .i { width: 24px; height: 24px; }
.stat__label { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); font-weight: 600; }
.stat__label .i { color: var(--c); }
.stat__val { font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.stat__sub { font-size: 12.5px; color: var(--text-3); }
.ring { --p: 0; --c: var(--buy); width: 64px; height: 64px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), rgba(17, 24, 39, .09) 0); position: relative; }
.ring::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: var(--box-solid); }
.ring b { position: relative; font: 800 17px var(--mono); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat__val { font-size: 23px; } .stat__ico { width: 42px; height: 42px; } }
@media (max-width: 420px) { .stat { padding: 14px; gap: 10px; } .stat__ico { width: 36px; height: 36px; border-radius: 11px; } .stat__ico .i { width: 19px; height: 19px; } .ring { width: 54px; height: 54px; } }

/* ---------- Filter ---------- */
.bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.seg { display: inline-flex; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 13px; background: rgba(17, 24, 39, .03); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 0; border-radius: 9px; background: none; color: var(--text-2); font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; }
.seg button:hover { color: var(--text); }
.seg button.on { background: var(--cyan); color: #fff; }
.seg button.on .i { color: #fff; }
.seg button .i { color: var(--cyan); }
.seg button .n { font: 700 11px var(--mono); padding: 1px 6px; border-radius: 6px; background: rgba(127, 148, 200, .22); }
.seg button.on .n { background: rgba(255, 255, 255, .22); }
.seg--mkt button { --m: var(--cyan); }
.seg--mkt button .i { color: var(--m); }

/* ---------- Bagian pasar ---------- */
.mkt { --m: var(--cyan); margin-bottom: 30px; }
.mkt__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; padding: 12px 16px; border-radius: 16px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--m) 18%, transparent), transparent 70%); border: 1px solid color-mix(in srgb, var(--m) 30%, transparent); border-left: 4px solid var(--m); }
.mkt__ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; color: var(--m); background: color-mix(in srgb, var(--m) 10%, #fff); border: 1px solid color-mix(in srgb, var(--m) 45%, transparent); }
.mkt__ico .i { width: 24px; height: 24px; }
.mkt__head h2 { margin: 0; font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
.mkt__head p { margin: 0; font-size: 13px; color: var(--text-2); }
.mkt__n { margin-left: auto; font: 700 12.5px var(--mono); padding: 5px 10px; border-radius: 8px; color: var(--m); background: color-mix(in srgb, var(--m) 14%, transparent); white-space: nowrap; }
.empty--sm { padding: 28px 16px; }
.empty--sm .i { color: var(--m); }
.empty--sm b { font-size: 16px; }

/* ---------- Kartu sinyal ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 16px; }
@media (max-width: 420px) { .grid { grid-template-columns: 1fr; } }
.sx-card { --accent: var(--cyan); position: relative; padding: 18px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; border-radius: 20px;
  background: radial-gradient(circle at 100% 0, color-mix(in srgb, var(--accent) 16%, transparent), transparent 45%), var(--box);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line)); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.sx-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.sx-card--buy { --accent: var(--buy); }
.sx-card--sell { --accent: var(--sell); }
.sx-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow), 0 0 0 1px var(--accent), 0 18px 50px color-mix(in srgb, var(--accent) 22%, transparent); }
.sx-card.is-closed { filter: saturate(.75); }
.sx-card.is-new { animation: sx-new 2.6s ease-out; }
@keyframes sx-new { 0% { box-shadow: 0 0 0 2px var(--accent), 0 0 60px var(--accent); } 100% { box-shadow: var(--shadow); } }
.sx-card__link { position: absolute; inset: 0; z-index: 1; }
.sx-card a:not(.sx-card__link), .sx-card button { position: relative; z-index: 2; }
.sx-card__head { display: flex; align-items: center; gap: 12px; }
.sx-card__id { min-width: 0; flex: 1; }
.sx-card__id b { display: block; font-size: 21px; letter-spacing: -.02em; line-height: 1.15; }
.sx-card__price { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--box-2); border: 1px solid var(--line); }
.px { flex: 1; min-width: 0; }
.px small { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text-3); font-weight: 600; }
.px small .i { color: var(--buy); }
.px b { display: block; font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: var(--text); }
.delta { display: inline-flex; align-items: center; gap: 3px; font: 700 12.5px var(--mono); white-space: nowrap; }
.delta small { color: var(--text-3); font-weight: 500; }
.score { flex: none; display: flex; flex-direction: column; align-items: center; }
.score .ring { width: 56px; height: 56px; }
.score .ring::before { inset: 5px; }
.score small { display: inline-flex; align-items: center; gap: 3px; font: 700 9.5px var(--mono); color: var(--text-2); letter-spacing: .08em; margin-top: 5px; }
.score small .i { color: var(--violet); }
.score-lg { --c: var(--buy); flex: none; display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 14px;
  background: color-mix(in srgb, var(--c) 9%, transparent); border: 1px solid color-mix(in srgb, var(--c) 32%, transparent); }
.score-lg .ring { width: 64px; height: 64px; }
.score-lg .ring b { font-size: 19px; }
.score-lg__txt { display: flex; flex-direction: column; line-height: 1.25; }
.score-lg__txt small { display: inline-flex; align-items: center; gap: 4px; font: 700 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.score-lg__txt small .i { color: var(--violet); }
.score-lg__txt b { font-size: 15.5px; color: var(--text); white-space: nowrap; margin: 2px 0 1px; }
.score-lg__txt span { font-size: 12px; font-weight: 700; color: var(--c); }
.sx-card__summary { margin: 0; font-size: 14.5px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 520px) { .levels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lvl { --c: var(--cyan); padding: 10px 11px; border-radius: 12px; background: color-mix(in srgb, var(--c) 8%, rgba(17, 24, 39, .03)); border: 1px solid color-mix(in srgb, var(--c) 32%, transparent); min-width: 0; }
.lvl small { display: flex; align-items: center; gap: 5px; font: 700 11px var(--mono); letter-spacing: .04em; color: var(--c); text-transform: uppercase; }
.lvl b { display: block; font-size: 15px; font-weight: 700; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.lvl b small { display: block; font: 600 11.5px var(--mono); color: var(--text-2); text-transform: none; }
.lvl em { font: 600 11.5px var(--mono); font-style: normal; }
.lvl--sl { --c: var(--sell); }
.lvl--tp { --c: var(--buy); }
.lvl.is-hit { background: color-mix(in srgb, var(--buy) 22%, transparent); }

/* Tangga harga: SL ─ entry ─ TP1..n, penanda harga live */
.ladder { position: relative; height: 66px; margin: 0 6px; }
.ladder__track { position: absolute; left: 0; right: 0; top: 36px; height: 8px; border-radius: 4px; background: rgba(17, 24, 39, .08); overflow: hidden; }
.ladder__risk, .ladder__reward { position: absolute; top: 0; bottom: 0; }
.ladder__risk { background: linear-gradient(90deg, #dc2626, rgba(220, 38, 38, .2)); }
.ladder__reward { background: linear-gradient(90deg, rgba(22, 163, 74, .2), #16a34a); }
.ladder__zone { position: absolute; top: 29px; height: 22px; border-radius: 5px; background: rgba(15, 118, 110, .22); border: 1.5px solid var(--cyan); min-width: 4px; transform: translateX(-2px); }
.ladder__tick { position: absolute; top: 29px; width: 2px; height: 22px; background: var(--text-3); transform: translateX(-1px); }
.ladder__tick.is-tp { background: var(--buy); }
.ladder__tick.is-sl { background: var(--sell); }
.ladder__tick.is-entry { background: transparent; }
.ladder__tick.is-hit { width: 3px; }
.ladder__tick span { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); font: 700 10px var(--mono); color: var(--text-3); white-space: nowrap; }
.ladder__tick.is-tp span { color: var(--buy); }
.ladder__tick.is-sl span { color: var(--sell); }
.ladder__tick.is-entry span { color: var(--cyan); }
.ladder__price { position: absolute; top: 0; transform: translateX(-50%); z-index: 1; transition: left .8s ease; }
.ladder__price.is-l b { left: 0; transform: none; }
.ladder__price.is-r b { left: auto; right: 0; transform: none; }
.ladder__price i { display: block; width: 14px; height: 14px; margin: 33px auto 0; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 4px rgba(17, 24, 39, .15); animation: sx-pulse 1.4s infinite; }
.ladder__price b { position: absolute; top: 0; left: 50%; transform: translateX(-50%); font: 800 10.5px var(--mono); background: var(--text); color: #fff; padding: 2px 6px; border-radius: 5px; white-space: nowrap; }

.timer { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(15, 118, 110, .07); border: 1px solid rgba(15, 118, 110, .25); }
.timer__ico { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; background: rgba(15, 118, 110, .14); color: var(--cyan); }
.timer__txt small { display: block; font-size: 11.5px; color: var(--text-2); font-weight: 600; }
.timer__txt b { font-size: 19px; font-weight: 700; color: var(--text); }
.timer__bar { flex: 1; height: 6px; border-radius: 3px; background: rgba(17, 24, 39, .1); overflow: hidden; min-width: 40px; display: block; }
.timer__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), #14b8a6); transition: width 1s linear; border-radius: 3px; }
.timer.is-soon { background: rgba(217, 119, 6, .08); border-color: rgba(217, 119, 6, .35); }
.timer.is-soon .timer__ico { background: rgba(217, 119, 6, .16); color: var(--warn); animation: sx-pulse 1.2s infinite; }
.timer.is-soon .timer__txt b { color: var(--warn); }
.timer.is-soon .timer__bar i { background: linear-gradient(90deg, var(--warn), var(--sell)); }
.timer--done { padding: 0; background: none; border: 0; }
.outcome { display: inline-flex; align-items: center; gap: 8px; font: 700 14px var(--mono); padding: 10px 14px; border-radius: 12px; width: 100%; }
.outcome b { margin-left: auto; font-size: 16px; }
.outcome--win { color: var(--buy); background: var(--buy-dim); border: 1px solid rgba(22, 163, 74, .4); }
.outcome--loss { color: var(--sell); background: var(--sell-dim); border: 1px solid rgba(220, 38, 38, .4); }
.outcome--flat { color: var(--text-2); background: var(--box-2); border: 1px solid var(--line); }
.whale { display: flex; flex-direction: column; gap: 6px; }
.whale__row { display: flex; align-items: center; gap: 10px; font: 600 12px var(--mono); color: var(--text-2); }
.whale__t { display: inline-flex; align-items: center; gap: 5px; color: var(--text); margin-right: auto; }
.whale__t .i { color: var(--cyan); width: 18px; height: 18px; }
.whale__bar { display: flex; height: 16px; border-radius: 8px; overflow: hidden; background: linear-gradient(90deg, #f87171, var(--sell)); font: 800 10px var(--mono); }
.whale__bar i { display: flex; align-items: center; padding-left: 7px; background: linear-gradient(90deg, #16a34a, #22c55e); color: #fff; font-style: normal; }
.whale__bar em { margin-left: auto; padding-right: 7px; align-self: center; color: #fff; font-style: normal; }
.sx-card__foot { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-3); border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto; }
.agent { display: inline-flex; align-items: center; gap: 6px; min-width: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agent .i { width: 18px; height: 18px; color: var(--violet); }
.agent b { color: var(--text); }
.chip--rr .i { color: var(--violet); }
.go { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--accent); }
.sx-card:hover .go .i { transform: translateX(3px); }
.go .i { transition: transform .2s; }

/* ---------- Detail ---------- */
.crumbs { font-size: 13.5px; color: var(--text-3); margin-bottom: 16px; }
.detail { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 920px) { .detail { grid-template-columns: 1fr; } }
.only-mob { display: none; }
@media (max-width: 920px) { .only-mob { display: block; } .only-desk { display: none; } }
.stack { display: flex; flex-direction: column; gap: 16px; }
.d-head { padding: 22px; position: relative; overflow: hidden; }
.d-head::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 0 0, var(--glow, rgba(15, 118, 110, .2)), transparent 60%); pointer-events: none; }
.d-head--buy { --glow: rgba(22, 163, 74, .2); }
.d-head--sell { --glow: rgba(220, 38, 38, .2); }
.d-head > * { position: relative; }
.d-head__row { display: flex; align-items: center; gap: 14px; }
.d-head__row .ava { width: 58px; height: 58px; font-size: 15px; }
.d-head__id { flex: 1; min-width: 0; }
.d-head h1 { font-size: clamp(26px, 4.5vw, 40px); margin: 0 0 4px; letter-spacing: -.03em; line-height: 1; }
.d-head__price { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: var(--box-2); border: 1px solid var(--line); }
.d-head__price > div:first-child { flex: 1; min-width: 0; }
.d-head__price small { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--text-3); font-weight: 600; }
.d-head__price small .i { color: var(--buy); }
.d-head__price [data-px-big] { display: block; font-size: clamp(28px, 4vw, 38px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: var(--text); }
.d-head__sum { color: var(--text); margin: 16px 0 0; font-size: 16px; }
.d-head__ladder { margin-top: 16px; }
@media (max-width: 520px) { .d-head__row { flex-wrap: wrap; row-gap: 10px; } .d-head__id { min-width: 140px; } .d-head__id .meta { flex-wrap: nowrap; white-space: nowrap; } .d-head__row .side { margin-left: 64px; } }
.d-sec { padding: 20px 22px; }
.d-sec h2, .d-timer h2 { display: flex; align-items: center; gap: 10px; font-size: 15px; letter-spacing: .02em; color: var(--text); margin: 0 0 14px; font-weight: 700; }
.d-sec h2 .i, .d-timer h2 .i { width: 30px; height: 30px; padding: 6px; border-radius: 9px; color: var(--cyan); background: rgba(15, 118, 110, .12); border: 1px solid rgba(15, 118, 110, .3); }
.d-sec--warn h2 .i { color: var(--warn); background: rgba(217, 119, 6, .12); border-color: rgba(217, 119, 6, .35); }
.d-note { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-3); margin: 12px 0 0; }
.d-info { margin: 0 0 14px; font-size: 14px; color: var(--text-2); }
.d-timer { padding: 22px; text-align: center; background: radial-gradient(circle at 50% 0, rgba(15, 118, 110, .2), transparent 65%), var(--box); border-color: rgba(15, 118, 110, .4); }
.d-timer h2 { justify-content: center; }
.d-timer__digits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 6px 0 16px; }
.d-timer__unit { padding: 12px 4px; border-radius: 14px; background: var(--box-2); border: 1px solid rgba(15, 118, 110, .35); }
.d-timer__unit b { display: block; font: 700 clamp(28px, 4vw, 38px) var(--mono); font-variant-numeric: tabular-nums; color: var(--cyan); line-height: 1.1; }
.d-timer__unit small { font: 700 10.5px var(--mono); color: var(--text-2); letter-spacing: .14em; }
.d-timer.is-soon { border-color: rgba(217, 119, 6, .5); }
.d-timer.is-soon .d-timer__unit b { color: var(--warn); }
.d-timer .d-note { justify-content: center; }
.vlad { display: flex; flex-direction: column; gap: 7px; }
.vlad__row { --c: var(--text-3); display: grid; grid-template-columns: 112px 1fr auto auto; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 12px; background: color-mix(in srgb, var(--c) 7%, rgba(17, 24, 39, .03)); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.vlad__k { display: inline-flex; align-items: center; gap: 6px; font: 700 12px var(--mono); color: var(--c); text-transform: uppercase; letter-spacing: .04em; }
.vlad__row b { font-size: 16px; color: var(--text); }
.vlad__row em { font: 700 13px var(--mono); font-style: normal; }
.vlad__x { font-size: 12px; color: var(--text-3); }
.vlad__row.is-tp { --c: var(--buy); }
.vlad__row.is-sl { --c: var(--sell); }
.vlad__row.is-entry { --c: var(--cyan); }
.vlad__row.is-hit { background: color-mix(in srgb, var(--buy) 20%, transparent); }
.vlad__row.is-now { --c: var(--text); border-style: dashed; background: rgba(17, 24, 39, .07); }
@media (max-width: 520px) { .vlad__row { grid-template-columns: 1fr auto; } .vlad__x { display: none; } .vlad__row em { grid-column: 2; grid-row: 1 / 3; } }
.reasons { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.reasons li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text); }
.reasons li .i { width: 24px; height: 24px; padding: 4px; border-radius: 7px; color: #fff; background: var(--buy); stroke-width: 3; }
.ind { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.ind__i { padding: 11px 12px; border-radius: 12px; background: rgba(17, 24, 39, .045); border: 1px solid var(--line); }
.ind__i.up { border-color: rgba(22, 163, 74, .35); }
.ind__i.down { border-color: rgba(220, 38, 38, .35); }
.ind__i small { display: block; font-size: 12px; color: var(--text-3); font-weight: 600; }
.ind__i b { display: inline-flex; align-items: center; gap: 4px; font: 700 14.5px var(--mono); color: var(--text); }
.ind__i.up b { color: var(--buy); }
.ind__i.down b { color: var(--sell); }
.prose { color: var(--text); white-space: pre-line; margin: 0; font-size: 15.5px; }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; position: relative; }
.timeline li { --c: var(--cyan); display: flex; gap: 12px; position: relative; padding-bottom: 14px; }
.timeline li:not(:last-child)::after { content: ''; position: absolute; left: 14px; top: 32px; bottom: 0; width: 2px; background: var(--line); }
.t-ico { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
.timeline li.t-tp, .timeline li.t-entry { --c: var(--buy); }
.timeline li.t-sl, .timeline li.t-cancel { --c: var(--sell); }
.timeline li.t-expired, .timeline li.t-note { --c: var(--text-3); }
.timeline b { font-size: 14.5px; }
.timeline time { display: block; font: 500 12px var(--mono); color: var(--text-3); }
.timeline p { margin: 3px 0 0; font-size: 14px; color: var(--text-2); }
.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share .btn { height: 40px; font-size: 14px; padding: 0 14px; }
.chart-btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.chart-btn span { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 8px; background: rgba(17, 24, 39, .8); color: #fff; font-size: 12.5px; font-weight: 600; }
.chart-img { border-radius: 12px; border: 1px solid var(--line); width: 100%; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 70; display: none; }
.lb.is-open { display: block; }
.lb__backdrop { position: absolute; inset: 0; background: rgba(11, 18, 32, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: lb-fade .2s ease-out; }
.lb__panel { position: absolute; inset: 24px max(16px, calc((100vw - 1180px) / 2)); overflow-y: auto; border-radius: 24px; background: var(--bg); border: 1px solid var(--line-2);
  box-shadow: 0 30px 90px rgba(11, 18, 32, .3); animation: lb-in .25s cubic-bezier(.2, .9, .3, 1.2); overscroll-behavior: contain; }
.lb__body { padding: 0 22px 22px; }
/* Bar atas lightbox: menempel saat digulir, tidak menimpa isi */
.lb__bar { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 14px 12px 22px; margin-bottom: 14px;
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.lb__title { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; font-weight: 700; color: var(--text-2); }
.lb__title .ava { width: 32px; height: 32px; font-size: 9.5px; box-shadow: none; }
.lb__title b { color: var(--text); font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb__title .side { height: 26px; font-size: 11.5px; padding: 0 9px 0 7px; }
.lb__close { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--box-2); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.lb__close:hover { background: var(--sell); border-color: var(--sell); color: #fff; }
@keyframes lb-fade { from { opacity: 0; } }
@keyframes lb-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@media (max-width: 640px) { .lb__panel { inset: 10px 0 0; border-radius: 22px 22px 0 0; } .lb__body { padding: 0 12px 16px; } .lb__bar { padding: 10px 12px 10px 16px; margin-bottom: 12px; } }
.zoom { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; background: rgba(2, 4, 10, .92); cursor: zoom-out; animation: lb-fade .2s; }
.zoom img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 20px 80px rgba(0, 0, 0, .7); }
.zoom .lb__close { position: fixed; top: 16px; right: 16px; background: #fff; }

/* ---------- Laporan pasar ---------- */
.reports { margin-top: 44px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.sec-head h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; margin: 0; letter-spacing: -.01em; }
.sec-head h2 .i { color: var(--cyan); }
.sec-head a { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-size: 14px; }
.reports ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.reports li a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: var(--text); height: 100%; border-radius: 16px; background: var(--box); border: 1px solid var(--line); box-shadow: var(--shadow); transition: border-color .2s, transform .2s; }
.reports li a:hover { text-decoration: none; border-color: var(--cyan); transform: translateY(-2px); }
.rep__ico { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; color: var(--violet); background: rgba(79, 70, 229, .14); border: 1px solid rgba(79, 70, 229, .35); }
.reports li b { display: block; font-size: 15px; line-height: 1.35; }
.reports li small { display: inline-flex; align-items: center; gap: 5px; color: var(--text-3); font: 500 12px var(--mono); margin-top: 5px; }
.rep__go { color: var(--text-3); margin-left: auto; }
.page-head { margin-bottom: 22px; }
.page-head h1 { font-size: clamp(28px, 4.6vw, 42px); margin: 12px 0 6px; letter-spacing: -.03em; }
.page-head p { color: var(--text-2); margin: 0; font-size: 16px; }
.report { max-width: 800px; margin: 0 auto; }
.report h1 { font-size: clamp(27px, 4.6vw, 40px); line-height: 1.15; letter-spacing: -.025em; margin: 14px 0 12px; }
.report__meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font: 500 13px var(--mono); color: var(--text-3); margin-bottom: 20px; }
.report__lead { font-size: 18px; color: var(--text-2); margin: 0 0 20px; }
.report__hero { border-radius: 16px; border: 1px solid var(--line); margin-bottom: 20px; cursor: zoom-in; }
.report__body { padding: 26px; font-size: 16.5px; line-height: 1.75; }
.report__body p { margin: 0 0 14px; white-space: pre-line; }
.report__body h2 { font-size: 21px; margin: 24px 0 10px; letter-spacing: -.01em; }
.report__body h2:first-child { margin-top: 0; }
.report__body blockquote { margin: 0 0 16px; padding: 14px 18px; border-left: 4px solid var(--cyan); background: rgba(15, 118, 110, .08); border-radius: 0 12px 12px 0; color: var(--text); white-space: pre-line; }
.report__body figure { margin: 0 0 16px; }
.report__body figure img { border-radius: 12px; cursor: zoom-in; }
.report__body figcaption { font-size: 13px; color: var(--text-3); margin-top: 6px; }
.report__body code { font: 700 .92em var(--mono); background: rgba(15, 118, 110, .12); padding: 2px 7px; border-radius: 6px; color: var(--cyan); }
.report__body video, .report__body iframe { width: 100%; border-radius: 12px; border: 0; aspect-ratio: 16 / 9; }
.report__sources { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13.5px; color: var(--text-3); margin-top: 18px; }

/* ---------- Gerbang disclaimer ---------- */
.gate { max-width: 600px; margin: 30px auto; padding: 32px 28px 28px; position: relative; overflow: hidden; }
.gate::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--warn), var(--sell)); }
.gate__ico { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 18px; color: var(--warn); background: rgba(217, 119, 6, .14); border: 1px solid rgba(217, 119, 6, .4); margin-bottom: 14px; }
.gate__ico .i { width: 30px; height: 30px; }
.gate h1 { font-size: 28px; margin: 12px 0 10px; letter-spacing: -.02em; }
.gate p { color: var(--text-2); font-size: 16px; }
.gate b { color: var(--text); }
.gate ul { list-style: none; padding: 0; margin: 16px 0 24px; display: flex; flex-direction: column; gap: 10px; }
.gate li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--box-2); border: 1px solid var(--line); color: var(--text-2); font-size: 15px; }
.gate li .i { color: var(--cyan); margin-top: 1px; }
.gate__actions .btn { width: 100%; height: 50px; font-size: 16px; }

/* ---------- Footer & toast ---------- */
.sx-footer { border-top: 1px solid var(--line); padding: 26px 0 42px; font-size: 13.5px; color: var(--text-3); background: var(--box); }
.sx-footer p { margin: 0 0 8px; max-width: 880px; }
.sx-footer b { color: var(--text-2); }
.sx-footer__links a { color: var(--text-2); }
.sx-footer__portal { margin-top: 14px !important; padding-top: 14px; border-top: 1px solid var(--line); }
.sx-footer__portal a { color: var(--text-2); font-weight: 600; }
.sx-toasts { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: flex; flex-direction: column; gap: 8px; max-width: calc(100vw - 32px); }
.sx-toast { padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid rgba(15, 118, 110, .35); box-shadow: 0 14px 40px rgba(17, 24, 39, .15); font-size: 14px; animation: sx-in .3s ease-out; }
.sx-toast, .sx-toast a { display: flex; align-items: center; gap: 10px; color: var(--text); }
.sx-toast a:hover { text-decoration: none; }
.sx-toast b { display: block; color: var(--cyan); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.sx-toast__ico { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: rgba(15, 118, 110, .15); color: var(--cyan); }
@keyframes sx-in { from { transform: translateY(10px); opacity: 0; } }

/* ---------- Grafik & info trading (widget TradingView + analisis TradingView MCP) ---------- */
.dash { margin-bottom: 30px; }
.dash__src { display: inline-flex; align-items: center; gap: 6px; font: 600 12px var(--mono); color: var(--text-3); white-space: nowrap; }
.dash__src .i { color: var(--violet); }
.dash__syms { display: flex; margin-bottom: 12px; }
.dash__syms button { gap: 8px; padding: 0 12px 0 5px; font-family: var(--mono); font-size: 13px; }
.dash__syms .ava { width: 26px; height: 26px; font-size: 8.5px; box-shadow: none; }
.dash__syms .ava--sm { font-size: 7.5px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--warn); flex: none; }
.dot--up { background: var(--buy); color: var(--buy); }
.dot--down { background: var(--sell); color: var(--sell); }
.dot--flat { color: var(--warn); }
.dash__body { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.dash__chart { padding: 12px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.dash__chead { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 4px; }
.dash__chead > b { font: 700 14px var(--mono); color: var(--text-2); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seg--sm { padding: 3px; }
.seg--sm button { height: 28px; padding: 0 10px; font: 700 12px var(--mono); }
.tv { position: relative; height: 480px; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.tv::before { content: 'Memuat grafik…'; position: absolute; inset: 0; display: grid; place-items: center; color: var(--text-3); font-size: 13px; }
.tv .tradingview-widget-container, .tv .tradingview-widget-container__widget { position: relative; width: 100% !important; height: 100% !important; }
.tv iframe { width: 100%; height: 100% !important; }
.tv .tradingview-widget-copyright { display: none; }
.tv--detail { height: 400px; }
.d-sec--chart { padding-bottom: 16px; }
.dash__info { padding: 18px; min-width: 0; }
.ins { display: flex; flex-direction: column; gap: 14px; }
.ins__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ins__gauge { display: grid; justify-items: center; text-align: center; }
.gauge { width: 132px; height: auto; }
.gauge__needle { transform-origin: 60px 60px; transition: transform .8s cubic-bezier(.3, 1.4, .5, 1); }
.ins__gauge b { font-size: 20px; letter-spacing: -.01em; margin-top: -2px; }
.ins__gauge small, .ins__px small { font-size: 12px; color: var(--text-3); font-weight: 600; }
.ins__px { display: grid; justify-items: end; text-align: right; }
.ins__px b { font-size: 22px; }
.ins__px span { font: 700 13px var(--mono); }
.ins__px span small { font-family: var(--sans); }
.ins__bar { display: flex; height: 8px; border-radius: 99px; overflow: hidden; background: var(--box-2); gap: 2px; }
.ins__bar i { display: block; height: 100%; }
.ins__bar .s { background: var(--sell); } .ins__bar .n { background: #9ca3af; } .ins__bar .b { background: var(--buy); }
.ins__legend { display: flex; justify-content: space-between; margin-top: 6px; font: 600 12px var(--mono); color: var(--text-2); }
.ins__tfs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }
.ins__tf { display: grid; gap: 4px; padding: 8px 9px; border-radius: 11px; background: rgba(17, 24, 39, .04); border: 1px solid var(--line); }
.ins__tf small { font: 700 11px var(--mono); color: var(--text-3); }
.rec { font-size: 12.5px; font-weight: 700; color: var(--warn); white-space: nowrap; }
.rec--buy, .rec--strong_buy { color: var(--buy); }
.rec--sell, .rec--strong_sell { color: var(--sell); }
.ins__sum { margin: 0; font-size: 14.5px; color: var(--text-2); line-height: 1.55; }
.ins .ind { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.ins__lv { display: flex; flex-wrap: wrap; gap: 6px; }
.ins__lvi { display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 9px; border-radius: 9px; border: 1px solid var(--line); font-size: 13px; }
.ins__lvi small { font: 700 11px var(--mono); }
.ins__lvi.is-r small { color: var(--sell); } .ins__lvi.is-s small { color: var(--buy); }
.ins__pat { display: flex; flex-wrap: wrap; gap: 6px; }
.ins__pat .chip { white-space: normal; height: auto; min-height: 26px; padding: 3px 10px; font-family: var(--sans); font-weight: 600; }
.ins__src { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin: 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-3); }
.ins__src .i { color: var(--violet); }
.ins__src code { font: 11.5px var(--mono); color: var(--text-2); }
.ins-empty { height: 100%; min-height: 220px; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; color: var(--text-3); font-size: 13.5px; padding: 10px; }
.ins-empty .i { color: var(--violet); opacity: .8; }
.ins-empty b { color: var(--text); font-size: 15px; }
@media (max-width: 920px) { .dash__body { grid-template-columns: 1fr; } .tv { height: 420px; } }

/* ---------- HP: ukuran huruf & tata letak ringkas ---------- */
@media (max-width: 640px) {
  body { font-size: 15px; }
  .sx-main { padding: 20px 0 48px; }
  .sx-nav a { font-size: 13.5px; padding: 0 10px; gap: 6px; }
  .hide-sm { display: none; }
  .hero { gap: 18px; }
  .hero h1 { font-size: 34px; margin: 12px 0 10px; }
  .hero p { font-size: 15px; }
  .hero__chips button { height: 34px; padding: 0 12px; font-size: 13px; }
  .next { padding: 18px; }
  .next__time { font-size: 40px; }
  /* Statistik: ikon di atas, teks di bawah — tidak berdesakan */
  .stats { gap: 10px; }
  .stat { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .stat__ico { width: 36px; height: 36px; border-radius: 11px; }
  .stat__ico .i { width: 19px; height: 19px; }
  .stat__label { font-size: 12.5px; line-height: 1.3; }
  .stat__val { font-size: 24px; }
  .stat__sub { font-size: 12px; line-height: 1.35; }
  .bar { gap: 8px; }
  .seg--mkt { flex-wrap: wrap; width: 100%; }
  .seg button { height: 32px; padding: 0 11px; font-size: 13px; }
  .mkt__head { gap: 12px; padding: 10px 12px; }
  .mkt__ico { width: 40px; height: 40px; border-radius: 12px; }
  .mkt__ico .i { width: 21px; height: 21px; }
  .mkt__head h2 { font-size: 18px; }
  .mkt__head p { font-size: 12px; line-height: 1.35; }
  .mkt__n { font-size: 11.5px; padding: 4px 8px; }
  .sx-card { padding: 16px 14px; gap: 12px; }
  .sx-card__head { gap: 10px; }
  .ava { width: 42px; height: 42px; font-size: 12px; }
  .ava--sm { font-size: 10px; }
  .sx-card__id b { font-size: 19px; }
  .meta { font-size: 12px; gap: 4px; }
  .side { height: 30px; font-size: 12px; padding: 0 10px 0 7px; }
  .sx-card__price { padding: 10px 12px; gap: 10px; }
  .px b { font-size: 23px; }
  .score .ring { width: 50px; height: 50px; }
  .score .ring b { font-size: 15px; }
  .sx-card__summary { font-size: 14px; }
  .lvl { padding: 9px 10px; }
  .lvl b { font-size: 14.5px; }
  .timer__txt b { font-size: 17px; }
  .whale__row { font-size: 11.5px; gap: 8px; }
  .sx-card__foot { flex-wrap: wrap; row-gap: 8px; }
  .agent { flex: 1 1 100%; }
  .go { margin-left: auto; }
  /* Detail */
  .d-head, .d-sec, .d-timer { padding: 16px; }
  .d-head__row .ava { width: 50px; height: 50px; font-size: 13px; }
  .d-head h1 { font-size: 28px; }
  .d-head__price { padding: 12px; gap: 10px; }
  .d-head__price [data-px-big] { font-size: 28px; }
  .d-head__price { flex-wrap: wrap; }
  .score-lg { width: 100%; }
  .score-lg .ring { width: 54px; height: 54px; }
  .score-lg .ring b { font-size: 16px; }
  .d-head__sum { font-size: 15px; }
  .d-timer__unit b { font-size: 28px; }
  .d-timer__unit small { font-size: 9.5px; letter-spacing: .08em; }
  .vlad__row { padding: 10px 12px; gap: 4px 10px; }
  .vlad__row b { font-size: 15px; }
  .reasons li, .prose { font-size: 14.5px; }
  .share .btn { flex: 1 1 auto; }
  /* Grafik & info trading */
  .dash .sec-head { flex-wrap: wrap; row-gap: 4px; }
  .dash .sec-head h2 { font-size: 18px; }
  .dash__chart { padding: 8px; }
  .dash__chead { flex-wrap: wrap; row-gap: 8px; }
  .tv { height: 360px; }
  .tv--detail { height: 320px; }
  .dash__info { padding: 14px; }
  .gauge { width: 112px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 30px; }
  .next__time { font-size: 34px; }
  .stat__val { font-size: 21px; }
  .px b, .d-head__price [data-px-big] { font-size: 21px; }
  .sx-card__id b { font-size: 17px; }
  .lvl b { font-size: 13.5px; }
  .d-timer__digits { gap: 6px; }
  .d-timer__unit b { font-size: 24px; }
  .sx-nav a { padding: 0 8px; font-size: 13px; }
  .tv { height: 320px; }
  .ins__px { justify-items: start; text-align: left; }
}

/* ---------- Burger & menu bawah (sama dengan Info Sekitar & /news, laci dari css/menu.css) ---------- */
.sx-header__inner .sx-logo { margin-right: auto; }
.bnav { display: none; }
@media (max-width: 768px) {
  .bnav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: var(--box); border-top: 1px solid var(--line); }
  .bnav a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 500; color: var(--text-3); padding: 4px 0; }
  .bnav a:hover { text-decoration: none; }
  .bnav a.is-on { color: var(--cyan); font-weight: 600; }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .sx-toasts { bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (max-width: 480px) { .sx-logo__text small { display: none; } }

/* HP landscape (layar pendek): menu bawah tetap ada, satu baris (ikon + label) — sama dengan Info Sekitar */
@media (orientation: landscape) and (max-height: 520px) {
  .bnav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 3px max(8px, env(safe-area-inset-right)) calc(3px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    background: var(--box); border-top: 1px solid var(--line); }
  .bnav a { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 6px; padding: 7px 0; font-size: 12px; font-weight: 500; color: var(--text-3); text-decoration: none; }
  .bnav a svg { width: 18px; height: 18px; }
  .bnav a.is-on { color: var(--cyan); font-weight: 600; }
  body { padding-bottom: calc(44px + env(safe-area-inset-bottom)); }
  .sx-toasts { bottom: calc(56px + env(safe-area-inset-bottom)); }
}

/* Logo: font & ukuran sama dengan logo infoberita.online (css/style.css .logo__mark / .logo__text) */
.sx-logo__mark { width: 38px; height: 38px; flex: none; }
.sx-logo__text { font-family: 'Source Serif 4', Georgia, serif; font-size: 28px; font-weight: 700; letter-spacing: -.5px; line-height: 1; }
.sx-logo__text small { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .02em; }
@media (max-width: 768px) {
  .sx-logo__mark { width: 32px; height: 32px; }
  .sx-logo__text { font-size: 23px; }
}
@media (max-width: 520px) { .sx-logo__text { display: none; } }
/* Logo "infosignal": huruf kecil, bagian kedua hijau — sama dengan "infoberita" */
.sx-logo__text b { font-weight: 700; color: var(--cyan); }
