/* Exact legacy Minecraft colours; content editors must choose readable combinations. */
.mc-color-0 { color: #000000; }
.mc-color-1 { color: #0000aa; }
.mc-color-2 { color: #00aa00; }
.mc-color-3 { color: #00aaaa; }
.mc-color-4 { color: #aa0000; }
.mc-color-5 { color: #aa00aa; }
.mc-color-6 { color: #ffaa00; }
.mc-color-7 { color: #aaaaaa; }
.mc-color-8 { color: #555555; }
.mc-color-9 { color: #5555ff; }
.mc-color-a { color: #55ff55; }
.mc-color-b { color: #55ffff; }
.mc-color-c { color: #ff5555; }
.mc-color-d { color: #ff55ff; }
.mc-color-e { color: #ffff55; }
.mc-color-f { color: #ffffff; }
.mc-bold { font-weight: 700; }
.mc-italic { font-style: italic; }
.mc-strike { text-decoration: line-through; }
.mc-underline { text-decoration: underline; text-underline-offset: .12em; }
.mc-strike.mc-underline { text-decoration: line-through underline; }
.mc-obfuscated { font-family: monospace; }
.hero.hero-motd { max-width: none; }
.motd-stage { display: grid; grid-template-columns: minmax(0, 1fr); position: relative; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; scrollbar-color: var(--berry-350) transparent; }
.motd-stage.motd-enhanced > h1.motd-title { position: absolute; inset: 0; }
.hero .motd-title { grid-area: 1 / 1; min-width: 0; margin: 0; padding-block: .1em; color: var(--berry-950); font-family: var(--font-display); font-size: var(--motd-font-size, clamp(2.45rem, 8vw, 5.8rem)); font-weight: 500; line-height: .98; letter-spacing: -.035em; }
.motd-visual { display: block; width: max-content; min-width: 100%; white-space: pre; overflow-wrap: normal; }
.motd-measure { width: auto; min-width: 0; text-align: left; visibility: hidden; pointer-events: none; overflow: hidden; }
.motd-glyph { display: inline-block; width: 1ch; text-align: center; }
.motd-pause { display: inline-flex; align-items: center; min-height: 44px; margin-top: .5rem; padding: .5rem .75rem; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--berry-800); font: inherit; font-size: .75rem; cursor: pointer; }
.motd-pause:hover { background: var(--berry-100); }
.motd-admin-preview { max-width: 45rem; padding: 1rem; background: #fffaf7; color: #401226; white-space: pre; overflow-x: auto; font-size: 1.5rem; line-height: 1.4; }
