.comment {
    color: #7f9f7f;
    font-style: italic;
}

/* Keywords */

.keyword {
    color: #82aaff;
    font-weight: bold;
}

/* Primitive / Built-in Types */

.primitive,
.type {
    color: #89ddff;
}

/* User Types */

.class,
.struct,
.enum,
.union {
    color: #c3e88d;
}

/* Namespace */

.namespace {
    color: #c792ea;
}

/* Template Parameters */

.template {
    color: #ffcb6b;
}

/* Functions */

.function,
.method {
    color: #ecc48d;
}

/* Variables */

.variable,
.member {
    color: #d6deeb;
}

/* Constants */

.constant {
    color: #f78c6c;
}

/* Numbers */

.number,
.hex,
.binary,
.octal {
    color: #f78c6c;
}

/* Strings */

.string {
    color: #c3e88d;
}

/* Character literals */

.character {
    color: #c3e88d;
}

/* Operators */

.operator {
    color: #89ddff;
}

/* Punctuation */

.punctuation {
    color: #d6deeb;
}

/* Preprocessor */

.preprocessor,
.directive,
.macro {
    color: #c792ea;
}

/* Attributes ([[nodiscard]]) */

.attribute {
    color: #ffcb6b;
}

/* Labels (ASM) */

.label {
    color: #ffcb6b;
    font-weight: bold;
}

/* Registers */

.register {
    color: #82aaff;
    font-weight: bold;
}

/* Instructions */

.instruction {
    color: #89ddff;
    font-weight: bold;
}

/* Memory operands */

.memory {
    color: #d6deeb;
}

/* Immediate values */

.immediate {
    color: #f78c6c;
}

/* TODO/FIXME */

.todo {
    color: #ff5370;
    font-weight: bold;
}

/* Errors */

.error {
    color: #ff5370;
    text-decoration: underline;
}

/* Warnings */

.warning {
    color: #ffcb6b;
}

/* Line numbers */

.line-number {
    display: inline-block;
    width: 3em;
    margin-right: 1em;
    color: #546e7a;
    user-select: none;
    text-align: right;
}

/* Current line */

.current-line {
    background: rgba(255,255,255,0.05);
}