/* misc.css — scrollbar halaman disembunyikan (scroll tetap jalan) + tombol sumber data model tiket */
html{scrollbar-width:none;scrollbar-gutter:auto}
html::-webkit-scrollbar{display:none;width:0;height:0}

.src-ticket{--n:7px;position:relative;display:inline-flex;align-items:stretch;min-height:44px;text-decoration:none;color:#fff;border-radius:4px;filter:drop-shadow(0 4px 8px rgba(10,42,74,.28));transition:transform .18s,filter .18s;
  background:radial-gradient(circle at left center,transparent var(--n),#0c2a45 calc(var(--n) + .5px)) left/51% 100% no-repeat,radial-gradient(circle at right center,transparent var(--n),#0c2a45 calc(var(--n) + .5px)) right/51% 100% no-repeat}
footer.foot a.src-ticket{color:#fff}
.src-ticket:hover{transform:translateY(-2px) rotate(-.8deg);filter:drop-shadow(0 9px 12px rgba(10,42,74,.35))}
.src-ticket:focus-visible{outline:3px solid #00aeef;outline-offset:3px}
.src-ticket .st-ic{display:grid;place-items:center;width:50px;margin:6px 0 6px 6px;border-radius:3px;background:#fff200;color:#0c2a45}
.src-ticket .st-ic svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.src-ticket .st-tx{display:flex;flex-direction:column;justify-content:center;gap:3px;padding:6px 16px 6px 12px;margin-left:10px;border-left:2px dashed rgba(255,255,255,.4)}
.src-ticket .st-tx small{font:700 10px/1 'Barlow Condensed',Barlow,system-ui,sans-serif;letter-spacing:.2em;color:#fff200;opacity:.95}
.src-ticket .st-tx b{font:700 16px/1.1 'Barlow Condensed',Barlow,system-ui,sans-serif;letter-spacing:.03em;white-space:nowrap}
.src-ticket .st-go{display:grid;place-items:center;width:34px;margin:6px 10px 6px 0;color:#fff200}
.src-ticket .st-go svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.src-ticket:hover .st-go svg{transform:translate(2px,-2px)}
/* kaki halaman: tiket kiri, kredit tepat di tengah, waktu pembaruan kanan */
footer.foot{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px 16px}
footer.foot .src-ticket{grid-column:1;justify-self:start}
footer.foot .credit{grid-column:2;justify-self:center}
footer.foot #updated{grid-column:3;justify-self:end;text-align:right}
@media (max-width:760px){footer.foot{grid-template-columns:1fr;justify-items:center;gap:12px}footer.foot .src-ticket,footer.foot .credit,footer.foot #updated{grid-column:1;justify-self:center;text-align:center}}
/* tema terang tampilan PLN: tanpa pita biru "lantai" di dasar halaman (terlalu terang) */
:root[data-look=pln][data-theme=light] body:is(:has(.lobby.pln),:has(.page-head)){background-size:auto,56px 56px;background-image:radial-gradient(900px 460px at 88% 0,var(--wglow,#fff3b84d),transparent 70%),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M0 .75H56M0 28.75H56M.75 0V28M28.75 28V56' stroke='%23eaf5fd' stroke-width='1.8' fill='none'/%3E%3C/svg%3E")}
@media (max-width:520px){.src-ticket .st-tx b{font-size:14px}}
.src-ticket[hidden]{display:none}

/* ===== grafik: panel NKO memenuhi tinggi baris + tooltip angka ===== */
.two.fill{align-items:stretch}
.two.fill>.panel{display:flex;flex-direction:column}
.chart.grow{position:relative;flex:1;height:auto;min-height:240px}
.chart.grow>svg{position:absolute;left:14px;right:14px;top:6px;width:auto;height:auto;bottom:0}
.chart{touch-action:pan-y}
.chart .hv-l{stroke:var(--accent,#0f8a83);stroke-width:1.2;stroke-dasharray:3 3;opacity:.75;fill:none}
.chart .hv-d{stroke:#fff;stroke-width:2}
.ch-tip{position:fixed;z-index:200;pointer-events:none;min-width:150px;max-width:280px;padding:8px 11px 9px;border-radius:5px;background:#0c2a45;color:#fff;border-left:4px solid #fff200;box-shadow:0 10px 24px rgba(0,0,0,.32);font:600 12.5px/1.3 Barlow,system-ui,sans-serif;opacity:0;transition:opacity .12s}
.ch-tip.on{opacity:1}
.ch-tip .ct-h{font:700 13px/1.2 'Barlow Condensed',Barlow,system-ui,sans-serif;letter-spacing:.05em;color:#fff200;margin-bottom:5px}
.ch-tip .ct-r{display:flex;align-items:center;gap:7px;padding:1.5px 0}
.ch-tip .ct-r i{flex:none;width:9px;height:9px;border-radius:50%}
.ch-tip .ct-r span{flex:1;opacity:.9}
.ch-tip .ct-r b{font-variant-numeric:tabular-nums}
