body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; margin: 0; padding: 0; background: #fff; color: #222; padding-bottom: 200px; } .container { max-width: 700px; margin: 0 auto; padding: 24px 12px 0 12px; display: flex; flex-direction: column; min-height: 100vh; } .header { margin-bottom: 18px; position: sticky; top: 0; background: #fff; padding: 12px 0; z-index: 100; border-bottom: 1px solid #eee; } .header h1 { margin: 0 0 8px 0; font-size: 2.2em; font-weight: bold; } .header-buttons { margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .header-buttons a { color: #222; text-decoration: underline; font-size: 1em; } .source-btn { background: #222; color: #fff !important; padding: 4px 12px; border-radius: 4px; text-decoration: none !important; } .source-btn:hover { background: #444; } .messages-container { flex: 1; margin-bottom: 18px; display: flex; flex-direction: column; gap: 10px; } .message { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 8px; background: #f8f9fa; } .username { font-weight: 600; margin-right: 8px; } .time { color: #888; font-size: 0.9em; margin-left: 8px; } .encrypted { color: #666; font-size: 0.9em; margin-left: 8px; } .signature { color: #666; font-size: 0.9em; margin-top: 2px; } .message-bar { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; padding: 12px; border-top: 1px solid #eee; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); } .message-form { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; } .message-inputs { display: flex; gap: 8px; } .message-inputs input[type="text"] { width: 150px; flex-shrink: 0; } .message-inputs textarea { flex: 1; min-height: 40px; resize: none; } .message-options { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .signature-input { flex: 1; min-height: 40px; resize: none; } input[type="text"], textarea { font-size: 1em; padding: 8px; border: 1px solid #ddd; border-radius: 4px; box-sizing: border-box; } button { font-size: 1em; padding: 8px 16px; background: #222; color: #fff; border: none; border-radius: 4px; cursor: pointer; } button:hover { background: #444; } .checkbox-wrapper { display: flex; align-items: center; gap: 6px; } .delete-btn { background: none; color: #dc3545; padding: 0; font-size: 0.9em; } .delete-btn:hover { background: none; text-decoration: underline; } .error { color: #dc3545; margin-bottom: 10px; padding: 8px; background: #fff; border-radius: 4px; border: 1px solid #dc3545; } .api-info, .api-info pre, .modal, .modal-content, .close { display: none !important; } @media (max-width: 600px) { .message-inputs { flex-direction: column; } .message-inputs input[type="text"] { width: 100%; } .message-options { flex-direction: column; align-items: stretch; } .signature-input { width: 100%; } .header-buttons { flex-direction: column; align-items: flex-start; } .container { padding: 12px 8px 0 8px; } .message { padding: 8px; } }