/* Macro Market Terminal — tema gelap; tema dipilih lewat data-theme di <html> (default: noir).
   Font Inter Tight & JetBrains Mono (OFL). */
@font-face { font-family: "Inter Tight"; src: url(fonts/InterTight.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(fonts/JetBrainsMono.woff2) format("woff2"); font-weight: 100 800; font-display: swap; }

/* ---- tema warna: data-theme di <html>; default evergreen (pakaiclaude) ---- */
:root, :root[data-theme="evergreen"] {
  --warn-rgb: 251, 191, 36; --up-rgb: 52, 211, 154; --down-rgb: 255, 122, 122;
  --accent: #c9ff5c; --acc-rgb: 201, 255, 92; --accent-hi: #e4ffa8; --accent-mid: #8ff0c0; --on-accent: #0b1a10;
  --accent2: #8fd0ff; --acc2-rgb: 143, 208, 255; --accent3: #f4b3c2; --acc3-rgb: 244, 179, 194;
  --glass-a: rgba(20, 34, 26, .42); --glass-b: rgba(10, 20, 15, .38); --shade-rgb: 4, 10, 7; --tip-bg: rgba(8, 18, 12, .92);
  --bg: #030806; --bg-img: url(bg/city-evergreen.jpg);
}
:root[data-theme="solana"] {
  --accent: #14f195; --acc-rgb: 20, 241, 149; --accent-hi: #a6ffd8; --accent-mid: #b67cff; --on-accent: #06120c;
  --accent2: #9945ff; --acc2-rgb: 153, 69, 255; --accent3: #00c2ff; --acc3-rgb: 0, 194, 255;
  --glass-a: rgba(30, 18, 52, .46); --glass-b: rgba(12, 10, 28, .42); --shade-rgb: 8, 6, 18; --tip-bg: rgba(14, 10, 30, .94);
  --bg: #07050f; --bg-img: url(bg/city-solana.jpg);
}
:root[data-theme="cyber"] {
  --accent: #00f0ff; --acc-rgb: 0, 240, 255; --accent-hi: #a8fbff; --accent-mid: #ff6be6; --on-accent: #001216;
  --accent2: #ff2bd6; --acc2-rgb: 255, 43, 214; --accent3: #fff04d; --acc3-rgb: 255, 240, 77;
  --glass-a: rgba(10, 22, 44, .46); --glass-b: rgba(6, 10, 26, .42); --shade-rgb: 4, 8, 18; --tip-bg: rgba(6, 12, 28, .94);
  --bg: #040714; --bg-img: url(bg/city-cyber.jpg);
}
:root[data-theme="ethereum"] {
  --accent: #8fa3ff; --acc-rgb: 143, 163, 255; --accent-hi: #d6dcff; --accent-mid: #c39bff; --on-accent: #0a0d24;
  --accent2: #c39bff; --acc2-rgb: 195, 155, 255; --accent3: #6ef2ff; --acc3-rgb: 110, 242, 255;
  --glass-a: rgba(28, 30, 64, .46); --glass-b: rgba(14, 14, 38, .42); --shade-rgb: 8, 9, 24; --tip-bg: rgba(14, 15, 38, .94);
  --bg: #080918; --bg-img: url(bg/city-ethereum.jpg);
}
:root[data-theme="noir"] {
  --accent: #ededed; --acc-rgb: 237, 237, 237; --accent-hi: #ffffff; --accent-mid: #bdbdbd; --on-accent: #000000;
  --accent2: #a3a3a3; --acc2-rgb: 163, 163, 163; --accent3: #737373; --acc3-rgb: 115, 115, 115;
  --glass-a: rgba(255, 255, 255, .035); --glass-b: rgba(255, 255, 255, .018); --shade-rgb: 0, 0, 0; --tip-bg: rgba(14, 14, 14, .97);
  --bg: #000000; --bg-img: none;
  --up: #3fcf8e; --down: #f0616d; --warn: #a3a3a3; --warn-rgb: 163, 163, 163; --up-rgb: 63, 207, 142; --down-rgb: 240, 97, 109;
  --text: #f5f5f5; --muted: #a1a1a1; --dim: #6b6b6b; --line: rgba(255, 255, 255, .06); --line2: rgba(255, 255, 255, .12);
  --mono: "Inter Tight", -apple-system, BlinkMacSystemFont, sans-serif;
}
:root[data-theme="nebula"] {
  --accent: #6d5bff; --acc-rgb: 109, 91, 255; --accent-hi: #b9adff; --accent-mid: #a77bff; --on-accent: #ffffff;
  --accent2: #2f6bff; --acc2-rgb: 47, 107, 255; --accent3: #d946ef; --acc3-rgb: 217, 70, 239;
  --glass-a: rgba(17, 19, 42, .94); --glass-b: rgba(11, 13, 30, .94); --shade-rgb: 5, 6, 15; --tip-bg: rgba(14, 16, 36, .97);
  --bg: #05060f; --bg-img: none;
  --up: #22e39a; --down: #ff4d6d; --warn: #ffc53d;
  --mono: "Inter Tight", -apple-system, BlinkMacSystemFont, sans-serif;
}
:root[data-theme="bitcoin"] {
  --accent: #f7931a; --acc-rgb: 247, 147, 26; --accent-hi: #ffc77a; --accent-mid: #ffd34d; --on-accent: #1a0f00;
  --accent2: #ffd34d; --acc2-rgb: 255, 211, 77; --accent3: #ff8a65; --acc3-rgb: 255, 138, 101;
  --glass-a: rgba(38, 26, 12, .46); --glass-b: rgba(18, 12, 6, .42); --shade-rgb: 12, 8, 3; --tip-bg: rgba(24, 16, 6, .94);
  --bg: #0a0704; --bg-img: url(bg/city-bitcoin.jpg);
}
:root {
  --panel: rgba(255, 255, 255, .035);
  --panel2: rgba(255, 255, 255, .055);
  --panel-solid: #0b0f19;
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(255, 255, 255, .14);
  --text: #f1f5ee;
  --muted: #a4b2aa;
  --dim: #66776d;
  --accent: var(--accent);
  --accent2: var(--accent2);
  --accent3: var(--accent3);
  --up: #34d39a;
  --down: #ff7a7a;
  --warn: #ffd34d;
  --radius: 18px;
  --display: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --side: 232px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.5 var(--display); -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; overflow-x: hidden; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
b { color: #fff; font-weight: 600; }
::selection { background: rgba(var(--acc-rgb), .3); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .08); border-radius: 10px; border: 2px solid var(--bg); }

/* ---------- latar: mesh blob + grid ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg i { will-change: transform; position: absolute; width: 70vmax; height: 70vmax; margin: -35vmax 0 0 -35vmax; border-radius: 50%; background: radial-gradient(circle, var(--c) 0%, transparent 60%); opacity: .16; }
.bg i:nth-child(1) { --c: #0f7a58; left: 18%; top: 12%; animation: mb1 26s ease-in-out infinite alternate; }
.bg i:nth-child(2) { --c: #0f7a58; left: 88%; top: 20%; animation: mb2 31s ease-in-out infinite alternate; }
.bg i:nth-child(3) { --c: var(--accent2); left: 70%; top: 95%; opacity: .1; animation: mb3 34s ease-in-out infinite alternate; }
.bg i:nth-child(4) { --c: var(--accent); left: 8%; top: 90%; opacity: .1; animation: mb4 28s ease-in-out infinite alternate; }
.bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%); }
@keyframes mb1 { to { transform: translate(14vw, 12vh); } }
@keyframes mb2 { to { transform: translate(-14vw, 14vh); } }
@keyframes mb3 { to { transform: translate(-10vw, -16vh); } }
@keyframes mb4 { to { transform: translate(14vw, -10vh); } }

/* ---------- kerangka ---------- */
.side { position: fixed; inset: 0 auto 0 0; width: var(--side); padding: 22px 14px; display: flex; flex-direction: column; gap: 18px; background: rgba(6, 9, 16, .94); border-right: 1px solid var(--line); z-index: 30; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 8px; }
.mark { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 0 12px rgba(var(--acc-rgb), .45)); }
.brand .title { font-weight: 800; font-size: 17px; letter-spacing: -.02em; line-height: 1.1; }
.brand .title span { background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand .sub { color: var(--dim); font-size: 11px; }
nav#tabs { display: flex; flex-direction: column; gap: 2px; }
nav#tabs button { display: flex; align-items: center; gap: 11px; background: transparent; color: var(--muted); border: 1px solid transparent; border-radius: 12px; padding: 9px 11px; font: 500 13.5px var(--display); cursor: pointer; text-align: left; transition: color .2s, background .2s, border-color .2s; position: relative; }
nav#tabs button svg { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
nav#tabs button:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
nav#tabs button.on { color: #fff; background: linear-gradient(90deg, rgba(var(--acc-rgb), .14), rgba(var(--acc2-rgb), .06)); border-color: rgba(var(--acc-rgb), .22); }
nav#tabs button.on::before { content: ""; position: absolute; left: -15px; top: 9px; bottom: 9px; width: 3px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
nav#tabs button.on svg { color: var(--accent); filter: drop-shadow(0 0 6px rgba(var(--acc-rgb), .6)); }
.side-foot { margin-top: auto; padding: 12px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }
.live { display: inline-flex; align-items: center; gap: 7px; font: 600 11px var(--mono); color: var(--up); letter-spacing: .04em; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 2s infinite; }
.live.off { color: var(--warn); }
.live.off::before { background: var(--warn); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); } 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

.shell { margin-left: var(--side); min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(4, 6, 11, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.ticker { overflow: hidden; border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 80s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tk { display: inline-flex; gap: 8px; align-items: baseline; padding: 7px 18px; font: 500 12px var(--mono); white-space: nowrap; border-right: 1px solid var(--line); }
.tk .n { color: var(--muted); font-family: var(--display); font-weight: 600; }
@keyframes marquee { to { transform: translateX(-50%); } }
.bar { display: flex; align-items: center; gap: 16px; padding: 12px 28px; }
.bar h1 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -.02em; flex: 1; min-width: 0; }
.bar .sub { color: var(--muted); font-size: 12px; font-family: var(--mono); }
.ghost { display: inline-flex; align-items: center; gap: 7px; background: rgba(var(--acc-rgb), .08); color: var(--accent); border: 1px solid rgba(var(--acc-rgb), .3); border-radius: 999px; padding: 7px 15px; font: 600 12.5px var(--display); cursor: pointer; transition: all .2s; flex: none; }
.ghost:hover { background: rgba(var(--acc-rgb), .16); box-shadow: 0 0 24px rgba(var(--acc-rgb), .25); }
.ghost:active { transform: scale(.97); }
.ghost:disabled { opacity: .6; cursor: wait; }

main { max-width: 1600px; margin: 0 auto; padding: 22px 28px 40px; }
.tab { display: none; }
.tab.on { display: block; animation: tabIn .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes tabIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- kartu kaca ---------- */
.card { position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018)); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 18px; min-width: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 20px 50px -30px rgba(0, 0, 0, .8); transition: border-color .3s; }
.card:hover { border-color: var(--line2); }
main .card:not(.hero) { content-visibility: auto; contain-intrinsic-size: auto 700px; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
h2 { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -.01em; display: flex; align-items: center; gap: 9px; }
h2 .ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(var(--acc-rgb), .1); color: var(--accent); flex: none; }
h2 .ic svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
h3 { margin: 0 0 6px; font-size: 14px; }
.hint { color: var(--muted); font-size: 12.5px; margin: 0 0 14px; max-width: 1100px; }
.src { color: var(--dim); font-size: 11.5px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ctrls { display: flex; gap: 8px; flex-wrap: wrap; }
.seg { display: inline-flex; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); border-radius: 999px; padding: 3px; flex-wrap: wrap; }
.seg button { background: transparent; color: var(--muted); border: 0; border-radius: 999px; padding: 5px 12px; font: 500 12px var(--display); cursor: pointer; white-space: nowrap; transition: all .2s; }
.seg button:hover { color: var(--text); }
.seg button.on { background: linear-gradient(90deg, rgba(var(--acc-rgb), .22), rgba(var(--acc2-rgb), .22)); color: #fff; box-shadow: inset 0 0 0 1px rgba(var(--acc-rgb), .35); }
input, select { background: rgba(0, 0, 0, .35); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font: inherit; outline: none; }
input:focus, select:focus { border-color: rgba(var(--acc-rgb), .5); box-shadow: 0 0 0 3px rgba(var(--acc-rgb), .12); }
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.up { color: var(--up); }
.down { color: var(--down); }
.warn { color: var(--warn); }
.muted { color: var(--muted); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.grad { background: linear-gradient(90deg, var(--accent), var(--accent2) 55%, var(--accent3)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.reveal { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* ---------- COMMAND CENTER ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; padding: 0; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(120deg, rgba(var(--acc-rgb), .55), rgba(var(--acc2-rgb), .25) 40%, transparent 60%, rgba(var(--acc3-rgb), .35)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.hero-l { padding: 26px 26px 22px; border-right: 1px solid var(--line); background: radial-gradient(120% 80% at 0% 0%, rgba(var(--acc-rgb), .1), transparent 60%); }
.hero-r { padding: 26px 26px 22px; }
.hero h1 { margin: 0 0 4px; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; }
.hero .lead { color: var(--muted); margin: 0 0 14px; font-size: 13.5px; }
.regime-wrap { display: flex; align-items: center; gap: 18px; }
.gauge { width: 230px; flex: none; overflow: visible; }
.gauge .needle { transform-box: view-box; transform-origin: 120px 118px; transform: rotate(var(--deg)); animation: needle 1.4s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes needle { from { transform: rotate(-90deg); } }
.gauge .g-arc { filter: drop-shadow(0 0 8px rgba(var(--acc-rgb), .35)); }
.regime-label { font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.regime-label.on { color: var(--up); text-shadow: 0 0 30px rgba(52, 211, 153, .45); }
.regime-label.off { color: var(--down); text-shadow: 0 0 30px rgba(251, 113, 133, .45); }
.regime-label.mid { color: var(--warn); text-shadow: 0 0 30px rgba(var(--warn-rgb), .4); }
.regime-score { font: 600 13px var(--mono); color: var(--muted); margin-top: 8px; }
.sigs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 16px; }
.sigp { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-size: 12px; min-width: 0; cursor: default; }
.sigp .d { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.sigp.p .d { background: var(--up); box-shadow: 0 0 10px var(--up); }
.sigp.n .d { background: var(--down); box-shadow: 0 0 10px var(--down); }
.sigp .t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.sigp .v { font: 500 11.5px var(--mono); }

.kp-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 10px; }
.kp-h h2 { font-size: 15px; }
.kps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kp { position: relative; padding: 12px 14px 12px 16px; border-radius: 13px; background: rgba(255, 255, 255, .028); border: 1px solid var(--line); overflow: hidden; transition: transform .25s, border-color .25s, background .25s; }
.kp:hover { transform: translateY(-2px); border-color: var(--line2); background: rgba(255, 255, 255, .045); }
.kp::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c); box-shadow: 0 0 12px var(--c); }
.kp.up { --c: var(--up); } .kp.down { --c: var(--down); } .kp.warn { --c: var(--warn); } .kp.info { --c: var(--accent); }
.kp .tag { font: 600 10px var(--mono); letter-spacing: .08em; color: var(--c); text-transform: uppercase; }
.kp .tt { font-weight: 700; font-size: 14px; margin: 2px 0 3px; color: #fff; letter-spacing: -.01em; }
.kp .tx { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.kp .tx b { color: var(--text); font-weight: 600; }

.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.kpi { position: relative; padding: 14px 16px 0; overflow: hidden; border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)); border: 1px solid var(--line); cursor: default; transition: transform .25s, border-color .25s, box-shadow .25s; }
.kpi:hover { transform: translateY(-3px); border-color: rgba(var(--acc-rgb), .35); box-shadow: 0 12px 40px -12px rgba(var(--acc-rgb), .25); }
.kpi-h { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.kpi-n { font-size: 12.5px; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { font: 600 11px var(--mono); padding: 2px 7px; border-radius: 999px; background: rgba(255, 255, 255, .06); white-space: nowrap; }
.pill.up { background: rgba(52, 211, 153, .12); }
.pill.down { background: rgba(251, 113, 133, .12); }
.kpi-v { font: 700 23px var(--mono); letter-spacing: -.03em; margin: 6px 0 2px; color: #fff; white-space: nowrap; }
.kpi-s { display: flex; gap: 12px; font-size: 11.5px; color: var(--dim); }
.kpi-s b { font: 600 11.5px var(--mono); }
.kpi .area { display: block; width: calc(100% + 32px); height: 46px; margin: 6px -16px 0; }
.kpi .p52 { height: 3px; background: rgba(255, 255, 255, .07); position: relative; margin: 8px 0 0; border-radius: 3px; }
.kpi .p52 i { position: absolute; top: -2px; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px var(--accent); transform: translateX(-3px); }

.cc-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 18px; }
.cc-row > .card, .grid2 > .card { margin-bottom: 18px; }
.flowmap svg { width: 100%; height: auto; display: block; overflow: visible; }
.flowmap .fl-base { fill: none; stroke-linecap: round; }
.flowmap .fl-anim { fill: none; stroke-linecap: round; stroke-dasharray: 1 14; animation: flow 1.6s linear infinite; }
.flowmap .fl-anim.out { animation-duration: 1.9s; }
@keyframes flow { to { stroke-dashoffset: -15; } }
.flowmap .orb-ring { transform-box: fill-box; transform-origin: center; animation: orb 3s ease-out infinite; }
@keyframes orb { from { transform: scale(.8); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.flowmap .lbl { font: 600 12.5px var(--display); fill: var(--text); }
.flowmap .val { font: 600 11.5px var(--mono); }
.fl-legend { display: flex; justify-content: space-between; color: var(--dim); font: 600 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }

.ck { padding: 10px 0; border-bottom: 1px solid var(--line); }
.ck:last-child { border-bottom: 0; }
.ck-h { display: flex; justify-content: space-between; gap: 10px; font-size: 12.8px; font-weight: 600; }
.ck-h b { font: 700 14px var(--mono); }
.ck-track { position: relative; height: 6px; margin: 9px 0 7px; border-radius: 6px; background: linear-gradient(90deg, rgba(251, 113, 133, .55), rgba(255, 255, 255, .08) 50%, rgba(52, 211, 153, .55)); }
.ck-track::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: rgba(255, 255, 255, .25); }
.ck-track i { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; }
.ck-track i.now { background: #fff; box-shadow: 0 0 0 3px rgba(var(--acc-rgb), .35), 0 0 14px var(--accent); z-index: 1; transition: left 1s cubic-bezier(.2, .7, .2, 1); }
.ck-track i.was { background: transparent; border: 1.5px dashed rgba(255, 255, 255, .45); }
.ck-f { display: flex; justify-content: space-between; gap: 10px; font-size: 11.5px; color: var(--muted); }
.ck-f .num { font-size: 11px; }

.ev-list .ev { display: grid; grid-template-columns: 64px 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.ev-list .ev:last-child { border-bottom: 0; }
.ev .when { font: 600 11.5px var(--mono); color: var(--accent); line-height: 1.2; }
.ev .when small { display: block; color: var(--dim); font-weight: 500; }
.ev .tt { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev .fc { font: 500 11.5px var(--mono); color: var(--muted); text-align: right; white-space: nowrap; }
.ev.done .when { color: var(--dim); }

.mini-sent { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; margin-top: 14px; }

/* ---------- regime lama / sinyal (dipakai ulang) ---------- */
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-weight: 700; font-size: 13px; }

/* ---------- heatmap ---------- */
.heat-group { margin-bottom: 14px; }
.heat-group h4 { margin: 0 0 7px; font: 600 10.5px var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }
.heat-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(122px, 1fr)); gap: 6px; }
.tile { border-radius: 11px; padding: 9px 10px; min-height: 64px; cursor: default; border: 1px solid rgba(255, 255, 255, .05); transition: transform .2s, box-shadow .2s, border-color .2s; }
.tile:hover { transform: translateY(-2px) scale(1.02); border-color: rgba(255, 255, 255, .25); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .8); }
.tile .n { font-size: 11.5px; color: rgba(255, 255, 255, .85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .v { font: 700 16px var(--mono); letter-spacing: -.02em; }
.tile .l { font: 400 10.5px var(--mono); color: rgba(255, 255, 255, .55); }

/* ---------- makro ---------- */
.macro-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 8px; }
.mc { background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; transition: border-color .2s; }
.mc:hover { border-color: var(--line2); }
.mc .n { font-size: 11.5px; color: var(--muted); min-height: 30px; }
.mc .v { font: 700 17px var(--mono); letter-spacing: -.02em; }
.mc .d { font-size: 11px; color: var(--dim); }
.mc svg { margin-top: 4px; width: 100%; }

/* ---------- tabel ---------- */
.table-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl td { font-family: var(--mono); font-size: 12.5px; }
.tbl td:first-child { font-family: var(--display); font-size: 13px; }
.tbl th { text-align: right; color: var(--dim); font: 600 10.5px var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: 9px 8px; border-bottom: 1px solid var(--line); cursor: pointer; white-space: nowrap; position: sticky; top: 0; background: var(--panel-solid); }
.tbl th:first-child, .tbl td:first-child { text-align: left; }
.tbl td { text-align: right; padding: 7px 8px; border-bottom: 1px solid rgba(255, 255, 255, .04); white-space: nowrap; }
.tbl tr.grp td { background: rgba(var(--acc-rgb), .05); color: var(--accent); font: 600 10.5px var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.tbl tbody tr:hover td { background: rgba(var(--acc-rgb), .05); }
.pos52 { position: relative; width: 90px; height: 4px; background: linear-gradient(90deg, rgba(251, 113, 133, .4), rgba(52, 211, 153, .4)); border-radius: 3px; display: inline-block; vertical-align: middle; }
.pos52 i { position: absolute; top: -3px; width: 10px; height: 10px; background: #fff; border-radius: 50%; transform: translateX(-5px); box-shadow: 0 0 8px var(--accent); }
.stale { color: var(--warn); font-size: 11px; }

/* ---------- rotasi ---------- */
.rot-wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 22px; align-items: start; }
#rrg svg { width: 100%; height: auto; display: block; }
#rrg .rp { cursor: pointer; }
#rrg .rp circle { transition: r .2s; }
#rrg .rp:hover circle { r: 8; }
.flow-row { display: grid; grid-template-columns: 170px 1fr 70px; gap: 8px; align-items: center; font-size: 12.5px; padding: 4px 0; }
.flow-row .bar { height: 10px; position: relative; background: transparent; padding: 0; }
.flow-row .bar i { position: absolute; top: 0; height: 100%; border-radius: 6px; box-shadow: 0 0 10px currentColor; }
.flow-row .bar::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; border-left: 1px solid var(--line2); }
.qtag { font-size: 10px; padding: 1px 6px; border-radius: 999px; margin-left: 4px; }

/* ---------- korelasi ---------- */
.cm { border-collapse: separate; border-spacing: 2px; font: 500 11px var(--mono); }
.cm th { color: var(--muted); font: 500 11.5px var(--display); padding: 3px 5px; white-space: nowrap; }
.cm th.col { writing-mode: vertical-rl; transform: rotate(180deg); text-align: left; height: 92px; vertical-align: bottom; font: 600 11px var(--mono); }
.cm th.row { text-align: right; }
.cm td { width: 38px; min-width: 38px; height: 28px; text-align: center; color: rgba(255, 255, 255, .92); border-radius: 5px; transition: transform .15s; }
.cm td:hover { transform: scale(1.18); position: relative; z-index: 1; box-shadow: 0 0 0 1px #fff; }
.chart-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 14px; }
.chart-card { background: rgba(255, 255, 255, .025); border: 1px solid var(--line); border-radius: 14px; padding: 14px; min-width: 0; transition: border-color .2s; }
.chart-card:hover { border-color: rgba(var(--acc2-rgb), .35); }
.chart-card .meta { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.chart-card .big { font: 700 20px var(--mono); }
.chart-card .why { color: var(--muted); font-size: 12px; margin: 4px 0 8px; min-height: 34px; }
.chart-card .stats { display: flex; gap: 12px; font-size: 12px; color: var(--muted); flex-wrap: wrap; margin-bottom: 6px; }
.chart-card .stats b { font-family: var(--mono); }
.chart { height: 190px; }

/* ---------- sejarah ---------- */
.evt td.c { min-width: 62px; color: rgba(255, 255, 255, .92); }
.evt tr { cursor: pointer; }
.evt tr.sel td { box-shadow: inset 0 1px 0 var(--accent), inset 0 -1px 0 var(--accent); }
.ev-note { margin-top: 12px; padding: 14px 16px; background: rgba(var(--acc-rgb), .06); border: 1px solid rgba(var(--acc-rgb), .2); border-radius: 12px; color: var(--text); display: none; }

/* ---------- kalender ---------- */
.cal-day { margin-bottom: 18px; }
.cal-day h4 { margin: 0 0 6px; font-size: 13px; color: var(--accent); }
.cal-day h4.today { color: var(--warn); text-shadow: 0 0 16px rgba(var(--warn-rgb), .4); }
.cal-row { display: grid; grid-template-columns: 52px 40px 22px minmax(0, 1fr) 80px 80px 80px 82px; gap: 8px; align-items: center; padding: 6px 8px; border-bottom: 1px solid rgba(255, 255, 255, .04); font-size: 13px; border-radius: 8px; }
.cal-row:not(.head):hover { background: rgba(255, 255, 255, .03); }
.cal-row .r, .cal-row .t { font-family: var(--mono); font-size: 12px; }
.cal-row.head { color: var(--dim); font: 600 10px var(--mono); text-transform: uppercase; letter-spacing: .06em; border-bottom: 1px solid var(--line); }
.cal-row .t { color: var(--muted); }
.cal-row .r { text-align: right; }
.cal-row.past { opacity: .8; }
.imp { letter-spacing: -2px; color: var(--warn); font-size: 11px; }
.imp.lo { color: var(--dim); }
.cty { font: 700 10.5px var(--mono); color: var(--accent2); background: rgba(var(--acc2-rgb), .1); border-radius: 6px; padding: 2px 4px; text-align: center; }

/* ---------- berita ---------- */
.sbar { display: grid; grid-template-columns: 170px 1fr 52px; gap: 8px; align-items: center; font-size: 12.5px; padding: 4px 0; cursor: pointer; }
.sbar:hover .lab { color: #fff; }
.sbar .lab { color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sbar .num { font-size: 12px; }
.sbar .track { height: 8px; position: relative; }
.sbar .track::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; border-left: 1px solid var(--line2); }
.sbar .track i { position: absolute; top: 0; height: 100%; border-radius: 6px; }
.item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.item .h { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.item .when { color: var(--dim); font: 500 11px var(--mono); flex: none; }
.item .s { color: var(--accent2); font-size: 11.5px; flex: none; font-weight: 600; }
.item .tt { font-weight: 600; color: var(--text); }
.item .chain { color: var(--accent); font: 500 12px var(--mono); margin-top: 4px; }
.item.nomacro .tt { color: var(--dim); font-weight: 400; }
.chips { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 6px; }
.chip { font: 500 11px var(--display); padding: 2px 9px; border-radius: 999px; border: 1px solid; }
.chip.p { color: var(--up); border-color: rgba(52, 211, 153, .35); background: rgba(52, 211, 153, .08); }
.chip.n { color: var(--down); border-color: rgba(251, 113, 133, .35); background: rgba(251, 113, 133, .08); }
.chip.t { color: var(--muted); border-color: var(--line2); }
.hours { display: grid; grid-template-columns: repeat(24, 1fr); gap: 4px; align-items: end; height: 100px; }
.hours div { background: linear-gradient(180deg, var(--accent), rgba(var(--acc2-rgb), .4)); border-radius: 4px 4px 1px 1px; min-height: 2px; position: relative; box-shadow: 0 0 12px rgba(var(--acc-rgb), .25); }
.hours-l { display: grid; grid-template-columns: repeat(24, 1fr); gap: 4px; font: 500 10px var(--mono); color: var(--dim); text-align: center; margin-top: 4px; }
.sum-text { font-size: 14.5px; line-height: 1.65; }
.themes { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0; }
.risk { color: var(--warn); font-size: 13px; padding: 10px 12px; border-radius: 10px; background: rgba(var(--warn-rgb), .07); border: 1px solid rgba(var(--warn-rgb), .2); margin-top: 8px; }
.run-log { margin-top: 12px; font-size: 12px; color: var(--muted); }
.run-log summary { cursor: pointer; }

/* ---------- intro ---------- */
.prose { max-width: 920px; font-size: 15px; line-height: 1.75; }
.prose h2 { font-size: 26px; margin: 26px 0 10px; letter-spacing: -.03em; display: block; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 16px; margin: 22px 0 6px; color: var(--accent); }
.prose p { margin: 6px 0 10px; }
.prose .ex { background: rgba(var(--acc2-rgb), .07); border: 1px solid rgba(var(--acc2-rgb), .2); border-left: 3px solid var(--accent2); padding: 10px 14px; border-radius: 10px; margin: 8px 0 14px; font-size: 14px; }
.prose .chainbox { font-family: var(--mono); font-size: 13px; color: var(--warn); }
.prose table { border-collapse: collapse; font-size: 13.5px; margin: 8px 0 14px; }
.prose td, .prose th { border: 1px solid var(--line); padding: 7px 11px; text-align: left; }
.prose th { color: var(--muted); }

footer { color: var(--dim); font-size: 11.5px; text-align: center; padding: 10px 28px 30px; max-width: 1100px; margin: 0 auto; }
.tip { position: fixed; pointer-events: none; z-index: 50; background: rgba(10, 14, 24, .92); backdrop-filter: blur(12px); border: 1px solid rgba(var(--acc-rgb), .25); border-radius: 12px; padding: 10px 12px; font-size: 12px; max-width: 320px; display: none; box-shadow: 0 10px 40px rgba(0, 0, 0, .6), 0 0 30px -10px rgba(var(--acc-rgb), .4); }
.empty { color: var(--muted); padding: 18px 0; }
.skel { height: 14px; border-radius: 6px; margin: 8px 0; background: linear-gradient(90deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .09), rgba(255, 255, 255, .04)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }


/* ---------- logo ---------- */
.lg { display: inline-flex; align-items: center; vertical-align: middle; flex: none; margin-right: 6px; }
.lg img { width: var(--s); height: var(--s); border-radius: 50%; display: block; background: #e8edf5; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .08); }
.lg.pair img + img { margin-left: calc(var(--s) * -.38); box-shadow: 0 0 0 2px #0b0f19; }
.lg.ic, .lg.mono { width: var(--s); height: var(--s); border-radius: 50%; justify-content: center; background: linear-gradient(135deg, rgba(var(--acc-rgb), .22), rgba(var(--acc2-rgb), .22)); color: #efffd0; box-shadow: 0 0 0 1.5px rgba(var(--acc-rgb), .25); }
.lg.ic svg { width: 62%; height: 62%; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lg.mono { font: 700 calc(var(--s) * .4) var(--mono); }
.tile .n .lg { margin-right: 5px; }
.kpi-n { display: flex; align-items: center; }

/* ---------- poin ---------- */
.pts { margin: 0 0 14px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.pts li { position: relative; padding-left: 16px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.pts li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.pts.big li { color: var(--text); font-size: 13.5px; padding: 6px 0 6px 18px; border-bottom: 1px solid var(--line); }
.pts.big li:last-child { border-bottom: 0; }
.pts.big li::before { top: 1.05em; }
.hint ul { margin: 0; }

/* ---------- arah hari ini ---------- */
.money-line { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.ml { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 14px; }
.ml.in { background: linear-gradient(90deg, rgba(52, 211, 153, .12), rgba(52, 211, 153, .02)); border: 1px solid rgba(52, 211, 153, .25); }
.ml.out { background: linear-gradient(90deg, rgba(251, 113, 133, .12), rgba(251, 113, 133, .02)); border: 1px solid rgba(251, 113, 133, .25); }
.ml-h { font: 700 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; width: 100%; }
.ml.in .ml-h { color: var(--up); } .ml.out .ml-h { color: var(--down); }
.mchip { display: inline-flex; align-items: center; padding: 4px 11px 4px 5px; border-radius: 999px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; }
.mchip .lg { margin-right: 6px; }
.group-bias { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.gb { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: transform .2s, background .2s, border-color .2s; }
.gb:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .06); }
.gb.on { background: rgba(var(--acc-rgb), .1); border-color: var(--accent) !important; box-shadow: 0 0 0 1px var(--accent), 0 0 24px -6px rgba(var(--acc-rgb), .6) !important; }
.gb.all .gb-b { color: var(--text); }
.og { margin-top: 6px; }
.og + .og { margin-top: 20px; }
.og-h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.og-h b { font-size: 15px; }
.og-h .bias { font-size: 10px; padding: 3px 8px; }
.og-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 12px; }
.gb > div:nth-child(2) { flex: 1; min-width: 0; }
.gb-n { font-size: 11.5px; color: var(--muted); }
.gb-b { font-weight: 800; font-size: 15px; letter-spacing: -.01em; }
.gb-s { font-size: 12px; color: var(--muted); }
.gb.bullish { border-color: rgba(52, 211, 153, .35); box-shadow: inset 0 0 30px -12px rgba(52, 211, 153, .5); } .gb.bullish .gb-b { color: var(--up); }
.gb.bearish { border-color: rgba(251, 113, 133, .35); box-shadow: inset 0 0 30px -12px rgba(251, 113, 133, .5); } .gb.bearish .gb-b { color: var(--down); }
.gb.netral .gb-b { color: var(--warn); }
.outlook { display: block; }
.oc { position: relative; padding: 14px; border-radius: 15px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); transition: transform .25s, border-color .25s, box-shadow .25s; cursor: default; }
.oc:hover { transform: translateY(-3px); }
.oc.bullish:hover { border-color: rgba(52, 211, 153, .45); box-shadow: 0 14px 40px -16px rgba(52, 211, 153, .45); }
.oc.bearish:hover { border-color: rgba(251, 113, 133, .45); box-shadow: 0 14px 40px -16px rgba(251, 113, 133, .45); }
.oc.netral:hover { border-color: rgba(var(--warn-rgb), .4); }
.oc-h { display: flex; align-items: center; gap: 4px; }
.oc-n { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.oc-n b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-n > span { font-size: 11px; color: var(--dim); }
.oc-n > span span { font-family: var(--mono); }
.bias { font: 800 10px var(--mono); letter-spacing: .03em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; flex: none; }
.bias.bullish { color: #04130d; background: var(--up); box-shadow: 0 0 16px rgba(52, 211, 153, .55); }
.bias.bearish { color: #1a0509; background: var(--down); box-shadow: 0 0 16px rgba(251, 113, 133, .55); }
.bias.netral { color: var(--warn); background: rgba(var(--warn-rgb), .12); box-shadow: inset 0 0 0 1px rgba(var(--warn-rgb), .4); }
.oc-bar { position: relative; height: 6px; margin: 13px 46px 11px 0; border-radius: 6px; background: rgba(255, 255, 255, .06); }
.oc-bar::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: rgba(255, 255, 255, .3); }
.oc-bar i { position: absolute; top: 0; height: 100%; border-radius: 6px; }
.oc.bullish .oc-bar i { background: var(--up); box-shadow: 0 0 10px var(--up); }
.oc.bearish .oc-bar i { background: var(--down); box-shadow: 0 0 10px var(--down); }
.oc.netral .oc-bar i { background: var(--warn); }
.oc-bar b { position: absolute; right: -46px; top: -6px; font-size: 12px; }
.oc-r { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.oc-r li { display: flex; gap: 7px; font-size: 12px; color: var(--text); line-height: 1.4; }
.oc-r li span { font-size: 9px; margin-top: 3px; flex: none; }
.oc-r li.up span { color: var(--up); } .oc-r li.down span { color: var(--down); } .oc-r li.muted span { color: var(--dim); }
.oc-r li.up, .oc-r li.down, .oc-r li.muted { color: var(--text); }
.oc-f { margin-top: 9px; font: 500 10.5px var(--mono); color: var(--dim); }

.fl-lab { display: flex; align-items: center; gap: 0; height: 28px; font: 600 12px var(--display); color: var(--text); white-space: nowrap; }
.fl-lab.l { justify-content: flex-end; }
.fl-lab span { overflow: hidden; text-overflow: ellipsis; margin-right: 6px; }
.fl-lab b { font: 600 11px var(--mono); }
.fl-node { cursor: pointer; }
.quads { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.quad { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); border-top: 2px solid var(--c); }
.q-h { font-weight: 700; font-size: 13px; color: var(--c); margin-bottom: 7px; display: flex; justify-content: space-between; gap: 8px; }
.q-h span { color: var(--dim); font-weight: 500; font-size: 11px; }
.q-l { display: flex; flex-wrap: wrap; gap: 5px; }
.mchip.sm { font-size: 11.5px; padding: 2px 9px 2px 3px; }
.mchip.sm .lg { margin-right: 5px; }
.ck-h > span { display: flex; align-items: center; min-width: 0; }
.ck-h .lg + .lg { margin-left: -10px; }
.sbar .lab { display: flex; align-items: center; }


/* ---------- ukuran pasar ---------- */
.size-wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.treemap { position: relative; width: 100%; aspect-ratio: 100 / 62; border-radius: 14px; overflow: hidden; }
.tm { position: absolute; padding: 9px 10px; border: 2px solid #04060b; border-radius: 10px; overflow: hidden; cursor: default; transition: filter .2s; display: flex; flex-direction: column; gap: 2px; }
.tm:hover { filter: brightness(1.25); z-index: 1; }
.tm-n { display: flex; align-items: center; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .92); min-width: 0; }
.tm-n span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-v { white-space: nowrap; font: 800 clamp(15px, 1.7vw, 24px) var(--mono); letter-spacing: -.03em; color: #fff; }
.tm-v sup { font-size: .5em; color: rgba(255, 255, 255, .6); margin-left: 2px; }
.tm-c { font: 500 11px var(--mono); color: rgba(255, 255, 255, .78); }
.tm.small { padding: 5px 6px; }
.tm.small .tm-n { font-size: 10.5px; }
.tm.small .tm-n span { display: none; }
.tm.small .tm-v { font-size: 12px; }
.tm.small .tm-c { display: none; }
.dm-h, .ef-h { font: 700 11px var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.ef-h small { text-transform: none; letter-spacing: 0; font: 500 11px var(--display); margin-left: 6px; }
.dm { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 82px 52px; gap: 8px; align-items: center; padding: 6px 0; font-size: 12.5px; border-bottom: 1px solid var(--line); }
.dm-n { display: flex; align-items: center; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm .track { height: 8px; position: relative; }
.dm .track::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; border-left: 1px solid var(--line2); }
.dm .track i { position: absolute; top: 0; height: 100%; border-radius: 6px; }
.dm b { text-align: right; font-size: 12.5px; }
.dm-p { font: 500 11px var(--mono); text-align: right; }
.liq { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: rgba(var(--acc2-rgb), .06); border: 1px solid rgba(var(--acc2-rgb), .18); font-size: 12.5px; }
.liq-h { font: 700 10.5px var(--mono); color: var(--accent2); text-transform: uppercase; letter-spacing: .08em; }
.liq-i span { font-family: var(--mono); font-size: 11.5px; }

/* ---------- jam bursa ---------- */
.sessions { display: flex; gap: 6px; overflow-x: auto; padding: 8px 28px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.sessions::-webkit-scrollbar { display: none; }
.ses { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px 4px 5px; border-radius: 999px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-size: 11.5px; white-space: nowrap; flex: none; }
.ses .lg { margin-right: 0; }
.ses i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.ses > span { font-weight: 600; color: var(--muted); }
.ses small { color: var(--dim); font: 500 10.5px var(--mono); }
.ses.open { border-color: rgba(52, 211, 153, .35); background: rgba(52, 211, 153, .07); }
.ses.open i { background: var(--up); box-shadow: 0 0 8px var(--up); animation: pulse 2s infinite; }
.ses.open > span { color: var(--up); }
.ses.pre i, .ses.break i { background: var(--warn); }
.ses.pre > span, .ses.break > span { color: var(--warn); }
.kpi-d { font: 500 10px var(--mono); color: var(--dim); margin-top: 2px; }
.kpi-s { white-space: nowrap; }

/* ---------- efek berantai ---------- */
.drivers { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.drv { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 7px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); color: var(--text); font: inherit; cursor: pointer; text-align: left; transition: all .2s; }
.drv:hover { background: rgba(255, 255, 255, .06); transform: translateY(-1px); }
.drv span { display: flex; flex-direction: column; line-height: 1.2; }
.drv b { font-size: 12.5px; }
.drv small { font: 500 11px var(--mono); }
.drv em { font: 800 9.5px var(--mono); font-style: normal; color: #1a1205; background: var(--warn); padding: 2px 6px; border-radius: 999px; box-shadow: 0 0 12px rgba(var(--warn-rgb), .5); }
.drv.on { border-color: var(--accent); background: rgba(var(--acc-rgb), .1); box-shadow: 0 0 0 1px var(--accent), 0 0 24px -8px rgba(var(--acc-rgb), .6); }
.ef-status { padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-size: 13px; margin-bottom: 12px; color: var(--muted); }
.ef-status.act { background: rgba(var(--warn-rgb), .08); border-color: rgba(var(--warn-rgb), .3); color: var(--text); }
.ef-status.act b { color: var(--warn); }
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ch { padding: 7px 13px; border-radius: 10px; font-weight: 600; font-size: 13px; background: linear-gradient(135deg, rgba(var(--acc-rgb), .14), rgba(var(--acc2-rgb), .14)); border: 1px solid rgba(var(--acc-rgb), .28); }
.ch:first-child { background: linear-gradient(135deg, rgba(var(--warn-rgb), .25), rgba(var(--acc3-rgb), .15)); border-color: rgba(var(--warn-rgb), .45); }
.arr { color: var(--accent); font-weight: 800; text-shadow: 0 0 10px var(--accent); }
.ef-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ef-col, .ef-next { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); }
.ef-col.up { border-top: 2px solid var(--up); } .ef-col.up .ef-h { color: var(--up); }
.ef-col.down { border-top: 2px solid var(--down); } .ef-col.down .ef-h { color: var(--down); }
.ef-next { margin-top: 14px; border-top: 2px solid var(--accent2); } .ef-next .ef-h { color: var(--accent2); }
.ef-r { display: grid; grid-template-columns: minmax(0, 1fr) 70px; gap: 2px 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.ef-r:last-child { border-bottom: 0; }
.ef-n { display: flex; align-items: center; min-width: 0; gap: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ef-n .muted { margin-left: 4px; font-size: 11.5px; }
.ef-r > b { text-align: right; font-size: 13px; }
.ef-p { grid-column: 1 / -1; font-size: 11.5px; color: var(--muted); padding-left: 24px; }
.ef-p b { color: var(--text); font-family: var(--mono); }


/* ---------- kuadran ---------- */
.quad-wrap { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 26px; align-items: center; }
.quad-svg { width: 100%; height: auto; display: block; }
.qd-name { font-size: 32px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.qd-desc { color: var(--muted); margin-top: 6px; font-size: 14px; }
.qd-row { display: grid; grid-template-columns: 140px 1fr; gap: 10px; align-items: center; padding: 8px 0; }
.qd-row > span { font: 700 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.qd-row.up > span { color: var(--up); } .qd-row.down > span { color: var(--down); }
.qd-row > div { display: flex; flex-wrap: wrap; gap: 5px; }
.qd-all { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.qd-all > div { padding: 8px 11px; border-radius: 10px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); border-left: 3px solid var(--c); display: flex; flex-direction: column; font-size: 12px; opacity: .65; }
.qd-all > div.on { opacity: 1; background: rgba(255, 255, 255, .05); box-shadow: 0 0 24px -10px var(--c); }
.qd-all b { color: var(--c); }
.qd-all span { color: var(--muted); font-size: 11.5px; }


/* ---------- bahasa awam ---------- */
.term { border-bottom: 1.5px dotted rgba(var(--acc-rgb), .7); cursor: help; }
.term:hover, .term:focus { color: var(--accent); outline: none; }
.help { margin-left: 4px; width: 22px; height: 22px; flex: none; border-radius: 50%; border: 1px solid var(--line2); background: rgba(255, 255, 255, .04); color: var(--muted); font: 700 12px var(--display); cursor: pointer; transition: all .2s; }
.help:hover, .help.on { color: #04060b; background: var(--accent); border-color: var(--accent); box-shadow: 0 0 14px rgba(var(--acc-rgb), .5); }
.hero h1 .help { vertical-align: middle; font-size: 12px; }
.helpbox { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: rgba(var(--acc-rgb), .06); border: 1px solid rgba(var(--acc-rgb), .25); font-size: 12.5px; line-height: 1.5; animation: rise .35s ease both; }
.helpbox b { display: block; font: 700 10.5px var(--mono); color: var(--accent); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; }

.story { background: linear-gradient(135deg, rgba(var(--acc-rgb), .09), rgba(var(--acc2-rgb), .05) 50%, rgba(255, 255, 255, .015)); border-color: rgba(var(--acc-rgb), .2); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; }
.story-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.st { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; }
.st-i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); box-shadow: 0 0 16px -6px var(--c); }
.st-i svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.st.up { --c: var(--up); } .st.down { --c: var(--down); } .st.warn { --c: var(--warn); } .st.info { --c: var(--accent); }
.st-h { font-size: 14.5px; font-weight: 600; color: #fff; }
.st-t { font-size: 13px; color: var(--muted); line-height: 1.5; margin-top: 1px; }
.st-t b { color: var(--text); }
.st-t b.up { color: var(--up); } .st-t b.down { color: var(--down); }
.story-side { padding: 14px 16px; border-radius: 14px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); align-self: start; }
.ss-h { font: 700 11px var(--mono); color: var(--warn); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }

.corr-plain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cp-col { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); }
.ef-h.up { color: var(--up); } .ef-h.down { color: var(--down); }
.cp { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 0 4px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.cp:last-child { border-bottom: 0; }
.cp .lg + .lg { margin-left: -10px; }
.cp > span:not(.lg) { padding-left: 4px; line-height: 1.35; }
.cp b { font-size: 12px; }
.cp small { grid-column: 3 / -1; padding-left: 4px; font-size: 10.5px; }

.intro-lead { font-size: 17px; line-height: 1.6; max-width: 900px; margin: 0 0 20px; }
.learn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.learn { display: flex; flex-direction: column; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); transition: transform .25s, border-color .25s; }
.learn:hover { transform: translateY(-3px); border-color: rgba(var(--acc-rgb), .35); }
.learn h3 { margin: 0 0 4px; font-size: 17px; letter-spacing: -.01em; color: #fff; }
.l-s { margin: 0 0 8px; color: var(--accent); font-weight: 600; font-size: 13.5px; }
.l-a { margin: 0 0 10px; color: var(--muted); font-size: 13px; font-style: italic; }
.learn .pts li { color: var(--text); font-size: 13px; }
.l-ex { font-size: 12.5px; color: var(--muted); padding: 9px 11px; border-radius: 10px; background: rgba(var(--acc2-rgb), .07); border: 1px solid rgba(var(--acc2-rgb), .18); margin-bottom: 10px; }
.l-ex b { color: var(--accent2); }
.go { margin-top: auto; font-size: 12.5px; font-weight: 600; }
.learn-h { font-size: 20px; margin: 28px 0 12px; letter-spacing: -.02em; }
.cause { display: flex; flex-direction: column; gap: 8px; }
.cz { display: grid; grid-template-columns: 200px 20px minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: center; font-size: 13px; }
.cz .ch { text-align: center; }
.cz-b { color: var(--text); font-weight: 500; }
.cz-w { color: var(--dim); font-size: 12px; }
.steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.step { padding: 9px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--text); font-size: 13px; font-weight: 500; }
.step:hover { text-decoration: none; border-color: var(--accent); }
.gloss { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.gloss > div { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.gloss b { display: block; color: var(--accent); font-size: 13px; margin-bottom: 2px; }


/* ---------- susunan berlapis ---------- */
.jump { position: sticky; top: 0; z-index: 5; display: flex; gap: 6px; overflow-x: auto; padding: 0 0 14px; scrollbar-width: none; }
.jump::-webkit-scrollbar { display: none; }
.jump a { flex: none; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(10, 14, 24, .85); color: var(--muted); font-size: 12.5px; font-weight: 600; }
.jump a:hover { color: #fff; border-color: var(--accent); text-decoration: none; }
.layer { font-size: 22px; letter-spacing: -.02em; margin: 34px 0 14px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; scroll-margin-top: 150px; }
.layer:first-of-type { margin-top: 6px; }
.layer small { font-size: 13px; font-weight: 500; color: var(--dim); letter-spacing: 0; }
.cc-row.even { grid-template-columns: 1fr 1fr; }
.cc-row.even .quad-wrap { grid-template-columns: 1fr; }
.cc-row.even .quad-svg { max-width: 330px; margin: 0 auto; }

.verdict { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.vd { padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .22); }
.vd.bullish { border-top: 3px solid var(--up); }
.vd.netral { border-top: 3px solid var(--warn); }
.vd.bearish { border-top: 3px solid var(--down); }
.vd-h { font-weight: 800; font-size: 15px; margin-bottom: 8px; display: flex; flex-direction: column; }
.vd.bullish .vd-h { color: var(--up); } .vd.netral .vd-h { color: var(--warn); } .vd.bearish .vd-h { color: var(--down); }
.vd-h small { font-size: 11.5px; color: var(--dim); font-weight: 500; }
.vd-i { display: flex; align-items: flex-start; gap: 4px; padding: 7px 0; border-top: 1px solid var(--line); }
.vd-i .lg { margin-top: 2px; }
.vd-i > div { display: flex; flex-direction: column; min-width: 0; }
.vd-i b { font-size: 13.5px; }
.vd-i span { font-size: 12px; color: var(--muted); line-height: 1.4; }
.vd-e { padding: 8px 0; }

.sigp.z .d { background: var(--dim); }
.sigp.z .v { color: var(--dim); }
.pattern { padding: 10px 14px; border-radius: 12px; margin: 0 0 14px; font-size: 13px; }
.pattern.ok { background: rgba(52, 211, 153, .07); border: 1px solid rgba(52, 211, 153, .25); }
.pattern.warn { background: rgba(var(--warn-rgb), .08); border: 1px solid rgba(var(--warn-rgb), .3); }
.pattern .pts li { color: var(--text); }
.pat { display: inline-block; margin-left: 8px; font: 600 10.5px var(--mono); padding: 1px 7px; border-radius: 999px; }
.pat.ok { color: var(--up); background: rgba(52, 211, 153, .1); }
.pat.no { color: var(--warn); background: rgba(var(--warn-rgb), .12); }
.bias { white-space: nowrap; }


/* ---------- keputusan ---------- */
.decide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.decide > .card { margin-bottom: 0; }
.big-ans { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.big-ans .lg { margin: 0; }
.big-ans > div { display: flex; flex-direction: column; min-width: 0; }
.big-ans b { font-size: 17px; letter-spacing: -.01em; color: #fff; }
.big-ans span { font-size: 12px; color: var(--muted); }
.big-ans.up { border-color: rgba(52, 211, 153, .35); box-shadow: inset 0 0 30px -14px rgba(52, 211, 153, .6); }
.big-ans.down { border-color: rgba(251, 113, 133, .35); box-shadow: inset 0 0 30px -14px rgba(251, 113, 133, .6); }
.big-ans.warn { border-color: rgba(var(--warn-rgb), .35); }
.fx-t { display: flex; flex-direction: column; }
.fx-r { display: grid; grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 1fr)) auto; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.fx-r.head { font: 600 10px var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .04em; }
.fx-r.head span:not(:first-child) { text-align: center; }
.fx-n { display: flex; align-items: center; font-weight: 600; white-space: nowrap; }
.fx-c { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.fx-c b { font-size: 11px; }
.mb { position: relative; display: block; width: 100%; height: 5px; border-radius: 4px; background: rgba(255, 255, 255, .06); }
.mb::after { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: rgba(255, 255, 255, .25); }
.mb i { position: absolute; top: 0; height: 100%; border-radius: 4px; }
.mb i.p, .wf-b i.p { background: var(--up); box-shadow: 0 0 8px var(--up); }
.mb i.n, .wf-b i.n { background: var(--down); box-shadow: 0 0 8px var(--down); }
.fx-r .bias { font-size: 9px; padding: 3px 6px; }
.eq-l { display: flex; flex-direction: column; margin-top: 10px; }
.eq-i { display: flex; gap: 6px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--line); }
.eq-i:last-child { border-bottom: 0; }
.eq-rk { width: 18px; color: var(--dim); font-size: 12px; margin-top: 3px; }
.eq-i .lg { margin-top: 1px; }
.eq-b { flex: 1; min-width: 0; }
.eq-t { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.eq-t b { font-size: 13.5px; }
.eq-t .bias { font-size: 9px; padding: 3px 6px; }
.eq-s { display: flex; flex-wrap: wrap; gap: 3px 12px; font-size: 11.5px; color: var(--dim); margin-top: 2px; }
.eq-s b { font-size: 11.5px; }
.fund-l { display: flex; flex-direction: column; }
.fund { padding: 9px 0; border-bottom: 1px solid var(--line); }
.fund-t { display: flex; align-items: center; gap: 8px; }
.fund-t b { flex: 1; font-size: 13px; }
.fund-t .bias { font-size: 9px; padding: 3px 6px; }
.rk { font-size: 8px; letter-spacing: 1px; color: var(--warn); flex: none; }
.rk i { font-style: normal; color: rgba(255, 255, 255, .12); }
.fund-w { margin: 4px 0 0 54px; padding: 0; list-style: none; font-size: 11.8px; color: var(--muted); line-height: 1.45; }
.fund-w b { font-size: 11.5px; }
.drv.sm { padding: 5px 10px 5px 5px; border-radius: 999px; }
.drv.sm b { font-size: 12px; }
.attr-sum { padding: 11px 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-size: 13.5px; line-height: 1.5; margin-bottom: 12px; }
.wf { display: flex; flex-direction: column; }
.wf-r { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 72px; gap: 10px; align-items: center; padding: 6px 0; font-size: 12.5px; border-bottom: 1px solid var(--line); }
.wf-r.loc { background: rgba(var(--acc2-rgb), .06); border-radius: 8px; padding: 6px 6px; }
.wf-r.tot { border-bottom: 0; border-top: 1px solid var(--line2); font-weight: 700; margin-top: 2px; }
.wf-n { display: flex; align-items: center; min-width: 0; }
.wf-n > span:last-child { min-width: 0; line-height: 1.3; }
.wf-n small { font: 500 10.5px var(--mono); margin-left: 4px; }
.wf-b { position: relative; height: 10px; }
.wf-b::after { content: ""; position: absolute; left: 50%; top: -4px; bottom: -4px; width: 1px; background: rgba(255, 255, 255, .25); }
.wf-b i { position: absolute; top: 0; height: 100%; border-radius: 5px; }
.wf-r.loc .wf-b i { background: var(--accent2) !important; box-shadow: 0 0 8px var(--accent2) !important; }
.wf-r > b { text-align: right; font-size: 12.5px; }
.sens { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.sens summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.sens > div { display: flex; align-items: center; gap: 4px; padding: 4px 0; }


/* ---------- pilih investasi ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 8px; }
.tile2 { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 18px; color: var(--text); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); border: 1px solid var(--line); overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s; }
.tile2::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--c, var(--line2)); box-shadow: 0 0 16px var(--c, transparent); }
.tile2.bullish { --c: var(--up); } .tile2.bearish { --c: var(--down); } .tile2.netral { --c: var(--warn); }
.tile2:hover { text-decoration: none; transform: translateY(-4px); border-color: var(--c, var(--line2)); box-shadow: 0 18px 40px -18px var(--c, rgba(0, 0, 0, .8)); }
.t2-h { display: flex; align-items: center; gap: 4px; }
.t2-h b { font-size: 16px; letter-spacing: -.01em; }
.t2-v { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; }
.t2-v .num { font-size: 12px; }
.t2-w { font-size: 12.5px; color: var(--muted); line-height: 1.45; min-height: 36px; }
.t2-go { font-size: 12px; font-weight: 600; color: var(--accent); margin-top: auto; opacity: .7; transition: opacity .2s; }
.tile2:hover .t2-go { opacity: 1; }

.inv-nav { position: sticky; top: 134px; z-index: 5; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: -8px -28px 16px; padding: 10px 28px 12px; background: linear-gradient(var(--bg) 75%, rgba(4, 6, 11, 0)); }
.inv-nav::-webkit-scrollbar { display: none; }
.inv-nav a { flex: none; display: inline-flex; align-items: center; padding: 6px 13px 6px 6px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(10, 14, 24, .85); color: var(--muted); font-size: 13px; font-weight: 600; }
.inv-nav a:hover { color: #fff; text-decoration: none; border-color: var(--accent); }
.inv-nav a.on { color: #fff; border-color: var(--accent); background: rgba(var(--acc-rgb), .14); box-shadow: 0 0 20px -6px rgba(var(--acc-rgb), .6); }
.inv-head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 22px 24px; margin-bottom: 18px; border-radius: 20px; border: 1px solid var(--line); background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--c, var(--accent)) 16%, transparent), transparent 60%), rgba(255, 255, 255, .02); }
.inv-head.bullish { --c: var(--up); } .inv-head.bearish { --c: var(--down); } .inv-head.netral { --c: var(--warn); }
.ih-l { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ih-l h1 { margin: 0; font-size: 30px; letter-spacing: -.03em; line-height: 1.1; }
.ih-l p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.ih-r { display: flex; align-items: center; gap: 14px; }
.ih-r .bias { font-size: 13px; padding: 8px 14px; }
.ih-score { display: flex; flex-direction: column; align-items: flex-end; }
.ih-score span { font-size: 11px; color: var(--dim); }
.ih-score b { font-size: 22px; }
.ih-nums { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 14px; border-top: 1px solid var(--line); }
.ih-nums > div { display: flex; flex-direction: column; }
.ih-nums span { font-size: 11.5px; color: var(--dim); }
.ih-nums b { font-size: 18px; }
.ih-nums small { font: 500 10.5px var(--mono); color: var(--dim); }
.inv-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.inv-col > .card { margin-bottom: 18px; }
.inv-chart { height: 260px; }
.why-g { display: flex; flex-direction: column; gap: 14px; }
.why-h { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.why-h b { flex: 1; font-size: 13.5px; }
.why-h .bias { font-size: 9px; padding: 3px 6px; }
.why-h .num { font-size: 12px; }
.why-r { display: grid; grid-template-columns: minmax(0, 1fr) 90px 44px; gap: 10px; align-items: center; padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.why-r b { text-align: right; font-size: 11.5px; }
.corr-l { display: flex; flex-direction: column; }
.cr { display: grid; grid-template-columns: 150px minmax(0, 1fr) 58px 58px; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.cr-n { display: flex; align-items: center; font-weight: 600; }
.cr-s { color: var(--muted); line-height: 1.35; }
.cr-v { display: flex; flex-direction: column; align-items: flex-end; }
.cr-v b { font-size: 12.5px; }
.cr-v small { font-size: 10px; color: var(--dim); }
.rel { display: flex; flex-direction: column; }
.rel-r { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(5, minmax(0, 1fr)); gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.rel-r > span:not(:first-child) { text-align: right; font-size: 12px; }
.rel-r.head { font: 600 10px var(--mono); color: var(--dim); text-transform: uppercase; }
.rel-n { display: flex; align-items: center; flex-wrap: wrap; font-weight: 600; }
.rel-n small { width: 100%; padding-left: 24px; font-weight: 400; font-size: 10.5px; color: var(--dim); }

/* ---------- responsif ---------- */
@media (max-width: 1500px) {
  .decide { grid-template-columns: 1fr 1fr; }
  .decide > .card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 1400px) {
  .kpis { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
  .kpi-v { font-size: 20px; }
}
@media (max-width: 1200px) {
  .hero { grid-template-columns: 1fr; }
  .hero-l { border-right: 0; border-bottom: 1px solid var(--line); }
  .cc-row, .grid2, .rot-wrap, .size-wrap, .quad-wrap, .story-grid, .decide, .inv-grid { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .corr-plain { grid-template-columns: 1fr 1fr; }
  .cc-row.even { grid-template-columns: 1fr; }
  .quad-svg { max-width: 380px; margin: 0 auto; }
  .group-bias { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpis { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}
@media (max-width: 900px) {
  :root { --side: 0px; }
  .side { position: sticky; top: 0; inset: auto; width: auto; flex-direction: row; align-items: center; padding: 10px 12px; gap: 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand .sub, .side-foot { display: none; }
  nav#tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; flex: 1; }
  nav#tabs::-webkit-scrollbar { display: none; }
  nav#tabs button { white-space: nowrap; padding: 7px 10px; }
  nav#tabs button.on::before { display: none; }
  .topbar { position: static; }
  .chart-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  main { padding: 14px 16px 30px; }
  .bar { padding: 10px 16px; flex-wrap: wrap; }
  .bar .sub { flex-basis: 100%; order: 3; }
  .card { padding: 14px; }
  .hero-l, .hero-r { padding: 18px 16px; }
  .regime-wrap { flex-direction: column; align-items: flex-start; }
  .kps, .sigs, .mini-sent, .money-line, .ef-cols, .quads { grid-template-columns: 1fr; }
  .sessions { padding: 8px 16px; }
  .qd-row, .qd-all, .helpbox, .corr-plain, .verdict { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile2 { padding: 12px; }
  .t2-w { display: none; }
  .inv-head { grid-template-columns: 1fr; padding: 16px; }
  .ih-l h1 { font-size: 23px; }
  .cr { grid-template-columns: minmax(0, 1fr) 54px; }
  .cr-s, .cr-v:last-child { display: none; }
  .rel-r { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
  .rel-r > span:nth-child(3), .rel-r > span:nth-child(6) { display: none; }
  .why-r { grid-template-columns: minmax(0, 1fr) 40px; }
  .why-r .mb { display: none; }
  .layer { font-size: 19px; scroll-margin-top: 20px; }
  .cz { grid-template-columns: 1fr; gap: 4px; }
  .cz .arr { display: none; }
  .cz .ch { text-align: left; justify-self: start; }
  .dm { grid-template-columns: minmax(0, 1fr) 70px 80px; }
  .dm .track { display: none; }
  .group-bias { grid-template-columns: 1fr 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .cal-row { grid-template-columns: 38px 30px minmax(0, 1fr) 54px 54px; gap: 6px; font-size: 12px; }
  .cal-row .prev, .cal-row .surp, .cal-row .imp, .cal-row.head > span:nth-child(3) { display: none; }
  .flow-row { grid-template-columns: 110px 1fr 54px; }
  .sbar { grid-template-columns: 120px 1fr 44px; }
  .heat-row { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .ev-list .ev { grid-template-columns: 56px 30px minmax(0, 1fr); }
  .ev .fc { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* perbaikan evaluasi */
.cc-row.even { align-items: start; }
.gb-b { font-size: 13.5px; white-space: nowrap; }
.oc-n b { white-space: normal; overflow: visible; line-height: 1.25; }
.oc-h { align-items: flex-start; }
.vd-i span.up { color: var(--up); } .vd-i span.down { color: var(--down); }
.pat-list { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; margin-top: 8px; }
.pat-list .mchip .num { margin-left: 5px; font-size: 11px; }
.pat-why { margin-top: 8px; color: var(--muted); }
.jump { top: 134px; margin: -8px -28px 0; padding: 10px 28px 12px; background: linear-gradient(var(--bg) 75%, rgba(4, 6, 11, 0)); }
@media (max-width: 900px) { .jump, .inv-nav { top: 0; margin: -6px -16px 12px; padding: 10px 16px 12px; } }
.inv-col, .inv-grid > *, .decide > *, .cc-row > * { min-width: 0; }

/* umpan balik hover untuk baris yang punya info */
.ck, .sigp, .rel-r:not(.head), .fx-r:not(.head), .fund, .why-r, .cr, .mc, .ev, .wf-r { transition: background .2s; border-radius: 8px; }
.ck:hover, .sigp:hover, .rel-r:not(.head):hover, .fx-r:not(.head):hover, .fund:hover, .why-r:hover, .cr:hover, .ev:hover, .wf-r:hover { background: rgba(var(--acc-rgb), .06); }
[data-tip], [title] { cursor: help; }
a[data-tip] { cursor: pointer; }
.tip { max-width: 360px; line-height: 1.5; }

.rel-r.me { background: rgba(var(--acc-rgb), .08); border-radius: 8px; }
.rel-r .bias { font-size: 9px; padding: 3px 6px; justify-self: end; }
.group-bias { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important; }

/* =========================================================
   TEMA "EVERGREEN GLASS" — warna pakaiclaude (evergreen + lime neon) di atas kaca buram.
   Latar: foto kota CC0 (StockSnap) diberi duotone hijau & diburamkan.
   ========================================================= */
.bg { background: var(--bg) var(--bg-img) center / cover no-repeat; }
.bg::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 75% 10%, rgba(var(--acc-rgb), .14), transparent 70%), radial-gradient(50% 60% at 10% 90%, rgba(52, 211, 154, .12), transparent 70%), linear-gradient(180deg, rgba(var(--shade-rgb), .05), rgba(var(--shade-rgb), .55)); }
.bg i { display: none; }
.bg::after { opacity: .5; }

/* kaca buram */
.card, .tile2, .kpi, .inv-head, .side, .topbar, .tm, .big-ans, .story-side, .vd, .oc, .learn, .drv, .gb, .ef-col, .ef-next, .cp-col, .quad, .chart-card, .mc {
  backdrop-filter: blur(26px) saturate(1.35); -webkit-backdrop-filter: blur(26px) saturate(1.35);
}
.card, .tile2, .kpi, .inv-head {
  background: linear-gradient(180deg, var(--glass-a), var(--glass-b));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 24px 60px -30px rgba(0, 0, 0, .85);
}
.card:hover { border-color: rgba(var(--acc-rgb), .28); }
.side { background: rgba(var(--shade-rgb), .35); border-right: 1px solid rgba(255, 255, 255, .08); }
.topbar { background: rgba(var(--shade-rgb), .4); }
.jump, .inv-nav { background: linear-gradient(rgba(var(--shade-rgb), .8) 70%, rgba(var(--shade-rgb), 0)); }
.oc, .vd, .gb, .drv, .ef-col, .ef-next, .cp-col, .quad, .chart-card, .mc, .story-side, .big-ans, .learn { background: rgba(255, 255, 255, .045); border-color: rgba(255, 255, 255, .1); }

/* neon lime pakaiclaude */
.grad, .brand .title span { background: linear-gradient(90deg, var(--accent), var(--accent-mid) 60%, var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
nav#tabs button.on { background: linear-gradient(90deg, rgba(var(--acc-rgb), .18), rgba(var(--acc-rgb), .04)); border-color: rgba(var(--acc-rgb), .35); }
nav#tabs button.on::before { background: var(--accent); box-shadow: 0 0 14px var(--accent), 0 0 30px rgba(var(--acc-rgb), .5); }
nav#tabs button.on svg { color: var(--accent); filter: drop-shadow(0 0 6px rgba(var(--acc-rgb), .8)); }
.seg button.on, .inv-nav a.on, .drv.on, .gb.on { background: rgba(var(--acc-rgb), .16) !important; color: #fff; box-shadow: inset 0 0 0 1px rgba(var(--acc-rgb), .55), 0 0 22px -6px rgba(var(--acc-rgb), .7) !important; border-color: rgba(var(--acc-rgb), .55) !important; }
.ghost { background: var(--accent); color: var(--on-accent); border-color: var(--accent); box-shadow: 0 0 22px -4px rgba(var(--acc-rgb), .7); }
.ghost:hover { background: var(--accent-hi); box-shadow: 0 0 30px rgba(var(--acc-rgb), .6); }
h2 .ic { background: rgba(var(--acc-rgb), .12); color: var(--accent); box-shadow: inset 0 0 0 1px rgba(var(--acc-rgb), .25); }
.layer { text-shadow: 0 2px 20px rgba(0, 0, 0, .6); }
.no, .help:hover, .help.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.term { border-bottom-color: rgba(var(--acc-rgb), .7); }
.pts li::before { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
a { color: var(--accent); }
.live::before { box-shadow: 0 0 10px var(--up); }
.tip { background: var(--tip-bg); border-color: rgba(var(--acc-rgb), .3); box-shadow: 0 10px 40px rgba(0, 0, 0, .6), 0 0 30px -10px rgba(var(--acc-rgb), .45); }
.kpi:hover, .tile2:hover { box-shadow: 0 18px 50px -16px rgba(var(--acc-rgb), .35); }
.tile2.bullish { --c: #34d39a; } .tile2.bearish { --c: #ff7a7a; } .tile2.netral { --c: #ffd34d; }
.bias.bullish { background: #34d39a; box-shadow: 0 0 18px rgba(52, 211, 154, .6); }
.bias.bearish { background: #ff7a7a; box-shadow: 0 0 18px rgba(255, 122, 122, .55); }
.hours div { background: linear-gradient(180deg, var(--accent), rgba(52, 211, 154, .35)); box-shadow: 0 0 14px rgba(var(--acc-rgb), .35); }
.ticker { background: rgba(0, 0, 0, .2); }

/* pemilih tema */
.themes-pick { display: flex; gap: 7px; margin-top: 10px; }
.themes-pick button { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); cursor: pointer; padding: 0; transition: transform .15s; }
.themes-pick button:hover { transform: scale(1.2); }
.themes-pick button.on { border-color: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, .6); }

/* ---- lapisan "web3": cahaya warna tema, tepi kartu bergradien, angka neon ---- */
.bg::before {
  background:
    radial-gradient(42% 38% at 82% 8%, rgba(var(--acc-rgb), .30), transparent 70%),
    radial-gradient(40% 45% at 8% 30%, rgba(var(--acc2-rgb), .30), transparent 70%),
    radial-gradient(45% 40% at 60% 95%, rgba(var(--acc3-rgb), .18), transparent 70%),
    linear-gradient(180deg, rgba(var(--shade-rgb), .25), rgba(var(--shade-rgb), .70)) !important;
}
.card, .tile2, .kpi, .inv-head {
  border: 1px solid transparent !important;
  background:
    linear-gradient(180deg, var(--glass-a), var(--glass-b)) padding-box,
    linear-gradient(135deg, rgba(var(--acc-rgb), .55), rgba(255, 255, 255, .07) 38%, rgba(255, 255, 255, .05) 62%, rgba(var(--acc2-rgb), .5)) border-box !important;
}
.card:hover, .tile2:hover, .kpi:hover {
  background:
    linear-gradient(180deg, var(--glass-a), var(--glass-b)) padding-box,
    linear-gradient(135deg, rgba(var(--acc-rgb), .9), rgba(255, 255, 255, .12) 45%, rgba(var(--acc2-rgb), .85)) border-box !important;
}
.kpi-v, .ih-score b, .ih-l h1, .t2-h b {
  background: linear-gradient(90deg, #fff 10%, var(--accent-hi) 55%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent !important; text-shadow: none !important;
}
.ih-score b { background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; }
.layer::after { content: ""; flex: 1 1 60px; height: 1px; align-self: center; background: linear-gradient(90deg, rgba(var(--acc-rgb), .6), rgba(var(--acc2-rgb), .4), transparent); }
.t2-h .lg img, .ih-l .lg img { box-shadow: 0 0 0 2px rgba(var(--acc-rgb), .35), 0 0 18px rgba(var(--acc-rgb), .35); }
.mark { filter: drop-shadow(0 0 12px rgba(var(--acc-rgb), .6)); }
.mark stop:first-child { stop-color: var(--accent); } .mark stop:last-child { stop-color: var(--accent2); }

/* =========================================================
   TEMA "NEBULA" (default) — gaya dashboard crypto: navy-hitam, kartu gelap solid,
   gradien biru listrik → ungu, cahaya ungu di latar, hijau neon naik / pink-merah turun.
   ========================================================= */
:root[data-theme="nebula"] body { font-variant-numeric: tabular-nums; }
:root[data-theme="nebula"] .bg { background: #05060f; }
:root[data-theme="nebula"] .bg::before {
  background:
    radial-gradient(38% 34% at 72% 4%, rgba(124, 74, 255, .38), transparent 70%),
    radial-gradient(30% 40% at 4% 18%, rgba(47, 107, 255, .22), transparent 70%),
    radial-gradient(40% 35% at 50% 100%, rgba(217, 70, 239, .12), transparent 70%) !important;
}
:root[data-theme="nebula"] .bg::after {
  background-image: radial-gradient(rgba(255, 255, 255, .55) .6px, transparent 1px), radial-gradient(rgba(255, 255, 255, .35) .5px, transparent 1px);
  background-size: 140px 140px, 90px 90px; background-position: 0 0, 45px 70px; opacity: .35;
  -webkit-mask-image: linear-gradient(#000, transparent 70%); mask-image: linear-gradient(#000, transparent 70%);
}
:root[data-theme="nebula"] :is(.card, .tile2, .kpi, .inv-head, .side, .topbar, .tm, .big-ans, .story-side, .vd, .oc, .learn, .drv, .gb, .ef-col, .ef-next, .cp-col, .quad, .chart-card, .mc) { backdrop-filter: none; -webkit-backdrop-filter: none; }
:root[data-theme="nebula"] :is(.card, .tile2, .kpi, .inv-head) {
  background: linear-gradient(180deg, #12142d, #0c0e22) !important;
  border: 1px solid rgba(255, 255, 255, .07) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 24px 50px -30px rgba(0, 0, 0, .9);
  border-radius: 20px;
}
:root[data-theme="nebula"] :is(.card, .tile2, .kpi):hover {
  background: linear-gradient(180deg, #15173a, #0d0f26) !important;
  border-color: rgba(124, 92, 255, .45) !important;
  box-shadow: 0 0 0 1px rgba(124, 92, 255, .15), 0 22px 50px -22px rgba(109, 91, 255, .55);
}
:root[data-theme="nebula"] .inv-head { background: radial-gradient(70% 140% at 85% 0%, rgba(124, 74, 255, .35), transparent 60%), linear-gradient(180deg, #12142d, #0c0e22) !important; }
:root[data-theme="nebula"] :is(.oc, .vd, .gb, .drv, .ef-col, .ef-next, .cp-col, .quad, .chart-card, .mc, .story-side, .big-ans, .learn, .sigp, .kp) { background: rgba(255, 255, 255, .025); border-color: rgba(255, 255, 255, .06); }
:root[data-theme="nebula"] .side { background: #070818; border-right: 1px solid rgba(255, 255, 255, .05); }
:root[data-theme="nebula"] .topbar { background: rgba(5, 6, 15, .88); backdrop-filter: blur(12px); }
:root[data-theme="nebula"] :is(.jump, .inv-nav) { background: linear-gradient(rgba(5, 6, 15, .92) 70%, rgba(5, 6, 15, 0)); }
/* menu aktif = pill gradien biru → ungu */
:root[data-theme="nebula"] nav#tabs button.on { color: #fff; background: linear-gradient(90deg, #2f5bff, #7b3dff); border-color: transparent; box-shadow: 0 10px 28px -10px rgba(91, 76, 255, .9); }
:root[data-theme="nebula"] nav#tabs button.on::before { display: none; }
:root[data-theme="nebula"] nav#tabs button.on svg { color: #fff; filter: none; }
:root[data-theme="nebula"] :is(.seg button.on, .inv-nav a.on, .drv.on, .gb.on, .jump a:hover) { background: linear-gradient(90deg, #2f5bff, #7b3dff) !important; color: #fff !important; border-color: transparent !important; box-shadow: 0 8px 22px -8px rgba(91, 76, 255, .85) !important; }
:root[data-theme="nebula"] :is(.jump a, .inv-nav a, .drv, .gb) { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .08); }
/* tombol utama = pill putih */
:root[data-theme="nebula"] .ghost { background: #fff; color: #0b0d22; border-color: #fff; box-shadow: 0 8px 24px -8px rgba(255, 255, 255, .45); }
:root[data-theme="nebula"] .ghost:hover { background: #eceaff; }
:root[data-theme="nebula"] h2 .ic { background: linear-gradient(135deg, rgba(47, 91, 255, .25), rgba(123, 61, 255, .25)); color: #c7bdff; box-shadow: inset 0 0 0 1px rgba(124, 92, 255, .3); }
:root[data-theme="nebula"] :is(.grad, .brand .title span) { background: linear-gradient(90deg, #6f9bff, #a77bff 55%, #e879f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="nebula"] :is(.kpi-v, .t2-h b, .ih-l h1) { background: none; color: #fff !important; }
:root[data-theme="nebula"] .ih-score b { background: linear-gradient(90deg, #6f9bff, #c084fc); -webkit-background-clip: text; background-clip: text; }
:root[data-theme="nebula"] .bias.bullish { background: var(--up); color: #03140c; box-shadow: 0 0 18px rgba(34, 227, 154, .45); }
:root[data-theme="nebula"] .bias.bearish { background: var(--down); color: #1d0309; box-shadow: 0 0 18px rgba(255, 77, 109, .45); }
:root[data-theme="nebula"] .bias.netral { color: var(--warn); background: rgba(255, 197, 61, .1); box-shadow: inset 0 0 0 1px rgba(255, 197, 61, .4); }
:root[data-theme="nebula"] .pill.up { background: rgba(34, 227, 154, .12); } :root[data-theme="nebula"] .pill.down { background: rgba(255, 77, 109, .12); }
:root[data-theme="nebula"] .tile2.bullish { --c: var(--up); } :root[data-theme="nebula"] .tile2.bearish { --c: var(--down); } :root[data-theme="nebula"] .tile2.netral { --c: var(--warn); }
:root[data-theme="nebula"] .pts li::before { background: #8b7bff; box-shadow: 0 0 8px #8b7bff; }
:root[data-theme="nebula"] a { color: #9d8cff; }
:root[data-theme="nebula"] .layer::after { background: linear-gradient(90deg, rgba(124, 92, 255, .55), rgba(47, 107, 255, .3), transparent); }
:root[data-theme="nebula"] .hours div { background: linear-gradient(180deg, #8b5cff, rgba(47, 107, 255, .35)); box-shadow: 0 0 14px rgba(124, 92, 255, .35); }
:root[data-theme="nebula"] .tip { background: rgba(14, 16, 36, .97); border-color: rgba(124, 92, 255, .35); box-shadow: 0 14px 40px rgba(0, 0, 0, .7), 0 0 30px -10px rgba(124, 92, 255, .5); }
:root[data-theme="nebula"] .kpi .area { filter: drop-shadow(0 0 6px rgba(124, 92, 255, .25)); }
:root[data-theme="nebula"] .regime-label.on { color: var(--up); } :root[data-theme="nebula"] .regime-label.off { color: var(--down); } :root[data-theme="nebula"] .regime-label.mid { color: var(--warn); }
:root[data-theme="nebula"] :is(.t2-h .lg img, .ih-l .lg img) { box-shadow: 0 0 0 2px rgba(124, 92, 255, .35), 0 0 22px rgba(124, 92, 255, .45); }

/* ---- banner pembuka (gaya Auro: bola cahaya ungu bercincin) ---- */
.hero-n { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 20px; min-height: 340px; padding: 36px 40px; margin-bottom: 26px; border-radius: 26px; overflow: hidden;
  background: radial-gradient(60% 90% at 78% 40%, rgba(124, 74, 255, .45), transparent 65%), radial-gradient(40% 60% at 100% 0%, rgba(47, 107, 255, .25), transparent 70%), linear-gradient(180deg, #11132c, #0a0b1e);
  border: 1px solid rgba(255, 255, 255, .07); }
.hero-n::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .5) .6px, transparent 1px); background-size: 70px 70px; opacity: .25; -webkit-mask-image: radial-gradient(60% 80% at 75% 40%, #000, transparent); mask-image: radial-gradient(60% 80% at 75% 40%, #000, transparent); }
.hn-l { position: relative; z-index: 1; }
.hn-hi { margin: 0 0 10px; color: #b9adff; font-weight: 600; font-size: 13.5px; }
.hero-n h1 { margin: 0; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.04; letter-spacing: -.04em; font-weight: 800; }
.hn-sub { margin: 14px 0 22px; color: var(--muted); font-size: 15px; max-width: 520px; line-height: 1.55; }
.hn-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hn-btn { display: inline-flex; align-items: center; padding: 11px 20px; border-radius: 999px; background: #fff; color: #0b0d22 !important; font-weight: 700; font-size: 14px; box-shadow: 0 10px 30px -10px rgba(255, 255, 255, .5); transition: transform .2s; }
.hn-btn:hover { text-decoration: none; transform: translateY(-2px); }
.hn-btn.ghost2 { background: rgba(255, 255, 255, .06); color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.hn-r { position: relative; height: 280px; }
.orb { position: absolute; left: 50%; top: 50%; width: 170px; height: 170px; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #c9b8ff 12%, #7b4dff 38%, #3b1fb0 70%, #1a0f55 100%);
  box-shadow: 0 0 60px rgba(124, 74, 255, .8), 0 0 140px rgba(124, 74, 255, .5), inset -14px -20px 40px rgba(10, 4, 40, .65); }
.orb i { position: absolute; inset: -34px; border-radius: 50%; border: 1.5px solid rgba(185, 160, 255, .5); transform: rotateX(70deg); box-shadow: 0 0 22px rgba(124, 74, 255, .6); animation: ring 9s linear infinite; }
.orb i:nth-child(2) { inset: -62px; border-color: rgba(120, 150, 255, .35); animation-duration: 14s; animation-direction: reverse; }
.orb i:nth-child(3) { inset: -10px; border: 0; transform: none; background: radial-gradient(circle, transparent 58%, rgba(255, 255, 255, .25) 60%, transparent 64%); box-shadow: none; animation: pulseo 3.2s ease-in-out infinite; }
.orb-mark { position: absolute; left: 50%; top: 50%; width: 64px; transform: translate(-50%, -50%); filter: drop-shadow(0 2px 8px rgba(30, 10, 90, .8)); }
@keyframes ring { to { transform: rotateX(70deg) rotateZ(360deg); } }
@keyframes pulseo { 50% { transform: scale(1.08); opacity: .5; } }
.chipf { position: absolute; inset: 0; }
.cf { position: absolute; display: flex; flex-direction: column; padding: 9px 14px; border-radius: 14px; background: rgba(14, 16, 38, .78); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .8); animation: floaty 6s ease-in-out infinite; }
.cf span { font-size: 11px; color: var(--muted); } .cf b { font-size: 15px; }
.cf.up b { color: var(--up); } .cf.down b { color: var(--down); } .cf.warn b { color: var(--warn); } .cf.info b { color: #b9adff; }
.cf0 { left: 2%; top: 8%; } .cf1 { right: 0; top: 4%; animation-delay: -1.5s; } .cf2 { left: 0; bottom: 6%; animation-delay: -3s; } .cf3 { right: 4%; bottom: 10%; animation-delay: -4.5s; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
.tab { scroll-margin-top: 200px; }
@media (max-width: 900px) { .hero-n { grid-template-columns: 1fr; padding: 26px 20px; } .hn-r { height: 240px; } }
@media (max-width: 700px) { .orb { width: 120px; height: 120px; } .orb-mark { width: 46px; } .cf { padding: 7px 10px; } .cf b { font-size: 13px; } }

/* =========================================================
   TEMA "NOIR" (default) — hitam elegan ala Auro: monokrom putih/abu di atas hitam,
   panel kaca abu tipis, warna hanya untuk makna (hijau naik, merah turun, kuning waspada)
   dan ungu hanya di banner pembuka.
   ========================================================= */
:root[data-theme="noir"] body { font-variant-numeric: tabular-nums; letter-spacing: -.005em; }
:root[data-theme="noir"] .bg { background: #0a0a0c; }
:root[data-theme="noir"] .bg::before { background: radial-gradient(40% 30% at 70% 0%, rgba(139, 92, 246, .10), transparent 70%) !important; }
:root[data-theme="noir"] .bg::after { display: none; }
/* panel: kaca abu tipis, tanpa glow */
:root[data-theme="noir"] :is(.card, .tile2, .kpi, .inv-head) {
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .02)) !important;
  border: 1px solid rgba(255, 255, 255, .07) !important; border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
:root[data-theme="noir"] :is(.card, .tile2, .kpi):hover { background: linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .03)) !important; border-color: rgba(255, 255, 255, .16) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); transform: none; }
:root[data-theme="noir"] :is(.tile2, .kpi):hover { transform: translateY(-2px); }
:root[data-theme="noir"] :is(.oc, .vd, .gb, .drv, .ef-col, .ef-next, .cp-col, .quad, .chart-card, .mc, .story-side, .big-ans, .learn, .sigp, .kp, .attr-sum, .pattern, .ef-status, .liq) { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .06); box-shadow: none; backdrop-filter: none; }
:root[data-theme="noir"] .inv-head { background: radial-gradient(60% 120% at 90% 0%, rgba(139, 92, 246, .14), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .02)) !important; }
:root[data-theme="noir"] .side { background: #0d0d10; border-right: 1px solid rgba(255, 255, 255, .05); backdrop-filter: none; }
:root[data-theme="noir"] .topbar { background: rgba(10, 10, 12, .85); backdrop-filter: blur(14px); border-bottom-color: rgba(255, 255, 255, .05); }
:root[data-theme="noir"] :is(.jump, .inv-nav) { background: linear-gradient(rgba(10, 10, 12, .94) 70%, rgba(10, 10, 12, 0)); }
:root[data-theme="noir"] .ticker { background: transparent; }
/* navigasi: pill abu halus */
:root[data-theme="noir"] nav#tabs button { font-weight: 450; }
:root[data-theme="noir"] nav#tabs button.on { color: #fff; background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .06); box-shadow: none; font-weight: 600; }
:root[data-theme="noir"] nav#tabs button.on::before { display: none; }
:root[data-theme="noir"] nav#tabs button.on svg { color: #fff; filter: none; }
:root[data-theme="noir"] :is(.seg button.on, .inv-nav a.on, .drv.on, .gb.on) { background: rgba(255, 255, 255, .12) !important; color: #fff !important; border-color: rgba(255, 255, 255, .18) !important; box-shadow: none !important; }
:root[data-theme="noir"] :is(.jump a, .inv-nav a, .drv, .gb, .seg) { background: rgba(255, 255, 255, .035); border-color: rgba(255, 255, 255, .07); }
:root[data-theme="noir"] .jump a:hover { background: rgba(255, 255, 255, .09) !important; color: #fff; border-color: rgba(255, 255, 255, .15) !important; }
/* tombol & ikon */
:root[data-theme="noir"] .ghost { background: #fff; color: #0b0b0d; border-color: #fff; box-shadow: none; }
:root[data-theme="noir"] .ghost:hover { background: #e6e6ea; box-shadow: none; }
:root[data-theme="noir"] h2 .ic { background: rgba(255, 255, 255, .06); color: #d9d9de; box-shadow: none; }
:root[data-theme="noir"] .help { background: transparent; }
:root[data-theme="noir"] :is(.help:hover, .help.on) { background: #fff; color: #0b0b0d; border-color: #fff; box-shadow: none; }
/* tipografi: lebih ringan & elegan */
:root[data-theme="noir"] :is(.grad, .brand .title span) { background: linear-gradient(90deg, #ffffff, #b8b0d6); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="noir"] :is(.kpi-v, .t2-h b, .ih-l h1, .ih-score b) { background: none; color: #fff !important; }
:root[data-theme="noir"] :is(.kpi-v, .ih-nums b, .tm-v) { font-weight: 600; }
:root[data-theme="noir"] .layer { font-weight: 600; }
:root[data-theme="noir"] .layer::after { background: linear-gradient(90deg, rgba(255, 255, 255, .14), transparent); }
:root[data-theme="noir"] h2 { font-weight: 600; }
:root[data-theme="noir"] .pts li::before { background: #8a8a96; box-shadow: none; }
:root[data-theme="noir"] a { color: #e6e6ea; }
:root[data-theme="noir"] a:hover { color: #fff; }
:root[data-theme="noir"] .term { border-bottom-color: rgba(255, 255, 255, .45); }
/* warna hanya untuk makna: label naik/turun = teks berwarna + latar tipis */
:root[data-theme="noir"] .bias { font-family: var(--display); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 11.5px; box-shadow: none !important; border-radius: 999px; }
:root[data-theme="noir"] .bias.bullish { color: var(--up); background: rgba(61, 220, 132, .1); box-shadow: inset 0 0 0 1px rgba(61, 220, 132, .3) !important; }
:root[data-theme="noir"] .bias.bearish { color: var(--down); background: rgba(255, 90, 95, .1); box-shadow: inset 0 0 0 1px rgba(255, 90, 95, .3) !important; }
:root[data-theme="noir"] .bias.netral { color: var(--warn); background: rgba(245, 196, 81, .08); box-shadow: inset 0 0 0 1px rgba(245, 196, 81, .28) !important; }
:root[data-theme="noir"] :is(.pill.up) { background: rgba(61, 220, 132, .1); } :root[data-theme="noir"] .pill.down { background: rgba(255, 90, 95, .1); }
:root[data-theme="noir"] .tile2::before { height: 2px; box-shadow: none; }
:root[data-theme="noir"] .tile2.bullish { --c: var(--up); } :root[data-theme="noir"] .tile2.bearish { --c: var(--down); } :root[data-theme="noir"] .tile2.netral { --c: var(--warn); }
:root[data-theme="noir"] :is(.t2-h .lg img, .ih-l .lg img) { box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
:root[data-theme="noir"] .mark { filter: none; }
:root[data-theme="noir"] .hours div { background: linear-gradient(180deg, #d9d9de, rgba(255, 255, 255, .15)); box-shadow: none; }
:root[data-theme="noir"] .tip { background: rgba(22, 22, 26, .96); border-color: rgba(255, 255, 255, .12); box-shadow: 0 14px 40px rgba(0, 0, 0, .7); }
:root[data-theme="noir"] .live::before { box-shadow: none; }
:root[data-theme="noir"] .sigp.p .d, :root[data-theme="noir"] .sigp.n .d { box-shadow: none; }
:root[data-theme="noir"] .ck-track i.now { box-shadow: 0 0 0 3px rgba(255, 255, 255, .15); }
:root[data-theme="noir"] .kp::before { box-shadow: none; }
/* banner: satu-satunya tempat ungu menyala */
:root[data-theme="noir"] .hero-n { background: radial-gradient(55% 90% at 76% 45%, rgba(139, 92, 246, .38), transparent 65%), linear-gradient(180deg, #121215, #0c0c0f); border-color: rgba(255, 255, 255, .07); }
:root[data-theme="noir"] .hn-hi { color: #b8b0d6; }
:root[data-theme="noir"] .cf { background: rgba(20, 20, 24, .75); }
:root[data-theme="noir"] .cf.info b { color: #e6e6ea; }

/* ---- Noir v2: hitam pekat & lebih tenang ---- */
:root[data-theme="noir"] body, :root[data-theme="noir"] html { background: #000; }
:root[data-theme="noir"] .bg { background: #000; }
:root[data-theme="noir"] .bg::before { background: radial-gradient(35% 25% at 72% 0%, rgba(139, 92, 246, .07), transparent 70%) !important; }
:root[data-theme="noir"] :is(.card, .tile2, .kpi, .inv-head) { background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .015)) !important; border-color: rgba(255, 255, 255, .06) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035); }
:root[data-theme="noir"] :is(.card, .tile2, .kpi):hover { background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)) !important; border-color: rgba(255, 255, 255, .14) !important; }
:root[data-theme="noir"] .side { background: #000; border-right-color: rgba(255, 255, 255, .06); }
:root[data-theme="noir"] .topbar { background: rgba(0, 0, 0, .82); border-bottom-color: rgba(255, 255, 255, .06); }
:root[data-theme="noir"] :is(.jump, .inv-nav) { background: linear-gradient(rgba(0, 0, 0, .95) 70%, rgba(0, 0, 0, 0)); }
:root[data-theme="noir"] .inv-head { background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .015)) !important; }
:root[data-theme="noir"] .hero-n { background: radial-gradient(50% 85% at 76% 45%, rgba(139, 92, 246, .32), transparent 65%), #050505; border-color: rgba(255, 255, 255, .06); }
:root[data-theme="noir"] .hn-hi { color: #a1a1a1; font-weight: 500; }
:root[data-theme="noir"] .hero-n h1 { font-weight: 600; letter-spacing: -.045em; }
:root[data-theme="noir"] .hero-n::after { opacity: .15; }
:root[data-theme="noir"] .cf { background: rgba(10, 10, 10, .8); border-color: rgba(255, 255, 255, .08); }
:root[data-theme="noir"] .cf.warn b, :root[data-theme="noir"] .cf.info b { color: #ededed; }
/* netral = abu; tanpa garis warna untuk yang belum jelas */
:root[data-theme="noir"] .tile2.netral::before { display: none; }
:root[data-theme="noir"] .tile2::before { height: 1.5px; opacity: .85; }
:root[data-theme="noir"] .bias.netral { color: #b5b5b5; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14) !important; }
:root[data-theme="noir"] .bias.bullish { background: rgba(var(--up-rgb), .09); box-shadow: inset 0 0 0 1px rgba(var(--up-rgb), .28) !important; }
:root[data-theme="noir"] .bias.bearish { background: rgba(var(--down-rgb), .09); box-shadow: inset 0 0 0 1px rgba(var(--down-rgb), .28) !important; }
:root[data-theme="noir"] :is(.drv em) { background: #ededed; color: #000; box-shadow: none; }
:root[data-theme="noir"] :is(.cty, .item .s) { color: #a1a1a1; background: rgba(255, 255, 255, .05); }
:root[data-theme="noir"] .item .chain { color: #bdbdbd; }
:root[data-theme="noir"] .wf-r.loc .wf-b i { background: #8a8a8a !important; box-shadow: none !important; }
:root[data-theme="noir"] .wf-r.loc { background: rgba(255, 255, 255, .035); }
:root[data-theme="noir"] :is(.mb i.p, .wf-b i.p, .oc.bullish .oc-bar i) { box-shadow: none; }
:root[data-theme="noir"] :is(.mb i.n, .wf-b i.n, .oc.bearish .oc-bar i) { box-shadow: none; }
:root[data-theme="noir"] .oc.netral .oc-bar i { background: #8a8a8a; }
:root[data-theme="noir"] :is(.ch) { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
:root[data-theme="noir"] .ch:first-child { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .2); }
:root[data-theme="noir"] .arr { color: #8a8a8a; text-shadow: none; }
:root[data-theme="noir"] :is(.ef-next, .liq) { border-top-color: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .06); }
:root[data-theme="noir"] :is(.ef-next .ef-h, .liq-h, .ss-h, .ml-h) { color: #a1a1a1; }
:root[data-theme="noir"] .imp { color: #a1a1a1; }
:root[data-theme="noir"] .cal-day h4 { color: #ededed; } :root[data-theme="noir"] .cal-day h4.today { color: #fff; text-shadow: none; }
:root[data-theme="noir"] .ev .when { color: #ededed; }
:root[data-theme="noir"] :is(h2 .ic) { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: #bdbdbd; }
:root[data-theme="noir"] h2 { font-weight: 550; letter-spacing: -.015em; }
:root[data-theme="noir"] .layer { font-weight: 550; letter-spacing: -.03em; }
:root[data-theme="noir"] .layer small { color: #6b6b6b; }
:root[data-theme="noir"] .st-i { background: rgba(255, 255, 255, .05) !important; color: #bdbdbd !important; box-shadow: none !important; }
:root[data-theme="noir"] .st.up .st-i { color: var(--up) !important; } :root[data-theme="noir"] .st.down .st-i { color: var(--down) !important; }
:root[data-theme="noir"] .kp::before { opacity: .8; }
:root[data-theme="noir"] .kp.warn, :root[data-theme="noir"] .kp.info { --c: #8a8a8a; }
:root[data-theme="noir"] .kp .tag { color: #a1a1a1; }
:root[data-theme="noir"] .sigp.n .d { background: var(--down); } :root[data-theme="noir"] .sigp.p .d { background: var(--up); }
:root[data-theme="noir"] .gb.netral .gb-b, :root[data-theme="noir"] .vd.netral .vd-h { color: #bdbdbd; }
:root[data-theme="noir"] .vd.netral { border-top-color: #6b6b6b; }
:root[data-theme="noir"] .rk { color: #d4d4d4; } :root[data-theme="noir"] .rk i { color: rgba(255, 255, 255, .12); }
:root[data-theme="noir"] .regime-label.mid { color: #ededed; }
:root[data-theme="noir"] :is(.ih-l h1, .t2-h b) { font-weight: 600; letter-spacing: -.035em; }
:root[data-theme="noir"] .brand .title { font-weight: 650; }
:root[data-theme="noir"] .brand .title span { background: none; color: #8a8a8a; -webkit-text-fill-color: #8a8a8a; }
:root[data-theme="noir"] .mark path, :root[data-theme="noir"] .mark circle { stroke: #ededed; }
:root[data-theme="noir"] .mark circle:last-child { fill: #ededed; stroke: none; }
:root[data-theme="noir"] .ses.open { background: rgba(var(--up-rgb), .06); border-color: rgba(var(--up-rgb), .25); }
:root[data-theme="noir"] .live { color: #ededed; }

/* ---- Noir v3: kaca yang benar-benar terlihat ----
   Kaca butuh sesuatu di belakangnya: cahaya lembut bergerak pelan di latar hitam,
   kartu buram (blur + saturasi), tepi bergradien terang→gelap, kilau di sisi atas. */
:root[data-theme="noir"] .bg i { display: block; position: absolute; border-radius: 50%; filter: blur(70px); opacity: 1; margin: 0; background: none; }
:root[data-theme="noir"] .bg i:nth-child(1) { width: 46vw; height: 46vw; left: 48%; top: -14vw; background: radial-gradient(circle, rgba(139, 92, 246, .30), transparent 65%); animation: mb1 30s ease-in-out infinite alternate; }
:root[data-theme="noir"] .bg i:nth-child(2) { width: 40vw; height: 40vw; left: -8vw; top: 30vh; background: radial-gradient(circle, rgba(255, 255, 255, .13), transparent 65%); animation: mb2 36s ease-in-out infinite alternate; }
:root[data-theme="noir"] .bg i:nth-child(3) { width: 38vw; height: 38vw; left: 62%; top: 62vh; background: radial-gradient(circle, rgba(63, 207, 142, .10), transparent 65%); animation: mb3 40s ease-in-out infinite alternate; }
:root[data-theme="noir"] .bg i:nth-child(4) { width: 34vw; height: 34vw; left: 25%; top: 85vh; background: radial-gradient(circle, rgba(240, 97, 109, .08), transparent 65%); animation: mb4 34s ease-in-out infinite alternate; }

:root[data-theme="noir"] :is(.card, .tile2, .kpi, .inv-head) {
  position: relative;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .035) 40%, rgba(255, 255, 255, .02)) padding-box,
    linear-gradient(160deg, rgba(255, 255, 255, .32), rgba(255, 255, 255, .06) 35%, rgba(255, 255, 255, .03) 65%, rgba(255, 255, 255, .14)) border-box !important;
  border: 1px solid transparent !important;
  backdrop-filter: blur(28px) saturate(1.6) brightness(1.05); -webkit-backdrop-filter: blur(28px) saturate(1.6) brightness(1.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 0 40px rgba(255, 255, 255, .02), 0 30px 60px -30px rgba(0, 0, 0, .9) !important;
}
/* kilau miring tipis di pojok kiri atas */
:root[data-theme="noir"] :is(.card, .tile2, .kpi, .inv-head)::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, .07), transparent 28%);
}
:root[data-theme="noir"] :is(.card, .tile2, .kpi):hover {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05) 40%, rgba(255, 255, 255, .025)) padding-box,
    linear-gradient(160deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .1) 35%, rgba(255, 255, 255, .05) 65%, rgba(255, 255, 255, .22)) border-box !important;
}
/* elemen di dalam kartu: kaca kedua yang lebih tipis */
:root[data-theme="noir"] :is(.oc, .vd, .gb, .drv, .ef-col, .ef-next, .cp-col, .quad, .chart-card, .mc, .story-side, .big-ans, .learn, .sigp, .attr-sum, .pattern, .ef-status, .liq, .cf) {
  background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border-color: rgba(255, 255, 255, .09); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
:root[data-theme="noir"] .side { background: rgba(0, 0, 0, .55); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
:root[data-theme="noir"] .topbar { background: rgba(0, 0, 0, .5); backdrop-filter: blur(24px) saturate(1.4); }
:root[data-theme="noir"] .hero-n { background: radial-gradient(50% 85% at 76% 45%, rgba(139, 92, 246, .32), transparent 65%), linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015)); backdrop-filter: blur(20px); border-color: rgba(255, 255, 255, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }
:root[data-theme="noir"] :is(.jump a, .inv-nav a, .seg) { background: rgba(255, 255, 255, .05); backdrop-filter: blur(12px); border-color: rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
:root[data-theme="noir"] :is(.jump, .inv-nav) { background: linear-gradient(rgba(0, 0, 0, .6) 70%, rgba(0, 0, 0, 0)); }
/* performa: cahaya latar sudah lembut dari gradien → tanpa filter blur; blur kartu sedikit lebih ringan */
:root[data-theme="noir"] .bg i { filter: none; will-change: transform; }
:root[data-theme="noir"] :is(.card, .tile2, .kpi, .inv-head) { backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); }
:root[data-theme="noir"] :is(.jump a, .inv-nav a, .seg) { backdrop-filter: none; }

/* ---- Noir v4: kaca elegan, halus — tanpa kilau berlebihan ---- */
:root[data-theme="noir"] .bg i:nth-child(1) { background: radial-gradient(circle, rgba(139, 92, 246, .14), transparent 65%); }
:root[data-theme="noir"] .bg i:nth-child(2) { background: radial-gradient(circle, rgba(255, 255, 255, .06), transparent 65%); }
:root[data-theme="noir"] .bg i:nth-child(3) { background: radial-gradient(circle, rgba(63, 207, 142, .05), transparent 65%); }
:root[data-theme="noir"] .bg i:nth-child(4) { background: radial-gradient(circle, rgba(240, 97, 109, .04), transparent 65%); }
:root[data-theme="noir"] :is(.card, .tile2, .kpi, .inv-head) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .02)) padding-box,
    linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05) 40%, rgba(255, 255, 255, .04)) border-box !important;
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 40px -28px rgba(0, 0, 0, .9) !important;
}
:root[data-theme="noir"] :is(.card, .tile2, .kpi, .inv-head)::after { display: none; }
:root[data-theme="noir"] :is(.card, .tile2, .kpi):hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025)) padding-box,
    linear-gradient(180deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .08) 40%, rgba(255, 255, 255, .06)) border-box !important;
}
:root[data-theme="noir"] :is(.oc, .vd, .gb, .drv, .ef-col, .ef-next, .cp-col, .quad, .chart-card, .mc, .story-side, .big-ans, .learn, .sigp, .attr-sum, .pattern, .ef-status, .liq, .cf) { background: rgba(255, 255, 255, .025); border-color: rgba(255, 255, 255, .06); box-shadow: none; }
:root[data-theme="noir"] :is(.jump a, .inv-nav a, .seg) { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .08); box-shadow: none; }
#rotHint, #condHint { display: none; }
.brand .title { font-size: 15px; line-height: 1.15; }
.brand .sub { font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.run-log { display: none; }

/* ---- Noir v5: kartu "kaca gelap buram" (pilihan #2) ----
   Isi gelap transparan + blur, garis tepi tipis, tanpa gradien di tepi/isi. Latar: hitam + cahaya samar. */
:root[data-theme="noir"] :is(.card, .tile2, .kpi, .inv-head) {
  background: rgba(16, 16, 18, .55) !important;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3);
  box-shadow: none !important;
}
:root[data-theme="noir"] :is(.card, .tile2, .kpi):hover { background: rgba(22, 22, 26, .6) !important; border-color: rgba(255, 255, 255, .14) !important; }
:root[data-theme="noir"] :is(.card, .tile2, .kpi, .inv-head)::after { display: none; }
:root[data-theme="noir"] .inv-head { background: rgba(16, 16, 18, .55) !important; }
:root[data-theme="noir"] :is(.oc, .vd, .gb, .drv, .ef-col, .ef-next, .cp-col, .quad, .chart-card, .mc, .story-side, .big-ans, .learn, .sigp, .attr-sum, .pattern, .ef-status, .liq, .cf) {
  background: rgba(255, 255, 255, .025); border-color: rgba(255, 255, 255, .06); box-shadow: none;
}
/* tepi kaca tebal (bevel): garis luar terang, kilau atas, bayangan bawah, garis dalam kedua */
:root[data-theme="noir"] :is(.card, .tile2, .kpi, .inv-head) {
  border: 1px solid rgba(255, 255, 255, .17) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 -1px 0 rgba(0, 0, 0, .55),
    inset 0 0 0 1px rgba(255, 255, 255, .035),
    inset 0 0 0 4px rgba(255, 255, 255, .012),
    0 0 0 1px rgba(0, 0, 0, .7),
    0 18px 40px -24px rgba(0, 0, 0, .95) !important;
}
:root[data-theme="noir"] :is(.card, .tile2, .kpi):hover {
  border-color: rgba(255, 255, 255, .28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .24),
    inset 0 -1px 0 rgba(0, 0, 0, .55),
    inset 0 0 0 1px rgba(255, 255, 255, .05),
    inset 0 0 0 4px rgba(255, 255, 255, .018),
    0 0 0 1px rgba(0, 0, 0, .7),
    0 22px 46px -24px rgba(0, 0, 0, .95) !important;
}
:root[data-theme="noir"] .tile2::before { left: 14px; right: 14px; top: 0; height: 1.5px; border-radius: 2px; }

/* ---- tekstur latar: grid halus memudar + grain ---- */
:root[data-theme="noir"] .bg::after {
  display: block; content: ""; position: absolute; inset: 0; opacity: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 55% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 55% 0%, #000 20%, transparent 75%);
}
:root[data-theme="noir"] body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root[data-theme="noir"] .bg i:nth-child(1) { background: radial-gradient(circle, rgba(59, 130, 246, .12), transparent 65%); }

/* ---- dunia di tengah, instrumen kiri-kanan ---- */
.world { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr); grid-template-rows: repeat(4, minmax(0, auto)); gap: 12px 16px; align-items: stretch; margin-bottom: 8px; }
.world .tiles { display: contents; }
.world .globe { grid-column: 2; grid-row: 1 / 5; position: relative; min-height: 560px; }
.world .globe canvas { position: absolute; inset: 0; }
.world .tile2 { padding: 13px 15px; gap: 6px; }
.world .tile2:nth-child(-n+4) { grid-column: 1; }
.world .tile2:nth-child(n+5) { grid-column: 3; }
.world .tile2:nth-child(1), .world .tile2:nth-child(5) { grid-row: 1; }
.world .tile2:nth-child(2), .world .tile2:nth-child(6) { grid-row: 2; }
.world .tile2:nth-child(3), .world .tile2:nth-child(7) { grid-row: 3; }
.world .tile2:nth-child(4), .world .tile2:nth-child(8) { grid-row: 4; }
.world .t2-w { min-height: 0; font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.world .t2-go { display: none; }
.world .t2-h b { font-size: 15px; }
@media (max-width: 1200px) {
  .world { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .world .globe { grid-column: 1 / -1; grid-row: 1; min-height: 420px; }
  .world .tile2:nth-child(n) { grid-column: auto; grid-row: auto; }
}
@media (max-width: 700px) { .world .globe { min-height: 320px; } }

:root[data-theme="noir"] .bg::after {
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 60% 25%, #000 25%, transparent 80%);
  mask-image: radial-gradient(ellipse 85% 75% at 60% 25%, #000 25%, transparent 80%);
}
/* latar hitam di <html>, body transparan supaya grid & grain (.bg, z-index -1) terlihat */
:root[data-theme="noir"] { background: #000; }
:root[data-theme="noir"] body { background: transparent; }

/* ---- performa ----
   Cahaya latar diam (kalau bergerak, blur di semua kartu dihitung ulang tiap frame),
   blur kartu lebih ringan, dan kartu diisolasi supaya repaint tidak merembet. */
:root[data-theme="noir"] .bg i { animation: none !important; will-change: auto; }
:root[data-theme="noir"] :is(.card, .tile2, .kpi, .inv-head) { backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2); contain: paint; }
:root[data-theme="noir"] :is(.side, .topbar) { backdrop-filter: none; -webkit-backdrop-filter: none; }
:root[data-theme="noir"] .side { background: #000; }
:root[data-theme="noir"] .topbar { background: rgba(0, 0, 0, .92); }
.ticker-track { will-change: transform; }

/* ---- sidebar = laci tersembunyi ---- */
:root { --side: 0px; }
.shell { margin-left: 0; }
.side { position: fixed !important; inset: 0 auto 0 0 !important; width: 248px !important; flex-direction: column !important; align-items: stretch !important; padding: 22px 14px !important; gap: 18px !important; z-index: 60; transform: translateX(-102%); transition: transform .28s cubic-bezier(.2, .7, .2, 1); border-right: 1px solid rgba(255, 255, 255, .08) !important; border-bottom: 0 !important; background: #050505 !important; }
.side nav#tabs { flex-direction: column !important; overflow: visible !important; }
.side .brand .sub, .side .side-foot { display: block !important; }
body.nav-open .side { transform: none; box-shadow: 30px 0 60px rgba(0, 0, 0, .6); }
.nav-shade { position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: opacity .25s; }
body.nav-open .nav-shade { opacity: 1; pointer-events: auto; }
.nav-toggle { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); color: #ededed; cursor: pointer; transition: background .2s, border-color .2s; }
.nav-toggle:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .22); }
.nav-toggle svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; }
.bar h1 { flex: 1; }
.topbar { position: sticky !important; top: 0; }
