/* v16.61 · Journal Detail Cinematic — hanya gaya. Dipakai panel detail (.jd-panel.jc) dari journal-ux.js. */
:root { --jc-ink: rgba(255,255,255,.92); --jc-mu: rgba(235,235,245,.58); --jc-ln: rgba(255,255,255,.09); --jc-surf: rgba(255,255,255,.045); --jc-surf2: rgba(255,255,255,.075); }
body.light { --jc-ink: #1f1f23; --jc-mu: rgba(60,60,67,.66); --jc-ln: rgba(0,0,0,.1); --jc-surf: rgba(0,0,0,.035); --jc-surf2: rgba(0,0,0,.06); }

/* ---- header: ringkasan hasil editorial ---- */
@media (min-width: 721px) { .jd-panel.jc { width: min(620px, 100vw); } }
.jd-panel.jc .jd-head { padding-bottom: 20px; background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--jd-tone) 20%, transparent), transparent 62%); }
.jd-panel.jc .jd-title { align-items: flex-end; gap: 8px 16px; margin-top: 4px; }
.jd-panel.jc .jd-title h3 { font-size: 15px; font-weight: 700; letter-spacing: .01em; }
.jd-panel.jc .jd-title small { font-size: 13px; }
.jd-panel.jc .jd-pl { font-size: clamp(34px, 9vw, 52px); font-weight: 600; letter-spacing: -.045em; line-height: 1; text-shadow: 0 0 34px color-mix(in srgb, var(--jd-tone) 38%, transparent); }
body.light .jd-panel.jc .jd-pl { text-shadow: none; }
body.light .jd-panel.jc.pos .jd-pl { color: #0f766e; } body.light .jd-panel.jc.neg .jd-pl { color: #b83526; } body.light .jd-panel.jc.zero .jd-pl { color: #8a6a10; }
.jd-panel.jc .jd-meta { max-height: 120px; overflow: hidden; transition: max-height .25s ease, opacity .2s ease, margin-top .25s ease; }
.jd-panel.jc .jd-pl { transition: font-size .25s ease; }
.jd-panel.jc .jd-head { transition: padding-bottom .25s ease; }
.jd-panel.jc.jc-compact .jd-meta { max-height: 0; opacity: 0; margin-top: 0; }
.jd-panel.jc.jc-compact .jd-pl { font-size: 28px; }
.jd-panel.jc.jc-compact .jd-head { padding-bottom: 12px; }
.jd-panel.jc .jd-body { padding: 16px 20px 24px; scroll-behavior: smooth; }

/* ---- baris metrik ---- */
.jc-wrap > * + * { margin-top: 16px; }
.jc-kpis { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); border: 1px solid var(--jc-ln); border-radius: 16px; background: var(--jc-surf); overflow: hidden; }
.jc-k { padding: 12px 12px 12px; min-width: 0; }
.jc-k + .jc-k { border-left: 1px solid var(--jc-ln); }
.jc-k small { display: block; font-size: 12px; letter-spacing: 0; text-transform:none; font-weight: 600; color: var(--jc-mu); }
.jc-k b { display: block; margin-top: 4px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.jc-k b.pos { color: #2dd4bf; } .jc-k b.neg { color: #ff7a68; }
body.light .jc-k b.pos { color: #0f766e; } body.light .jc-k b.neg { color: #b83526; }
.jc-stars { color: #fbbf24; letter-spacing: .01em; font-size: 15px; white-space: nowrap; }
body.light .jc-stars { color: #d49300; }
@media (max-width: 420px) { .jc-kpis.jc-n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .jc-n4 .jc-k:nth-child(odd) { border-left: 0; } .jc-n4 .jc-k:nth-child(n+3) { border-top: 1px solid var(--jc-ln); } }

/* ---- screenshot sebagai fokus visual ---- */
.jc-hero { margin-inline: 0; margin-bottom: 0; }
.jc-shot { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 1px solid var(--jc-ln); border-radius: 20px; overflow: hidden; background: #0b0c0e; cursor: zoom-in; color: #fff; isolation: isolate; box-shadow: 0 26px 46px -28px rgba(0,0,0,.85); -webkit-tap-highlight-color: transparent; }
.jc-shot:focus-visible, .jc-thumb:focus-visible, .jc-sh:focus-visible { outline: 2px solid #d7b44a; outline-offset: 2px; }
.jc-bg { position: absolute; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px); object-fit: cover; filter: blur(26px) saturate(1.25) brightness(.5); transform: scale(1.05); z-index: -2; pointer-events: none; }
.jc-img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 0 !important; }
.jc-shot::after { content: ''; position: absolute; inset: auto 0 0 0; height: 46%; background: linear-gradient(to top, rgba(0,0,0,.72), transparent); pointer-events: none; z-index: 1; }
.jc-cap { position: absolute; left: 14px; right: 14px; bottom: 11px; z-index: 2; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 12px; pointer-events: none; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.jc-cap b { font-weight: 700; letter-spacing: .02em; }
.jc-cap em { font-style: normal; font-variant-numeric: tabular-nums; opacity: .85; }
.jc-hint { position: absolute; top: 10px; right: 10px; z-index: 2; padding: 4px 12px; border-radius: 999px; font-size: 12px; background: rgba(0,0,0,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.jc-shot:hover .jc-hint, .jc-shot:focus-visible .jc-hint { opacity: 1; }
@media (hover: none) { .jc-hint { opacity: .85; } }
.jc-thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.jc-thumbs::-webkit-scrollbar { display: none; }
.jc-thumb { flex: 0 0 auto; width: 72px; height: 48px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--jc-surf2); cursor: pointer; opacity: .6; transition: opacity .2s ease, border-color .2s ease, transform .2s ease; }
.jc-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.jc-thumb:hover { opacity: .9; }
.jc-thumb.on { opacity: 1; border-color: var(--jd-tone, #C8A96A); }
.jc-hero.jc-broken .jc-shot, .jc-hero.jc-broken .jc-thumbs { display: none; }
.jc-noshot { display: flex; align-items: center; gap: 12px; padding: 16px 16px; border: 1px dashed var(--jc-ln); border-radius: 16px; font-size: 13px; color: var(--jc-mu); }
.jc-noshot span { font-size: 17px; opacity: .6; }

/* ---- bagian bernomor yang bisa dibuka-tutup ---- */
.jc-sec { border: 1px solid var(--jc-ln); border-radius: 20px; background: var(--jc-surf); overflow: hidden; transition: border-color .25s ease, background .25s ease; }
.jc-sec.jc-open { background: var(--jc-surf2); border-color: color-mix(in srgb, var(--jd-tone, #C8A96A) 32%, var(--jc-ln)); }
.jc-sh { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 56px; padding: 12px 16px; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.jc-no { flex: none; font-size: 12px; font-weight: 600; letter-spacing: .01em; font-variant-numeric: tabular-nums; color: var(--jd-tone, #C8A96A); }
.jc-st { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.jc-st b { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.jc-st small { font-size: 13px; color: var(--jc-mu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jc-open .jc-st small { opacity: .0; max-height: 0; }
.jc-st small { transition: opacity .2s ease, max-height .25s ease; max-height: 20px; }
.jc-chev { flex: none; width: 8px; height: 8px; border-right: 1.6px solid var(--jc-mu); border-bottom: 1.6px solid var(--jc-mu); transform: rotate(45deg) translateY(-2px); transition: transform .25s ease; }
.jc-open .jc-chev { transform: rotate(-135deg) translateY(-2px); }
.jc-sb { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s cubic-bezier(.2,.8,.2,1); }
.jc-open > .jc-sb { grid-template-rows: 1fr; }
.jc-si { min-height: 0; overflow: hidden; padding: 0 16px; }
.jc-open .jc-si { padding-bottom: 16px; }
.jc-si > * + * { margin-top: 16px; }
.jc-grp h5 { margin: 0 0 8px; font-size: 12px; letter-spacing: 0; text-transform:none; font-weight: 600; color: var(--jc-mu); }
.jc-si .jd-outlook { margin-top: 0; }
.jc-si .tsum-inline { margin: 0; }
.jc-note { margin: 0; padding: 4px 0 4px 16px; border-left: 3px solid var(--jd-tone, #C8A96A); font-size: 15px; line-height: 1.7; color: var(--jc-ink); white-space: pre-wrap; overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) { .jd-panel.jc .jd-meta, .jd-panel.jc .jd-pl, .jd-panel.jc .jd-head { transition: none; } .jc-sb, .jc-chev, .jc-thumb, .jc-hint, .jc-sec, .jc-st small { transition: none; } .jd-panel.jc .jd-body { scroll-behavior: auto; } }
