.motd-tool [hidden] { display:none!important; }
.motd-tool .gradient-card > h2 { margin-bottom:16px; }
.motd-line-options { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin:18px 0; }
.motd-line-options > label { display:flex; flex:1; flex-direction:column; gap:8px; font-size:13px; color:#a1a1aa; margin:0; }
.motd-tool .gradient-format { margin:0; flex:none; }
.motd-colors { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.motd-color { display:flex; flex-direction:column; gap:8px; min-width:0; margin:0; color:#a1a1aa; font-size:12px; }
.motd-color__row { display:flex; align-items:center; gap:10px; min-width:0; }
.motd-tool .motd-color__row > input { min-width:0; font-size:12px; }
.motd-tool .motd-swatch { position:relative; display:block; width:36px; height:36px; flex:0 0 36px; border:0; border-radius:10px; overflow:hidden; }
.motd-tool .motd-swatch input[type=color] { position:absolute; inset:0; width:100%; height:100%; opacity:0; border:0; padding:0; margin:0; cursor:pointer; }
.motd-swatch:focus-within { outline:2px solid #008fff; outline-offset:3px; }
.motd-palettes { display:flex; gap:8px; flex-wrap:wrap; }
.motd-tool .motd-palettes button { display:flex; align-items:center; gap:8px; padding:8px 12px; border:0; border-radius:10px; background:#27272a; color:#d4d4d8; font-size:12px; cursor:pointer; }
.motd-palettes button:before { content:''; width:16px; height:16px; border-radius:5px; background:var(--palette); }
.motd-upload { position:relative; margin:0; overflow:hidden; cursor:pointer; }
.motd-upload input { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; }
.motd-upload:focus-within { outline:2px solid #008fff; outline-offset:3px; }
.motd-server { display:flex; align-items:flex-start; gap:12px; padding:16px; border:1px solid #ffffff0a; border-radius:16px; background:#111113; }
.motd-server__icon { display:flex; align-items:center; justify-content:center; flex:0 0 64px; width:64px; height:64px; overflow:hidden; border-radius:6px; background:linear-gradient(135deg,#008fff,#7c3aed); color:#fff; font-size:36px; font-weight:700; }
.motd-server__icon img { width:64px; height:64px; image-rendering:pixelated; }
.motd-server__body { flex:1; min-width:0; }
.motd-server__heading { display:flex; justify-content:space-between; align-items:center; gap:10px; margin:0 0 6px; color:#fafafa; font-size:13px; line-height:18px; }
.motd-server__players { display:inline-flex; align-items:center; gap:6px; color:#a1a1aa; white-space:nowrap; font-size:11px; }
.motd-server__players svg { color:#39c86e; flex:none; }
.motd-server__line { min-height:21px; font-size:14px; line-height:21px; white-space:pre; overflow:hidden; text-overflow:clip; text-shadow:1px 1px #0009; }
.motd-tool .motd-format { display:flex; flex-direction:column; gap:10px; color:#a1a1aa; font-size:13px; }
.motd-format-note { margin:14px 0; padding:12px 14px; border-radius:12px; background:#008fff0d; color:#a1bcd8; font-size:12px; line-height:1.6; }
.motd-tool #motdOutput { min-height:250px; max-height:550px; padding:16px; background:#111113; border:1px solid #ffffff08; font-family:ui-monospace,SFMono-Regular,Consolas,monospace!important; font-size:12px; line-height:1.8; white-space:pre; overflow:auto; }
.motd-tool .is-error { color:#f87171; }
@media(max-width:575px) { .motd-line-options { align-items:flex-start; flex-direction:column; gap:12px; } .motd-line-options > label { width:100%; } .motd-colors { grid-template-columns:minmax(0,1fr); } .motd-server { padding:10px; gap:8px; } .motd-server__icon { flex-basis:48px; width:48px; height:48px; font-size:28px; } .motd-server__icon img { width:48px; height:48px; } .motd-server__heading { gap:4px; font-size:10px; } .motd-server__players { font-size:9px; gap:4px; } .motd-server__players svg { width:12px; height:12px; } .motd-server__line { font-size:12px; line-height:18px; min-height:18px; } }
