/* Basklee code highlighting: forum colours (navy #0b1b3e, orange #b85a0a) on the white code box; all ≥ 4.5:1 */
.codebox { background-color: #f7f8fa; border-color: #d6dce6; border-radius: 8px; overflow: hidden; }
.codebox p { margin: 0; padding: 5px 10px; background: #eef1f6; border-bottom-color: #d6dce6; font-size: 11px; letter-spacing: .02em; }
.codebox pre { margin: 0; }
.codebox code { max-height: 50em; padding: 8px 12px; font-size: 12.5px; line-height: 1.55; tab-size: 2; }
.codebox code.hljs { color: #1f2937; background: transparent; padding: 8px 12px; }
.codebox .hljs-comment, .codebox .hljs-quote { color: #6b7280; font-style: italic; }
.codebox .hljs-keyword, .codebox .hljs-selector-tag, .codebox .hljs-built_in, .codebox .hljs-doctag { color: #0b1b3e; font-weight: 600; }
.codebox .hljs-string, .codebox .hljs-regexp, .codebox .hljs-addition { color: #1d6b34; }
.codebox .hljs-number, .codebox .hljs-literal, .codebox .hljs-symbol, .codebox .hljs-bullet { color: #b85a0a; }
.codebox .hljs-attr, .codebox .hljs-attribute, .codebox .hljs-property, .codebox .hljs-section { color: #9a3412; }
.codebox .hljs-title, .codebox .hljs-title.function_, .codebox .hljs-name, .codebox .hljs-selector-id, .codebox .hljs-selector-class { color: #1d4ed8; }
.codebox .hljs-variable, .codebox .hljs-template-variable, .codebox .hljs-params, .codebox .hljs-subst { color: #6d28d9; }
.codebox .hljs-meta, .codebox .hljs-meta .hljs-keyword { color: #4b5563; }
.codebox .hljs-deletion { color: #b91c1c; }
.codebox .hljs-emphasis { font-style: italic; }
.codebox .hljs-strong { font-weight: 700; }
.codebox p .codebox-lang { float: right; text-transform: none; font-weight: 600; color: #b85a0a; margin-right: 4px; }

/* Editor (user 2026-12-03: «beautify bb editor»): toolbar as one bar joined to the text box, forum colours */
#format-buttons.format-buttons { width: 80%; box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; padding: 6px 8px;
	background: #f3f5f9; border: 1px solid #d6dce6; border-bottom: 0; border-radius: 8px 8px 0 0; }
#format-buttons .button { margin: 0; border-radius: 6px; background: #fff; border-color: #d6dce6; color: #0b1b3e; box-shadow: none;
	min-height: 30px; transition: background-color .12s, color .12s, border-color .12s; }
#format-buttons .button .icon { color: inherit; }
#format-buttons .button:hover, #format-buttons .button:focus-visible { background: #0b1b3e; border-color: #0b1b3e; color: #fff; }
#format-buttons select { height: 30px; margin: 0; padding: 0 6px; border: 1px solid #d6dce6; border-radius: 6px; background: #fff;
	color: #0b1b3e; font-size: 12px; cursor: pointer; }
#format-buttons select.bk-code-pick { border-color: #b85a0a; color: #b85a0a; font-weight: 600; }
#format-buttons select:hover { border-color: #0b1b3e; }
#message-box textarea.inputbox, #message-box #message { box-sizing: border-box; width: 100%; padding: 10px 12px; font-size: 14px;
	line-height: 1.55; border: 1px solid #d6dce6; border-radius: 0 0 8px 8px; background: #fff; resize: vertical; }
#message-box #message:focus { outline: none; border-color: #0b1b3e; box-shadow: 0 0 0 3px rgba(184, 90, 10, .18); }
#postingbox p.bk-code-hint, p.bk-code-hint { width: 80%; box-sizing: border-box; margin: 6px 0 0; font-size: 12px; line-height: 1.4; color: #4b5563; }
.bk-paste-bar { width: 80%; box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 6px; padding: 8px 10px; font-size: 13px;
	color: #0b1b3e; background: #fff6ec; border: 1px solid #f0c9a0; border-radius: 8px; }
.bk-paste-bar select { height: 28px; border: 1px solid #d6dce6; border-radius: 6px; background: #fff; }
.bk-paste-bar .button { margin: 0; border-radius: 6px; min-height: 28px; }
.bk-paste-bar .bk-paste-yes { background: #b85a0a; border-color: #b85a0a; color: #fff; }
.bk-paste-bar .bk-paste-yes:hover { background: #9a4a08; border-color: #9a4a08; }
@media (max-width: 700px) {
	#format-buttons.format-buttons, .bk-paste-bar, #postingbox p.bk-code-hint, p.bk-code-hint { width: auto; }
	/* phpBB puts the smilies between the toolbar and the text box here: round each on its own */
	#format-buttons.format-buttons { border-bottom: 1px solid #d6dce6; border-radius: 8px; }
	#message-box textarea.inputbox, #message-box #message { border-radius: 8px; }
}

/* Pictures in posts (user 2026-12-03: answers carry cut screens): a soft frame, the caption under it in grey, and no
   «name.png (92 KiB) Viewed 3 times» line — that one is for downloads, not for a picture inside an answer. */
.content .inline-attachment dl.file {
	margin: 8px 0 14px;
}
.content .inline-attachment dl.file dt.attach-image img.postimage {
	max-width: 100%;
	height: auto;
	border: 1px solid #d9dee8;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(11, 27, 62, 0.08);
}
.content .inline-attachment dl.file dt.attach-image ~ dd {
	margin: 6px 0 0 2px;
	font-size: 0.92em;
	color: #5b6475;
}
.content .inline-attachment dl.file dt.attach-image ~ dd:not(:has(> em)) {
	display: none;
}
