/* Syntax Block – dark, ChatGPT-ish wrapper */
.sblk-codebox {
    position: relative;
    margin: 1.25rem 0;
    background: #0f172a;          /* slate-900-ish */
    border: 1px solid #1e293b;    /* slate-800 */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(2,6,23,.35);
}

.sblk-codebox pre {
    margin: 0;
    padding: 1rem 1.25rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: .92rem;
    line-height: 1.5;
    color: #e5e7eb;
    background: transparent !important;
    max-width: 100%;
    white-space: pre-wrap;         /* default: wrap on */
    word-break: normal;
    overflow-x: auto;
}

.sblk-nowrap pre { white-space: pre; } /* wrap=off */

.sblk-copy {
    position: absolute;
    top: 8px;
    right: 8px;
    border: 1px solid #334155;
    background: #0b1220;
    color: #cbd5e1;
    font-size: 12px;
    line-height: 1;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform .12s ease, background .12s ease, color .12s ease, border-color .12s ease;
}

.sblk-copy:hover {
    transform: translateY(-1px);
    background: #111827;
    border-color: #475569;
    color: #f8fafc;
}

/* Token color nudges (Prism classes) */
.token.comment,.token.prolog,.token.doctype,.token.cdata { color:#94a3b8 }
.token.punctuation { color:#e5e7eb }
.token.property,.token.tag,.token.boolean,.token.number,.token.constant,.token.symbol { color:#93c5fd }
.token.selector,.token.attr-name,.token.string,.token.char,.token.builtin,.token.inserted { color:#86efac }
.token.operator,.token.entity,.token.url { color:#f9a8d4 }
.token.atrule,.token.attr-value,.token.keyword { color:#fca5a5 }
.token.function,.token.class-name { color:#fde68a }
.token.regex,.token.important,.token.variable { color:#c7d2fe }