.json-modal-backdrop { position: fixed; inset: 0; background: rgba(8,10,20,0.82); z-index: 500; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(8px); padding: 20px; }
.json-modal { background: var(--bg2); border: 1px solid var(--b2); border-radius: 20px; width: 100%; max-width: 680px; max-height: 88vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 32px 80px rgba(0,0,0,0.7); animation: fadeUp .2s ease; }
.json-modal-header { display: flex; align-items: center; gap: 14px; padding: 22px 26px; border-bottom: 1px solid var(--b1); flex-shrink: 0; }
.json-modal-body { flex: 1; overflow-y: auto; padding: 24px 26px; }
.json-modal-footer { padding: 18px 26px; border-top: 1px solid var(--b1); display: flex; gap: 10px; flex-shrink: 0; }
.json-textarea { width: 100%; min-height: 260px; resize: vertical; font-family: var(--mono); font-size: 12.5px; line-height: 1.7; padding: 16px 18px; border-radius: var(--r-sm); background: #0d1117; color: #e6edf3; border: 1.5px solid var(--b2); transition: border-color .18s, box-shadow .18s; }
.json-textarea:focus { border-color: var(--ac); box-shadow: 0 0 0 3px var(--glow); outline: none; }
.json-error { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.35); border-radius: var(--r-sm); padding: 12px 16px; font-size: 13px; color: #fca5a5; margin-top: 14px; display: flex; align-items: flex-start; gap: 10px; }
.json-success { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.35); border-radius: var(--r-sm); padding: 12px 16px; font-size: 13px; color: #86efac; margin-top: 14px; display: flex; align-items: center; gap: 10px; }
