/* JSON 高亮 · JS */

:root{
  --bg:#060a12; --bg2:#0a1220; --surface:#101a2b; --fg:#f2f6fd; --muted:#93a3bb;
  --line:rgba(255 255 255,0.10); --line-2:rgba(255 255 255,0.24); --accent:hsl(114 95% 60%); --accent2:hsl(88 88% 60%);
  --accent-soft:hsl(114 95% 60% / .14); --accent2-soft:hsl(88 88% 60% / .14); --glow:hsl(114 95% 60% / .30);
  --veil:rgba(0,0,0,0.55); --radius:2px; --display:Georgia,"Songti SC","Source Han Serif SC","Noto Serif CJK SC",serif;
  --display-weight:700; --display-track:-.01em;
}
.jsonbox{position:absolute;inset:0;display:grid;place-items:center;padding:clamp(14px,4vw,36px)}
.json{margin:0;width:100%;max-width:520px;font-family:var(--mono);font-size:var(--fs-tag);line-height:var(--lh-body);
  border:1px solid var(--line-2);border-radius:8px;padding:14px 16px;background:color-mix(in srgb,var(--fg) 4%,transparent);overflow:hidden}
.jl{display:block;color:var(--muted);opacity:0;transform:translateX(-8px);animation:jin .5s var(--ease-out) forwards;animation-delay:var(--d);white-space:pre}
.jl:nth-child(2),.jl:nth-child(3){color:var(--accent)}
.jl:nth-child(4),.jl:nth-child(5),.jl:nth-child(6){color:var(--fg)}
@keyframes jin{to{opacity:1;transform:none}}
