/* java.css — syntax palette for hand-wrapped <pre data-lang="java"> listings.
 * Linked only on pages that carry Java code.
 *
 * The CLASS NAMES are deliberately semantic and language-neutral
 * (.keyword, .type, .annotation, .module, .constant, .string, .number,
 * .comment) — they map to language constructs, not to any editor's theme.
 * That is the whole point: a later kotlin.css / typescript.css reuses this
 * exact vocabulary, scoped by its own data-lang, and only swaps the palette.
 * The colors below happen to be a Darcula-family palette; the names are not
 * married to it.
 *
 * Standalone on purpose: this is the clean delete-target once degeneration-x
 * generates these blocks for real. The phosphor terminal chrome (prompt,
 * border, scrollbar) stays in styles.css and is deliberately left alone —
 * only the code TEXT inside a Java block adopts this palette. */

pre[data-lang="java"] > code {
  color: #a9b7c6;                 /* default code text — overrides the phosphor base for Java only */
}

pre[data-lang="java"] .comment    { color: #808080; font-style: italic; }
pre[data-lang="java"] .keyword    { color: #cc7832; }
pre[data-lang="java"] .annotation { color: #bbb529; }
pre[data-lang="java"] .string     { color: #6a8759; }
pre[data-lang="java"] .number     { color: #6897bb; }
pre[data-lang="java"] .constant   { color: #9876aa; font-style: italic; }  /* enum / static-final */
pre[data-lang="java"] .type       { color: #7fb3c8; }
pre[data-lang="java"] .module     { color: #629755; font-style: italic; }
